33e232c5b886be6ae1b94418825bb4cd9f34a005
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4         macro.
5
6 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7
8         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9         regression on LE.
10
11         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14         strncmp-power8 object.
15         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18         * NEWS: Update.
19
20 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22
23         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24         trailing byte check.
25
26 2015-01-13  David S. Miller  <davem@davemloft.net>
27
28         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29
30 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31
32         * login/logout.c (logout): Use memset rather than bzero.
33         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36         (_gethtbyaddr): Likewise.
37         * locale/programs/simple-hash.c (bcopy): Macro removed.
38
39 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40
41         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42         Add strcmp-power8 object.
43         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
45         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
46         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
47         __strcmp_power8 implementation.
48         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
49         * NEWS: Update.
50
51         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
52         Add strncpy-power8 and stpncpy-power8 objects.
53         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
55         implementations.
56         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
57         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
58         __stpncpy_power8 implementation.
59         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
60         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
61         __strncpy_power8 implementation.
62         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
63         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
64         * NEWS: Update.
65
66         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
67         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
68         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
69
70         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
71         strncat-power8 object.
72         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
73         __strcat_power8 implementation.
74         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
75         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
76         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
77         optimized strcat for power8.
78
79         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
80         strcpy-power8 and stpcpy-power8 objects.
81         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
82         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
83         implementations.
84         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
85         multiarch stpcpy implementation for POWER8.
86         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
87         multiarch strcpy implementation for POWER8.
88         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
89         __strcpy_power8 function.
90         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
91         stpcpy for POWER8.
92         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
93         strcpy for POWER8.
94         * NEWS: Update.
95
96 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
97
98         [BZ #16009]
99         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
100         weights and rules. Use do_xfrm_cached if data fits in cache,
101         do_xfrm otherwise.  Moved former main loop to...
102         * (do_xfrm_cached): New function.
103         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
104         find_idx, find_position and stack_push.
105         * (find_idx): New function.
106         * (find_position): Likewise.
107         * localedata/sort-test.sh: Added test run for do_xfrm.
108         * localedata/xfrm-test.c (main): Added command line option
109         -nocache to run the test with strings that are too large for
110         the STRXFRM cache.
111
112 2015-01-13  Torvald Riegel  <triegel@redhat.com>
113
114         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
115         variable to lll_futex_wake call, not the value itself.
116
117 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
118
119         [BZ #17803]
120         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
121         twom64.  Adjust value to 0x1p-64L.
122         (__scalblnl): Only return standard underflowing result for K <=
123         -64 not K <= -63; adjust exponent for underflowing result by 64
124         not 63.
125         * math/libm-test.inc (scalbn_test_data): Add more tests.
126         (scalbln_test_data): Likewise.
127
128         [BZ #17834]
129         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
130         0x1p63L.
131         (__scalblnl): Get new exponent of adjusted subnormal value from ES
132         not HX.
133         * math/libm-test.inc (scalbn_test_data): Add more tests.
134         (scalbln_test_data): Likewise.
135
136 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
137             Stefani Seibold  <stefani@seibold.net>
138
139         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
140         (sysdep_routines): Add dl-vdso here, ...
141         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
142         (sysdep_routines): ... not here.
143         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
144         fallback when vDSO is not presented.
145         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
146         Define with libc_hidden_proto/libc_hidden_data_def definitions.
147         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
148         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
149         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
150         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
151         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
152         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
153         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
155         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
156         fallback configurable symbol when vDSO is not available.
157         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
158         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
159         be able to redefine fallback symbol when vDSO is not available.
160         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
161         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
162
163 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
164
165         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
166         (TLS_INIT_TP): Add tm_capable initialization.
167         (TLS_DEFINE_INIT_TP): Likewise.
168         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
169         TCB.
170         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
171         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
172         calculation.
173         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
174         transactoion is lock elision is built and TCB tm_capable is set.
175         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
177         (INTERNAL_SYSCALL_NCS): Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
179         (INTERNAL_SYSCALL_NCS): Likewise.
180         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
181
182         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
183         for powerpc.
184         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
185         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
186         and remove it for 32 bits case.
187         [pthread_rwlock_t] (__rwelision): New field for lock elision.
188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
189         initialization.
190         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
191         Disable lock elision with rdlocks if elision is not available.
192
193         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
194         (sysdep_routines): Add lock elision objects.
195         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
196         [pthread_mutex_t] (__spins): Rework to add lock elision field.
197         [pthread_mutex_t] (__elision): Add field.
198         [__PTHREAD_SPINS]: Adjust to init lock elision field.
199         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
200         elision definitions for powerpc.
201         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
202         implementation of lock elision for powerpc.
203         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
204         implementation of timed lock elision for powerpc.
205         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
206         implementation of trylock with lock elision for powerpc.
207         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
208         implementaion of unlock for lock elision for powerpc.
209         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
210         automatic enable lock elision for mutexes.
211         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
212         transaction execution definitions for powerpc.
213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
214         definitions.
215         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
216         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
217         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
218         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
219         * NEWS: Update.
220
221 2015-01-09  Roland McGrath  <roland@hack.frob.com>
222
223         * sysdeps/posix/shm-directory.c: Use <> rather than ""
224         for #include of <shm-directory.h>.
225
226 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
227
228         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
229         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
230
231 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
232
233         [BZ #17791]
234         * NEWS: Mention bug fix.
235         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
236         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
237         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
238
239 2015-01-09  Torvald Riegel <triegel@redhat.com>
240
241         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
242
243 2015-01-09  Torvald Riegel <triegel@redhat.com>
244
245         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
246
247 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
248
249         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
250         pointer and cast to uintptr_t.
251
252 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
253
254         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
255         removed.
256         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
257
258 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
259
260         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
261         of 0.
262
263 2015-01-08  Roland McGrath  <roland@hack.frob.com>
264
265         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
266         <nptl/pthreadP.h> instead.
267         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
268
269         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
270         already defined.
271         [__SIGRTMIN] (init): Function removed.
272         [__SIGRTMIN] (initialized): Variable removed.
273         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
274         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
275         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
276         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
277         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
278         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
279         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
280         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
281         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
282         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
283         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
284         * sysdeps/nptl/allocrtsig.c: New file.
285         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
286         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
287         * sysdeps/generic/testrtsig.h: File removed.
288
289         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
290         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
291
292         * nptl/nptl-init.c (pthread_functions): Conditionalize
293         .ptr__nptl_setxid initialization on [SIGSETXID].
294
295         * sysdeps/nptl/sys/procfs.h: New file.
296         * nptl_db/Makefile (headers): Add it.
297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
298
299         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
300         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
301         * nptl/pthread_attr_setaffinity.c: Include it.
302         * nptl/pthread_setattr_default_np.c: Likewise.
303         * nptl/check-cpuset.h: New file.
304
305 2015-01-08  Richard Henderson  <rth@redhat.com>
306
307         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
308         (CFLAGS-tst-execstack-prog.c): Likewise.
309         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
310
311 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
312             Sandra Loosemore  <sandra@codesourcery.com>
313             Andrew Jenner  <andrew@codesourcery.com>
314             Joseph Myers  <joseph@codesourcery.com>
315             Nathan Sidwell  <nathan@codesourcery.com>
316
317         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
318         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
319         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
320         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
321         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
322         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
323         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
324         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
325         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
326         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
327         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
328         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
329         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
330         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
331         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
332         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
333         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
334
335 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
336
337         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
338         timespec struct member in syscall macro.
339         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
340         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
341         first timeval struct member in syscall macro.
342         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
343
344 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
345
346         [BZ #17748]
347         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
348         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
349         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
350         __feupdateenv and define as weak alias of __feupdateenv.  Use
351         libm_hidden_weak.
352         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
353         libm_hidden_def.
354         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
355         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
356         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
357         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
358         libm_hidden_def.
359         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
360         __feupdateenv and define as weak alias of __feupdateenv.  Use
361         libm_hidden_weak.
362         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
363         libm_hidden_def.
364         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
365         __feupdateenv and define as weak alias of __feupdateenv.  Use
366         libm_hidden_weak.
367         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
368         libm_hidden_def.
369         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
370         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
371         (__feupdateenv): Likewise.
372         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
373         __feupdateenv and define as weak alias of __feupdateenv.  Use
374         libm_hidden_weak.
375         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
376         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
377         libm_hidden_def.
378         * sysdeps/tile/math_private.h (__feupdateenv): New inline
379         function.
380         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
381         libm_hidden_def.
382         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
383         __feupdateenv instead of feupdateenv.
384         (default_libc_feupdateenv_test): Likewise.
385         (libc_feresetround_ctx): Likewise.
386
387 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
388
389         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
390         prototype.
391
392 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
393
394         * posix/regcomp.c (parse_bracket_exp): Initialize type to
395         COLL_SYM in a couple of places to avoid uninitialized variable
396         wanings on tilegx gcc 4.8.2.
397
398 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
399
400         * sysdeps/aarch64/strcpy.S: New file.
401         * sysdeps/aarch64/stpcpy.S: New file.
402         * NEWS: Updated.
403
404 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
405
406         * sysdeps/aarch64/strrchr.S: New file.
407         * NEWS: Updated.
408
409 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
410
411         [BZ #17658]
412         * stdlib/setenv.c: Fix memory leak when setting large,
413         duplicate string.
414
415 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
416
417         [BZ #17273]
418         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
419         and tabs from buffer before parsing fstab entry.
420         * misc/tst-mntent.c (main): Add test for mount entry with
421         trailing spaces and tabs.
422
423 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
424
425         [BZ #17748]
426         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
427         * math/fesetround.c (fesetround): Rename to __fesetround and
428         define as weak alias of __fesetround.  Use libm_hidden_weak.
429         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
430         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
431         * sysdeps/arm/fesetround.c (fesetround): Likewise.
432         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
433         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
434         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
435         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
436         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
437         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
438         __fesetround_inline.
439         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
440         __fesetround_inline instead of __fesetround.
441         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
442         __fesetround and define as weak alias of __fesetround.  Use
443         libm_hidden_weak.  Call __fesetround_inline instead of
444         __fesetround.
445         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
446         __fesetround and define as weak alias of __fesetround.  Use
447         libm_hidden_weak.
448         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
449         Likewise.
450         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
451         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
452         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
453         * sysdeps/tile/math_private.h (__fesetround): New inline function.
454         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
455         __fesetround and define as weak alias of __fesetround.  Use
456         libm_hidden_weak.
457         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
458         __fesetround instead of fesetround.
459         (default_libc_feholdexcept_setround): Likewise.
460         (libc_feholdsetround_ctx): Likewise.
461         (libc_feholdsetround_noex_ctx): Likewise.
462
463         [BZ #17748]
464         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
465         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
466         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
467         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
468         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
469         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
470         define as weak alias of __fesetenv.  Use libm_hidden_weak.
471         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
472         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
473         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
474         define as weak alias of __fesetenv.  Use libm_hidden_weak.
475         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
476         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
477         define as weak alias of __fesetenv.  Use libm_hidden_weak.
478         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
479         libm_hidden_def.
480         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
481         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
482         Likewise.
483         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
484         define as weak alias of __fesetenv.  Use libm_hidden_weak.
485         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
486         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
487         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
488         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
489         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
490         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
491         __fesetenv instead of fesetenv.
492         (libc_feresetround_noex_ctx): Likewise.
493         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
494         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
495         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
496         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
497         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
498         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
499         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
500         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
501         (__feupdateenv): Likewise.
502         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
503         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
504         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
505         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
506
507 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
508
509         [BZ #17806]
510         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
511         addresses have been freed.
512
513 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
514
515         * resolv/res_init.c (__res_vinit): Improve comments about nserv
516         and nservall.
517
518 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
519
520         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
521         Clean up check_pf allocation pattern. addresses
522
523 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
524
525         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
526         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
527         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
528         * nptl/pthread_exit.c (__pthread_exit): Likewise.
529         * nptl/pthread_join.c (pthread_join): Likewise.
530         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
531         * sysdeps/posix/waitid.c (__waitid): Likewise.
532         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
533         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
534         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
535         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
537         Likewise.
538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
539         (__libc_pread64): Likewise.
540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
541         (__libc_pwrite): Likewise.
542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
543         (__libc_pwrite64): Likewsie.
544         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
545         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
546         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
547         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
548         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
549         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
550         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
552         Likewise.
553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
554         (__libc_pread64): Likewise.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
556         Likewise.
557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
558         (__libc_pwrite64): Likewise.
559         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
560         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
561         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
562         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
563         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
564         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
565         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
566         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
567         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
568         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
569         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
570         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
571         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
572         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
573         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
574         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
575         Likewise.
576
577 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
578
579         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
580         (CFLAGS-test-double.c): Likewise.
581         (CFLAGS-test-ldouble.c): Likewise.
582         (CPPFLAGS-test-ifloat.c): Likewise.
583         (CPPFLAGS-test-idouble.c): Likewise.
584         (CPPFLAGS-test-ildoubl.c): Likewise.
585         (CFLAGS-test-test-fenv.c): Remove variable.
586         (CFLAGS-test-misc.c): Likewise.
587
588 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
589
590         [BZ #17797]
591         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
592         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
593         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
594         CLOCKS_PER_SEC == 1000000.
595         * time/clocktest.c (main): Replace %ld with %jd and cast to
596         intmax_t.
597
598 2015-01-05  Roland McGrath  <roland@hack.frob.com>
599
600         * sysdeps/generic/unwind-resume.h: New file.
601         * sysdeps/gnu/unwind-resume.c: Include it.
602         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
603         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
604         argument list.
605         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
606         global rather than static.
607         (_Unwind_Resume): Update user.
608         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
609         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
610         rather than static.  Add __attribute__ ((cold)).
611         (_Unwind_Resume, __gcc_personality_v0): Update callers.
612         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
613         * sysdeps/arm/arm-unwind-resume.S: New file.
614         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
615         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
616         * sysdeps/arm/Makefile [$(subdir) = csu]
617         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
618         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
619         Add rt-arm-unwind-resume.
620         [$(subdir) = nptl]
621         (libpthread-sysdep_routines, libpthread-shared-only-routines):
622         Add pt-arm-unwind-resume.
623         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
624         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
625
626 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
627
628         [BZ #17748]
629         * include/fenv.h (__feholdexcept): Declare.  Use
630         libm_hidden_proto.
631         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
632         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
633         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
634         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
635         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
636         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
637         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
638         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
639         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
640         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
641         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
642         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
643         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
644         (feholdexcept): Likewise.
645         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
646         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
647         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
648         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
649         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
650         __feholdexcept instead of feholdexcept.
651         (default_libc_feholdexcept_setround): Likewise.
652
653 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
654
655         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
656         to avoid using stl/str to align destination.
657
658 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
659
660         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
661
662 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
663
664         [BZ #17796]
665         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
666         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
667         Define as weak alias not strong alias.
668
669 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
670
671         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
672         bltzal with addiupc.
673         (RTLD_START): Ditto.
674
675 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
676
677         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
678         for __vdso_* functions in declarations.
679         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
680         definitions.
681         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
682         INTERNAL_VSYSCALL): Use struct return types to check for error.
683
684         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
685         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
686         function with cast from llround().
687         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
688         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
689         Define.
690
691 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
692
693         [BZ #17793]
694         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
695         Define as weak alias not strong alias.
696
697         [BZ #17635]
698         * ctype/ctype-c99.c: New file.  isblank implementation moved from
699         ...
700         * ctype/ctype-extn.c: ... here.
701         (__isblank_l): Move to ...
702         * ctype/ctype-c99_l.c: ... here.  New file.
703         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
704         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
705         Remove variable.
706         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
707         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
708         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
709         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
710         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
711
712         [BZ #17777]
713         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
714         (posix_fadvise64): Define as weak alias not strong alias.
715         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
716         (posix_fallocate64): Likewise.
717         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
718         Remove variable.
719         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
720         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
721         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
722         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
723         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
724
725 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
726
727         [BZ #16191]
728         * NEWS: Mention bug fix.
729         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
730         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
731         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
732         (HOST_STACK_END_ADDR): Likewise.
733
734 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
735
736         [BZ #17748]
737         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
738         * math/fegetround.c (fegetround): Rename to __fegetround and
739         define as weak alias of __fegetround.  Use libm_hidden_weak.
740         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
741         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
742         * sysdeps/arm/fegetround.c (fegetround): Likewise.
743         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
744         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
745         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
746         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
747         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
748         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
749         Undefine after rather than before function definition; use
750         parentheses around function name in definition.
751         (__fegetround): Also undefine macro after function definition.
752         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
753         __fegetround and define as weak alias of __fegetround.  Use
754         libm_hidden_weak.  Do not undefine as macro.
755         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
756         Likewise.
757         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
758         __fegetround and define as weak alias of __fegetround.  Use
759         libm_hidden_weak.
760         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
761         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
762         * sysdeps/tile/math_private.h (__fegetround): New inline function.
763         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
764         __fegetround and define as weak alias of __fegetround.  Use
765         libm_hidden_weak.
766         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
767         __fegetround instead of fegetround.
768
769         [BZ #17782]
770         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
771         Condition macro definition on [__USE_MISC].
772
773         [BZ #17781]
774         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
775         (struct sigaction): Change type of sa_flags field to int.
776
777         [BZ #17780]
778         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
779         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
780         __glibc_reserved0.
781
782         * nptl/version.c (banner): Use single year in copyright notice.
783
784         * NEWS: Update copyright dates.
785         * catgets/gencat.c (print_version): Likewise.
786         * csu/version.c (banner): Likewise.
787         * debug/catchsegv.sh: Likewise.
788         * debug/pcprofiledump.c (print_version): Likewise.
789         * debug/xtrace.sh (do_version): Likewise.
790         * elf/ldconfig.c (print_version): Likewise.
791         * elf/ldd.bash.in: Likewise.
792         * elf/pldd.c (print_version): Likewise.
793         * elf/sotruss.sh: Likewise.
794         * elf/sprof.c (print_version): Likewise.
795         * iconv/iconv_prog.c (print_version): Likewise.
796         * iconv/iconvconfig.c (print_version): Likewise.
797         * locale/programs/locale.c (print_version): Likewise.
798         * locale/programs/localedef.c (print_version): Likewise.
799         * login/programs/pt_chown.c (print_version): Likewise.
800         * malloc/memusage.sh (do_version): Likewise.
801         * malloc/memusagestat.c (print_version): Likewise.
802         * malloc/mtrace.pl: Likewise.
803         * manual/libc.texinfo: Likewise.
804         * nptl/version.c (banner): Likewise.
805         * nscd/nscd.c (print_version): Likewise.
806         * nss/getent.c (print_version): Likewise.
807         * nss/makedb.c (print_version): Likewise.
808         * posix/getconf.c (main): Likewise.
809         * scripts/test-installation.pl: Likewise.
810         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
811
812 2015-01-02  Will Newton  <will.newton@linaro.org>
813
814         * sysdeps/arm/armv7/configure: Removed.
815         * sysdeps/arm/armv7/configure.ac: Likewise.
816
817 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
818
819         * All files with FSF copyright notices: Update copyright dates
820         using scripts/update-copyrights.
821         * intl/plural.c: Regenerated.
822         * locale/programs/charmap-kw.h: Likewise.
823         * locale/programs/locfile-kw.h: Likewise.
824
825 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
826
827         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
828
829 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
830
831         [BZ #17748]
832         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
833         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
834         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
835         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
836         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
837         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
838         define as weak alias of __fegetenv.  Use libm_hidden_weak.
839         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
840         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
841         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
842         define as weak alias of __fegetenv.  Use libm_hidden_weak.
843         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
844         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
845         define as weak alias of __fegetenv.  Use libm_hidden_weak.
846         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
847         libm_hidden_def.
848         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
849         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
850         Likewise.
851         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
852         define as weak alias of __fegetenv.  Use libm_hidden_weak.
853         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
854         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
855         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
856         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
857         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
858         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
859         __fegetenv instead of fegetenv.
860         (libc_feholdsetround_noex_ctx): Likewise.
861
862 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
863
864         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
865         (Elf_MIPS_ABIFlags_v0): New structure.
866         (EF_MIPS_FP64): Define.
867         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
868         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
869         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
870         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
871         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
872         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
873         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
874         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
875         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
876         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
877         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
878         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
879         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
880         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
881         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
882         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
883         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
884         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
885         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
886         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
887         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
888         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
889         field.
890         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
891         EF_MIPS_FP64.
892         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
893         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
894         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
895         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
896         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
897         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
898         * sysdeps/mips/tst-abi-interlink.c: Likewise.
899         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
900         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
901         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
902         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
903         record the current FP ABI extension.
904         (mips-mode-switch): Define to show if kernel headers support mode
905         switching.
906         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
907         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
908         supported SYSV ABI version to 3.
909         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
910         feature.
911
912 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
913             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
914
915         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
916         path.
917         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
918
919 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
920
921         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
922         __fegetround and redefine to call __fegetround.  Remove condition
923         on [!__NO_MATH_INLINES].
924         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
925         function.
926         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
927         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
928         Remove macro.
929         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
930         instead of <fenv_libc.h>.
931         (__llrintl): Call fegetround instead of __fegetround.
932         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
933         instead of <fenv_libc.h>.
934         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
935         (__lrintl): Call fegetround instead of __fegetround.
936         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
937         instead of <fenv_libc.h>.
938         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
939         (__rintl): Call fegetround instead of __fegetround.
940
941 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
942
943         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
944         arrays.
945
946 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
947
948         [BZ #17775]
949         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
950         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
951         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
952
953 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
954
955         * sysdeps/i386/tls-macros.h: Include <features.h>.
956         (TLS_LE): Use non-PIC version for GCC >= 5.0.
957         (TLS_IE): Likewise.
958         (TLS_LD): Likewise.
959         (TLS_GD): Likewise.
960         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
961         define for GCC >= 5.0.
962
963 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
964
965         * math/test-fenv.c (test_single_exception, set_single_exc,
966         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
967         feexcp_mask_test, feenable_test, fe_single_test): Add
968         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
969         case where they are not used.
970         * math/libm-test.inc: Likewise.
971         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
972         unused in the absence of FP rounding/exception support.
973         * stdio-common/tst-printf-round.c: Likewise.
974         * stdlib/tst-strtod-round.c: Likewise.
975         * stdlib/tst-strtod-underflow.c: Likewise.
976
977 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
978
979         [BZ #17723]
980         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
981         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
982         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
983         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
984         libm_hidden_weak.
985         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
986         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
987         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
988         libm_hidden_def.
989         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
990         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
991         libm_hidden_weak.
992         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
993         Likewise.
994         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
995         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
996         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
997         libm_hidden_weak.
998         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
999         libm_hidden_def.
1000         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1001         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1002         (__feraiseexcept): Likewise.
1003         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1004         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1005         libm_hidden_weak.
1006         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1007         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1008         libm_hidden_def.
1009         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1010         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1011         Use libm_hidden_def.
1012         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1013         libm_hidden_def.
1014         (feraiseexcept): Define as weak not strong alias.  Use
1015         libm_hidden_weak.
1016         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1017         New inline function.  Factored out of ...
1018         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1019         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1020         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1021         feraiseexcept.
1022         * math/w_acos.c (__acos): Likewise.
1023         * math/w_asin.c (__asin): Likewise.
1024         * math/w_ilogb.c (__ilogb): Likewise.
1025         * math/w_j0.c (y0): Likewise.
1026         * math/w_j1.c (y1): Likewise.
1027         * math/w_jn.c (yn): Likewise.
1028         * math/w_log.c (__log): Likewise.
1029         * math/w_log10.c (__log10): Likewise.
1030         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1031         * sysdeps/aarch64/fpu/math_private.h
1032         (libc_feupdateenv_test_aarch64): Likewise.
1033         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1034         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1035         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1036         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1037         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1038         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1039         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1040         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1041         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1042         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1043
1044 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1045
1046         [BZ #17732]
1047         * io/test-utime.c (main): Replace %ld with %jd and cast to
1048         intmax_t.
1049         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1050         * nptl/tst-mutex5.c: Include <stdint.h>.
1051         (do_test): Replace %ld with %jd and cast to intmax_t.
1052         * posix/tst-regex.c (run_test): Likewise.
1053         (run_test_backwards): Likewise.
1054         * rt/tst-clock.c: Include <stdint.h>.
1055         (clock_test): Replace %ld with %jd and cast to intmax_t.
1056         * rt/tst-cpuclock1.c: Include <stdint.h>.
1057         (do_test): Replace %lu with %ju and cast to uintmax_t.
1058         * rt/tst-cpuclock2.c: Include <stdint.h>.
1059         (do_test): Replace %lu with %ju and cast to uintmax_t.
1060         * rt/tst-mqueue1.c: Include <stdint.h>.
1061         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1062         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1063         intmax_t.
1064         * rt/tst-mqueue4.c (do_test): Likewise.
1065         * rt/tst-timer4.c: Include <stdint.h>.
1066         (check_ts): Replace %ld with %jd and cast to intmax_t.
1067         (do_test): Likewise.
1068         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1069         and cast to intmax_t.
1070         * sysdeps/pthread/tst-timer.c (main): Likewise.
1071         * time/clocktest.c (main): Likewise.
1072         * time/tst-posixtz.c (do_test): Likewise.
1073         * timezone/tst-timezone.c (main): Likewise.
1074
1075 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1076             H.J. Lu  <hongjiu.lu@intel.com>
1077
1078         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1079         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1080         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1081         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1082         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1083         version if bit_Fast_Unaligned_Load is set.
1084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1091         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1092         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1093         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1094         to 4.
1095         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1096         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1097         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1098         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1099
1100 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1101
1102         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1103         instead of #if to avoid a Wundef warning.
1104         * stdlib/tst-limits.c (do_test): Likewise.
1105
1106         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1107         parallel other exception macros.
1108         (fegetenv): Convert from macro to extern inline so that it applies
1109         retroactively to inline functions already seen by the compiler.
1110         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1111
1112         * posix/Makefile (before-compile): Use $(objpfx) for
1113         posix-conf-vars-def.h.
1114
1115 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1116
1117         * posix/getconf.c (main): Use size_t for type of I.
1118         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1119         NSPEC.
1120
1121         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1122         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1123         * posix/posix-envs.def: Likewise.
1124         * sysdeps/posix/sysconf.c: Likewise.
1125         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1126         (specs): Remove array.
1127         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1128         array.
1129
1130         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1131         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1132         (__sysconf): Use CONF_IS_* macros.
1133
1134         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1135         ($(objpfx)posix-conf-vars-def.h): New target.
1136         * posix/posix-conf-vars.list: New file.
1137         * posix/posix-conf-vars.h: New file.
1138         * posix/confstr.c: Include posix-conf-vars.h.
1139         (confstr): Use CONF_IS_* macros.
1140         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1141         CONF_IS_* macros.
1142         * scripts/gen-posix-conf-vars.awk: New file.
1143
1144 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1145
1146         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1147         fegetround): Add no-op macros to avoid linknamespace issues.
1148
1149         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1150         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1151
1152         * sysdeps/unix/sysv/linux/tile/sysdep.h
1153         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1154         assembly-specific section to avoid a redefinition warning.
1155
1156         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1157         long before casting to pointer to avoid a cast warning.
1158
1159 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1160
1161         * sysdeps/tile/tilegx/Implies: New file.
1162
1163 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1164
1165         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1166
1167 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1168
1169         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1170
1171 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1172
1173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1174         not define.
1175         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1176         <kernel-features.h>.
1177         (__utimes) [__NR_utimes]: Make code unconditional.
1178         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1179         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1180         (__ASSUME_UTIMES): Do not undefine.
1181         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1182         (__ASSUME_UTIMES): Likewise.
1183         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1184         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1185         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1186         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1187
1188 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1189
1190         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1191
1192 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1193
1194         [BZ #17747]
1195         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1196         alias to weak alias for j0l, y0l.
1197         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1198         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1199
1200         [BZ #17746]
1201         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1202         conversion.
1203
1204 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1205
1206         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1207         to zero if not already defined.
1208
1209 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1210
1211         [BZ #17724]
1212         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1213         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1214         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1215         (char *) casts added.
1216         * sysdeps/ieee754/k_standardf.c: New file.
1217         * sysdeps/ieee754/k_standardl.c: Likewise.
1218         * math/Makefile (libm-support): Remove k_standard.
1219         (libm-calls): Add k_standard.
1220
1221 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1222
1223         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1224         Optimize to avoid an unnecessary FPCR read.
1225
1226 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1227
1228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1229         Optimize to reduce FPCR/FPSR accesses.
1230
1231 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1232
1233         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1234         Call libc_fetestexcept_aarch64.
1235
1236 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1237
1238         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1239         Call libc_fesetround_aarch64.
1240
1241 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1242
1243         [BZ #17733]
1244         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1245         (__bind): Do not define as weak alias.
1246         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1247         define.
1248         (__getsockname): Do not define as weak alias.
1249
1250 2014-12-22  Will Newton  <will.newton@linaro.org>
1251
1252         * manual/install.texi: Document that we require bison 2.7
1253         or above.
1254         * INSTALL: Regenerate.
1255         * configure.ac: Use AC_CHECK_PROG_VER instead of
1256         AC_PATH_PROG when checking for bison and check for
1257         version 2.7 or above.
1258         * configure: Regenerate.
1259
1260 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1261
1262         [BZ #17745]
1263         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1264         * sysdeps/tile/ffsll.c (ffsll): To here.
1265
1266         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1267
1268 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1269
1270         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1271         if not defined.
1272         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1273         definition.
1274         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1275         hidden ___tls_get_addr.
1276         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1277         hidden __tls_get_addr.
1278         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1279         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1280         Likewise.
1281
1282 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1283
1284         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1285         _dl_init call.
1286
1287 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1288
1289         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1290         from "call _dl_init@PLT".
1291         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1292
1293 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1294
1295         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1296         guarantees.
1297
1298 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1299
1300         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1301
1302 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1303
1304         [BZ #17744]
1305         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1306         strnlen.
1307
1308 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1309
1310         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1311         of multu on MIPSr6.
1312         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1313         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1314         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1315         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1316         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1317
1318 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1319
1320         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1321         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1322         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1323         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1324         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1325         mips32r6/mips64r6.
1326         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1327
1328 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1329
1330         * string/strncat.c (STRNCAT): Simplify implementation.
1331
1332 2014-12-19  David S. Miller  <davem@davemloft.net>
1333
1334         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1335         access the quad as both a long double and as a series of 4 words.
1336
1337         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1338         link_map->l_info array access.
1339
1340 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1341
1342         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1343
1344         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1345         * math/atest-exp2.c (TIMEOUT): Likewise.
1346         * math/atest-sincos.c (TIMEOUT): Likewise.
1347
1348 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1349
1350         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1351         -Wno-error with -fno-builtin-lround.
1352
1353 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1354
1355         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1356         Contains futex constants and functions moved over from ...
1357         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1358         <lowlevellock-futex.h>.
1359         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1360         (lll_timedwait_tid): Add comments and parentheses around macro
1361         arguments.
1362
1363 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1364
1365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1366         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1367         (__lll_private_flag): Remove.
1368         (lll_futex_wait): Likewise.
1369         (lll_futex_timed_wait): Likewise.
1370         (lll_futex_wake): Likewise.
1371         (lll_futex_requeue): Likewise.
1372         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1373         (__lll_timedwait_tid): Spell out argument names.
1374         (lll_timedwait_tid): Add comments and parentheses around macro
1375         arguments.
1376         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1377         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1378
1379 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1380
1381         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1382         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1383         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1384         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1385         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1386         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1387         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1388         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1389         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1394         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1395         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1396         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1397         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1398         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1399         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1400
1401 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1402
1403         * sysdeps/x86_64/x32/Makefile: New file.
1404
1405 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1406
1407         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1408         1L with (mp_limb_t) 1.
1409
1410 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1411
1412         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1413         * nptl/libc_pthread_init.c: ... here.
1414         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1415         * nptl/register-atfork.c: ... here.
1416
1417         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1418         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1419         Use assert_perror to check its return value.
1420         (__gai_create_helper_thread): Likewise.
1421
1422         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1423
1424         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1425
1426 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1427
1428         [BZ #17725]
1429         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1430         __profil_counter.
1431         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1432         Likewise.
1433         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1434         Likewise.
1435         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1438         (profil_counter): Likewise.
1439         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1440         (profil_counter): Likewise.
1441         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1444         Likewise.
1445         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1446         (profil_counter): Likewise.
1447         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1448         Likewise.
1449         [!__profil_counter] (profil_counter): Define as weak alias of
1450         __profil_counter.
1451         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1452         (profil_counter): Rename to __profil_counter.
1453         [!__profil_counter] (profil_counter): Define as weak alias of
1454         __profil_counter.
1455         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1456         (profil_counter): Rename to __profil_counter.
1457         [!__profil_counter] (profil_counter): Define as weak alias of
1458         __profil_counter.
1459         * sysdeps/posix/profil.c: Update comment referring to
1460         profil_counter.
1461         (__profil): Use __profil_counter instead of profil_counter.
1462         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1463         __profil_counter.  Use __profil_counter_ushort and
1464         __profil_counter_uint in definitions.
1465         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1466         instead of profil_counter_uint and profil_counter_ushort.
1467
1468         [BZ #17722]
1469         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1470         define as weak alias of __inet_makeaddr.
1471         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1472         as weak alias of __inet_addr.
1473         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1474         as weak alias of __inet_pton.  Use libc_hidden_weak.
1475         * include/arpa/inet.h (__inet_pton): Declare.  Use
1476         libc_hidden_proto.
1477         (inet_makeaddr): Don't use libc_hidden_proto.
1478         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1479         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1480         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1481         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1482         Remove variable.
1483         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1484         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1485
1486 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1487
1488         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1489
1490 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1491
1492         * stdio-common/bug-vfprintf-nargs.c (do_test):
1493         Cast value to intptr_t to avoid format warning
1494         for usage with PRIdPTR printing macro.
1495
1496 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1497
1498         * libio/tst-widetext.c (do_test):
1499         Use format type %td instead of %Zd for ptrdiff_t
1500         in order to avoid format warning.
1501
1502 2014-12-17  Andreas Schwab  <schwab@suse.de>
1503
1504         * nscd/mem.c (gc): Add size_t cast to match printf format.
1505
1506 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1507
1508         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1509         (init): Apply PTR_MANGLE to pointers before storing them.
1510         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1511         before using them.
1512
1513 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1514
1515         [BZ #17719]
1516         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1517         define as weak alias of __memrchr.
1518         (__memrchr): Do not define as strong alias of memrchr.
1519         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1520         Remove variable.
1521         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1522         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1523         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1524
1525         [BZ #17717]
1526         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1527         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1528         (if_indextoname): Rename to __if_indextoname and define as weak
1529         alias of __if_indextoname.  Use libc_hidden_weak.
1530         (if_freenameindex): Rename to __if_freenameindex and define as
1531         weak alias of __if_freenameindex.
1532         (if_nameindex): Rename to __if_nameindex and define as weak alias
1533         of __if_nameindex.
1534         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1535         __if_nametoindex and define as weak alias of __if_nametoindex.
1536         Use libc_hidden_weak.
1537         (if_freenameindex): Rename to __if_freenameindex and define as
1538         weak alias of __if_freenameindex.
1539         (if_nameindex): Rename to __if_nameindex and define as weak alias
1540         of __if_nameindex.
1541         (if_indextoname): Rename to __if_indextoname and define as weak
1542         alias of __if_indextoname.  Use libc_hidden_weak.
1543         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1544         __if_nametoindex and define as weak alias of __if_nametoindex.
1545         Use libc_hidden_weak.
1546         (if_freenameindex): Rename to __if_freenameindex and define as
1547         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1548         (if_nameindex_netlink): Use __if_freenameindex instead of
1549         if_freenameindex.
1550         (if_nameindex): Rename to __if_nameindex and define as weak alias
1551         of __if_nameindex.  Use libc_hidden_weak.
1552         (if_indextoname): Rename to __if_indextoname and define as weak
1553         alias of __if_indextoname.  Use libc_hidden_weak.
1554         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1555         libc_hidden_proto.
1556         [!_ISOMAC] (__if_freenameindex): Likewise.
1557         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1558         if_nametoindex.
1559         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1560         variable.
1561         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1562         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1563         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1564         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1565         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1566         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1567         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1568
1569         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1570         Remove variable.
1571         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1572         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1573
1574 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1575
1576         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1577         subscript above bounds'
1578
1579         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1580         bounds.
1581
1582 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1583
1584         * libio/tst-fopenloc.c: Use test-skeleton.c.
1585
1586         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1587         (entry): Rename to ITEM.
1588         (do_test, comp): Adjust.
1589
1590         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1591
1592 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1593
1594         * string/tester.c: Include <libc-internal.h>.
1595         (test_memset): Ignore -Wmemset-transposed-args.
1596
1597 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1598
1599         * misc/tst-mntent2.c (do_test): Fix warning.
1600
1601 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1602
1603         * elf/tst-unique4lib.cc(a): Mark as used.
1604
1605 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1606
1607         [BZ #17630]
1608         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1609         names.
1610
1611 2014-12-16  Allan McRae  <allan@archlinux.org>
1612
1613         * stdio-common/Makefile (tests): Re-add bug26.
1614
1615 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1616
1617         [BZ #17657]
1618         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1619         static array.
1620
1621 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1622
1623         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1624         (__lll_lock_wait): Likewise.
1625         (__lll_timedlock_wait): Likewise.
1626         (__lll_timedwait_tid): Likewise.
1627         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1628         (__lll_robust_timedlock_wait): Likewise.
1629         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1630         (lll_cond_trylock): Likewise.
1631         (__lll_lock): Likewise.
1632         (__lll_robust_lock): Likewise.
1633         (__lll_cond_lock): Likewise.
1634         (lll_robust_cond_lock): Likewise.
1635         (__lll_timedlock): Likewise.
1636         (__lll_robust_timedlock): Likewise.
1637         (__lll_unlock): Likewise.
1638         (__lll_robust_unlock): Likewise.
1639         (lll_wait_tid): Likewise.
1640         (lll_timedwait_tid): Likewise.
1641
1642 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1643
1644         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1645
1646 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1647
1648         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1649
1650 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1651
1652         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1653         * stdio-common/tst-sprintf.c: Likewise.
1654
1655 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1656
1657         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1658
1659 2014-12-15  Jeff Law  <law@redhat.com>
1660
1661         [BZ #16617]
1662         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1663         on the heap.  (CVE-2012-3406)
1664         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1665         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1666         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1667
1668 2014-12-15  Will Newton  <will.newton@linaro.org>
1669
1670         * manual/install.texi: Bump required version of texinfo
1671         to 4.7 from 4.5.
1672         * INSTALL: Regenerated.
1673         * configure.ac: Check for makeinfo version 4.7 and above.
1674         * configure: Regenerated.
1675
1676 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1677
1678         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1679         PREFIX, string constant to insert between directory and name.
1680         * sysdeps/posix/shm_open.c: Update caller.
1681         * sysdeps/posix/shm_unlink.c: Likewise.
1682         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1683         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1684         (SEM_SHM_PREFIX): New macro.
1685         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1686         [$(have-thread-library) = no].
1687         * nptl/Makefile (libpthread-routines): Add shm-directory.
1688         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1689         * sysdeps/nptl/shm-directory.h: New file.
1690         * sysdeps/posix/shm-directory.c
1691         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1692         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1693         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1694         INTERNAL_SYSCALL.
1695         (__where_is_shmfs): Function removed.
1696         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1697         Variables removed.
1698         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1699         Use SHM_GET_NAME.
1700         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1701
1702         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1703         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1704         unconditional for use inside libpthread.
1705         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1706
1707 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1708
1709         * nptl/pthread_getaffinity.c: New file.
1710         * nptl/pthread_setaffinity.c: New file.
1711         * nptl/pthread_getname.c: New file.
1712         * nptl/pthread_setname.c: New file.
1713
1714         * nptl/pthread_create.c (START_THREAD_DEFN)
1715         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1716
1717 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1718             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1719
1720         * resolv/res_send.c (send_vc): Disable warning resplen may
1721         be used uninitialized.
1722
1723 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1724
1725         * nptl/tst-mutex6.c
1726         (ATTR_NULL): New define checks ATTR against NULL.
1727         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1728         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1729
1730 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1731
1732         [BZ #17581]
1733         * malloc/hooks.c
1734         (mem2mem_check): Revert my previous change.
1735         (malloc_check_get_size): Revert my previous change.
1736         (mem2chunk_check): Revert my previous change.
1737
1738 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1739
1740         * sysdeps/posix/shm-directory.c: New file.
1741         * sysdeps/posix/shm-directory.h: New file.
1742         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1743         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1744         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1745         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1746         Transmute EPERM to EACCES.
1747         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1748         from ...
1749         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1750         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1751
1752 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1753
1754         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1755         pointer and cast to uintptr_t.
1756         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1757         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1758         Add cast to avoid warning.
1759         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1760
1761 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1762
1763         * nptl/semaphore.h: Move to ...
1764         * sysdeps/pthread/semaphore.h: ... here.
1765         * Makefile (installed-headers): Change nptl/semaphore.h to
1766         sysdeps/pthread/semaphore.h.
1767
1768 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1769
1770         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1771         generated error format strings.
1772
1773         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1774         -Wformat-extra-args warnings for scanf formats.
1775         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1776         test of zero-length format (duh).
1777         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1778         corner-case scanf format test.
1779         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1780         generated fprintf format string.
1781         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1782         corner-case sprintf format tests.
1783         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1784         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1785         -Wformat-extra-args warnings throughout.
1786         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1787         (CFLAGS-scanf4.c): Likewise.
1788         (CFLAGS-scanf7.c): Likewise.
1789         (CFLAGS-tst-sprintf.c): Likewise.
1790         (CFLAGS-tst-printf.c): Likewise.
1791         (CFLAGS-tst-printfsz.c): Likewise.
1792
1793 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1794
1795         * include/cpio.h: New file.
1796         * include/fmtmsg.h: Likewise.
1797
1798         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1799         corresponding format argument to size_t.
1800         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1801         arguments.
1802         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1803         corresponding format argument to size_t.
1804         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1805         arguments.
1806         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1807         corresponding format argument to size_t.
1808         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1809         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1810         (CFLAGS-tst-mbswcs2.c): Likewise.
1811         (CFLAGS-tst-mbswcs3.c): Likewise.
1812         (CFLAGS-tst-mbswcs4.c): Likewise.
1813         (CFLAGS-tst-mbswcs5.c): Likewise.
1814         (CFLAGS-tst-trans.c): Likewise
1815
1816 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1817
1818         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1819         rather than assuming they won't contain any '%'s.
1820
1821 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1822
1823         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1824         inhibit_loop_to_libcall to avoid recursive calls.
1825         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1826         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1827
1828 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1829
1830         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1831         prototype.
1832
1833 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1834
1835         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1836         integer value instead of boolean.
1837
1838 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1839
1840         * malloc/malloc.c: Fix powerof2 check.
1841
1842 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1843
1844         * locale/programs/locfile.h (maybe_swap_uint32):
1845         Remove inline and add unused attribute.
1846
1847 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1848
1849         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1850         Truncating assembler expression to a .long expression.
1851
1852 2014-12-11  Andreas Schwab  <schwab@suse.de>
1853
1854         * elf/rtld.c (struct map_args): Constify str member.
1855         (do_preload): Constify fname argument.
1856
1857 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1858
1859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1860         constants definition.
1861
1862 2014-12-11  Andreas Schwab  <schwab@suse.de>
1863
1864         [BZ #16657]
1865         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1866         FORCE_ELISION instead of DO_ELISION.
1867         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1868         Remove.
1869         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1870         Likewise.
1871
1872         * iconvdata/gconv-modules: Remove duplicate entry.
1873
1874 2014-12-11  Will Newton  <will.newton@linaro.org>
1875
1876         Merge gettext 0.19.3 into intl/.
1877
1878         This involves a number of cosmetic changes to comments
1879         and ANSI function definitions and prototypes throughout
1880         all the files. The gettext copyright header is used but
1881         with the date ranges taken from the glibc copy.
1882
1883         * NEWS: Add gettext merge to 2.21.
1884         * intl/bindtextdom.c: Switch to gettext copyright.
1885         Use ANSI definitions and prototypes.
1886         Use gl_* locking primitives rather than __libc_* ones.
1887         Use __builtin_expect rather than __glibc_likely/unlikely.
1888         * intl/dcgettext.c: Switch to gettext copyright.
1889         Use ANSI definitions and prototypes.
1890         * intl/dcigettext.c: Switch to gettext copyright.
1891         Use ANSI definitions and prototypes.
1892         (INTDIV0_RAISES_SIGFPE): New define.
1893         Use gl_* locking primitives rather than __libc_* ones.
1894         Include eval-plural.h instead of plural-eval.c.
1895         Use __builtin_expect rather than __glibc_likely/unlikely.
1896         * intl/dcngettext.c: Switch to gettext copyright.
1897         Use ANSI definitions and prototypes.
1898         * intl/dgettext.c: Likewise.
1899         * intl/dngettext.c: Likewise.
1900         * intl/plural-eval.c: Renamed to...
1901         * intl/eval-plural.h: ...this.
1902         * intl/explodename.c: Switch to gettext copyright.
1903         Use ANSI definitions and prototypes.
1904         (_nl_explode_name): Use strchr instead of __rawmemchr.
1905         * intl/finddomain.c: Switch to gettext copyright.
1906         Use ANSI definitions and prototypes.
1907         Use gl_* locking primitives rather than __libc_* ones.
1908         (_nl_find_domain): Use malloc rather than alloca for
1909         allocation of temporary locale name.
1910         * intl/gettext.c: Switch to gettext copyright.
1911         Use ANSI definitions and prototypes.
1912         * intl/gettextP.h: Switch to gettext copyright.
1913         Use ANSI definitions and prototypes.
1914         Use gl_* locking primitives rather than __libc_* ones.
1915         * intl/gmo.h: Switch to gettext copyright.
1916         (struct sysdep_string): Move struct segment_pair outside of
1917         struct definition.
1918         * intl/hash-string.c: Use ANSI definitions and prototypes.
1919         * intl/hash-string.h: Switch to gettext copyright.
1920         Use ANSI definitions and prototypes.
1921         * intl/l10nflist.c: Switch to gettext copyright.
1922         Use ANSI definitions and prototypes.
1923         (_nl_normalize_codeset): Avoid integer overflow.
1924         * intl/loadinfo.h: Switch to gettext copyright.
1925         Use ANSI definitions and prototypes.
1926         (LIBINTL_DLL_EXPORTED): New define.
1927         (PATH_SEPARATOR): New define.
1928         * intl/loadmsgcat.c: Switch to gettext copyright.
1929         * intl/localealias.c: Switch to gettext copyright.
1930         Use ANSI definitions and prototypes.
1931         (_nl_expand_alias): Use PATH_SEPARATOR.
1932         * intl/ngettext.c: Switch to gettext copyright.
1933         Use ANSI definitions and prototypes.
1934         * intl/plural-exp.c: Likewise.
1935         * intl/plural-exp.h: Switch to gettext copyright.
1936         Use ANSI definitions and prototypes.
1937         (struct expression): Move definition of enum operator outside
1938         of struct definition.
1939         * intl/plural.c: Regenerate.
1940         * intl/plural.y: Switch to gettext copyright.
1941         Use ANSI definitions and prototypes.
1942         Port to bison 3.0.
1943         * intl/textdomain.c: Switch to gettext copyright.
1944         Use ANSI definitions and prototypes.
1945         Use gl_* locking primitives rather than __libc_* ones.
1946
1947 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1948
1949         * debug/warning-nop.c: Add used atrribute.
1950
1951 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1952
1953         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1954
1955         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1956         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1957         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1958
1959 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1960             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1961
1962         [BZ #17634]
1963         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1964         Undefine after defining function.  Define as weak alias of
1965         __wcschr.  Use libc_hidden_weak.
1966         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1967         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1968         (libc_hidden_def): Also define __GI___wcschr alias.
1969         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1970         __wcschr and define as weak alias of __wcschr.
1971         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1972         __wcschr.
1973         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1974         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1975         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1976         libc_hidden_weak.  Do not use libc_hidden_def.
1977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1978         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1979         __GI___wcschr alias.
1980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1981         [IS_IN (libc)] (wcschr): Define as macro expanding to
1982         __redirect_wcschr.
1983         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1984         [IS_IN (libc)] (__wcschr_power6): Likewise.
1985         [IS_IN (libc)] (__wcschr_power7): Likewise.
1986         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1987         instead of wcschr.
1988         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1989         __libc_wcschr.
1990         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1991         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1992         __wcschr and define as weak alias of __wcschr.  Use
1993         libc_hidden_builtin_def.
1994         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1995         as weak alias of __wcschr.  Use libc_hidden_weak.
1996         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1997         wcschr.
1998         * time/era.c (_nl_init_era_entries): Likewise.
1999         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2000         variable.
2001         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2002         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2003
2004 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2005
2006         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2007         format for long int variable.
2008
2009 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2010
2011         [BZ #10672]
2012         * manual/search.texi: (Array Sort Function): Remove claim how to make
2013         qsort stable.
2014
2015 2014-12-10  Andreas Schwab  <schwab@suse.de>
2016
2017         [BZ #12847]
2018         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2019         user-controlled locks.
2020
2021 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2022
2023         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2024         register.
2025
2026 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2027
2028         * configure.ac (--disable-werror): New configure option.
2029         (enable_werror): New AC_SUBST.
2030         * configure: Regenerated.
2031         * config.make.in (enable-werror): New variable.
2032         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2033         -Wno-error=undef.
2034         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2035         * manual/install.texi (Configuring and compiling): Document
2036         --disable-werror.
2037         * INSTALL: Regenerated.
2038         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2039         (CFLAGS-tst-chk2.c): Likewise.
2040         (CFLAGS-tst-chk3.c): Likewise.
2041         (CFLAGS-tst-chk4.cc): Likewise.
2042         (CFLAGS-tst-chk5.cc): Likewise.
2043         (CFLAGS-tst-chk6.cc): Likewise.
2044         (CFLAGS-tst-lfschk1.c): Likewise.
2045         (CFLAGS-tst-lfschk2.c): Likewise.
2046         (CFLAGS-tst-lfschk3.c): Likewise.
2047         (CFLAGS-tst-lfschk4.cc): Likewise.
2048         (CFLAGS-tst-lfschk5.cc): Likewise.
2049         (CFLAGS-tst-lfschk6.cc): Likewise.
2050
2051         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2052         (main): Disable -Wdeprecated-declarations around calls to
2053         register_printf_function.
2054
2055         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2056         (do_test): Disable -Wdiv-by-zero around some calls to
2057         fwrite_unlocked and fread_unlocked.
2058
2059         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2060         (DIAG_POP_NEEDS_COMMENT): Likewise.
2061         (_DIAG_STR1): Likewise.
2062         (_DIAG_STR): Likewise.
2063         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2064         * stdio-common/bug21.c: Include <libc-internal.h>.
2065         (do_test): Disable -Wformat around call to sscanf.
2066         * stdio-common/scanf14.c: Include <libc-internal.h>.
2067         (main): Disable -Wformat around some calls to scanf functions.
2068
2069 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2070
2071         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2072
2073 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2074
2075         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2076         stack variable alignment.
2077
2078 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2079
2080         [BZ #17682]
2081         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2082         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2083         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2084         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2085         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2086         __getrlimit instead of getrlimit.
2087         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2088         __gettimeofday instead of gettimeofday.
2089         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2090         Likewise.
2091         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2092         Likewise.
2093         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2094         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2095         Remove variable.
2096         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2097         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2098
2099 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2100
2101         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2102         for wide-character tests.
2103
2104 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2105
2106         * io/openat64.c: #include <libc-internal.h>
2107         (__openat64): Prototypify.  Use ignore_value on MODE.
2108         * io/openat.c: Likewise.
2109         * misc/reboot.c: #include <libc-internal.h>
2110         (reboot): Prototypify.  Use ignore_value on HOWTO.
2111         * misc/ptrace.c: #include <libc-internal.h>
2112         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2113
2114 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2115
2116         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2117         XPG4, UNIX98 and XOPEN2K.
2118         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2119         Remove variable.
2120         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2121
2122 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2123
2124         * libio/fileops.c: Use ISO C style for function definitions.
2125         * libio/iofopen.c: Likewise.
2126         * libio/wfileops.c: Likewise.
2127
2128         [BZ #17653]
2129         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2130         offset on EOF.
2131         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2132         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2133         (fgets_func): Function pointer to fgets and fgetws.
2134         (do_ftell_test): Add test to verify ftell value after read
2135         EOF.
2136         (do_test): Set fgets_func.
2137
2138         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2139         O_TRUNC flag for w and w+ modes.
2140         (do_rewind_test): Likewise.
2141         (do_ftell_test): Likewise.
2142         (do_write_test): Likewise.
2143
2144         [BZ #17647]
2145         * libio/fileops.c (do_ftell): Seek only when there are
2146         unflushed writes.
2147         * libio/wfileops.c (do_ftell_wide): Likewise.
2148         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2149         test case.
2150         (do_one_test): Call it.
2151
2152 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2153
2154         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2155         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2156         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2157         Remove variable.
2158         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2159         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2160         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2161
2162 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2163
2164         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2165         Remove variable.
2166         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2167
2168         [BZ #17668]
2169         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2170         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2171         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2172         __freeifaddrs.  Use libc_hidden_weak.
2173         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2174         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2175         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2176         __freeifaddrs.  Use libc_hidden_weak.
2177         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2178         __getifaddrs and define as weak alias of __getifaddrs.  Use
2179         libc_hidden_weak.
2180         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2181         __freeifaddrs.  Use libc_hidden_weak.
2182         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2183         Remove variable.
2184         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2185         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2186
2187 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2188
2189         [BZ #17601]
2190         * sysdeps/mips/start.S (__start): Use indirect jump to call
2191         __libc_start_main.
2192
2193 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2194
2195         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2196
2197         * nptl/tst-mutex1.c: Include <stdbool.h>.
2198         [!ATTR] (ATTR_NULL): New macro.
2199         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2200         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2201         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2202
2203         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2204         to char *.
2205
2206         [BZ #17665]
2207         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2208         Change conditional to [__USE_MISC].
2209
2210         [BZ #17664]
2211         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2212         fgets_unlocked.
2213         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2214         __fgets_unlocked.
2215         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2216         fgets_unlocked.
2217         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2218         Remove variable.
2219         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2220         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2221         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2222         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2223         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2224         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2225         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2226         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2227         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2228
2229         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2230
2231 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2232
2233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2234         Remove strpbrk objects.
2235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2236         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2237         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2238         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2239         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2240         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2241
2242         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2243         Remove strcspn objects.
2244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2245         (__libc_ifunc_impl_list): Remove strcspn implementation.
2246         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2247         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2248         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2249         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2250
2251         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2252         Remove strspn objetcs.
2253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2254         (__libc_ifunc_impl_list): Remove strspn implementation.
2255         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2256         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2257         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2258         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2259
2260 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2261
2262         [BZ #17581]
2263         * malloc/hooks.c
2264         (mem2mem_check): Add a terminator to the chain of checking blocks.
2265         (malloc_check_get_size): Use it here.
2266         (mem2chunk_check): Ditto.
2267
2268 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2269
2270         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2271         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2272
2273 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2274
2275         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2276
2277         * nptl/nptl-init.c: Include libc-internal.h.
2278         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2279
2280         * elf/ldconfig.c (search_dir): Expand comment.
2281
2282 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2283
2284         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2285         variable.
2286         (linknamespace-symlist-stdlibs-tests): Likewise.
2287         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2288         instead of $(objpfx)symlist-stdlibs.
2289         (linknamespace-libs-isoc): New variable.
2290         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2291         (linknamespace-libs-ISO): New variable.
2292         (linknamespace-libs-ISO99): Likewise.
2293         (linknamespace-libs-ISO11): Likewise.
2294         (linknamespace-libs-XPG3): Likewise.
2295         (linknamespace-libs-XPG4): Likewise.
2296         (linknamespace-libs-POSIX): Likewise.
2297         (linknamespace-libs-UNIX98): Likewise.
2298         (linknamespace-libs-XOPEN2K): Likewise.
2299         (linknamespace-libs-POSIX2008): Likewise.
2300         (linknamespace-libs-XOPEN2K8): Likewise.
2301         ($(objpfx)symlist-stdlibs): Replace by
2302         $(linknamespace-symlist-stdlibs-tests).  Use
2303         $(linknamespace-libs-$*) as set of libraries.
2304         ($(linknamespace-header-tests)): Update dependencies.  Use
2305         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2306         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2307         * conform/linknamespace.pl: Remove comment about considering
2308         definitions of symbols from irrelevant libraries.
2309
2310 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2311
2312         [BZ #13862]
2313         * elf/dl-tls.c: Include <atomic.h>.
2314         (oom): Remove #ifdef SHARED/#endif.
2315         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2316         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2317         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2318         big enough.
2319         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2320         * nptl/Makefile (tests): Add tst-stack4.
2321         (modules-names): Add tst-stack4mod.
2322         ($(objpfx)tst-stack4): New.
2323         (tst-stack4mod.sos): Likewise.
2324         ($(objpfx)tst-stack4.out): Likewise.
2325         ($(tst-stack4mod.sos)): Likewise.
2326         (clean): Likewise.
2327         * nptl/tst-stack4.c: New file.
2328         * nptl/tst-stack4mod.c: Likewise.
2329
2330 2014-11-27  J. Brown  <jb999@gmx.de>
2331
2332         * sysdeps/x86/bits/string.h: Add recent CPUs.
2333
2334 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2335
2336         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2337         sigblock.
2338
2339         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2340         feof.
2341
2342         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2343         variable.
2344
2345 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2346
2347         * nscd/connections.c: Include libc-internal.h because of macro
2348         usage ignore_value.
2349
2350 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2351
2352         * string/bits/string3.h (__warn_memset_zero_len): Don't
2353         declare for gcc newer than 5.0.
2354         (memset): Don't test for zero-length __LEN for gcc newer than
2355         5.0.
2356
2357 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2358
2359         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2360         size_t for %zu format.
2361
2362         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2363         difference, not %ju.
2364
2365 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2366
2367         * include/libc-internal.h (ignore_value): New macro.
2368         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2369         with ignore_value.
2370
2371         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2372         definition.
2373
2374         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2375         pthread_cleanup_push to void *.
2376
2377         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2378         Undefine.
2379
2380         [BZ #16619]
2381         [BZ #16740]
2382         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2383         instead of 1L << 52.
2384
2385         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2386         * libio/bug-rewind2.c (do_test): Likewise.
2387
2388         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2389         * debug/test-strcpy_chk-ifunc.c: Likewise.
2390         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2391         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2392         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2393         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2394         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2395         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2396         * Rules [$(multi-arch) = no] (tests): Do not filter out
2397         $(tests-ifunc).
2398         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2399         * debug/Makefile (tests-ifunc): Remove variable.
2400         (tests): Do not add $(tests-ifunc).
2401         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2402         (tests): Do not add $(tests-ifunc).
2403         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2404         [TEST_IFUNC]: Remove conditionals.
2405         * string/test-string.h (TEST_IFUNC): Remove macro.
2406         [TEST_IFUNC]: Remove conditionals.
2407
2408         * string/test-strchr.c [!WIDE] (L): New macro.
2409         [WIDE] (L): Likewise.
2410         (check1): Use CHAR instead of char.  Use L on string and character
2411         constants.
2412
2413 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2414
2415         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2416         tests.
2417         * sysdeps/powerpc/bits/atomic.h
2418         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2419         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2420         (atomic_exchange_and_add_acq): Likewise.
2421         (atomic_exchange_and_add_rel): Likewise.
2422         * sysdeps/powerpc/powerpc32/bits/atomic.h
2423         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2424         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2425         * sysdeps/powerpc/powerpc64/bits/atomic.h
2426         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2427         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2428
2429 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2430
2431         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2432         Change synchronization of __sched_fifo_min_prio and
2433         __sched_fifo_max_prio.
2434         * nptl/pthread_mutexattr_getprioceiling.c
2435         (pthread_mutexattr_getprioceiling): Likewise.
2436         * nptl/pthread_mutexattr_setprioceiling.c
2437         (pthread_mutexattr_setprioceiling): Likewise.
2438         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2439         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2440         Likewise.
2441
2442 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2443
2444         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2445         void.
2446
2447 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2448
2449         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2450         third argument const.
2451
2452 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2453
2454         fnmatch: work around GCC compiler warning bug with uninit var
2455         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2456         This works around a bug with x86-64 GCC 4.9.2 and earlier
2457         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2458         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2459         used uninitialized in this function [-Wmaybe-uninitialized]".
2460
2461 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2462
2463         * posix/bug-regex31.c (main): Return RES not 0.
2464
2465 2014-11-25  Anton Blanchard <anton@samba.org>
2466
2467         * sysdeps/powerpc/bits/atomic.h
2468         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2469
2470 2014-11-24  Sterling Augustine  <saugustine@google.com>
2471
2472         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2473
2474 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2475
2476         [BZ #17608]
2477         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2478
2479 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2480
2481         [BZ #17633]
2482         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2483         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2484         variable.
2485         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2486         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2487
2488 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2489
2490         * string/strncpy.c (strncpy): Improve performance by using memset.
2491
2492 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2493
2494         * string/strcpy.c (strcpy):
2495         Improve performance by using strlen and memcpy.
2496
2497 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2498
2499         * string/strcoll_l.c (get_next_seq): __always_inline.
2500         * string/strcoll_l.c (do_compare): __always_inline.
2501
2502 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2503
2504         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2505         defined.
2506         * include/mqueue.h: Likewise.
2507         * include/stdlib.h: Likewise.
2508
2509         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2510         (get_null_defines): Adjust.
2511         * sunrpc/Makefile: Adjust comment.
2512         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2513         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2514         (CFLAGS-interp.c): Likewise.
2515         (CFLAGS-ldconfig.c): Likewise.
2516         (CPPFLAGS-.os): Likewise.
2517         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2518         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2519         * extra-modules.mk (extra-modules.mk): Likewise.
2520         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2521         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2522         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2523         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2524         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2525         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2526         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2527         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2528         * iconvdata/Makefile (CPPFLAGS): Likewise.
2529         (cpp-srcs-left): Add libof for all iconvdata routines.
2530         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2531         * include/assert.h: Likewise.
2532         * include/ctype.h: Likewise.
2533         * include/errno.h: Likewise.
2534         * include/libc-symbols.h: Likewise.
2535         * include/math.h: Likewise.
2536         * include/netdb.h: Likewise.
2537         * include/resolv.h: Likewise.
2538         * include/stdio.h: Likewise.
2539         * include/stdlib.h: Likewise.
2540         * include/string.h: Likewise.
2541         * include/sys/stat.h: Likewise.
2542         * include/wctype.h: Likewise.
2543         * intl/l10nflist.c: Likewise.
2544         * libidn/idn-stub.c: Likewise.
2545         * libio/libioP.h: Likewise.
2546         * nptl/libc_multiple_threads.c: Likewise.
2547         * nptl/pthreadP.h: Likewise.
2548         * posix/regex_internal.h: Likewise.
2549         * resolv/res_hconf.c: Likewise.
2550         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2551         * sysdeps/arm/memmove.S: Likewise.
2552         * sysdeps/arm/sysdep.h: Likewise.
2553         * sysdeps/generic/_itoa.h: Likewise.
2554         * sysdeps/generic/symbol-hacks.h: Likewise.
2555         * sysdeps/gnu/errlist.awk: Likewise.
2556         * sysdeps/gnu/errlist.c: Likewise.
2557         * sysdeps/i386/i586/memcpy.S: Likewise.
2558         * sysdeps/i386/i586/memset.S: Likewise.
2559         * sysdeps/i386/i686/memcpy.S: Likewise.
2560         * sysdeps/i386/i686/memmove.S: Likewise.
2561         * sysdeps/i386/i686/mempcpy.S: Likewise.
2562         * sysdeps/i386/i686/memset.S: Likewise.
2563         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2564         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2565         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2566         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2567         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2568         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2569         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2570         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2571         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2572         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2573         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2574         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2575         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2576         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2577         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2578         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2579         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2580         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2581         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2582         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2583         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2584         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2585         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2586         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2587         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2588         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2589         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2590         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2591         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2592         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2593         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2594         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2596         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2597         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2598         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2599         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2600         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2601         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2602         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2603         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2604         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2605         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2606         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2607         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2608         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2609         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2610         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2611         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2612         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2613         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2614         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2615         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2616         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2617         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2618         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2619         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2620         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2621         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2622         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2623         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2624         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2625         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2626         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2627         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2628         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2629         * sysdeps/posix/closedir.c: Likewise.
2630         * sysdeps/posix/opendir.c: Likewise.
2631         * sysdeps/posix/readdir.c: Likewise.
2632         * sysdeps/posix/rewinddir.c: Likewise.
2633         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2634         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2635         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2636         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2637         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2638         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2639         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2645         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2646         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2647         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2648         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2649         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2650         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2651         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2652         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2653         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2654         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2655         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2656         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2661         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2669         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2670         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2671         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2672         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2673         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2674         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2675         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2677         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2678         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2679         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2680         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2681         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2682         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2683         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2684         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2687         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2689         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2690         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2691         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2692         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2693         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2694         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2695         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2696         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2697         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2698         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2699         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2700         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2701         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2702         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2703         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2704         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2705         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2706         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2707         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2708         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2709         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2710         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2711         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2712         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2713         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2714         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2717         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2718         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2719         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2720         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2721         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2722         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2723         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2724         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2725         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2727         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2728         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2729         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2730         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2731         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2732         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2734         * sysdeps/unix/alpha/sysdep.S: Likewise.
2735         * sysdeps/unix/alpha/sysdep.h: Likewise.
2736         * sysdeps/unix/make-syscalls.sh: Likewise.
2737         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2738         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2739         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2740         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2741         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2742         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2743         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2744         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2745         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2746         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2748         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2749         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2750         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2751         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2752         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2754         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2755         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2756         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2757         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2758         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2759         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2760         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2761         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2762         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2763         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2766         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2767         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2771         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2775         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2776         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2777         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2778         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2779         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2780         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2781         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2784         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2787         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2788         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2789         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2790         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2791         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2793         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2795         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2796         * sysdeps/x86_64/memcpy.S: Likewise.
2797         * sysdeps/x86_64/memmove.c: Likewise.
2798         * sysdeps/x86_64/memset.S: Likewise.
2799         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2800         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2801         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2802         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2803         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2805         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2806         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2807         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2808         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2809         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2810         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2811         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2812         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2814         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2815         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2816         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2817         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2818         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2819         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2820         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2821         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2822         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2823         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2824         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2825         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2826         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2827         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2828         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2829         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2830         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2831         * sysdeps/x86_64/strcmp.S: Likewise.
2832
2833         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2834
2835         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2836         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2837         * elf/rtld-Rules: Likewise.
2838         * elf/setup-vdso.h: Likewise.
2839         * include/assert.h: Likewise.
2840         * include/bits/stdlib-float.h: Likewise.
2841         * include/errno.h: Likewise.
2842         * include/sys/stat.h: Likewise.
2843         * include/unistd.h: Likewise.
2844         * sysdeps/aarch64/setjmp.S: Likewise.
2845         * sysdeps/alpha/setjmp.S: Likewise.
2846         * sysdeps/arm/__longjmp.S: Likewise.
2847         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2848         * sysdeps/arm/setjmp.S: Likewise.
2849         * sysdeps/arm/sysdep.h: Likewise.
2850         * sysdeps/generic/_itoa.h: Likewise.
2851         * sysdeps/generic/dl-sysdep.h: Likewise.
2852         * sysdeps/generic/ldsodefs.h: Likewise.
2853         * sysdeps/i386/dl-tls.h: Likewise.
2854         * sysdeps/i386/setjmp.S: Likewise.
2855         * sysdeps/m68k/setjmp.c: Likewise.
2856         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2857         * sysdeps/mach/hurd/opendir.c: Likewise.
2858         * sysdeps/posix/getcwd.c: Likewise.
2859         * sysdeps/posix/opendir.c: Likewise.
2860         * sysdeps/posix/profil.c: Likewise.
2861         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2862         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2864         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2867         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2868         * sysdeps/s390/dl-tls.h: Likewise.
2869         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2870         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2871         * sysdeps/sh/sh3/setjmp.S: Likewise.
2872         * sysdeps/sh/sh4/setjmp.S: Likewise.
2873         * sysdeps/unix/alpha/sysdep.h: Likewise.
2874         * sysdeps/unix/arm/sysdep.S: Likewise.
2875         * sysdeps/unix/i386/sysdep.S: Likewise.
2876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2877         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2878         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2879         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2880         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2881         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2882         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2883         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2884         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2885         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2886         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2887         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2888         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2891         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2894         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2895         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2896         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2899         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2900         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2901         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2903         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2904         * sysdeps/x86_64/setjmp.S: Likewise.
2905
2906         * include/math.h: Use IS_IN instead of IS_IN_libm.
2907         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2908         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2911         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2912         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2913         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2914         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2915         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2916         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2917         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2918         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2919         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2920         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2921         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2922         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2923         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2924         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2925         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2926         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2927         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2928         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2929         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2930         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2931         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2932         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2934         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2935         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2936         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2937         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2938         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2939         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2941         Likewise.
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2943         Likewise.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2945         Likewise.
2946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2947         Likewise.
2948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2949         Likewise.
2950         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2951         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2952         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2953         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2954         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2961         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2962         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2963         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2964         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2966         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2967         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2968         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2969         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2970         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2971         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2974         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2976         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2977
2978         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2979         * nptl/pthreadP.h: Likewise.
2980         * nptl_db/structs.def: Likewise.
2981         * sysdeps/arm/sysdep.h: Likewise.
2982         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2983         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2984         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2985         * sysdeps/unix/alpha/sysdep.h: Likewise.
2986         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2988         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2989         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2990         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2991         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2993         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2994         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2995         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2996         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2997         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2998         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2999         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3004         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3007         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3008         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3009         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3010         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3011         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3012
3013         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3014         * nptl/pthreadP.h: Likewise.
3015         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3016         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3017         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3018         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3019         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3020         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3021         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3022         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3023         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3024         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3025         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3026         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3033         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3036         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3037         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3038         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3039
3040         * dlfcn/dladdr.c: Use IS_IN.
3041         * dlfcn/dladdr1.c: Likewise.
3042         * dlfcn/dlclose.c: Likewise.
3043         * dlfcn/dlerror.c: Likewise.
3044         * dlfcn/dlinfo.c: Likewise.
3045         * dlfcn/dlmopen.c: Likewise.
3046         * dlfcn/dlopen.c: Likewise.
3047         * dlfcn/dlsym.c: Likewise.
3048         * dlfcn/dlvsym.c: Likewise.
3049
3050         * include/ifaddrs.h: Use IS_IN.
3051         * inet/check_pf.c: Likewise.
3052         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3053         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3054
3055         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3056         IS_IN_ldconfig.
3057         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3058         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3059
3060         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3061         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3062         IS_IN (libc).
3063
3064         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3065
3066         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3067         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3068         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3069         * include/libc-symbols.h (IS_IN_LIB): New macro.
3070         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3071         * include/netdb.h: Likewise.
3072         * include/stap-probe.h: Remove all uses of IN_LIB.
3073
3074         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3075         instead of IN_MODULE.
3076         * include/libc-symbols.h (IN_MODULE): Define using
3077         MODULE_NAME.
3078         (PASTE_NAME, PASTE_NAME1): New macros.
3079         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3080         of IN_LIB.
3081         (STAP_PROBE_ASM): Likewise.
3082
3083 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3084
3085         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3086         __mach_init in dlopened libc.
3087
3088 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3089
3090         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3091         * sysdeps/arm/preconfigure: Regenerate.
3092
3093 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3094
3095         * nptl/pthread_create.c (__pthread_create_2_1): Set
3096         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3097         when copying values from IATTR into PD.
3098
3099 2014-11-21  Will Newton  <will.newton@linaro.org>
3100             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3101
3102         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3103         Refactor inline-asm.  Also add comment.
3104
3105         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3106         ElfW macro instead of hardcoded Elf64 types.
3107         (la_aarch64_gnu_pltenter): Likewise.
3108         * sysdeps/aarch64/dl-machine.h
3109         (elf_machine_runtime_setup): Use ElfW(Addr).
3110
3111         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3112         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3113         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3114         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3115         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3116         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3117         (R_AARCH64_TLS_DTPMOD): This.
3118         (R_AARCH64_TLS_DTPREL64): Rename to ...
3119         (R_AARCH64_TLS_DTPREL): This.
3120         (R_AARCH64_TLS_TPREL64): Rename to ...
3121         (R_AARCH64_TLS_TPREL): This.
3122         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3123         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3124         R_AARCH64_TLS_TPREL64.
3125         (elf_machine_rela): Likewise.
3126
3127 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3128
3129         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3130         by setting it to 0.  64b atomics are not supported currently.
3131
3132 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3133
3134         [BZ #16469]
3135         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3136         search domain names.
3137
3138 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3139
3140         [BZ #16469]
3141         * NEWS: Update.
3142         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3143         trailing dot.
3144         * posix/tst-getaddrinfo5.c: New.
3145         * posix/Makefile (tests): Add it.
3146
3147 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3148
3149         [BZ #14498]
3150         * NEWS: Fixed.
3151         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3152         after parsing line but before break_if_match.
3153         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3154         if there is a protocol mismatch.
3155
3156 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3157
3158         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3159         because the potential race is on the user-supplied stream.
3160
3161 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3162
3163         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3164         string literal if not passed a buffer.
3165         * manual/job.texi (ctermid): Update reasoning, note deviation
3166         from posix, suggest mtasurace when not passed a buffer, for
3167         future non-preliminary safety notes.
3168
3169 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3170
3171         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3172         of not passing it a buffer.
3173         Reported by Peng Haitao.
3174
3175 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3176
3177         * manual/Makefile ($(objpfx)stamp-summary): Require
3178         check-safety.sh to pass.
3179         * manual/check-safety.sh: Wish for verification that every
3180         @deftypefn and @deftypefun is followed by a @safety remark.
3181
3182 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3183
3184         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3185
3186         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3187         PTHREAD_CANCEL_ASYNCHRONOUS.
3188         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3189         send SIGCANCEL.
3190
3191         * nptl/default-sched.h: New file.
3192         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3193         * nptl/pthread_create.c: Include it.
3194         (__pthread_create_2_1): Use collect_default_sched instead of making
3195         Linux syscalls here directly.
3196
3197 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3198
3199         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3200         __pthread_once): Use C11 atomics.
3201
3202 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3203
3204         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3205
3206 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3207
3208         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3209         atomic_thread_fence_acquire, atomic_thread_fence_release,
3210         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3211         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3212         atomic_compare_exchange_weak_relaxed,
3213         atomic_compare_exchange_weak_acquire,
3214         atomic_compare_exchange_weak_release,
3215         atomic_exchange_acquire, atomic_exchange_release,
3216         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3217         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3218         atomic_fetch_and_acquire,
3219         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3220
3221 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3222
3223         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3224         USE_ATOMIC_COMPILER_BUILTINS): Define.
3225         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3227         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3229         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3231         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3233         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3235         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3237         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3239         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3241         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3243         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3245         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3246         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3247         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3248         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3249         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3250         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3251         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3252         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3253         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3254         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3255         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3256         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3257         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3258         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3259         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3260         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3261         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3262         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3263         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3264         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3265
3266 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3267
3268         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3269         the sched_priority value here.  It was already checked when the user
3270         called pthread_attr_setschedparam.
3271
3272         * nptl/tst-bad-schedattr.c: New file.
3273         * nptl/Makefile (tests): Add it.
3274
3275 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3276             Florian Weimer  <fweimer@redhat.com>
3277             Joseph Myers  <joseph@codesourcery.com>
3278             Adam Conrad  <adconrad@0c3.net>
3279             Andreas Schwab  <schwab@suse.de>
3280             Brooks  <bmoses@google.com>
3281
3282         [BZ #17625]
3283         * wordexp-test.c (__dso_handle): Add prototype.
3284         (__register_atfork): Likewise.
3285         (__app_register_atfork): New function.
3286         (registered_forks): New global.
3287         (register_fork): New function.
3288         (test_case): Add 3 new tests for WRDE_CMDSUB.
3289         (main): Call __app_register_atfork.
3290         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3291         fork count is non-zero fail the test.
3292         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3293         is set.
3294         (parse_dollars): Remove check for WRDE_NOCMD.
3295         (parse_dquote): Likewise.
3296
3297 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3298
3299         * Makeconfig (built-modules): List non-library modules to be
3300         built.
3301         (module-cppflags): Include libc-modules.h for
3302         everything except shlib-versions.v.i.
3303         (CPPFLAGS): Use it.
3304         (before-compile): Add libc-modules.h.
3305         ($(common-objpfx)libc-modules.h,
3306         $(common-objpfx)libc-modules.stmp): New targets.
3307         (common-generated): Add libc-modules.h and libc-modules.stmp.
3308         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3309         * include/libc-symbols.h: Don't include libc-modules.h.
3310         * include/libc-modules.h: Remove file.
3311         * scripts/gen-libc-modules.awk: New script to generate
3312         libc-modules.h.
3313         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3314         Depend on libc-modules.stmp.
3315
3316         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3317
3318         * Makeconfig (in-module): Get value of libof set for the
3319         translation unit.
3320         (CPPFLAGS): Use $(in-module).
3321         * Makerules: Don't suffix routine names for nonlib.
3322         * include/libc-modules.h: New file.
3323         * include/libc-symbols.h: Include libc-modules.h
3324         (IS_IN): New macro to replace IS_IN_* macros.
3325         * elf/Makefile: Set libof-* for each routine.
3326         * elf/rtld-Rules: Likewise.
3327         * extra-modules.mk: Likewise.
3328         * iconv/Makefile: Likewise.
3329         * iconvdata/Makefile: Likewise.
3330         * locale/Makefile: Likewise.
3331         * malloc/Makefile: Likewise.
3332         * nss/Makefile: Likewise.
3333         * sysdeps/gnu/Makefile: Likewise.
3334         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3335         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3336         * sysdeps/s390/s390-64/Makefile: Likewise.
3337         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3338         CPPFLAGS for nscd instead of nonlib.
3339
3340 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3341
3342         * nptl/createthread.c: New file.
3343
3344         * nptl/createthread.c: Moved ...
3345         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3346
3347         * nptl/createthread.c: Add proper top-line comment.
3348         (do_clone): Folded into ...
3349         (create_thread): ... here.  Take new arguments STOPPED_START and
3350         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3351         increment __nptl_threads, do event-reporting logic, do
3352         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3353         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3354         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3355         just send SIGCANCEL.
3356         * nptl/pthread_create.c: Forward-declare create_thread before
3357         including createthread.c.
3358         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3359         declaration, and new macro START_THREAD_SELF to replace argument.
3360         Remove return statement.
3361         (report_thread_creation): New function.
3362         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3363         synchronization logic, and __nptl_nthreads increment here, around
3364         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3365         PD->parent_cancelhandling here, before create_thread.  When
3366         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3367         __deallocate_stack, and ENOMEM translation here.
3368
3369 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3370
3371         [BZ #17616]
3372         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3373         (mptwo): Rename to __mptwo.
3374         (__inv): Use __mptwo instead of mptwo.
3375         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3376         (mptwo): Rename to __mptwo.
3377         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3378         of mpone and __mptwo instead of mptwo.
3379         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3380         instead of mpone.
3381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3382         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3383         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3384         of mpone and __mptwo instead of mptwo.
3385         (__mpranred): Use __mpone instead of mpone.
3386         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3387         variable.
3388         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3389         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3390         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3391         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3392         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3393         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3394         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3395         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3396         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3397         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3398         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3399         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3400         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3401         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3402         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3403         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3404         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3405         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3406         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3407
3408 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3409
3410         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3411         replace BSD Handler xref with BSD Signal Handling.
3412
3413 2014-11-17  Richard Henderson  <rth@redhat.com>
3414
3415         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3416         (_FP_PACK_RAW_2): Remove.
3417         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3418         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3419         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3420         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3421         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3422         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3423         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3424         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3425         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3426         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3427         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3428         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3429         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3430         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3431         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3432         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3433
3434 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3435
3436         * signal/signal.h [__USE_MISC]
3437         (struct sigvec): Remove type.
3438         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3439         (sigvec): Remove declaration.
3440         * sysdeps/posix/sigvec.c: Moved ...
3441         * signal/sigvec.c: ... here, replacing old file.
3442         (struct sigvec): New type, copied from old signal.h definition.
3443         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3444         (__sigvec): Convert definition to prototype.
3445         (sigvec): Replace weak_alias with compat_symbol.
3446         * signal/Versions (libc: GLIBC_2.21): New version set.
3447         * include/signal.h: Remove __sigvec declaration.
3448         * sysdeps/unix/bsd/sigvec.c: Remove file.
3449         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3450         * manual/signal.texi (BSD Handler): Remove subsection.
3451         Move siginterrupt up to ...
3452         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3453         (Blocking in BSD): Fold subsection into its parent.
3454         * NEWS: Mention sigvec removal.
3455
3456 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3457
3458         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3459         (DLA_FMS): Make definition conditional only on [__FMA4__].
3460         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3461         definition.
3462
3463         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3464         Make definition conditional only on [PROF].
3465         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3466         definition.
3467         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3468         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3469
3470         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3471         !__GNUC__].
3472         * include/signal.h (__sigpause): Move declaration above call to
3473         libc_hidden_proto.
3474         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3475         variable.
3476         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3477         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3478
3479 2014-11-14  David S. Miller  <davem@davemloft.net>
3480
3481         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3482         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3483
3484 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3485
3486         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3487         * configure: Regenerated.
3488         * manual/install.texi (Tools for Compilation): Document a
3489         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3490         compiler verified to work.
3491         * INSTALL: Regenerated.
3492
3493         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3494         redeclare with asm name.
3495         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3496         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3497         including <string.h>.
3498         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3499         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3500         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3501         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3502         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3504         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3505
3506 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3507
3508         * stdlib/strtol.c (__strtol): Use prototype definition.
3509
3510         [BZ #17594]
3511         * stdlib/strtol.c (SYM__): New macro.
3512         (SYM__1): Likewise.
3513         (__strtol): Likewise.
3514         (strtol): Rename to __strtol and define as weak alias of
3515         __strtol.  Use libc_hidden_weak.
3516
3517 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3518
3519         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3520         Use numbered labels in inline assembly.
3521
3522 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3523
3524         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3525         Add setjmp LIBC_PROBE.
3526         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3527         Likewise.
3528         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3529         Add longjmp, longjmp_target LIBC_PROBE.
3530         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3531         Likewise.
3532
3533 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3534
3535         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3536         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3537         to get rid of unused variable warning.
3538
3539 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3540
3541         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3542         Check for unwind_backtrace ==  NULL only in SHARED case.
3543         (__backchain_backtrace): Compile only in SHARED case.
3544         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3545         Likewise.
3546         (__backchain_backtrace): Declare as static.
3547
3548 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3549
3550         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3551         (__libc_multiple_threads_ptr): Variable moved ...
3552         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3553
3554 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3555
3556         * conform/GlibcConform.pm: New file.
3557         * conform/conformtest.pl: Use GlibcConform module.
3558         * conform/linknamespace.pl: New file.
3559         * conform/list-header-symbols.pl: Likewise.
3560         * conform/Makefile (linknamespace-symlists-base): New variable.
3561         (linknamespace-symlists-tests): Likewise.
3562         (linknamespace-header-base): Likewise.
3563         (linknamespace-header-tests): Likewise.
3564         (tests-special): Add new tests.
3565         ($(linknamespace-symlists-tests)): New rule.
3566         (linknamespace-libs): New variable.
3567         ($(objpfx)symlist-stdlibs): New rule.
3568         ($(linknamespace-header-tests)): Likewise.
3569         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3570         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3571         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3572         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3573         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3574         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3575         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3576         (test-xfail-ISO/math.h/linknamespace): Likewise.
3577         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3578         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3579         (test-xfail-ISO/time.h/linknamespace): Likewise.
3580         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3581         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3582         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3583         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3584         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3585         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3586         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3587         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3588         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3589         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3590         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3591         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3592         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3593         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3594         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3595         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3596         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3597         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3598         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3599         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3600         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3601         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3602         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3603         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3604         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3605         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3606         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3607         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3608         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3609         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3610         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3611         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3612         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3613         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3614         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3615         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3616         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3617         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3618         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3619         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3620         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3621         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3622         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3623         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3624         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3625         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3626         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3627         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3628         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3629         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3630         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3631         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3632         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3633         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3634         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3635         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3636         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3637         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3638         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3639         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3640         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3641         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3642         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3643         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3644         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3645         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3646         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3647         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3648         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3649         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3650         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3651         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3652         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3653         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3654         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3655         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3656         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3657         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3658         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3659         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3660         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3661         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3662         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3663         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3664         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3665         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3666         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3667         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3668         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3669         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3670         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3671         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3672         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3673         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3674         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3675         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3676         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3677         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3678         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3679         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3680         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3681         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3682         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3683         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3684         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3685         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3686         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3687         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3688         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3689         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3690         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3691         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3692         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3693         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3694         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3695         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3696         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3697         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3698         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3699         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3700         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3701         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3702         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3703         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3704         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3705         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3706         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3707         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3708         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3709         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3710         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3711         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3712         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3713         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3714         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3715         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3716         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3717         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3718         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3719         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3720         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3721         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3722         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3723         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3724         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3725         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3726         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3727         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3728         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3729         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3730
3731         [BZ #17589]
3732         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3733         of fgets_unlocked.
3734
3735         [BZ #17585]
3736         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3737         (memmem): Rename to __memmem and define as weak alias of
3738         __memmem.  Use libc_hidden_weak.
3739         (__memmem): Use libc_hidden_def.
3740         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3741         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3742         memmem.
3743
3744         [BZ #17582]
3745         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3746         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3747         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3748         and define as weak alias of __fgets_unlocked.  Use
3749         libc_hidden_weak.
3750         (__fgets_unlocked): Use libc_hidden_def.
3751         * include/stdio.h (__fgets_unlocked): Declare.  Use
3752         libc_hidden_proto.
3753         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3754         __fgets_unlocked instead of fgets_unlocked.
3755         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3756         (GET_NPROCS_CONF_PARSER): Likewise.
3757         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3758         (GET_NPROCS_CONF_PARSER): Likewise.
3759
3760         [BZ #17574]
3761         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3762         weak alias of __wmemset.  Use libc_hidden_weak.
3763         (__wmemset): Use libc_hidden_def.
3764         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3765         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3766         of wmemset.
3767
3768         [BZ #17573]
3769         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3770         with asm name __mempcpy.
3771         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3772
3773         [BZ #17572]
3774         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3775         and define as weak alias of __rawmemchr.
3776         (__rawmemchr): Do not define as strong alias of rawmemchr.
3777
3778         [BZ #17571]
3779         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3780         alias of __qsort_r.
3781         (qsort): Call __qsort_r instead of qsort_r.
3782         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3783         (__qsort_r): Declare.  Call libc_hidden_proto.
3784         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3785         instead of qsort_r.
3786         * nscd/gai.c (__qsort_r): Define to qsort_r.
3787         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3788         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3789         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3790
3791         [BZ #17570]
3792         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3793         define as weak alias of __malloc_info.
3794
3795         [BZ #17584]
3796         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3797         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3798         (__rewinddir): Use libc_hidden_def.
3799         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3800         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3801         (__rewinddir): Use libc_hidden_def.
3802         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3803         weak alias of __rewinddir.  Don't use libc_hidden_def.
3804         (__rewinddir): Use libc_hidden_def.
3805         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3806         (__rewinddir): Use libc_hidden_proto.
3807         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3808         rewinddir.
3809         (__getcwd): Use __rewinddir instead of rewinddir.
3810
3811         [BZ #17583]
3812         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3813         alias of __fileno.  Use libc_hidden_weak.
3814         (__fileno): Use libc_hidden_def.
3815         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3816         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3817         alias of __ftello.
3818         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3819         __ftello.
3820         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3821         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3822         libc_hidden_def.
3823         (fread_unlocked): Don't use libc_hidden_ver.
3824         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3825         and define as weak alias of __fread_unlocked.  Don't use
3826         libc_hidden_def.
3827         (__fread_unlocked): Use libc_hidden_def.
3828         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3829         (ftello): Don't use libc_hidden_proto.
3830         (__ftello): Declare.  Use libc_hidden_proto.
3831         (fread_unlocked): Don't use libc_hidden_proto.
3832         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3833         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3834         and __ftello instead of fileno, fread_unlocked and ftello.
3835
3836 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3837
3838         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3839         GOT12.
3840         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3841         Likewise.
3842         (_dl_start_user): Likewise.
3843         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3844
3845 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3846             Siddhesh Poyarekar  <siddhesh@redhat.com>
3847
3848         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3849         Move argv and envp down instead of moving argc up.
3850         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3851
3852 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3853
3854         [BZ #17506]
3855         * test-skeleton.c (main): Return successful if one of
3856         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3857         * string/tst-strcoll-overflow.c: Define expected status.
3858
3859 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3860
3861         [BZ #17475]
3862         * locale/iso-639.def: Define Bhili and Tulu language codes.
3863
3864 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3865
3866         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3867
3868 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3869
3870         [BZ #17555]
3871         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3872
3873 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3874
3875         * configure.ac: Updated check of minimal required version to
3876         2.22.
3877         * manual/install.texi (Tools for Compilation): Updated version
3878         number.
3879         * configure: Regenerated.
3880         * INSTALL: Likewise.
3881
3882 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3883
3884         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3885         __tls_get_addr.
3886
3887 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3888
3889         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3890         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3891         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3892         libc_hidden_weak.
3893         (waitpid): Define as alias of __waitpid.
3894         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3895         __waitpid.
3896         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3897         libc_hidden_weak.
3898         (waitpid): Define as alias of __waitpid.
3899         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3900         __libc_waitpid alias.
3901         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3902         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3903         Likewise.
3904         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3905         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3906         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3907         alias.
3908         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3909         __waitpid.
3910         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3911         libc_hidden_weak.
3912         (waitpid): Define as alias of __waitpid.
3913
3914 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3915
3916         * manual/llio.texi: Add comment that write safety has been
3917         fixed in Linux.
3918
3919         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3920         (localplt-build-dso): Add elf/ld.so.
3921         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3922         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3923         and free for ld.so.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3925         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3931         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3932         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3933         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3934         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3935         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3936         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3937         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3938         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3939         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3940         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3941
3942 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3943
3944         [BZ #14132]
3945         * include/libc-symbols.h (INTUSE): Remove macro.
3946         (INTDEF): Likewise.
3947         (INTVARDEF): Likewise.
3948         (_INTVARDEF): Likewise.
3949         (INTDEF2): Likewise.
3950         (INTVARDEF2): Likewise.
3951         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3952         rtld_hidden_def instead of INTVARDEF.
3953         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3954         (_dl_starting_up_internal): Remove declaration.
3955         (_dl_starting_up): Use rtld_hidden_proto.
3956         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3957         declaration.
3958         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3959         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3960         _dl_starting_up.
3961         * elf/dl-writev.h (_dl_writev): Likewise.
3962         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3963         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3964         _dl_starting_up_internal.
3965
3966 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3967
3968         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3969         test-skeleton.c.
3970
3971 2014-11-05  Will Newton  <will.newton@linaro.org>
3972
3973         * benchtests/Makefile: (bench-malloc): Add malloc thread
3974         scalability benchmark.
3975         * benchtests/bench-malloc-threads.c: New file.
3976
3977 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3978
3979         * sysdeps/aarch64/strchrnul.S: New file.
3980
3981 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3982
3983         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3984         definition.
3985         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3986         Likwise.
3987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3988         Likewise.
3989         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3990         Likewise.
3991         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3992         Likewise.
3993         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3994         Likewise.
3995
3996 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3997
3998         * catgets/test-gencat.c: Use test-skeleton.c.
3999         * catgets/tst-catgets.c: Likewise.
4000         * csu/tst-empty.c: Likewise.
4001         * elf/tst-audit2.c: Likewise.
4002         * elf/tst-global1.c: Likewise.
4003         * elf/tst-pathopt.c: Likewise.
4004         * elf/tst-piemod1.c: Likewise.
4005         * elf/tst-tls10.c: Likewise.
4006         * elf/tst-tls11.c: Likewise.
4007         * elf/tst-tls12.c: Likewise.
4008         * gnulib/tst-gcc.c: Likewise.
4009         * iconvdata/tst-e2big.c: Likewise.
4010         * iconvdata/tst-loading.c: Likewise.
4011         * iconv/tst-iconv1.c: Likewise.
4012         * iconv/tst-iconv2.c: Likewise.
4013         * inet/test-inet6_opt.c: Likewise.
4014         * inet/tst-gethnm.c: Likewise.
4015         * inet/tst-network.c: Likewise.
4016         * inet/tst-ntoa.c: Likewise.
4017         * intl/tst-codeset.c: Likewise.
4018         * intl/tst-gettext2.c: Likewise.
4019         * intl/tst-gettext3.c: Likewise.
4020         * intl/tst-ngettext.c: Likewise.
4021         * intl/tst-translit.c: Likewise.
4022         * io/test-stat.c: Likewise.
4023         * libio/test-fmemopen.c: Likewise.
4024         * libio/tst-freopen.c: Likewise.
4025         * libio/tst-sscanf.c: Likewise.
4026         * libio/tst-ungetwc1.c: Likewise.
4027         * libio/tst-ungetwc2.c: Likewise.
4028         * libio/tst-widetext.c: Likewise.
4029         * localedata/tst-ctype.c: Likewise.
4030         * localedata/tst-digits.c: Likewise.
4031         * localedata/tst-leaks.c: Likewise.
4032         * localedata/tst-mbswcs1.c: Likewise.
4033         * localedata/tst-mbswcs2.c: Likewise.
4034         * localedata/tst-mbswcs3.c: Likewise.
4035         * localedata/tst-mbswcs4.c: Likewise.
4036         * localedata/tst-mbswcs5.c: Likewise.
4037         * localedata/tst-setlocale.c: Likewise.
4038         * localedata/tst-trans.c: Likewise.
4039         * localedata/tst-wctype.c: Likewise.
4040         * localedata/tst-xlocale1.c: Likewise.
4041         * login/tst-grantpt.c: Likewise.
4042         * malloc/tst-calloc.c: Likewise.
4043         * malloc/tst-malloc.c: Likewise.
4044         * malloc/tst-mallocstate.c: Likewise.
4045         * malloc/tst-mcheck.c: Likewise.
4046         * malloc/tst-mtrace.c: Likewise.
4047         * malloc/tst-obstack.c: Likewise.
4048         * math/atest-exp2.c: Likewise.
4049         * math/atest-exp.c: Likewise.
4050         * math/atest-sincos.c: Likewise.
4051         * math/test-matherr.c: Likewise.
4052         * math/test-misc.c: Likewise.
4053         * math/test-powl.c: Likewise.
4054         * math/tst-definitions.c: Likewise.
4055         * misc/tst-dirname.c: Likewise.
4056         * misc/tst-efgcvt.c: Likewise.
4057         * misc/tst-fdset.c: Likewise.
4058         * misc/tst-hsearch.c: Likewise.
4059         * misc/tst-mntent2.c: Likewise.
4060         * nptl/tst-sem7.c: Likewise.
4061         * nptl/tst-sem8.c: Likewise.
4062         * nptl/tst-sem9.c: Likewise.
4063         * nss/test-netdb.c: Likewise.
4064         * posix/tst-fnmatch.c: Likewise.
4065         * posix/tst-getlogin.c: Likewise.
4066         * posix/tst-gnuglob.c: Likewise.
4067         * posix/tst-mmap.c: Likewise.
4068         * pwd/tst-getpw.c: Likewise.
4069         * resolv/tst-inet_ntop.c: Likewise.
4070         * rt/tst-timer.c: Likewise.
4071         * stdio-common/test-fseek.c: Likewise.
4072         * stdio-common/test-popen.c: Likewise.
4073         * stdio-common/test-vfprintf.c: Likewise.
4074         * stdio-common/tst-cookie.c: Likewise.
4075         * stdio-common/tst-fileno.c: Likewise.
4076         * stdio-common/tst-gets.c: Likewise.
4077         * stdio-common/tst-obprintf.c: Likewise.
4078         * stdio-common/tst-perror.c: Likewise.
4079         * stdio-common/tst-sprintf2.c: Likewise.
4080         * stdio-common/tst-sprintf3.c: Likewise.
4081         * stdio-common/tst-sprintf.c: Likewise.
4082         * stdio-common/tst-swprintf.c: Likewise.
4083         * stdio-common/tst-tmpnam.c: Likewise.
4084         * stdio-common/tst-unbputc.c: Likewise.
4085         * stdio-common/tst-wc-printf.c: Likewise.
4086         * stdlib/tst-environ.c: Likewise.
4087         * stdlib/tst-fmtmsg.c: Likewise.
4088         * stdlib/tst-limits.c: Likewise.
4089         * stdlib/tst-rand48-2.c: Likewise.
4090         * stdlib/tst-rand48.c: Likewise.
4091         * stdlib/tst-random2.c: Likewise.
4092         * stdlib/tst-random.c: Likewise.
4093         * stdlib/tst-strtol.c: Likewise.
4094         * stdlib/tst-strtoll.c: Likewise.
4095         * stdlib/tst-tls-atexit.c: Likewise.
4096         * stdlib/tst-xpg-basename.c: Likewise.
4097         * string/test-ffs.c: Likewise.
4098         * string/tst-bswap.c: Likewise.
4099         * string/tst-inlcall.c: Likewise.
4100         * string/tst-strtok.c: Likewise.
4101         * string/tst-strxfrm.c: Likewise.
4102         * sysdeps/x86_64/tst-audit10.c: Likewise.
4103         * sysdeps/x86_64/tst-audit3.c: Likewise.
4104         * sysdeps/x86_64/tst-audit4.c: Likewise.
4105         * sysdeps/x86_64/tst-audit5.c: Likewise.
4106         * time/tst-ftime_l.c: Likewise.
4107         * time/tst-getdate.c: Likewise.
4108         * time/tst-mktime3.c: Likewise.
4109         * time/tst-mktime.c: Likewise.
4110         * time/tst-posixtz.c: Likewise.
4111         * time/tst-strptime2.c: Likewise.
4112         * time/tst-strptime3.c: Likewise.
4113         * wcsmbs/tst-btowc.c: Likewise.
4114         * wcsmbs/tst-mbrtowc.c: Likewise.
4115         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4116         * wcsmbs/tst-wchar-h.c: Likewise.
4117         * wcsmbs/tst-wcpncpy.c: Likewise.
4118         * wcsmbs/tst-wcrtomb.c: Likewise.
4119         * wcsmbs/tst-wcsnlen.c: Likewise.
4120         * wcsmbs/tst-wcstof.c: Likewise.
4121
4122 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4123
4124         [BZ #14132]
4125         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4126         INTDEF.
4127         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4128         declaration.
4129         (_dl_mcount): Use rtld_hidden_proto.
4130         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4131         _dl_mcount.
4132         * elf/rtld.c (_rtld_global_ro): Likewise.
4133
4134         [BZ #14132]
4135         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4136         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4137         of _dl_init_internal.
4138         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4139         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4140         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4141         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4142         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4143         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4144         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4145         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4146         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4147         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4148         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4149         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4150         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4151         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4152         * sysdeps/tile/dl-start.S (_start): Likewise.
4153         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4154         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4155
4156         [BZ #14132]
4157         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4158         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4159         (rtld_progname): Make macro definition unconditional.
4160         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4161         INTDEF.
4162         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4163         (dl_main): Likewise.
4164         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4165         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4166         instead of _dl_argv_internal.
4167         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4168         __GI__dl_argv instead of INTUSE(_dl_argv).
4169         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4170         __GI__dl_argv instead of _dl_argv_internal.
4171
4172         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4173         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4174         macro.
4175         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4176         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4177         New macro.
4178         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4179         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4180         macro.
4181         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4182         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4183
4184 2014-11-04  Andreas Schwab  <schwab@suse.de>
4185
4186         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4187
4188 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4189
4190         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4191         mtvsrd instruction in binary form.
4192
4193 2014-11-03  Andreas Schwab  <schwab@suse.de>
4194
4195         [BZ #17522]
4196         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4197         for less than MB_LEN_MAX use a local buffer of that size.
4198         * libio/tst-fputws.c: New file.
4199         * libio/Makefile (tests): Add tst-fputws.
4200
4201 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4202
4203         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4204         the size of the fpu_fr.fpu_dregs[] array.
4205
4206 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4207
4208         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4209         (__nanosleep): Do not define as alias.
4210         (nanosleep): Define as alias of __nanosleep.
4211         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4212         __libc_nanosleep name.
4213
4214 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4215
4216         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4217         install.texi in comment.
4218
4219 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4220
4221         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4222         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4223         ... add here and use lwsync or sync ...
4224         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4225         ... and add here using lwsync.
4226
4227 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4228
4229         * elf/dl-machine-reject-phdr.h: New file.
4230         * elf/dl-load.c: #include that.
4231         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4232         if that returned true.
4233
4234 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4235
4236         [BZ #17496]
4237         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4238         gen-as-const-headers chunk.  Add a big scare comment after the last
4239         safe place to touch before-compile.
4240
4241 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4242
4243         * manual/install.texi (Tools for Compilation): Update autoconf
4244         version requirements.
4245         * INSTALL: Regenerated.
4246
4247         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4248         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4249         (__libc_pselect): Likewise.
4250
4251         [BZ #14138]
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4256
4257 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4258
4259         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4260         correct barrier instruction.
4261         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4262         Likewise.
4263         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4264         Likewise.
4265
4266 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4267
4268         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4269         after defining inlines.  Instead, just use parens to defeat macro
4270         expansion of __isctype in its declaration.
4271
4272 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4273
4274         * include/sys/uio.h (__libc_readv): Remove declaration.
4275         (__libc_writev): Likewise.
4276         * misc/readv.c (__libc_readv): Rename to __readv.
4277         (__readv): Do not define as alias.
4278         (readv): Define as alias of __readv.
4279         * misc/writev.c (__libc_writev): Rename to __writev.
4280         (__writev): Do not define as alias.
4281         (writev): Define as alias of __writev.
4282         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4283         (__readv): Do not define as alias.
4284         (readv): Define unconditionally as alias of __readv.
4285         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4286         (__writev): Do not define as alias.
4287         (writev): Define unconditionally as alias of __writev.
4288         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4289         name.
4290         (writev): Do not define __libc_writev name.
4291
4292 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4293
4294         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4295         (convert_charseq): New function, broken out of ...
4296         (use_from_charmap): ... here.  Call it.
4297         (use_to_charmap): Use convert_charseq and free instead of duplicating
4298         its code with a variable-length stack struct.
4299
4300 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4301
4302         * include/fcntl.h (__libc_creat): Remove declaration.
4303         * io/creat.c (__libc_creat): Rename to creat.
4304         (creat): Do not define as alias.
4305         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4306         of creat instead of __libc_creat.
4307         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4308         to creat.
4309         (creat): Do not define as alias.
4310         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4311         __libc_creat.
4312         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4313         __libc_creat name.
4314         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4315         Likewise.
4316
4317 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4318
4319         * manual/llio.texi: Add comments discussing why write() may be
4320         considered MT-unsafe on Linux.
4321
4322 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4323
4324         * dl-load.c (local_strdup): Remove.
4325         (expand_dynamic_string_token): Use __strdup.
4326         (decompose_rpath): Likewise.
4327         (_dl_map_object): Likewise.
4328
4329 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4330
4331         [BZ #14132]
4332         * sysdeps/generic/unwind-dw2-fde.c
4333         (__register_frame_info_bases_internal): Do not declare.
4334         (__register_frame_info_table_bases_internal): Likewise.
4335         (__deregister_frame_info_bases_internal): Likewise.
4336         (__register_frame_info_bases): Declare and use hidden_proto before
4337         definition.  Use hidden_def instead of INTDEF.
4338         (__register_frame_info_table_bases): Likewise.
4339         (__deregister_frame_info_bases): Likewise.
4340         (__register_frame_info): Do not use INTUSE.
4341         (__register_frame): Likewise.
4342         (__register_frame_info_table): Likewise.
4343         (__register_frame_table): Likewise.
4344         (__deregister_frame_info): Likewise.
4345         (__deregister_frame): Likewise.
4346
4347 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4348
4349         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4350         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4351         not undefine.
4352         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4353         Likewise.
4354         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4355         Likewise.
4356
4357 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4358
4359         [BZ #14138]
4360         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4361         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4362         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4363         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4364         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4365         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4366         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4367         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4368         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4369         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4370         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4372         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4373         syscall.
4374         (setfsuid): Likewise.
4375         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4376         (setfsuid): Likewise.
4377         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4378         (setfsuid): Likewise.
4379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4380         Likewise.
4381         (setfsuid): Likewise.
4382         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4383         (setfsuid): Likewise.
4384         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4385         Likewise.
4386         (setfsuid): Likewise.
4387
4388 2014-10-27  Andreas Schwab  <schwab@suse.de>
4389
4390         [BZ #17501]
4391         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4392         check for Slow_SSE4_2 feature bit.
4393         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4394         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4395         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4396         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4397
4398 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4399
4400         * configure.ac: Validate compiler version with a empirical test of
4401         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4402         $CC -v output.
4403         * configure: Regenerated.
4404
4405         * inet/htons.c (htons): Prototypify.
4406         * inet/htonl.c (htonl): Likewise.
4407
4408 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4409
4410         * string/strncat.c (strncat): Improve performance by using strlen.
4411
4412 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4413
4414         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4415
4416 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4417
4418         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4419         Call libc_fetestexcept_aarch64.
4420
4421 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4422
4423         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4424         Call libc_feholdexcept_aarch64.
4425
4426 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4427
4428         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4429         Call get_rounding_mode.
4430
4431 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4432
4433         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4434         Simplify logic.
4435
4436 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4437
4438         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4439         Simplify logic.
4440
4441 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4442
4443         [BZ #14138]
4444         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4445         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4446         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4447         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4448         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4449         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4450         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4451         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4452         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4453         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4454         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4455         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4456         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4457         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4458         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4459         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4460         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4461         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4462         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4463         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4464         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4465         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4466         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4467         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4468         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4469         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4470         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4471         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4472         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4473         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4474         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4475         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4476         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4477         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4478         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4479         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4480         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4481         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4482         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4483         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4484         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4485         syscall.
4486         (geteuid): Likewise.
4487         (getgid): Likewise.
4488         (getuid): Likewise.
4489         (getresgid): Likewise.
4490         (getresuid): Likewise.
4491         (getgroups): Likewise.
4492         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4493         (geteuid): Likewise.
4494         (getgid): Likewise.
4495         (getuid): Likewise.
4496         (getresgid): Likewise.
4497         (getresuid): Likewise.
4498         (getgroups): Likewise.
4499         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4500         (geteuid): Likewise.
4501         (getgid): Likewise.
4502         (getuid): Likewise.
4503         (getresgid): Likewise.
4504         (getresuid): Likewise.
4505         (getgroups): Likewise.
4506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4507         Likewise.
4508         (geteuid): Likewise.
4509         (getgid): Likewise.
4510         (getuid): Likewise.
4511         (getresgid): Likewise.
4512         (getresuid): Likewise.
4513         (getgroups): Likewise.
4514         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4515         (geteuid): Likewise.
4516         (getgid): Likewise.
4517         (getuid): Likewise.
4518         (getresgid): Likewise.
4519         (getresuid): Likewise.
4520         (getgroups): Likewise.
4521         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4522         Likewise.
4523         (geteuid): Likewise.
4524         (getgid): Likewise.
4525         (getuid): Likewise.
4526         (getgroups): Likewise.
4527
4528         [BZ #14138]
4529         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4530         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4531         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4532         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4533         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4534         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4535         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4536         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4537         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4538         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4539         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4540         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4541         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4542         __chown.
4543         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4544         (lchown): Likewise.
4545         (fchown): Likewise.
4546         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4547         Likewise.
4548         (lchown): Likewise.
4549         (fchown): Likewise.
4550         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4551         (lchown): Likewise.
4552         (fchown): Likewise.
4553         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4554         Likewise.
4555         (lchown): Likewise.
4556         (fchown): Likewise.
4557
4558 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4559
4560         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4561         Simplify logic.
4562
4563 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4564
4565         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4566         Cleanup logic.
4567
4568 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4569
4570         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4571         Remove unused include.
4572
4573 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4574
4575         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4577         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4578         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4579
4580 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4581             Helge Deller <deller@gmx.de>
4582
4583         [BZ #17508]
4584         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4585         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4586         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4587
4588 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4589
4590         [BZ #14132]
4591         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4592         Remove macro definition.
4593         (__ashrdi3_v_glibc20): Likewise.
4594         (__lshrdi3_v_glibc20): Likewise.
4595         (__cmpdi2_v_glibc20): Likewise.
4596         (__ucmpdi2_v_glibc20): Likewise.
4597         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4598         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4599         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4600         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4601         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4602         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4603
4604 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4605
4606         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4607         old GNU extension [0] syntax.
4608         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4609         alloca rather than an array member with variable length.
4610         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4611         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4612         (parse_opt): ... here.  Likewise use alloca there.
4613         Validate the -i argument before checking for rootness.
4614         (send_shutdown): New function, broken out of ...
4615         (parse_opt): ... here.
4616
4617 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4618
4619         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4620         macro to get at the _rt_local_ro field.
4621         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4622         ([PIC] case) or _dl_hwcap ([!PIC] case).
4623         * sysdeps/arm/setjmp.S: Likewise.
4624
4625         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4626         * sysdeps/arm/configure.ac: New check to define it.
4627         * sysdeps/arm/configure: Regenerated.
4628         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4629         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4630         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4631         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4632         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4633         Use move/movt pair instead of a load.
4634         (LDST_GLOBAL): Macro removed.
4635         (LDR_GLOBAL): New macro replaces it.
4636         (LDR_HIDDEN): New macro.
4637         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4638         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4639
4640         * setjmp/tst-setjmp-static.c: New file.
4641         * setjmp/Makefile (tests): Add it.
4642         (tests-static): New variable.
4643
4644 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4645
4646         [BZ #17485]
4647         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4648
4649 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4650
4651         [BZ #14132]
4652         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4653
4654 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4655
4656         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4657
4658 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4659
4660         * io/fts.c (dirent_not_directory): New function.
4661         (fts_build): Call it.
4662
4663 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4664
4665         * nptl/version.c (__nptl_main): Use normal __write rather than
4666         INTERNAL_SYSCALL.
4667         (banner): Update copyright years.
4668
4669         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4670         gettimeofday.
4671         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4672         * nptl/pthread_cond_timedwait.c: Likewise.
4673         * nptl/pthread_mutex_timedlock.c: Likewise.
4674         * nptl/sem_timedwait.c: Likewise.
4675
4676         * sysdeps/nptl/bits/libc-lock.h
4677         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4678         (__libc_lock_init_recursive): Return void, not 0.
4679         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4680         (__libc_rwlock_init): Likewise.
4681         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4682
4683 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4684
4685         [BZ #15215]
4686         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4687         (__pthread_once_slow): ... here.
4688         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4689         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4690
4691 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4692
4693         [BZ #15215]
4694         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4695         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4696         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4697         * nptl/pthread_once.c (__pthread_once): Likewise.
4698         Update comments.
4699
4700 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4701
4702         [BZ #14138]
4703         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4704         name.
4705         (writev): Use __libc_writev as strong name.
4706         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4707         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4708
4709 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4710
4711         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4712
4713         * sysdeps/i386/nptl/tls.h
4714         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4715         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4716         New macros.
4717         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4718         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4719         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4720         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4721         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4722         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4723
4724         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4725         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4726         on [__NR_futex].
4727         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4728         broken out of ...
4729         (__pthread_mutex_init): ... here.  Call it.
4730         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4731         Conditionalize PI cases on [__NR_futex].
4732         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4733         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4734         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4735
4736         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4737         conditional on [SIGSETXID].
4738         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4739         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4740         is defined.  Likewise for SIGSETXID.
4741         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4742         Conditionalize definitions on [SIGSETXID].
4743         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4744         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4745         unblocking on [SIGCANCEL].
4746
4747         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4748         [__NR_set_robust_list].
4749
4750 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4751
4752         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4753         (do_compare): Likewise.
4754
4755 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4756
4757         [BZ #15884]
4758         * string/strcoll_l.c: Don't include stdio.h.
4759         (coll_seq): Remove members idxarr and rulearr.
4760         (get_next_seq_cached): Remove function.
4761         (get_next_seq): Likewise.
4762         (get_next_seq_nocache): Rename to get_next_seq.
4763         (do_compare): Remove function.
4764         (do_compare_nocache): Rename to do_compare.
4765         (STRCOLL): Remove weight and rules cache.
4766
4767 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4768
4769         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4770         * sysdeps/arm/sfp-machine.h: ... to here.
4771         * sysdeps/arm/Implies: Remove arm/soft-fp.
4772
4773 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4774
4775         * conform/data/sys/utsname.h-data (*_t): Allow.
4776         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4777         [POSIX] (WEXITED): Do not expect constant.
4778         [POSIX] (WSTOPPED): Likewise.
4779         [POSIX] (WNOHANG): Likewise.
4780         [POSIX] (WNOWAIT): Likewise.
4781         [POSIX] (siginfo_t): Do not expect type or elements.
4782         [POSIX] (pid_t): Do not expect type.
4783         [POSIX] (signal.h): Do not allow header.
4784         [POSIX] (sys/resource.h): Likewise.
4785         [POSIX] (si_*): Do not allow pattern.
4786         [POSIX] (W*): Likewise.
4787         [POSIX] (P_*): Likewise.
4788         [POSIX] (BUS_*): Likewise.
4789         [POSIX] (CLD_*): Likewise.
4790         [POSIX] (FPE_*): Likewise.
4791         [POSIX] (ILL_*): Likewise.
4792         [POSIX] (POLL_*): Likewise.
4793         [POSIX] (SEGV_*): Likewise.
4794         [POSIX] (SI_*): Likewise.
4795         [POSIX] (TRAP_*): Likewise.
4796         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4797         variable.
4798
4799 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4800
4801         [BZ #12926]
4802         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4803         infinite loop when __recvmsg returns 0.
4804
4805 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4806
4807         * CANCEL-FCT-WAIVE: Remove file.
4808         * CANCEL-FILE-WAIVE: Likewise.
4809
4810         [BZ #14132]
4811         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4812         instead of INTVARDEF.
4813         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4814         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4815         rtld_hidden_data_def instead of INTVARDEF.
4816         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4817         * elf/dl-deps.c (expand_dst): Likewise.
4818         * elf/dl-load.c (_dl_dst_count): Likewise.
4819         (_dl_dst_substitute): Likewise.
4820         (decompose_rpath): Likewise.
4821         (_dl_init_paths): Likewise.
4822         (open_path): Likewise.
4823         (_dl_map_object): Likewise.
4824         * elf/rtld.c (dl_main): Likewise.
4825         (process_dl_audit): Likewise.
4826         (process_envvars): Likewise.
4827         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4828         Remove declaration.
4829         (__libc_enable_secure): Use rtld_hidden_proto.
4830
4831 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4832
4833         * elf/dl-load.c
4834         (add_path): New function broken out of _dl_rtld_di_serinfo.
4835         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4836
4837 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4838
4839         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4840         parentheses around macro arguments.
4841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4842         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4844         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4845         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4846         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4848         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4849         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4850         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4852         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4853         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4854         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4855         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4856         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4857         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4860         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4862         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4863         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4866         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4870         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4871         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4872         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4873         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4875         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4876         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4877         Likewise.
4878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4880         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4884         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4885         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4888         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4889         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4890         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4892         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4895         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4896         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4899         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4900         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4901         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4903         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4904         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4905         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4906         (_FP_FRAC_SRS_1): Likewise.
4907         (_FP_FRAC_CLZ_1): Likewise.
4908         (_FP_MUL_MEAT_1_imm): Likewise.
4909         (_FP_MUL_MEAT_1_wide): Likewise.
4910         (_FP_MUL_MEAT_1_hard): Likewise.
4911         (_FP_SQRT_MEAT_1): Likewise.
4912         (_FP_FRAC_ASSEMBLE_1): Likewise.
4913         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4914         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4915         (__FP_CLZ_2): Likewise.
4916         (_FP_MUL_MEAT_2_wide): Likewise.
4917         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4918         (_FP_MUL_MEAT_2_gmp): Likewise.
4919         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4920         (_FP_SQRT_MEAT_2): Likewise.
4921         (_FP_FRAC_ASSEMBLE_2): Likewise.
4922         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4923         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4924         (_FP_FRAC_CLZ_4): Likewise.
4925         (_FP_MUL_MEAT_4_wide): Likewise.
4926         (_FP_MUL_MEAT_4_gmp): Likewise.
4927         (_FP_SQRT_MEAT_4): Likewise.
4928         (_FP_FRAC_ASSEMBLE_4): Likewise.
4929         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4930         * soft-fp/op-common.h (_FP_CMP): Likewise.
4931         (_FP_CMP_EQ): Likewise.
4932         (_FP_CMP_UNORD): Likewise.
4933         (_FP_TO_INT): Likewise.
4934         (_FP_FROM_INT): Likewise.
4935         [!__FP_CLZ] (__FP_CLZ): Likewise.
4936         (_FP_DIV_HELP_imm): Likewise.
4937         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4938         Likewise.
4939         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4940         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4943         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4944         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4945         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4947         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4948         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4950         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4951         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4952         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4953         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4954         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4955         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4956         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4962         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4963         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4964         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4965         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4966         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4968         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4969         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4970         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4971         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4972         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4973         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4974         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4975         (FP_UNPACK_RAW_SP): Likewise.
4976         (FP_PACK_RAW_S): Likewise.
4977         (FP_PACK_RAW_SP): Likewise.
4978         (FP_UNPACK_S): Likewise.
4979         (FP_UNPACK_SP): Likewise.
4980         (FP_UNPACK_SEMIRAW_S): Likewise.
4981         (FP_UNPACK_SEMIRAW_SP): Likewise.
4982         (FP_PACK_S): Likewise.
4983         (FP_PACK_SP): Likewise.
4984         (FP_PACK_SEMIRAW_S): Likewise.
4985         (FP_PACK_SEMIRAW_SP): Likewise.
4986         (_FP_SQRT_MEAT_S): Likewise.
4987         (FP_CMP_S): Likewise.
4988         (FP_CMP_EQ_S): Likewise.
4989         (FP_CMP_UNORD_S): Likewise.
4990         (FP_TO_INT_S): Likewise.
4991         (FP_FROM_INT_S): Likewise.
4992
4993         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4994
4995         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4996         (FP_EX_INVALID_IMZ): Likewise.
4997         (FP_EX_INVALID_IMZ_FMA): Likewise.
4998         (FP_EX_INVALID_ISI): Likewise.
4999         (FP_EX_INVALID_ZDZ): Likewise.
5000         (FP_EX_INVALID_IDI): Likewise.
5001         (FP_EX_INVALID_SQRT): Likewise.
5002         (FP_EX_INVALID_CVI): Likewise.
5003         (FP_EX_INVALID_VC): Likewise.
5004         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5005         "invalid" exceptions.
5006         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5007         (_FP_ADD_INTERNAL): Likewise.
5008         (_FP_MUL): Likewise.
5009         (_FP_FMA): Likewise.
5010         (_FP_DIV): Likewise.
5011         (_FP_CMP_CHECK_NAN): Likewise.
5012         (_FP_SQRT): Likewise.
5013         (_FP_TO_INT): Likewise.
5014         (FP_EXTEND): Likewise.
5015
5016 2014-10-09  Allan McRae  <allan@archlinux.org>
5017
5018         * po/fr.po: Update French translation from translation project.
5019
5020 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5021
5022         [BZ #14132]
5023         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5024         of INTDEF.
5025         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5026         (__cxa_atexit): Use libc_hidden_proto.
5027         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5028
5029         [BZ #14132]
5030         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5031         declaration.
5032         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5033         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5034         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5035         [!_ISOMAC] (__iswctype_internal): Likewise.
5036         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5037         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5038         alias.
5039         (fcntl): Remove __fcntl_internal alias.
5040         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5041         __connect_internal alias.
5042         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5043         Likewise.
5044
5045         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5046         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5047         FP_DENORM_ZERO.
5048         (_FP_CHECK_FLUSH_ZERO): New macro.
5049         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5050         (_FP_CMP): Likewise.
5051         (_FP_CMP_EQ): Likewise.
5052         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5053         FP_DENORM_ZERO.
5054         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5055         (FP_TRUNC): Likewise.
5056
5057         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5058         treated as invalid conversion, not as normal exponent.
5059
5060         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5061         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5062         (_FP_CMP_EQ): Likewise.
5063         (_FP_CMP_UNORD): Likewise.
5064         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5065         (FP_CMP_EQ_D): Likewise.
5066         (FP_CMP_UNORD_D): Likewise.
5067         * soft-fp/extended.h (FP_CMP_E): Likewise.
5068         (FP_CMP_EQ_E): Likewise.
5069         (FP_CMP_UNORD_E): Likewise.
5070         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5071         (FP_CMP_EQ_Q): Likewise.
5072         (FP_CMP_UNORD_Q): Likewise.
5073         * soft-fp/single.h (FP_CMP_S): Likewise.
5074         (FP_CMP_EQ_S): Likewise.
5075         (FP_CMP_UNORD_S): Likewise.
5076         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5077         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5078         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5079         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5080         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5081         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5082         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5083         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5084         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5085         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5086         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5087         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5088         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5089         to FP_CMP_Q.
5090         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5091         FP_CMP_Q.
5092         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5093         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5094         FP_CMP_EQ_Q.
5095         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5096         FP_CMP_Q.
5097         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5098         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5099         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5100         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5101         FP_CMP_EQ_Q.
5102         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5103         FP_CMP_Q.
5104         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5105         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5106         FP_CMP_EQ_Q.
5107         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5108         FP_CMP_Q.
5109         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5110         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5111         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5112         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5113         FP_CMP_EQ_Q.
5114
5115         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5116         a subnormal result, set the underflow exception if trapping on
5117         underflow is enabled.
5118         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5119         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5120         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5121         redefine to 0.
5122         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5123         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5124         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5125         * soft-fp/extendxftf2.c (__extendxftf2): Use
5126         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5127
5128         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5129         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5130         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5131         FP_HANDLE_EXCEPTIONS.
5132         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5133         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5134         FP_HANDLE_EXCEPTIONS.
5135         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5136         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5137         FP_HANDLE_EXCEPTIONS.
5138         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5139         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5140         FP_HANDLE_EXCEPTIONS.
5141
5142 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5143
5144         [BZ #14132]
5145         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5146         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5147         use INTUSE.
5148         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5149         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5150         Remove alias.
5151         (__adjtimex): Define using libc_hidden_ver.
5152         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5153         Remove declaration.
5154         (ntp_gettime): Call __adjtimex directly.
5155         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5156         Remove declaration.
5157         (ntp_gettimex): Call __adjtimex directly.
5158         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5159         __adjtimex_internal alias.
5160
5161 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5162
5163         [BZ #17460]
5164         * nscd/nscd.c (more_help): Rewrite list of tables collection
5165         using xstrdup and asprintf.
5166
5167         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5168
5169 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5170             Roland McGrath  <roland@hack.frob.com>
5171
5172         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5173         (do_lookup_unique): ... local function 'enter' here; update callers.
5174
5175 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5176
5177         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5178         compat_symbol calls on [SHARED].
5179         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5180         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5181         Remove.
5182         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5183         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5184         (oldsetrlimit): Remove.
5185         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5187         (lchown): New syscall entry.
5188         (oldsetrlimit): Remove.
5189         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5191         (oldsetrlimit): Remove.
5192         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5193
5194         [BZ #14138]
5195         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5196         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5197         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5198         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5199         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5200         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5201         (fchown): Likewise.
5202         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5203         (fchown): Likewise.
5204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5205         Likewise.
5206
5207 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5208
5209         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5210         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5211         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5212         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5213         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5214         Likewise.
5215         (__old_sem_post): Likewise.
5216
5217 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5218
5219         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5220         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5221         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5222         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5223         Use INLINE_VSYSCALL macro.
5224         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5225         __vdso_clock_gettime.
5226         * sysdeps/unix/sysv/linux/tile/init-first.c
5227         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5228         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5229         __vdso_clock_gettime.
5230
5231         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5232         to set up frame more cleanly.
5233
5234         * sysdeps/tile/memcmp.c: New file.
5235
5236         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5237
5238         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5239         * sysdeps/tile/tilegx/strcasestr.c: New file.
5240         * sysdeps/tile/tilegx/strnlen.c: New file.
5241         * sysdeps/tile/tilegx/strstr.c: New file.
5242
5243         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5244
5245 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5246
5247         * nptl/tst-setuid3.c: Write errors to stdout.
5248
5249 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5250
5251         * elf/dl-deps.c
5252         (preload): New functions broken out of _dl_map_object_deps.
5253         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5254
5255 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5256
5257         [BZ #14138]
5258         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5259         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5260
5261 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5262
5263         * sysdeps/mips/strcmp.S: New.
5264
5265 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5266
5267         [BZ #14138]
5268         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5269         (linkat): Likewise.
5270         (mkdirat): Likewise.
5271         (readlinkat): Likewise.
5272         (renameat): Likewise.
5273         (symlinkat): Likewise.
5274         (unlinkat): Likewise.
5275         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5276         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5277         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5278         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5279         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5280         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5281         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5282
5283 2014-09-30  Will Newton  <will.newton@linaro.org>
5284
5285         * math/math.h: Define long double math functions if
5286         _LIBC_TEST is defined.
5287         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5288
5289         * localedata/Makefile: Move assignment to tests-special
5290         into an ifdef testing run-built-tests.
5291         * timezone/Makefile: Likewise.
5292
5293 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5294
5295         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5296         with $(BASH) not $(SHELL).
5297
5298 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5299             Matthew LeGendre  <legendre1@llnl.gov>
5300
5301         [BZ #17411]
5302         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5303         l_reloc_result.
5304
5305 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5306
5307         * stdio-common/printf_fp.c
5308         (hack_digit): New function, broken out of ...
5309         (__printf_fp): ... local function here.  Update call sites.
5310         hack_digit now takes an additional parameter that is a pointer
5311         to a struct of the referenced locals.  Those locals moved inside
5312         the struct and references updated.
5313
5314 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5315
5316         * aclocal.m4: Require autoconf 2.69.
5317         * configure: Regenerated.
5318         * sysdeps/aarch64/configure: Likewise.
5319         * sysdeps/alpha/configure: Likewise.
5320         * sysdeps/arm/armv7/configure: Likewise.
5321         * sysdeps/arm/configure: Likewise.
5322         * sysdeps/ia64/configure: Likewise.
5323         * sysdeps/mach/configure: Likewise.
5324         * sysdeps/mips/configure: Likewise.
5325         * sysdeps/s390/configure: Likewise.
5326         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5328
5329         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5330         file.
5331         * sysdeps/ia64/configure.ac: Likewise.
5332
5333 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5334
5335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5336         specify symbol version for ld.so.  Do not include entry for
5337         libpthread.
5338         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5339         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5340         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5341
5342         [BZ #14171]
5343         * Makeconfig [$(build-shared) = yes]
5344         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5345         makefiles.
5346         [$(build-shared) = yes && $(soversions.mk-done) = t]
5347         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5348         [$(build-shared) = yes && $(soversions.mk-done) = t]
5349         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5350         to Makerules.
5351         [$(build-shared) = yes && $(soversions.mk-done) = t]
5352         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5353         here.
5354         [$(build-shared) = yes && $(soversions.mk-done) = t]
5355         (common-generated): Don't append gnu/lib-names.h and
5356         gnu/lib-names.stmp here.
5357         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5358         (lib-names-h-abi): New variable.
5359         [$(build-shared) = yes && $(soversions.mk-done) = t]
5360         (lib-names-stmp-abi): Likewise.
5361         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5362         abi-variants] (before-compile): Append
5363         $(common-objpfx)$(lib-names-h-abi).
5364         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5365         abi-variants] (common-generated): Append gnu/lib-names.h.
5366         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5367         abi-variants] (install-others-nosubdir): Depend on
5368         $(inst_includedir)/$(lib-names-h-abi).
5369         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5370         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5371         [$(build-shared) = yes && $(soversions.mk-done) = t]
5372         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5373         [$(build-shared) = yes && $(soversions.mk-done) = t]
5374         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5375         [$(build-shared) = yes && $(soversions.mk-done) = t]
5376         (common-generated): Append $(lib-names-h-abi) and
5377         $(lib-names-stmp-abi).
5378         * scripts/lib-names.awk: Do not handle multi being set.
5379         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5380         Remove variable.
5381         (abi-lp64_be-ld-soname): Likewise.
5382         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5383         Likewise.
5384         (abi-hard-ld-soname): Likewise.
5385         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5386         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5387         Remove variable.
5388         (abi-o32_hard-ld-soname): Likewise.
5389         (abi-o32_soft_2008-ld-soname): Likewise.
5390         (abi-o32_hard_2008-ld-soname): Likewise.
5391         (abi-n32_soft-ld-soname): Likewise.
5392         (abi-n32_hard-ld-soname): Likewise.
5393         (abi-n32_soft_2008-ld-soname): Likewise.
5394         (abi-n32_hard_2008-ld-soname): Likewise.
5395         (abi-n64_soft-ld-soname): Likewise.
5396         (abi-n64_hard-ld-soname): Likewise.
5397         (abi-n64_soft_2008-ld-soname): Likewise.
5398         (abi-n64_hard_2008-ld-soname): Likewise.
5399         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5400         Likewise.
5401         (abi-64-v2-ld-soname): Likewise.
5402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5403         ld.so entries.
5404         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5405         variable.
5406         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5407         entry.
5408         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5409         variable.
5410         (abi-64-ld-soname): Likewise.
5411         (abi-x32-ld-soname): Likewise.
5412         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5413         entry.
5414         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5415
5416 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5417
5418         [BZ #14138]
5419         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5420         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5421         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5422         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5423         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5424         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5425         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5426         syscall entry for GLIBC_2.2 symbol version.
5427         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5428         Likewise.
5429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5430         (setrlimit): Likewise.
5431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5432         Likewise.
5433
5434 2014-09-23  Will Newton  <will.newton@linaro.org>
5435
5436         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5437         _LINUX_ARM_SYSDEP_H include guard too.
5438         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5439         define.
5440
5441 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5442
5443         * sysdeps/unix/sysv/linux/eventfd.c:
5444         Make first argument unsigned.
5445         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5446         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5447
5448 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5449
5450         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5451         * socket/sys/socket.h: Likewise
5452         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5453
5454 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5455
5456         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5457
5458 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5459
5460         * time/tst-ftime.c: New test.
5461         * time/Makefile (tests): Add tst-ftime.
5462
5463 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5464
5465         * soft-fp/extended.h: Fix comment formatting.
5466         * soft-fp/op-1.h: Likewise.
5467         * soft-fp/op-2.h: Likewise.
5468         * soft-fp/op-4.h: Likewise.
5469         * soft-fp/op-8.h: Likewise.
5470         * soft-fp/op-common.h: Likewise.
5471         * soft-fp/soft-fp.h: Likewise.
5472
5473         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5474
5475 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5476
5477         [BZ #6652]
5478         * Makeconfig (soversions-default-setname): Remove variable.
5479         ($(common-objpfx)soversions.i): Don't pass default_setname to
5480         soversions.awk.
5481         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5482         oldest_abi to abi-versions.awk.
5483         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5484         * config.make.in (oldest-abi): Remove variable.
5485         * configure.ac (--enable-oldest-abi): Remove configure option.
5486         * configure: Regenerated.
5487         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5488         text.
5489         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5490         * scripts/soversions.awk: Do not handle default_setname variable.
5491         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5492         variable.
5493         * sysdeps/mach/hurd/configure: Regenerated.
5494         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5495         variable.
5496         * sysdeps/unix/sysv/linux/configure: Regenerated.
5497
5498 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5499
5500         * elf/Makefile (CFLAGS-interp.c): Remove.
5501         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5502         path string.
5503         * elf/interp.c: Include generated runtime-linker.h
5504
5505         * Makerules (lib%.so): Don't include $(+interp) in
5506         prerequisites.
5507         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5508         * dlfcn/eval.c: Remove file.
5509
5510         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5511         macros.
5512
5513         [BZ #17266]
5514         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5515         4.2 and newer.
5516
5517         [BZ #17370]
5518         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5519
5520 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5521             Jakub Jelinek  <jakub@redhat.com>
5522
5523         [BZ #17266]
5524         * libio/stdio.h: Check definition of __fortify_function
5525         instead of __extern_always_inline to include bits/stdio2.h.
5526         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5527         check if __extern_always_inline is defined.
5528         [__USE_MISC || __USE_XOPEN]: Likewise.
5529         [__USE_ISOC99] Likewise.
5530         * misc/sys/cdefs.h (__fortify_function): Define only if
5531         __extern_always_inline is defined.
5532         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5533         __extern_always_inline and __extern_inline only for g++-4.3
5534         and newer or a compatible gcc.
5535
5536 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5537
5538         [BZ #17371]
5539         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5540         last change to handle zero prefix length.
5541
5542 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5543
5544         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5545         _SC_REGEX_VERSION.
5546
5547         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5548         _POSIX_RAW_SOCKETS.
5549
5550 2014-09-13  Allan McRae  <allan@archlinux.org>
5551
5552         * po/ru.po: Update Russian translation from translation project.
5553
5554 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5555
5556         * locale/programs/locale.c (show_locale_vars): Inline local function
5557         into its sole call site.  Clean up some style nits.
5558         (print_item): New function, broken out of ...
5559         (show_info): ... local function here.  Clean up style nits.
5560
5561         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5562         out of ...
5563         (set_class_defaults): ... local function set_default here.
5564         Define set_default as a macro locally to pass constant parameters.
5565         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5566         rather than a shared local.
5567
5568         * stdlib/rpmatch.c (try): New function, broken out of ...
5569         (rpmatch): ... local function here.  Also, prototypify definition.
5570
5571 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5572
5573         * scripts/soversions.awk: Do not handle configuration names.
5574         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5575         vendor and os variables to soversions.awk.
5576         * configure.ac: Do not modify gnu-* host_os.
5577         * configure: Regenerated
5578         * shlib-versions: Remove first column with configuration names.
5579         * nptl/shlib-versions: Likewise.
5580         * nptl_db/shlib-versions: Likewise.
5581         * sysdeps/hppa/shlib-versions: Likewise.
5582         * sysdeps/m68k/shlib-versions: Likewise.
5583         * sysdeps/mach/hurd/shlib-versions: Likewise.
5584         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5585         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5586         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5587         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5588         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5589         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5590         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5591         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5595         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5596         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5597         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5598         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5599         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5600         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5601         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5602
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5604         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5606         Regenerated.
5607         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5609         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5610
5611         * shlib-versions: Remove OS-specific entries.  Moved to files in
5612         sysdeps.
5613         * sysdeps/mach/hurd/shlib-versions: New file.
5614         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5615
5616         * nptl/shlib-versions: Remove architecture-specific entries.
5617         Moved to files in sysdeps.
5618         * shlib-versions: Likewise.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5620         file.
5621         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5622         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5623         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5624         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5625
5626         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5627         (UDP_NO_CHECK6_RX): Likewise.
5628
5629 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5630
5631         * sysdeps/posix/sysconf.c (__sysconf): Spell
5632         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5633
5634 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5635
5636         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5637         loading.
5638         * iconv/Versions (__gconv_transliterate): Export for use from
5639         gconv modules.
5640         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5641         (struct __gconv_trans_data, __gconv_trans_fct,
5642         __gconv_trans_context_fct, __gconv_trans_query_fct,
5643         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5644         definitions.
5645         (struct __gconv_step_data): Remove __trans member.
5646         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5647         longer hidden.  Remove unused trans_data argument.
5648         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5649         (__gconv_translit_find): Remove declaration.
5650         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5651         prototype.
5652         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5653         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5654         trans_data argument.  Add hidden definition.
5655         (__gconv_translit_find): Remove.
5656         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5657         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5658         * iconv/skeleton.c: Remove transliteration initialization.
5659         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5660         __gconv_step_data initialization.
5661         * libio/iofwide.c (__libio_translit_): Remove.
5662         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5663         * wcsmbs/btowc.c (__btowc): Likewise.
5664         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5665         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5666         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5667         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5668         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5669         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5670         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5671         * wcsmbs/wctob.c (wctob): Likewise.
5672
5673 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5674
5675         [BZ #16194]
5676         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5677         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5678         register usage.
5679         * sysdeps/x86/Makefile: Adjust.
5680
5681 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5682             Roland McGrath  <roland@hack.frob.com>
5683
5684         * locale/weight.h: Add include guard.
5685         (findidx): Make static rather than auto; take new parameters
5686         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5687         * locale/weightwc.h: Likewise.
5688         * posix/fnmatch_loop.c
5689         (FCT): Change type of EXTRA from int32_t to wint_t.
5690         Don't include either header inside the function.
5691         Call FINDIDX rather than findidx, and pass new arguments.
5692         #undef FINDIDX at the end of the file.
5693         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5694         FINDIDX before including fnmatch_loop.c for the non-wide version.
5695         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5696         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5697         for the wide version.
5698         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5699         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5700         Pass new arguments to findidx.
5701         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5702         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5703         Don't #include it inside the function.  Pass new arguments to findidx.
5704         * posix/regex_internal.h
5705         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5706         (re_string_elem_size_at): Don't #include it inside the function.
5707         Pass new arguments to findidx.
5708         * string/strcoll_l.c: #include WEIGHT_H at top level.
5709         (get_next_seq): Don't #include it inside the function.
5710         Pass new arguments to findidx.
5711         (get_next_seq_nocache): Likewise.
5712         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5713         (STRXFRM): Don't #include it inside the function.
5714         Pass new arguments to findidx.
5715
5716 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5717
5718         [BZ #17344]
5719         * malloc/malloc.c (unlink): Turn asserts into a call to
5720         malloc_printerr.
5721
5722 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5723
5724         [BZ #17370]
5725         * libio/wfileops (do_ftell_wide): Free OUT.
5726
5727 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5728
5729         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5730
5731 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5732
5733         [BZ #17363]
5734         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5735         group if the current group is empty.
5736
5737 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5738
5739         * benchtests/bench-memset.c (test_main): Add more test from size
5740         from 32 to 512 bytes.
5741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5742         Add POWER8 memset object.
5743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5744         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5745         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5746         implementation.
5747         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5748         Likewise.
5749         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5750         multiarch POWER8 memset optimization.
5751         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5752         POWER8 memset optimization.
5753
5754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5755         Remove bzero multiarch objects.
5756         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5757         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5758         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5759         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5760         Remove define.
5761         [__bzero]: Redefine to specific name.
5762         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5763         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5764         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5765         define.
5766         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5767         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5768
5769 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5770
5771         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5772         warnings into errors.
5773
5774         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5775         __cxa_thread_atexit_impl prototype.
5776
5777 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5778
5779         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5780         Fix capitalization of error message.
5781
5782 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5783
5784         * sysdeps/mips/preconfigure: Modify ABI tests.
5785
5786 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5787
5788         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5789
5790 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5791             Carlos O'Donell  <carlos@systemhalted.org>
5792
5793         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5794         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5795         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5796         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5797         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5798         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5799         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5800         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5801         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5802         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5803         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5804         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5805         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5806         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5808         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5809         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5810         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5811         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5814         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5815         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5816         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5817         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5818         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5819         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5820         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5821         Deconditionalize the code that was previously under [RESET_PID].
5822         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5823         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5824         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5825         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5826         include sysdep.h.
5827
5828 2014-09-08  Allan McRae  <allan@archlinux.org>
5829
5830         * version.h (RELEASE): Set to "development".
5831         (VERSION): Set to "2.20.90"
5832
5833 2014-09-07  Allan McRae  <allan@archlinux.org
5834
5835         * version.h (RELEASE): Set to "stable".
5836         (VERSION): Set to "2.20"
5837         * include/features.h (__GLIBC_MINOR__): Set to 20.
5838
5839         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5840         Liebler.
5841
5842         * po/ko.po: Update Korean translation from translation project.
5843
5844 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5845
5846         [BZ #17354]
5847         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5848         macro for handling signed relocations.
5849
5850 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5851
5852         [BZ #17325]
5853         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5854         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5855         assert.
5856         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5857         * iconvdata/ibm935.c (BODY): Likewise.
5858         * iconvdata/ibm937.c (BODY): Likewise.
5859         * iconvdata/ibm939.c (BODY): Likewise.
5860         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5861         assert.
5862         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5863         script.
5864         * iconvdata/run-iconv-test.sh: New test loop for checking for
5865         decoder crashers.
5866
5867 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5868
5869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5870         libm_hidden_ver.
5871
5872 2014-09-01  Allan McRae  <allan@archlinux.org>
5873
5874         * po/eo.po: Update Esperanto translation from translation project.
5875
5876         * po/ca.po: Update Catalan translation from translation project.
5877
5878 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5879
5880         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5881         __proc_dostop call.
5882
5883 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5884
5885         [BZ #17319]
5886         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5887         to call set_thread_area instead of hand written asm.
5888         (__NR_set_thread_area): Removed define.
5889         (TLS_FLAG_WRITABLE): Likewise.
5890         (__ASSUME_SET_THREAD_AREA): Remove check.
5891         (TLS_EBX_ARG): Remove define.
5892         (TLS_LOAD_EBX): Likewise.
5893
5894 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5895
5896         Simplify atomicity of socket creation in bind.
5897
5898         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5899         looking up the name after linking the file.
5900
5901 2014-08-27  Allan McRae  <allan@archlinux.org>
5902
5903         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5904
5905 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5906
5907         [BZ #17187]
5908         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5909         trans_compare, open_translit, __gconv_translit_find):
5910         Remove module loading code.
5911
5912 2014-08-26  Allan McRae  <allan@archlinux.org>
5913
5914         * po/vi.po: Update Vietnamese translation from translation project.
5915
5916         * po/uk.po: Update Ukrainian translation from translation project.
5917
5918         * po/fr.po: Update French translation from translation project.
5919
5920         * po/ru.po: Update Russian translation from translation project.
5921
5922         * po/pl.po: Update Polish translation from translation project.
5923
5924         * po/cs.po: Update Czech translation from translation project.
5925
5926         * po/de.po: Update German translation from translation project.
5927
5928         * po/bg.po: Update Bulgarian translation from translation project.
5929
5930         * po/sv.po: Update Sweedish translation from translation project.
5931
5932         * po/nl.po: Update Dutch translation from translation project.
5933
5934         * po/es.po: Update Spanish translation from translation project.
5935
5936 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5937
5938         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5939
5940         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5941         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5942         (CPPFLAGS-iconvconfig): Likewise.
5943         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5944
5945         * include/libc-symbols.h: Remove unnecessary check for
5946         NOT_IN_libc.
5947         * nptl/pthreadP.h: Likewise.
5948         * sysdeps/aarch64/setjmp.S: Likewise.
5949         * sysdeps/alpha/setjmp.S: Likewise.
5950         * sysdeps/arm/sysdep.h: Likewise.
5951         * sysdeps/i386/setjmp.S: Likewise.
5952         * sysdeps/m68k/setjmp.c: Likewise.
5953         * sysdeps/posix/getcwd.c: Likewise.
5954         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5955         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5956         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5957         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5958         * sysdeps/sh/sh3/setjmp.S: Likewise.
5959         * sysdeps/sh/sh4/setjmp.S: Likewise.
5960         * sysdeps/unix/alpha/sysdep.h: Likewise.
5961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5963         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5964         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5969         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5972         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5974         * sysdeps/x86_64/setjmp.S: Likewise.
5975
5976 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5977
5978         [BZ #17263]
5979         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5980         <stdint.h>.
5981         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5982         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5983
5984 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5985
5986         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5987
5988         [BZ #17262]
5989         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5990         and __x86_64__ when disabling x87 inline functions.
5991
5992 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5993
5994         [BZ #17259]
5995         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5996         asm statement with __cpuid_count.
5997
5998 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5999
6000         * configure.ac: Change __ehdr_start code to dereference the struct.
6001         Run readelf on the output to look for relocations.
6002         * configure: Regenerated.
6003
6004 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6005
6006         [BZ #17261]
6007         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6008         value to 0.
6009         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6010
6011 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6012
6013         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6014
6015 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6016
6017         [BZ #16892]
6018         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6019         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6020
6021 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6022
6023         * malloc/malloc.c: Fix typo in comment.
6024
6025 2014-08-09  Allan McRae  <allan@archlinux.org>
6026
6027         * Regenerate libc.po.
6028
6029 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6030
6031         * intl/tst-gettext2.sh: Check every lang file for creation.
6032
6033 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6034
6035         * sysdeps/aarch64/fpu/math_private.h
6036         (libc_feholdsetround_noex_aarch64_ctx): New function.
6037
6038 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6039
6040         * sysdeps/arm/armv6/strcpy.S (strcpy):
6041         Fix performance issue in misaligned cases.
6042
6043 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6044
6045         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6046         Move definition from termios.h.
6047         (struct termio): Likewise.
6048         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6049         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6050         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6051         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6052         Likewise.
6053         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6054         Move definition to ioctl-types.h
6055         (struct termio): Likewise.
6056         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6057         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6058         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6059         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6060         Likewise.
6061
6062 2014-08-05  Richard Henderson  <rth@redhat.com>
6063
6064         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6065         exceptions.
6066         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6067         Add fraiseexcpt.
6068         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6069         Use __feraiseexcept.
6070         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6071         Protect libm symbols with IS_IN_libm.
6072
6073         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6074
6075 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6076
6077         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6078
6079 2014-08-04  Will Newton  <will.newton@linaro.org>
6080
6081         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6082         file.
6083
6084 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6085
6086         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6087         variants for each function.
6088
6089 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6090
6091         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6092         appended ...
6093         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6094         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6095         appended ...
6096         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6097         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6098         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6099         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6100         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6101         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6102         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6103         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6104         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6105         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6106         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6107         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6108         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6109         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6112         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6113         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6114         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6115         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6116         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6117         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6119         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6120         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6121         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6122         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6123         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6124         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6125         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6126         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6127         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6128         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6129         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6130         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6131         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6132         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6133         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6134         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6135         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6136         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6137         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6138         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6139         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6140         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6141         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6142         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6144         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6146         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6147         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6148         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6149         Update #include.
6150         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6151         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6152
6153 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6154
6155         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6156         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6157         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6158         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6159         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6160         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6161
6162 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6163
6164         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6165         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6166         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6167         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6168
6169 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6170
6171         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6172         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6173         (__libc_vfork): Define function under this name.
6174         (__vfork): Define as an alias.
6175         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6176         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6177
6178 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6179
6180         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6181         that was previously under [RESET_PID].
6182         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6183
6184 2014-08-04  Andreas Schwab  <schwab@suse.de>
6185
6186         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6187
6188 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6189
6190         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6191         (main): Likewise.
6192
6193 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6194
6195         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6196
6197 2014-08-01  Richard Henderon  <rth@redhat.com>
6198
6199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6200         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6201         typo in exact zero test.
6202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6205
6206 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6207
6208         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6209         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6210         * sysdeps/arm/sysdep.h: ... here.
6211         [!__ASSEMBLER__]: Include <stdint.h>.
6212
6213 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6214
6215         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6216         (HAVE_WCTYPE_H): Likewise.
6217         (HAVE_ISWCTYPE): Likewise.
6218         (ENABLE_NLS): Likewise.
6219         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6220         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6221
6222         * posix/regex_internal.c: Check if DEBUG is defined and is
6223         set.
6224
6225         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6226         (HAVE_MBSRTOWCS): Likewise.
6227         * posix/fnmatch.c: Include string.h unconditionally.
6228
6229 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6230
6231         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6232         reversal.
6233
6234 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6235
6236         * sysdeps/generic/safe-fatal.h: New file.
6237         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6238         * nptl/forward.c: Include it.
6239         (__pthread_unwind): Use __safe_fatal as default action, rather
6240         than a bogus use of INTERNAL_SYSCALL that could never work.
6241
6242         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6243         * configure.ac (libc_cv_builtin_trap): New test.
6244         * configure: Regenerated.
6245         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6246         (ABORT_INSTRUCTION): Define using __builtin_trap.
6247
6248         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6249         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6250         * sysdeps/nptl/nptl-signals.h: New file.
6251         * nptl/pthreadP.h: Include <nptl-signals.h>.
6252
6253 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6254
6255         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6256         (ONE_DIRECTION): Define.
6257         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6258         (ONE_DIRECTION): Define.
6259         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6260         (ONE_DIRECTION): Define.
6261
6262 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263
6264         * sysdeps/s390/Makefile: Delete file.
6265         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6266         * sysdeps/s390/__longjmp.c: Delete file.
6267         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6268         Remove fields __flags and __reserved.
6269         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6270         and add versioning.
6271         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6272         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6273         * sysdeps/s390/rtld-setjmp.S: Likewise.
6274         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6275         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6276         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6277         * sysdeps/s390/s390-32/setjmp.S: ... here.
6278         Add versioning.
6279         (__sigsetjmp): Remove setting __flags field.
6280         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6281         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6282         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6283         * sysdeps/s390/s390-64/setjmp.S: ... here.
6284         Add versioning.
6285         (__sigsetjmp): Remove setting __flags field.
6286         * sysdeps/s390/setjmp.S: Delete file.
6287         * sysdeps/s390/sigjmp.c: Likewise.
6288         * sysdeps/s390/v1-longjmp.c: Likewise.
6289         * sysdeps/s390/v1-setjmp.h: Likewise.
6290         * sysdeps/s390/v1-sigjmp.c: Likewise.
6291         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6292         Remove v1-longjmp_chk.
6293         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6294         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6295         Include debug/longjmp_chk.c and add versioning.
6296         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6297         Include nptl/pt-longjmp.c and add versioning.
6298         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6299         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6300         Include __longjmp.c.
6301         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6302         Move to ...
6303         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6304         (__getcontext): Remove setting __flags field.
6305         Add versioning.
6306         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6307         Don't restore upper high grps.
6308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6309         Likewise.
6310         (__swapcontext): Remove setting uc_flags field.
6311         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6312         Delete file.
6313         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6314         Include __longjmp.c.
6315         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6316         Move to ...
6317         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6318         (__getcontext): Remove setting __flags field.
6319         Add versioning.
6320         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6321         (__swapcontext): Remove setting uc_flags field.
6322         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6323         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6324         Remove fields uc_high_gprs and __reserved.
6325         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6326         New file with reverted content.
6327         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6329         Regenerated.
6330         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6331         Regenerated.
6332
6333 2014-07-31  Andreas Schwab  <schwab@suse.de>
6334
6335         * config.h.in (HAVE_IFUNC): Define to 0.
6336         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6337         definedness.
6338
6339 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6340
6341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6342         memmove-avx-unaligned, memcpy-avx-unaligned and
6343         mempcpy-avx-unaligned.
6344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6345         Add tests for AVX memcpy functions.
6346         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6348         memcpy_chk.
6349         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6350         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6351         memmove_chk.
6352         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6353         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6354         mempcpy_chk.
6355         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6356         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6357         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6358
6359 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6360
6361         [BZ #17213]
6362         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6363         powerpc64le.
6364
6365 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6366
6367         [BZ #16839]
6368         * manual/llio.texi: Add section about open file description locks.
6369         * manual/examples/ofdlocks.c: Example of open file description
6370         lock usage.
6371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6372         F_OFD_SETLK, and F_OFD_SETLKW.
6373
6374 2014-07-23  Allan McRae  <allan@archlinux.org>
6375
6376         * po/es.po: Update Spanish translation from translation project.
6377
6378 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6379
6380         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6381
6382 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6383
6384         [BZ #17078]
6385         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6386         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6387         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6388
6389 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6390
6391         [BZ #17088]
6392         * math/fesetenv.c (__fesetenv)
6393         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6394         * math/feupdateenv.c (__feupdateenv)
6395         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6396
6397         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6398         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6399         (__ASSUME_SOCKETCALL): Do not define.
6400
6401         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6402         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6403         (__ASSUME_SOCKETCALL): Do not define.
6404         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6405         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6406         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6407         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6408         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6409         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6410         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6411         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6412
6413         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6414         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6415         (__ASSUME_SOCKETCALL): Do not define.
6416         (__ASSUME_IPC64): Define unconditionally.
6417         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6418         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6419         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6421         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6423         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6424         Likewise.
6425
6426         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6427         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6428         (__ASSUME_SOCKETCALL): Do not define.
6429         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6430         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6431         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6432         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6433         (__ASSUME_REQUEUE_PI): Define unconditionally.
6434         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6435         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6436         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6437         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6438         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6439         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6440
6441         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6442         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6443         (__ASSUME_SOCKETCALL): Do not define.
6444         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6446         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6447         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6449         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6450
6451         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6452         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6453         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6454         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6456         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6458         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6459         (__ASSUME_GETCPU_SYSCALL): Likewise.
6460
6461         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6462         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6463         cases for individual architectures.
6464         * sysdeps/gnu/configure: Regenerated.
6465         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6466         LIBC_SLIBDIR_RTLDDIR.
6467         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6468         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6469         LIBC_SLIBDIR_RTLDDIR.
6470         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6472         LIBC_SLIBDIR_RTLDDIR.
6473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6474         Regenerated.
6475         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6476         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6477         file.
6478         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6479         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6480         file.
6481         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6482         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6483         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6484         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6485
6486         * sysdeps/aarch64/shlib-versions: Move to ...
6487         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6488         * sysdeps/alpha/shlib-versions: Move to ...
6489         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6490         * sysdeps/arm/shlib-versions: Move to ...
6491         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6492         * sysdeps/hppa/shlib-versions: Move all contents except for
6493         libgcc_s entry to ...
6494         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6495         entry from ...
6496         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6497         * sysdeps/ia64/shlib-versions: Move to ...
6498         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6499         entry from ...
6500         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6501         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6502         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6503         * sysdeps/microblaze/shlib-versions: Move to ...
6504         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6505         * sysdeps/mips/shlib-versions: Move to ...
6506         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6507         entry from ...
6508         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6509         * sysdeps/tile/shlib-versions: Move to ...
6510         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6511         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6512         from ...
6513         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6514         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6515         entry from ...
6516         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6517
6518 2014-07-17  Will Newton  <will.newton@linaro.org>
6519
6520         * sysdeps/arm/bits/atomic.h
6521         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6522         (__arch_compare_and_exchange_bool_16_int): Likewise.
6523         (__arch_compare_and_exchange_bool_64_int): Likewise.
6524
6525         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6526         into an #else block.
6527
6528 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6529
6530         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6531         just Linux configurations.  Test empirically that the compiler sets
6532         __ARM_EABI__, rather than using the tuple to decide.
6533         * sysdeps/arm/preconfigure: Regenerated.
6534         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6535         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6536         contents appended ...
6537         * sysdeps/arm/configure.ac: ... here.
6538         * sysdeps/arm/configure: Regenerated.
6539
6540 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6541
6542         * nptl/pthread_kill.c: New file.
6543         * nptl/pthread_sigmask.c: New file.
6544         * nptl/pthread_sigqueue.c: New file.
6545
6546         * sysdeps/nptl/lowlevellock.h: New file.
6547         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6548         * sysdeps/nptl/lowlevellock-futex.h: New file.
6549
6550         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6551         Remove dead declarations.
6552
6553 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6554
6555         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6556         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6557         config-cflags-avx2.
6558         * sysdeps/x86_64/configure.ac: Likewise.
6559         * sysdeps/i386/configure: Regenerated.
6560         * sysdeps/x86_64/configure: Likewise.
6561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6562         memset-avx2 only if config-cflags-avx2 is yes.
6563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6564         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6565         defined.
6566         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6567         only if HAVE_AVX2_SUPPORT is defined.
6568         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6569
6570 2014-07-14  Alan Modra  <amodra@gmail.com>
6571
6572         [BZ #17153]
6573         * elf/elf.h (DT_PPC64_NUM): Correct value.
6574         * NEWS: Add to fixed bug list.
6575
6576 2014-07-13  Jim Meyering  <meyering@fb.com>
6577
6578         [BZ 17150]
6579         regex: don't deref NULL upon heap allocation failure
6580         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6581         failure in one more place.
6582         To trigger the segfault, configure grep -with-included-regex,
6583         build it, and run these commands:
6584         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6585
6586 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6587
6588         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6589
6590 2014-07-11  Richard Henderson  <rth@redhat.com>
6591
6592         * sysdeps/aarch64/libm-test-ulps: Update.
6593
6594 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6595
6596         [BZ #17135]
6597         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6598         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6599         (__nptl_setxid): Initialize error member.  Call
6600         __nptl_setxid_error.
6601         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6602         * nptl/descr.h (struct xid_command): Add error member.
6603         * nptl/tst-setuid3.c: New file.
6604         * nptl/Makefile (tests): Add it.
6605
6606 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6607
6608         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6609         New define.
6610         (__lll_trylock): Use __lll_base_trylock.
6611         (__lll_cond_trylock): Likewise.
6612
6613 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6614
6615         * nptl/pthread_create.c (start_thread): Use atomic_or and
6616         lll_futex_wake directly rather than lll_robust_dead.
6617         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6618         (lll_robust_dead): Macro removed.
6619         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6620         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6621         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6622         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6623         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6624         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6625         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6626         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6627         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6628         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6629         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6630         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6631         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6632         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6633         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6634
6635         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6636         Use atomic_compare_and_exchange_val_acq directly rather than
6637         lll_robust_trylock.
6638         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6639         (__lll_robust_trylock, lll_robust_trylock): Removed.
6640         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6641         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6642         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6643         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6644         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6645         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6646         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6647         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6648         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6649         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6650         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6651         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6652         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6653         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6654
6655 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6656
6657         * manual/locale.texi (Locale Names): New section documenting
6658         locale name syntax.  Adjust menu and node chaining accordingly.
6659         (Choosing Locale): Reference Locale Names, Locale Categories.
6660         Mention setting LC_ALL=C.  Reflect that name syntax is now
6661         documented.
6662         (Locale Categories): New section title.  Reference Locale Names.
6663         LC_ALL is an environment variable, but not a category.
6664         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6665         description, now in Locale Name.  Reference that section.  Locale
6666         name syntax is now documented.
6667
6668 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6669
6670         [BZ #17137]
6671         * locale/findlocale.c (name_present, valid_locale_name): New
6672         functions.
6673         (_nl_find_locale): Use the loc_name variable to store name
6674         candidates.  Call name_present and valid_locale_name to check and
6675         validate locale names.  Return an error if the locale is invalid.
6676
6677 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6678
6679         * locale/setlocale.c (setlocale): Use strdup for allocating
6680         composite name copy.
6681
6682 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6683
6684         Sync up with gnulib.
6685         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6686         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6687         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6688         and _GL_ARG_NONNULL.
6689         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6690         [!_LIBC]: Include code for Windows and Cygwin.
6691         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6692         Include prototype for int strerror_r.
6693         [!_LIBC] (is_open): New function.
6694         (flush_stdout): New function.
6695         (print_errno_message): Use it.
6696         (error): Likewise.
6697         (error_at_line): Likewise.
6698         (error_tail) Add function attribute macros.  Use
6699         __builtin_expect.
6700
6701         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6702
6703         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6704
6705         * io/ftw.c: Include sys/param.h unconditionally.
6706
6707         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6708
6709         [BZ #17125]
6710         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6711         libc_freeres_ptr.
6712         (freecache): New function to free CACHE on exit.
6713
6714         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6715         initialization.
6716
6717 2014-07-09  David S. Miller  <davem@davemloft.net>
6718
6719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6720
6721         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6722         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6723         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6724         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6725         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6726         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6727         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6728         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6729         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6730         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6731         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6732         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6733         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6734
6735 2014-07-09  Andreas Schwab  <schwab@suse.de>
6736
6737         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6738         output.
6739         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6740         (do_test): Likewise.
6741
6742         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6743
6744 2014-07-09  Will Newton  <will.newton@linaro.org>
6745
6746         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6747         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6748         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6749         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6750         * sysdeps/hppa/start.S (_start): Likewise.
6751
6752 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6753
6754         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6755
6756         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6757         defined.
6758
6759 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6760
6761         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6762         after checking that it is non-NULL.
6763
6764         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6765
6766 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6767
6768         * sysdeps/powerpc/memmove.c: Remove file.
6769         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6770         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6771         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6772         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6773         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6774         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6775         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6776         string memmove instead of removed powerpc one.
6777
6778         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6779         [weak_alias]: Fix compiler warning due trailing data.
6780         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6781         [weak_alias]: Likewise.
6782         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6783         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6784
6785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6786         (__libc_ifunc_impl_list): Add memmove functions.
6787
6788 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6789
6790         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6791         Remove code.
6792         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6793         Likewise
6794         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6795         Likewise
6796         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6797         Likewise
6798         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6799         Likewise
6800         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6801         Likewise
6802         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6803         Likewise
6804         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6805         Likewise
6806         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6807         Likewise
6808         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6809         Likewise
6810         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6811         Likewise
6812         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6813         Likewise
6814         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6815         Likewise
6816         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6817         Likewise
6818         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6819         Likewise
6820         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6821         Likewise
6822         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6823         Likewise
6824
6825 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6826
6827         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6828         to avoid alignment traps in non-cacheable memory.
6829         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6830
6831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6832         multiarch objects.
6833         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6834         file: multiarch power7 memmove.
6835         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6836         multiarch default memmove.
6837         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6838         multiarch memove for powerpc32/power4.
6839
6840         * string/bcopy.c: Use full path to include memmove.c.
6841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6842         multiarch objects.
6843         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6844         bcopy for powerpc64.
6845         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6846         bcopy for powerpc64.
6847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6848         and memmove implementations.
6849         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6850         optimized multiarch memmove for POWER7/powerpc64.
6851         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6852         default multiarch memmove for powerpc64.
6853         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6854         multiarch for powerpc64.
6855         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6856         for POWER7/powerpc64.
6857         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6858         memmove for POWER7/powerpc64.
6859
6860         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6861         glibc default one.
6862
6863         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6864         __ELF_NATIVE_CLASS equal to 64.
6865
6866 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6867
6868         * sysdeps/nptl/lowlevellock.h: File removed.
6869
6870         * NEWS: NPTL is no longer an add-on!
6871         * nptl/internaltypes.h: Moved ...
6872         * sysdeps/nptl/internaltypes.h: ... here.
6873         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6874         * sysdeps/nptl/fork.c: Likewise.
6875         * sysdeps/nptl/gai_misc.h: Likewise.
6876         * sysdeps/nptl/librt-cancellation.c: Likewise.
6877         * sysdeps/nptl/jmp-unwind.c: Likewise.
6878         * sysdeps/nptl/setxid.h: Likewise.
6879         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6880         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6881         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6882         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6883         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6884         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6885         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6886         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6887         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6888         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6889         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6890         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6891         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6892         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6893         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6894         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6895         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6896         * nptl/Makeconfig: Moved ...
6897         * sysdeps/nptl/Makeconfig: ... here.
6898         * nptl/configure: File removed.
6899         * nptl/ANNOUNCE: File removed.
6900         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6901         * sysdeps/unix/sysv/linux/configure: Regenerated.
6902
6903         * nptl/Makefile (routines): Add libc_pthread_init,
6904         libc_multiple_threads, register-atfork and unregister-atfork.
6905         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6906         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6907         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6908         pthread-pi-defines.sym, structsem.sym.
6909         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6910         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6911         [$(subdir) = nptl] (tests): Add tst-setgetname.
6912         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6913         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6914         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6915         [!LIBC_SIGACTION]: Remove aliases.
6916         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6917         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6918         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6919         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6920         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6921         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6925         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6926         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6927         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6928         __libc_allocate_rtsig_private.
6929         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6930         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6931         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6932         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6933         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6934         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6935         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6936         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6937         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6938         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6939         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6940         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6941         * nptl/internaltypes.h: ... here.
6942         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6943         * sysdeps/nptl/jmp-unwind.c: ... here.
6944         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6945         * nptl/libc-lowlevellock.c: ... here.
6946         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6947         * nptl/libc_multiple_threads.c: ... here.
6948         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6949         * nptl/libc_pthread_init.c: ... here.
6950         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6951         * nptl/lowlevelbarrier.sym: ... here.
6952         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6953         * nptl/lowlevelcond.sym: ... here.
6954         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6955         * nptl/lowlevellock.c: ... here.
6956         * nptl/lowlevellock.h: Moved ...
6957         * sysdeps/nptl/lowlevellock.h: ... here.
6958         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6959         * nptl/lowlevelrobustlock.c: ... here.
6960         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6961         * nptl/lowlevelrobustlock.sym: ... here.
6962         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6963         * nptl/lowlevelrwlock.sym: ... here.
6964         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6965         * nptl/pt-fork.c: ... here.
6966         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6967         * nptl/pthread-pi-defines.sym: ... here.
6968         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6969         * nptl/pthread_attr_getaffinity.c: ... here.
6970         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6971         * nptl/pthread_attr_setaffinity.c: ... here.
6972         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6973         * nptl/pthread_mutex_cond_lock.c: ... here.
6974         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6975         Update #include.
6976         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6977         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6978         * nptl/pthread_once.c: ... here, replacing old file.
6979         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6980         * nptl/pthread_yield.c: ... here.
6981         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6982         * nptl/register-atfork.c: ... here.
6983         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6984         * nptl/sem_post.c: ... here.
6985         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6986         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6987         * nptl/sem_timedwait.c: ... here.
6988         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6989         * nptl/sem_trywait.c: ... here.
6990         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6991         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6992         * nptl/sem_wait.c: ... here.
6993         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6994         * nptl/structsem.sym: ... here.
6995         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6996         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6997         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6998         * nptl/unregister-atfork.c: ... here.
6999         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7000         * nptl/unwindbuf.sym: ... here.
7001         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7002         * sysdeps/nptl/fork.c: ... here.
7003         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7004         * sysdeps/nptl/fork.h: ... here.
7005         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7006         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7007         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7008         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7009         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7010         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7011         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7012         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7013         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7014         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7015         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7016         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7017         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7018         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7019         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7020         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7021         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7022         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7023         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7024         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7025         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7026         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7027         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7028         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7029         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7030         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7031         * sysdeps/unix/sysv/linux/raise.c: ... here.
7032         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7033         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7034         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7035         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7036         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7037         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7038         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7039         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7040         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7041         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7042         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7043         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7044         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7045         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7046         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7047
7048 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7049
7050         * sysdeps/generic/memcopy.h: Add comment for
7051         MEMCPY_OK_FOR_FWD_MEMMOVE.
7052
7053 2014-07-04  Will Newton  <will.newton@linaro.org>
7054
7055         * string/memchr.c: Merge from gnulib.
7056         [_LIBC]: Remove conditionals.
7057         (__ptr_t): Remove define.
7058         (LONG_MAX_32_BITS): Likewise.
7059         (LONG_MAX): Likewise.
7060         (MEMCHR): Use ANSI prototype and optimize algorithm.
7061
7062         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7063
7064 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7065
7066         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7067         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7068
7069         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7070         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7071         in a bare environment with no <stdlib.h> installed.
7072         * sysdeps/nptl/configure: Regenerated.
7073
7074         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7075
7076         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7077         AC_EGREP_CPP for kernel header checks, so they only succeed if
7078         including <linux/version.h> actually works right.
7079         * sysdeps/unix/sysv/linux/configure: Regenerated.
7080
7081         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7082         value so it's not diagnosed as unused.
7083
7084         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7085         thing) with "ifeq ($(subdir),rt)".
7086
7087 2014-07-03  Richard Henderson  <rth@redhat.com>
7088
7089         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7090         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7091         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7092
7093         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7094         (math_force_eval): New.
7095
7096         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7097         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7098
7099         * sysdeps/alpha/fpu/s_round.c: Remove file.
7100         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7101
7102         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7103         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7104         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7105         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7106         (_dl_start, print_statistics): Likewise.
7107         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7108         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7109
7110         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7111         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7112         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7113         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7114         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7115         (HP_SMALL_TIMING_AVAIL): Define.
7116         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7118         (HP_SMALL_TIMING_AVAIL): Define.
7119         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7120         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7121
7122         * sysdeps/aarch64/hp-timing.h: New file.
7123
7124         * sysdeps/generic/hp-timing.h: Remove dead comment.
7125         * sysdeps/generic/hp-timing-common.h: New file.
7126         * sysdeps/alpha/hp-timing.h: Include it.
7127         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7128         * sysdeps/i386/i686/hp-timing.h: Likewise.
7129         * sysdeps/ia64/hp-timing.h: Likewise.
7130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7131         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7132         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7133         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7134         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7135         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7136         (hp_timing_t): New.
7137
7138         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7139         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7140         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7141         * elf/rtld.c (_dl_start_final): Likewise.
7142         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7143         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7144         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7145         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7146         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7148         (HP_TIMING_DIFF_INIT): Remove.
7149         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7150         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7151         (HP_TIMING_DIFF_INIT): Remove.
7152         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7153         * sysdeps/i386/i686/hp-timing.c: Remove file.
7154         * sysdeps/x86_64/hp-timing.c: Remove file.
7155         * sysdeps/ia64/hp-timing.c: Remove file.
7156         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7157         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7159         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7160
7161         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7162         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7163         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7164         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7165         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7166         (HP_TIMING_ACCUM): Remove.
7167         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7168         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7169         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7170
7171         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7172         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7173         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7174         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7175         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7176         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7177         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7178         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7179
7180         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7181
7182 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7183
7184         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7185
7186 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7187
7188         Sync up with gettext.
7189         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7190         [_MSC_VER]: Include malloc.h
7191         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7192         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7193         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7194         TEMP_FAILURE_RETRY.  Cast return of alloca.
7195         [!_LIBC] Call gl_rwlock_init.
7196         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7197
7198 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7199
7200         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7201         before checking its value.
7202
7203 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7204
7205         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7206
7207         * debug/memcpy_chk.c: Don't include pagecopy.h.
7208         * debug/mempcpy_chk.c: Likewise.
7209         * string/memcpy.c: Likewise.
7210         * string/memmove.c: Likewise.
7211         * sysdeps/powerpc/memmove.c: Likewise.
7212         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7213         definition of PAGE_COPY_FWD_MAYBE here...
7214         * sysdeps/generic/pagecopy.h: ... from here.
7215         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7216
7217 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7218             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7219
7220         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7222         optimizations.
7223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7224         (__libc_ifunc_impl_list): Likewise.
7225         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7226         multiarch strcat for PPC64.
7227         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7228         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7229
7230 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7231
7232         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7233
7234 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7235
7236         * intl/loadmsgcat.c: Remove declaration of
7237         get_sysdep_segment_value.
7238         (get_sysdep_segment_value): Use ISO C style.
7239         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7240         semicolon.  Fix typo and formatting in comment.
7241         (_nl_unload_domain): Use ISO C style.
7242
7243         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7244
7245 2014-07-02  Will Newton  <will.newton@linaro.org>
7246
7247         * malloc/obstack.c: Merge from gnulib master.
7248         [HAVE_CONFIG_H]: Remove conditional code.
7249         [!_LIBC]: Include config.h.
7250         [!ELIDE_CODE]: Don't include inttypes.h, include
7251         stdint.h unconditionally.
7252         (print_and_abort): Mark as _Noreturn.
7253         (_obstack_allocated_p): Mark as __attribute_pure__.
7254         (obstack_free): Rename to __obstack_free.
7255         [!__attribute__]: Remove conditional code.
7256         * malloc/obstack.h: Merge from gnulib master.
7257         [__cplusplus]: Move conditional down.
7258         [!__attribute_pure__]: Define __attribute_pure__ here
7259         if it is not already defined.
7260         (_obstack_memory_used): Mark as __attribute_pure__.
7261         [!__obstack_free]: Define as obstack_free.
7262         [__GNUC__]: Remove check for ancient NeXT gcc.
7263
7264 2014-07-02  Will Newton  <will.newton@linaro.org>
7265             Paul Eggert  <eggert@cs.ucla.edu>
7266
7267         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7268
7269 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7270
7271         * resolv/gethnamaddr.c: Add comment warning that the file is
7272         not maintained.
7273
7274 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7275
7276         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7277         entries.
7278
7279         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7280         entry for aio_cancel and aio_cancel64.
7281         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7282         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7283         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7284         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7285         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7286         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7287         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7288         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7289         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7290         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7291         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7292         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7293         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7294
7295 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7296
7297         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7298         * nptl/pthread_mutex_lock.c: Likewise.
7299         * nptl/pthread_mutex_timedlock.c: Likewise.
7300         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7301
7302 2014-07-01  Richard henderson  <rth@redhat.com>
7303
7304         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7305         (__isnan, __isnanl): Remove.
7306         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7307
7308         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7309
7310 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7311
7312         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7313
7314 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7315
7316         * resolv/nss_dns/dns-host.c (getanswer_r)
7317         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7318
7319 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7320
7321         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7322         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7323         undefine.
7324         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7325         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7326
7327 2014-07-01  Roland McGrath <roland@hack.frob.com>
7328
7329         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7330         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7331
7332         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7333         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7334
7335         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7336         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7337         ... here.
7338         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7339         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7340
7341         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7342         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7343         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7344         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7345
7346         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7347         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7348         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7349         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7350         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7351         Moved ...
7352         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7353         ... here.
7354         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7355         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7356         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7357         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7358         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7359         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7360         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7361         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7362         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7363         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7364         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7365         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7366         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7367         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7368         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7369         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7370         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7371         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7372         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7373         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7374         ... here.
7375         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7376         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7377         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7378         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7379         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7380         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7381         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7382         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7383
7384 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7385
7386         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7387         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7388         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7389         Add sysdep.
7390
7391 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7392
7393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7394
7395 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7396
7397         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7398         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7399
7400         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7401
7402         * sysdeps/arm/libm-test-ulps: Regenerated.
7403
7404 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7405             Roland McGrath <roland@hack.frob.com>
7406
7407         * test-skeleton.c (signal_handler): Kill the whole process group
7408         before killing the child individually.
7409         (main): Report any failure on `setpgid'.
7410
7411 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7412
7413         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7414         from _TLS_H to _ARM_NPTL_TLS_H.
7415         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7416         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7417
7418 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7419
7420         [BZ #16539]
7421         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7422         (__expm1l): Return argument unchanged when small but not
7423         subnormal.
7424
7425         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7426         include macro name.
7427         (_FP_UNPACK_RAW_1_P): Likewise.
7428         (_FP_PACK_RAW_1): Likewise.
7429         (_FP_PACK_RAW_1_P): Likewise.
7430         (_FP_MUL_MEAT_1_wide): Likewise.
7431         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7432         (_FP_MUL_MEAT_1_hard): Likewise.
7433         (_FP_DIV_MEAT_1_imm): Likewise.
7434         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7435         (_FP_DIV_MEAT_1_udiv): Likewise.
7436         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7437         (_FP_UNPACK_RAW_2): Likewise.
7438         (_FP_UNPACK_RAW_2_P): Likewise.
7439         (_FP_PACK_RAW_2): Likewise.
7440         (_FP_PACK_RAW_2_P): Likewise.
7441         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7442         (_FP_MUL_MEAT_2_wide): Likewise.
7443         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7444         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7445         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7446         (_FP_MUL_MEAT_2_gmp): Likewise.
7447         (_FP_DIV_MEAT_2_udiv): Likewise.
7448         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7449         (_FP_FRAC_SRL_4): Likewise.
7450         (_FP_FRAC_SRST_4): Likewise.
7451         (_FP_FRAC_SRS_4): Likewise.
7452         (_FP_UNPACK_RAW_4): Likewise.
7453         (_FP_UNPACK_RAW_4_P): Likewise.
7454         (_FP_PACK_RAW_4): Likewise.
7455         (_FP_PACK_RAW_4_P): Likewise.
7456         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7457         (_FP_MUL_MEAT_4_wide): Likewise.
7458         (_FP_MUL_MEAT_4_gmp): Likewise.
7459         (umul_ppppmnnn): Likewise.
7460         (_FP_DIV_MEAT_4_udiv): Likewise.
7461         (__FP_FRAC_ADD_4): Likewise.
7462         (__FP_FRAC_SUB_3): Likewise.
7463         (__FP_FRAC_SUB_4): Likewise.
7464         (__FP_FRAC_DEC_3): Likewise.
7465         (__FP_FRAC_DEC_4): Likewise.
7466         (__FP_FRAC_ADDI_4): Likewise.
7467         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7468         (_FP_FRAC_SRL_8): Likewise.
7469         (_FP_FRAC_SRS_8): Likewise.
7470
7471         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7472         include macro name.
7473         (FP_UNPACK_RAW_EP): Likewise.
7474         (FP_PACK_RAW_E): Likewise.
7475         (FP_PACK_RAW_EP): Likewise.
7476         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7477         (_FP_ISSIGNAN): Likewise.
7478         (_FP_ADD_INTERNAL): Likewise.
7479         (_FP_FMA): Likewise.
7480         (_FP_CMP): Likewise.
7481         (_FP_SQRT): Likewise.
7482         (_FP_TO_INT): Likewise.
7483         (_FP_FROM_INT): Likewise.
7484         (FP_EXTEND): Likewise.
7485         (_FP_DIV_MEAT_N_loop): Likewise.
7486
7487 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7488
7489         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7490         throughout.
7491
7492 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7493
7494         [BZ #17097]
7495         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7496         result with correct sign in case of exponents that produce
7497         overflow except for X very close to 1.
7498
7499 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7500
7501         mktime: merge #if/#ifdef usage from glibc
7502         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7503         as that works with both Glibc's and Gnulib's style.
7504         See thread starting at Siddhesh Poyarekar's bug report at:
7505         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7506
7507 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7508
7509         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7510         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7511         * sysdeps/tile/tilegx/memmove.c: Remove file.
7512
7513 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7514
7515         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7516         abi-name definition.
7517         * scripts/soversions.awk: Do not handle or generate ABI lines.
7518         * shlib-versions: Remove ABI entries.
7519         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7520         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7521
7522 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7523
7524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7525         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7526         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7527         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7529         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7531         Moved ...
7532         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7533         ... here.
7534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7535         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7537         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7539         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7541         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7543         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7547         Moved ...
7548         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7550         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7552         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7554         Moved ...
7555         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7557         Moved ...
7558         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7560         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7562         Moved ...
7563         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7565         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7567         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7569         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7574         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7575         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7579         Moved ...
7580         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7582         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7584         Moved ...
7585         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7586         ... here.
7587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7588         Identical file removed.
7589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7593         Identical file removed.
7594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7595         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7597         Moved ...
7598         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7600         Identical file removed.
7601         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7602         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7603         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7604         Identical file removed.
7605         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7606         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7608         Identical file removed.
7609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7610         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7612         Identical file removed.
7613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7617         Identical file removed.
7618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7619         Moved ...
7620         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7622         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7623         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7624         Identical file removed.
7625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7626         Moved ...
7627         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7628         ... here.
7629         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7630         Identical file removed.
7631         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7632         Moved ...
7633         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7635         Identical file removed.
7636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7637         Moved ...
7638         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7640         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7642         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7647         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7648
7649         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7650         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7651         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7652         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7653         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7654
7655 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7656
7657         [BZ #17092]
7658         * nscd/nscd.c (monitor_child): Return exit status of child
7659         instead of return value from wait syscall.
7660
7661 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7662
7663         * configure.ac (libc_commonpagesize): Remove variable.
7664         (libc_relro_required): Likewise.
7665         (libc_cv_z_relro): Remove configure test.
7666         * configure: Regenerated.
7667         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7668         variable.
7669         (libc_relro_required): Likewise.
7670         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7671         (libc_relro_required): Likewise.
7672         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7673         (libc_relro_required): Likewise.
7674         * sysdeps/arm/preconfigure: Regenerated.
7675         * sysdeps/ia64/preconfigure: Remove file.
7676         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7677         variable.
7678         (libc_relro_required): Likewise.
7679
7680         [BZ #16561]
7681         [BZ #16562]
7682         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7683         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7684         recompute overflowing results in original rounding mode.
7685         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7686         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7687         recompute overflowing results in original rounding mode.
7688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7689         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7690         recompute overflowing results in original rounding mode.
7691         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7692         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7693         recompute overflowing results in original rounding mode.
7694         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7695         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7696         recompute overflowing results in original rounding mode.
7697         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7698         (libc_feholdsetround_ctx): New macro.
7699         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7700         * sysdeps/i386/fpu/libm-test-ulps: Update.
7701         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7702
7703 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7704
7705         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7706         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7707         corresponding .cpsetup call.
7708
7709 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7710
7711         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7712         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7713         * sysdeps/arm/Makefile [$(subdir) = csu]
7714         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7715         (static-only-routines): Add aeabi_read_tp here.
7716         (shared-only-routines): Add libc-aeabi_read_tp here.
7717         (CFLAGS-libc-start.c): Add -fexceptions here.
7718         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7719         (sysdep_routines, static-only-routines, shared-only-routines):
7720         Don't add to these here.
7721         (CFLAGS-libc-start.c): Likewise.
7722
7723         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7724         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7725         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7726         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7727         * sysdeps/arm/Makefile [$(subdir) = rt]
7728         (librt-sysdep_routines, librt-shared-only-routines):
7729         Append rt-aeabi_unwind_cpp_pr1 here.
7730         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7731         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7732         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7733         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7734         Append nptl-aeabi_unwind_cpp_pr1 here.
7735         (tests): Filter out tst-cleanupx4 here.
7736         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7737         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7738         Don't do those here.
7739
7740 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7741
7742         * scripts/list-sources.sh: Do not handle ports specially.
7743
7744 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7745
7746         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7747         * sysdeps/arm/feupdateenv.c: Likewise.
7748
7749         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7750
7751 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7752
7753         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7754         trailing whitespace removed.
7755         * scripts/config.guess: Update to version 2014-03-23.
7756         * scripts/config.sub: Update to version 2014-05-01
7757         * scripts/install-sh: Update to version 2013-12-25.23.
7758         * scripts/move-if-change: Update from gnulib.
7759
7760 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7761
7762         * debug/memmove_chk.c: Remove pagecopy.h include.
7763
7764 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7765
7766         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7767         identical to gnulib mktime.
7768
7769 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7770
7771         * configure.ac: Do not test for machine being rs6000.  Do not test
7772         for powerpc*-*soft.
7773         * configure: Regenerated.
7774
7775         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7776         test.
7777         * configure: Regenerated.
7778         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7779         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7780         Remove configure test.
7781         * sysdeps/arm/configure: Regenerated.
7782         * sysdeps/nptl/configure.ac: Do not check
7783         libc_cv_asm_cfi_directives.
7784         * sysdeps/nptl/configure: Regenerated.
7785         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7786         * sysdeps/x86_64/nptl/configure: Remove generated file.
7787         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7788         unconditional.
7789         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7790
7791 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7792
7793         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7794         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7795         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7796         it is defined.
7797
7798         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7799         instead of whether it is defined.
7800         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7801         * sysdeps/hppa/dl-machine.h: Likewise.
7802         * sysdeps/ia64/dl-machine.h: Likewise.
7803         * sysdeps/m68k/dl-machine.h: Likewise.
7804         * sysdeps/microblaze/dl-machine.h: Likewise.
7805         * sysdeps/mips/dl-machine.: Likewise.
7806         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7807         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7808         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7809         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7810         * sysdeps/sh/dl-machine.h: Likewise.
7811         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7812         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7813         * sysdeps/tile/dl-machine.h: Likewise.
7814         * sysdeps/x86_64/dl-machine.h: Likewise.
7815
7816         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7817         code.
7818         (verify_persistent_db): Likewise.
7819
7820 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7821
7822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7823         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7825         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7827         Moved ...
7828         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7829         ... here.
7830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7831         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7833         Identical file removed.
7834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7835         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7837         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7839         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7841         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7843         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7845         Moved ...
7846         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7848         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7850         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7852         Moved ...
7853         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7855         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7857         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7859         Identical file removed.
7860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7861         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7863         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7865         Moved ...
7866         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7867         ... here.
7868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7869         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7873         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7875         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7877         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7879         Moved ...
7880         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7882         Moved ...
7883         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7885         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7887         Moved ...
7888         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7890         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7891
7892         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7893         folded into ...
7894         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7895         * sysdeps/unix/sysv/linux/s390/Versions
7896         (libpthread: GLIBC_2.19): New version set.
7897         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7898         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7899         (librt: GLIBC_2.3.3): New version set.
7900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7902         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7903         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7904         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7905         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7906         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7907         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7908         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7909         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7910         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7911         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7912         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7913         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7914         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7916         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7917         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7918         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7919         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7920         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7921         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7922         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7923         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7924         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7925         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7926         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7928         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7930         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7931         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7932         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7934         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7936         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7938         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7940         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7942         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7944         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7945
7946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7947         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7948         (__libc_vfork): Define the function under this name.
7949         [!NOT_IN_libc] (__vfork): Make this an alias.
7950         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7952         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7953         (__libc_vfork): Define the function under this name.
7954         [!NOT_IN_libc] (__vfork): Make this an alias.
7955         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7956         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7957         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7960         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7961
7962         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7963         code that was previously under [RESET_PID].
7964         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7965         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7967
7968         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7969         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7970         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7971         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7972         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7973         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7974         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7975         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7976         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7977         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7978         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7979         Moved ...
7980         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7981         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7982         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7983         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7984         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7985         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7986         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7987         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7988         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7989         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7990         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7991         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7992         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7993         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7994         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7995         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7996         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7997         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7998         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7999         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8000         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8001         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8002         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8003         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8004         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8005         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8006         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8007         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8008         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8009
8010 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8011
8012         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8013         that was previously under [RESET_PID].
8014         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8015
8016 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8017
8018         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8019         not undefine and redefine.
8020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8021         [O_CLOEXEC]: Make code unconditional.
8022         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8023         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8024         <kernel-features.h>.
8025         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8026         conditional variable definition.
8027         (shm_open) [O_CLOEXEC]: Make code unconditional.
8028         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8029         code.
8030
8031         * configure.ac (USE_REGPARMS): Don't define here.
8032         * configure: Regenerated.
8033         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8034         * sysdeps/i386/configure: Regenerated.
8035
8036         * nptl/createthread.c: Don't include kernel-features.h.
8037         * nptl/pthread_cancel.c: Likewise.
8038         * nptl/pthread_condattr_setclock.c: Likewise.
8039         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8040         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8041         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8042         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8043         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8044         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8045         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8048         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8049         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8050         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8051         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8052         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8053         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8054         * nscd/gai.c: Likewise.
8055         * nss/nss_db/db-open.c: Likewise.
8056         * sysdeps/generic/ldsodefs.h: Likewise.
8057         * sysdeps/sh/nptl/tls.h: Likewise.
8058         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8059         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8060         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8061         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8062         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8063         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8064         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8065         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8066         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8067         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8068         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8069         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8070         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8071         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8072         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8073         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8074         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8075         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8076         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8077         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8080         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8081         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8082         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8084         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8086         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8087         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8088         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8089         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8090         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8091         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8092         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8093         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8094         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8095         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8096         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8097         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8098         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8099         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8100         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8101         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8102         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8103         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8104         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8105         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8106         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8107         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8110         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8111         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8112         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8113         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8114         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8138         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8139         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8140         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8141         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8142         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8143         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8144         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8145         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8146         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8147         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8148         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8149         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8150         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8151         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8152         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8153         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8154         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8155         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8156         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8157         * sysdeps/unix/sysv/linux/system.c: Likewise.
8158         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8159         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8160         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8161         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8162         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8163         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8164         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8165
8166         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8167         * configure: Regenerated.
8168         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8169
8170         * configure.ac (base_machine): Do not set specially for particular
8171         machines here.
8172         * configure: Regenerated.
8173         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8174         settings from configure.ac.
8175         * sysdeps/i386/preconfigure: New file.
8176         * sysdeps/s390/preconfigure: Likewise.
8177         * sysdeps/sh/preconfigure: Likewise.
8178         * sysdeps/sparc/preconfigure: Likewise.
8179
8180 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8181
8182         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8183         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8184         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8185         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8186         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8187         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8188         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8189         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8190         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8191         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8192         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8193         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8194         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8195         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8196         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8197         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8198         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8199         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8200         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8201
8202         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8203         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8204         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8205         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8206         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8207         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8208         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8209         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8210         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8211         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8212         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8213         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8214         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8215         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8216         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8217         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8218         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8219         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8220         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8221         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8223         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8224         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8225         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8226         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8227         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8228         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8229         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8230         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8231         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8232         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8233         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8234         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8235         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8236         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8237         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8238         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8239         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8240
8241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8242         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8244         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8246         Moved ...
8247         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8248         ... here.
8249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8250         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8252         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8254         Moved ...
8255         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8257         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8259         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8261         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8263         Moved ...
8264         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8266         Moved ...
8267         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8269         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8274         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8276         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8278         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8280         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8282         Moved ...
8283         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8284         ... here.
8285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8286         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8288         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8290         Moved ...
8291         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8293         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8297         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8299         Moved ...
8300         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8302         Moved ...
8303         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8307         Moved ...
8308         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8310         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8312         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8313
8314 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8315
8316         * timezone/checktab.awk: Update from tzcode 2014e.
8317         * timezone/private.h: Likewise.
8318         * timezone/tzfile.h: Likewise.
8319         * timezone/zdump.c: Likewise.
8320         * timezone/zic.c: Likewise.
8321
8322         * sysdeps/unix/sysv/linux/kernel-features.h
8323         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8324         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8325         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8326         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8327         Remove conditional code.
8328
8329 2014-06-25  Will Newton  <will.newton@linaro.org>
8330
8331         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8332         (_dl_arm_cap_flags): Add HWCAP2 values.
8333         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8334         (_DL_HWCAP_COUNT): Increase to 37.
8335         (_DL_HWCAP_LAST): New define.
8336         (_DL_HWCAP2_LAST): New define.
8337         (_dl_procinfo): Add support for printing
8338         AT_HWCAP2 entries.
8339         (_dl_string_hwcap): Use _dl_hwcap_string.
8340
8341 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8342
8343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8344
8345 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8346
8347         * README: Do not mention ports directory.
8348
8349         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8350         Remove macro.
8351         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8352         <kernel-features.h>.
8353         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8354         conditional variable definition.
8355         (__futimes): Update comment.
8356         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8357         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8358
8359         [BZ #16560]
8360         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8361         arguments close to 0.
8362         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8363         Likewise.
8364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8365         Likewise.
8366         * math/auto-libm-test-in: Add more tests of exp10.
8367         * math/auto-libm-test-out: Regenerated.
8368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8369
8370         * sysdeps/unix/sysv/linux/kernel-features.h
8371         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8372         * sysdeps/unix/sysv/linux/readv.c: Do not include
8373         <kernel-features.h>.
8374         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8375         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8376         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8377         unconditional.
8378         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8379         conditional code.
8380         * sysdeps/unix/sysv/linux/writev.c: Do not include
8381         <kernel-features.h>.
8382         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8383         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8384         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8385         unconditional.
8386         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8387         conditional code.
8388
8389 2014-06-25  Will Newton  <will.newton@linaro.org>
8390
8391         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8392         comment changes throughout the file.  Remove checks
8393         for HAVE_*_H definitions that are not required.
8394         (__gen_tempname): Call abort if an unknown kind value is
8395         passed.
8396
8397 2014-06-25  Andreas Schwab  <schwab@suse.de>
8398
8399         [BZ #17086]
8400         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8401         scalbln, scalblnf, scalblnl in libc.
8402
8403 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8404
8405         [BZ #17086]
8406         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8407         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8408         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8409
8410 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8411
8412         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8413         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8414         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8415         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8416         Update #include.
8417         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8418         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8419         Update #include.
8420         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8422         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8423         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8424         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8425         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8426         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8427         * sysdeps/x86/bits/semaphore.h: ... here.
8428         * sysdeps/x86/nptl/elide.h: Moved ...
8429         * sysdeps/x86/elide.h: ... here.
8430         * sysdeps/x86_64/nptl/Implies: File removed.
8431         * sysdeps/i386/nptl/Implies: File removed.
8432
8433 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8434
8435         [BZ #16539]
8436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8437         return the argument for normal arguments with exponent below -64.
8438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8439         Likewise.
8440         * math/auto-libm-test-in: Add another test of expm1.
8441         * math/auto-libm-test-out: Regenerated.
8442
8443         [BZ #16287]
8444         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8445         calling __erfcl for arguments at least 16.
8446         * math/auto-libm-test-in: Add more tests of erf.
8447         * math/auto-libm-test-out: Regenerated.
8448
8449         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8450         individual architectures.
8451         * sysdeps/unix/sysv/linux/configure: Regenerated.
8452         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8453         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8454         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8455         (ldd_rewrite_script): Define variable.
8456         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8458         file.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8460         generated file.
8461         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8462         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8463         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8464         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8465         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8466         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8467         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8468         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8469
8470 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8471
8472         [BZ #17084]
8473         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8474         Rename member __data.d to __data.__elision_data.
8475
8476 2014-06-24  Wilco  <wdijkstr@arm.com>
8477
8478         * NEWS: Add 16918 to fixed bug list.
8479
8480 2014-06-24  Wilco  <wdijkstr@arm.com>
8481
8482         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8483
8484 2014-06-24  Wilco  <wdijkstr@arm.com>
8485
8486         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8487         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8488         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8489         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8490         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8491         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8492         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8493         Use _FPU_MASK_RM.
8494
8495 2014-06-24  Wilco  <wdijkstr@arm.com>
8496
8497         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8498
8499 2014-06-24  Wilco  <wdijkstr@arm.com>
8500
8501         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8502         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8503         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8504         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8505
8506 2014-06-24  Wilco  <wdijkstr@arm.com>
8507
8508         [BZ #16918]
8509         * sysdeps/arm/feupdateenv.c (feupdateenv):
8510         Rewrite to reduce FPSCR accesses and fix return value.
8511
8512 2014-06-24  Wilco  <wdijkstr@arm.com>
8513
8514         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8515         Optimize to avoid unnecessary FPSCR writes.
8516         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8517         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8518         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8519         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8520
8521 2014-06-24  Wilco  <wdijkstr@arm.com>
8522
8523         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8524         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8525         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8526         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8527         Call libc_fetestexcept_vfp.
8528         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8529         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8530         __SOFTFP__ ifdef so that they can be built for softfp.
8531
8532 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8533
8534         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8535         argument type signed char.
8536
8537         * Makerules (check-abi): Dump diff of symlist if the test
8538         fails.
8539
8540 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8541
8542         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8543         using abort.
8544
8545         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8546         Remove unused variable ST.
8547
8548 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8549
8550         [BZ #16354]
8551         [BZ #17061]
8552         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8553         small arguments before calling __expm1.
8554         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8555         small arguments before calling __expm1f.
8556         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8557         small arguments before calling __expm1l.
8558         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8559         Likewise.
8560         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8561         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8562         spurious underflow for some cosh tests.
8563         * math/auto-libm-test-out: Regenerated.
8564         * sysdeps/i386/fpu/libm-test-ulps: Update.
8565
8566         [BZ #17050]
8567         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8568         (__ieee754_y1): Set errno if return value overflows.
8569         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8570         (__ieee754_y1f): Set errno if return value overflows.
8571         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8572         (__ieee754_y1l): Set errno if return value overflows.
8573         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8574         (__ieee754_y1l): Set errno if return value overflows.
8575         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8576         * math/auto-libm-test-out: Regenerated.
8577
8578         * math/gen-auto-libm-tests.c: Document use of
8579         ignore-zero-inf-sign.
8580         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8581         (input_flags): Add ignore-zero-inf-sign.
8582         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8583         * math/gen-libm-test.pl (generate_testfile): Handle
8584         ignore-zero-inf-sign.
8585         * math/auto-libm-test-in: Mark some cpow tests with
8586         ignore-zero-inf-sign and some with xfail-rounding.
8587         * math/auto-libm-test-out: Regenerated.
8588         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8589         * sysdeps/i386/fpu/libm-test-ulps: Update.
8590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8591
8592         [BZ #16315]
8593         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8594         overflowing or underflowing operations take place with sign of
8595         result.
8596         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8597         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8598         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8599         (__ieee754_pow): Recompute overflowing and underflowing results in
8600         original rounding mode.
8601         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8602         (__powl_helper): Allow negative argument X and scale negated value
8603         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8604         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8605         overflowing or underflowing operations take place with sign of
8606         result.
8607         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8608         Include <math.h>.
8609         * math/auto-libm-test-in: Add more tests of pow.
8610         * math/auto-libm-test-out: Regenerated.
8611         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8612         (pow_tonearest_test_data): Remove.
8613         (pow_test_tonearest): Likewise.
8614         (pow_towardzero_test_data): Likewise.
8615         (pow_test_towardzero): Likewise.
8616         (pow_downward_test_data): Likewise.
8617         (pow_test_downward): Likewise.
8618         (pow_upward_test_data): Likewise.
8619         (pow_test_upward): Likewise.
8620         (main): Don't call removed functions.
8621         * sysdeps/i386/fpu/libm-test-ulps: Update.
8622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623
8624 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8625
8626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8627         Moved ...
8628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8630         Moved ...
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8633         Moved ...
8634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8636         Moved ...
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8639         File removed.
8640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8641         File removed.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8643         File removed.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8645         File removed.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8647         File removed.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8649         File removed.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8651         File removed.
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8653         File removed.
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8655         File removed.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8657         File removed.
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8659         File removed.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8661         File removed.
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8663         Moved ...
8664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8666         Moved ...
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8668         ... here.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8670         Moved ...
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8673         Moved ...
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8676         Moved ...
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8679         Moved ...
8680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8685         Moved ...
8686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8688         Moved ...
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8692         ... here.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8694         Moved ...
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8697         Moved ...
8698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8699         ... here.
8700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8701         Moved ...
8702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8703         ... here.
8704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8705         Moved ...
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8707         ... here.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8709         Moved ...
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8712         Moved ...
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8717         Moved ...
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8719         ... here.
8720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8721         Moved ...
8722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8723         ... here.
8724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8728         Moved ...
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8731         Moved ...
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8734         Moved ...
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8737         Moved ...
8738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8739         ... here.
8740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8741         Moved ...
8742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8744         Moved ...
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8747         Moved ...
8748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8750         Moved ...
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8755         Moved ...
8756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8758         Moved ...
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8761         Moved ...
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8763         ... here.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8765         Moved ...
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8767         ... here.
8768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8769         Moved ...
8770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8771         ... here.
8772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8773         Moved ...
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8776         Moved ...
8777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8782         Moved ...
8783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8784         ... here.
8785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8786         Moved ...
8787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8788         ... here.
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8790         Moved ...
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8792         ... here.
8793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8794         Moved ...
8795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8797         Moved ...
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8799
8800 2014-06-23  Will Newton  <will.newton@linaro.org>
8801             Wilco  <wdijkstr@arm.com>
8802
8803         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8804         implementation.  Include get-rounding-mode.h.
8805         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8806         [!libc_feholdsetround_noex_ctx]: Define
8807         libc_feholdsetround_noex_ctx.
8808         [!libc_feholdsetround_noexf_ctx]: Define
8809         libc_feholdsetround_noexf_ctx.
8810         [!libc_feholdsetround_noexl_ctx]: Define
8811         libc_feholdsetround_noexl_ctx.
8812         (libc_feholdsetround_ctx): New function.
8813         (libc_feresetround_ctx): New function.
8814         (libc_feholdsetround_noex_ctx): New function.
8815         (libc_feresetround_noex_ctx): New function.
8816
8817 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8818
8819         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8820         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8821         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8822         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8823         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8824         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8825
8826         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8827         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8828         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8829         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8830         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8831         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8833         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8835         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8837         Moved ...
8838         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8839         ... here.
8840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8841         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8845         Moved ...
8846         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8848         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8854         Moved ...
8855         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8857         Moved ...
8858         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8860         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8862         Moved ...
8863         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8865         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8866         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8867         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8868         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8869         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8871         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8873         Moved ...
8874         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8875         ... here.
8876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8877         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8889         Moved ...
8890         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8892         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8894         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8896         Moved ...
8897         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8901         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8902
8903         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8904         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8905         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8906         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8907         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8908         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8909         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8910         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8912         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8914         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8915         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8916         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8917         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8918         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8919         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8920         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8931
8932 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8933
8934         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8935         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8936         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8937         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8938         (IPV6_PMTUDISC_INTERFACE): Likewise.
8939         (IPV6_PMTUDISC_OMIT): Likewise.
8940
8941 2014-06-23  Andreas Schwab  <schwab@suse.de>
8942
8943         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8944         Remove unused errout label.
8945
8946 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8947
8948         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8949         macro: hardware supports Vector Crypto instructions.
8950
8951 2014-06-23  Will Newton  <will.newton@linaro.org>
8952
8953         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8954         rather than __builtin_expect.
8955
8956         * elf/dl-lookup.c (undefined_msg): Remove variable.
8957         (_dl_lookup_symbol_x): Replace undefined_msg with string
8958         literal.
8959
8960         * elf/dl-lookup.c (do_lookup_unique): New function.
8961         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8962         to a separate function.
8963
8964 2014-06-23  Andreas Schwab  <schwab@suse.de>
8965
8966         [BZ #17079]
8967         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8968         before reading the next line.
8969
8970 2014-06-23  Will Newton  <will.newton@linaro.org>
8971
8972         * test-skeleton.c (signal_handler): Use printf and %m
8973         rather than perror.  Use printf rather than fprintf to
8974         stderr.  Use puts rather than fputs to stderr.
8975         (main): Likewise.
8976
8977 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8978
8979         * nscd/nscd.c (thread_info_t): Remove typedef.
8980         (thread_info): Remove variable.
8981
8982 2014-06-21  Allan McRae  <allan@archlinux.org>
8983
8984         * NEWS: Mention CVE-2014-4043.
8985
8986 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8987
8988         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8989         * nptl/smp.h: ... here.
8990
8991         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8992
8993         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8994         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8995         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8996         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8997
8998         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8999         * nptl/stack-aliasing.h: New file.
9000         * sysdeps/i386/i686/stack-aliasing.h: New file.
9001         * sysdeps/i386/i686/nptl/Makefile: File removed.
9002         * sysdeps/x86_64/stack-aliasing.h: New file.
9003         * sysdeps/x86_64/nptl/Makefile
9004         (CFLAGS-pthread_create.c): Variable removed.
9005
9006         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9007         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9008         old file.
9009         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9010         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9011         old file.
9012
9013 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9014
9015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9016         (__ASSUME_SIGFRAME_V2): Remove macro.
9017         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9018         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9019         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9020         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9021         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9022         Declare as function.  Remove conditional macro definitions.
9023         (__default_rt_sa_restorer): Likewise.
9024         (__default_sa_restorer_v1): Remove declaration.
9025         (__default_sa_restorer_v2): Likewise.
9026         (__default_rt_sa_restorer_v1): Likewise.
9027         (__default_rt_sa_restorer_v2): Likewise.
9028         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9029         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9030         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9031
9032 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9033
9034         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9035         (libpthread-routines): Add sysdep.
9036         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9037         * sysdeps/unix/sysv/linux/sparc/Versions
9038         (libpthread: GLIBC_2.3.3): New version set.
9039         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9040         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9041         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9042         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9043         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9044         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9045         Moved ...
9046         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9047         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9048         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9049         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9050         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9052         * sysdeps/sparc/nptl/sem_init.c: ... here.
9053         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9054         * sysdeps/sparc/nptl/sem_post.c: ... here.
9055         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9056         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9057         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9058         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9059         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9060         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9061         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9062         (libpthread-routines): Add cpu_relax.
9063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9064         File removed.
9065         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9066         (librt: GLIBC_2.3.3): New version set.
9067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9068         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9069         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9070         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9073         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9075         Moved ...
9076         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9078         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9080         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9082         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9084         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9086         Moved ...
9087         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9088         Update #include.
9089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9090         Moved ...
9091         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9092         Update #include.
9093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9094         Moved ...
9095         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9096         Update #include.
9097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9098         Moved ...
9099         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9100         Update #include.
9101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9102         Moved ...
9103         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9104         Update #include.
9105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9106         Moved ...
9107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9108         Update #include.
9109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9110         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9116         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9118         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9120         Moved ...
9121         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9123         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9125         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9126
9127 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9128
9129         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9130         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9131         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9132         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9133         * nscd/nscd.c: Likewise.
9134         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9135         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9136         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9137         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9138
9139         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9140         <kernel-features.h>.
9141         (init_mq_netlink): Remove conditional have_sock_cloexec
9142         definitions.  Remove code conditional on have_sock_cloexec < 0.
9143         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9144         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9145         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9146         <kernel-features.h>.
9147         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9148         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9149
9150 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9151
9152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9153         Add tests for memset_chk and memset.
9154
9155         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9156         with AVX2_Usable.
9157
9158 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9159
9160         [BZ #16046]
9161         * elf/tst-dl-iter-static.c: New file.
9162         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9163
9164         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9165         error.
9166
9167 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9168
9169         * sysdeps/unix/sysv/linux/kernel-features.h
9170         (__ASSUME_F_GETOWN_EX): Remove macro.
9171         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9172         <kernel-features.h>.
9173         (miss_F_GETOWN_EX): Remove variable or macro.
9174         (do_fcntl): Do not check miss_F_GETOWN_EX.
9175         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9176
9177         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9178         Remove macro.
9179         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9180         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9181         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9182
9183         * sysdeps/unix/sysv/linux/kernel-features.h
9184         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9185         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9186         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9187         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9188
9189 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9190
9191         [BZ #17075]
9192         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9193         Fix calculation of the symbol's value.
9194         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9195         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9196         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9197         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9198         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9199         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9200         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9201         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9202         (modules-names): Add `tst-armtlsdescmod',
9203         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9204         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9205         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9206         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9207         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9208         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9209         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9210         ($(objpfx)tst-armtlsdescloc): New dependency.
9211         ($(objpfx)tst-armtlsdescextnow): Likewise.
9212         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9213         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9214         TLS scheme support.
9215         * sysdeps/arm/configure: Regenerate.
9216
9217 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9218
9219         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9220         (__atfct_seterrno_2): Likewise.
9221         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9222         <kernel-features.h>.
9223         (__ASSUME_ATFCTS): Do not undefine and redefine.
9224         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9225         (__have_atfcts): Remove conditional definition.
9226         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9227         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9228         unreachable if [__ASSUME_ATFCTS].
9229         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9230         not undefine and redefine.
9231         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9232         <kernel-features.h>.
9233         (faccessat) [__NR_faccessat]: Make code unconditional.
9234         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9235         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9236         <kernel-features.h>.
9237         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9238         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9239         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9240         <kernel-features.h>.
9241         (fchownat) [__NR_fchownat]: Make code unconditional.
9242         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9243         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9244         <kernel-features.h>.
9245         (futimesat) [__NR_futimesat]: Make code unconditional.
9246         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9247         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9248         <kernel-features.h>.
9249         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9250         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9251         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9252         <kernel-features.h>.
9253         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9254         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9255         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9256         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9257         <kernel-features.h>.
9258         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9259         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9260         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9261         <kernel-features.h>.
9262         (linkat) [__NR_linkat]: Make code unconditional.
9263         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9264         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9265         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9266         <kernel-features.h>.
9267         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9268         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9269         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9270         <kernel-features.h>.
9271         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9272         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9273         * sysdeps/unix/sysv/linux/openat.c: Do not include
9274         <kernel-features.h>.
9275         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9276         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9277         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9278         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9279         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9280         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9281         <kernel-features.h>.
9282         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9283         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9284         result of INLINE_SYSCALL directly, not via int variable.
9285         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9286         <kernel-features.h>.
9287         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9288         (renameat) [__NR_renameat]: Make code unconditional.
9289         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9290         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9291         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9292         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9293         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9294         (__ASSUME_ATFCTS): Do not undefine and redefine.
9295         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9296         <kernel-features.h>.
9297         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9298         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9299         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9300         <kernel-features.h>.
9301         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9302         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9303         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9304         (__ASSUME_ATFCTS): Do not undefine and redefine.
9305         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9306         <kernel-features.h>.
9307         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9308         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9309         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9310         <kernel-features.h>.
9311         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9312         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9313
9314 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9315
9316         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9317
9318 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9319
9320         [BZ #17069]
9321         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9322         constructed tree before returning error.
9323         * posix/bug-regexp36.c: Expand test case.
9324
9325 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9326
9327         [BZ #6803]
9328         * math/libm-test.inc (scalbln_test_date):
9329         Add errno expectations.
9330         * math/w_scalblnf.c: New File.
9331         Add wrapper which checks for setting errno to ERANGE.
9332         Add weak_alias for corresponding scalbln function.
9333         * math/w_scalbln.c: Likewise.
9334         * math/w_scalblnl.c: Likewise.
9335         * math/Makefile (libm-calls): Add w_scalbln.
9336         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9337         Remove weak_alias for corresponding scalbln function.
9338         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9340         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9341         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9342         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9343         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9344         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9345         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9346         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9347         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9348         Remove long_double_symbol for scalblnl function in libm, libc.
9349         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9350         Add wrapper which checks for setting errno to ERANGE.
9351         Add long_double_symbol for scalblnl function in libm, libc.
9352         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9353         Remove long_double_symbol for scalblnl in libm.
9354         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9355         Add wrapper which checks for setting errno to ERANGE.
9356         Add long_double_symbol for scalblnl function in libm.
9357         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9358         Do not use wrapper because of own implementation.
9359
9360 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9361
9362         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9363         3 bytes for __pad1 for x32.
9364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9365
9366 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9367             H.J. Lu  <hongjiu.lu@intel.com>
9368
9369         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9370         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9371         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9372         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9373         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9374
9375 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9376
9377         [BZ #17069]
9378         * posix/regcomp.c (parse_expression): Deallocate partially
9379         constructed tree before returning error.
9380         * posix/Makefile.c (tests): Add bug-regex36.
9381         (generated): Add bug-regex36.mtrace.
9382         (tests-special): Add $(objpfx)bug-regex36-mem.out
9383         (bug-regex36-ENV): New variable.
9384         ($(objpfx)bug-regex36-mem.out): New rule.
9385         * posix/bug-regex36.c: New file.
9386
9387 2014-06-19  Will Newton  <will.newton@linaro.org>
9388
9389         * malloc/malloc.c (systrim): If extra is zero then return
9390         early.
9391
9392 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9393
9394         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9395
9396 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9397
9398         * sysdeps/aarch64/strchr.S: New file.
9399
9400 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9401
9402         [BZ #17022]
9403         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9404         from arguments -2 or below.
9405         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9406         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9407
9408 2014-06-18  Andreas Schwab  <schwab@suse.de>
9409
9410         [BZ #17062]
9411         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9412         of a bracket expr not to run off the end of the string.
9413         * posix/Makefile (tests): Add tst-fnmatch3.
9414         * posix/tst-fnmatch3.c: New file.
9415
9416 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9417
9418         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9419         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9420         [$(cross-compiling) = no]: Likewise.
9421         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9422         [$(cross-compiling) = no]: Likewise.
9423
9424 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9425
9426         [BZ #17031]
9427         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9428         double, adjusted for any remainder from the high double.
9429         * math/libm-test.inc (nearbyint): Add tests.
9430         (rint): Likewise.
9431
9432 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9433
9434         * nptl/sysdeps/powerpc/Makefile: Moved ...
9435         * sysdeps/powerpc/nptl/Makefile: ... here.
9436         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9437         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9438         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9439         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9440         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9441         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9442         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9443         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9444         * nptl/sysdeps/powerpc/tls.h: Moved ...
9445         * sysdeps/powerpc/nptl/tls.h: ... here.
9446
9447 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9448
9449         [BZ #16681]
9450         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9451         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9452         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9453         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9454         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9455         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9456         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9457         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9458         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9459
9460 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9461
9462         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9463
9464 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9465
9466         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9467         defined operator.
9468
9469         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9470         $TIMEOUTFACTOR.
9471
9472 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9473
9474         [BZ #17058]
9475         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9476         non-executed part of the test.
9477
9478 2014-06-16  Andreas Schwab  <schwab@suse.de>
9479
9480         * string/bits/string2.h (strdup, strndup): Update feature guard.
9481
9482 2014-06-14  David S. Miller  <davem@davemloft.net>
9483
9484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9485
9486 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9487
9488         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9489         that was previously under [RESET_PID].
9490         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9491
9492         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9493         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9494         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9495         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9496         (__libc_vfork): New strong alias.
9497         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9498
9499 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9500
9501         * sysdeps/generic/elide.h: New file.
9502
9503 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9504
9505         * Makefile (installed-headers): Adjust path of pthread.h header.
9506
9507 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9508
9509         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9510         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9511         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9512         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9513
9514         * nptl/sysdeps/s390/Makefile: Moved ...
9515         * sysdeps/s390/nptl/Makefile: ... here.
9516         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9517         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9518         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9519         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9520         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9521         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9522         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9523         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9524         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9525         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9526         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9527         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9528         * nptl/sysdeps/s390/tls.h: Moved ...
9529         * sysdeps/s390/nptl/tls.h: ... here.
9530
9531         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9532         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9533
9534 2014-06-13  David S. Miller  <davem@davemloft.net>
9535
9536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9539         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9543         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9544         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9545         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9546         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9547         Remove RESET_PID cpp guards.
9548         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9549         Remove RESET_PID cpp guards.
9550         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9551
9552 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9553
9554         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9555         __sp to uintptr_t.
9556
9557 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9558
9559         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9560         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9564         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9565         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9569         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9571         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9573         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9579
9580         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9581         (pthread_rwlock_rdlock): Add elision.
9582         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9583         (pthread_rwlock_wrlock): Add elision.
9584         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9585         (pthread_rwlock_trywrlock): Add elision.
9586         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9587         (pthread_rwlock_tryrdlock): Add elision.
9588         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9589         (pthread_rwlock_tryrdlock): Add elision unlock.
9590         * nptl/sysdeps/pthread/pthread.h:
9591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9592         (PTHREAD_RWLOCK_INITIALIZER,
9593         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9594         Handle new elision field.
9595         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9596         * sysdeps/arm/nptl/bits/pthreadtypes.h
9597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9598         * sysdeps/sh/nptl/bits/pthreadtypes.h
9599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9600         * sysdeps/tile/nptl/bits/pthreadtypes.h
9601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9602         * sysdeps/a/nptl/bits/pthreadtypes.h
9603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9604         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9606         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9608         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9610         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9612         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9614         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9616         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9618         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9620         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9621         (elision_init): Set try_xbegin to zero when no RTM.
9622         * sysdeps/x86/nptl/bits/pthreadtypes.h
9623         (pthread_rwlock_t): Change __pad1 to __rwelision.
9624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9625
9626 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9627
9628         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9629         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9630         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9631         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9632
9633 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9634
9635         [BZ #16996]
9636         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9637         that the cached result has been set before returning it.
9638
9639 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9640
9641         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9642         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9643         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9644         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9645         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9646         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9647
9648         * nptl/sysdeps/sparc/Makefile: Moved ...
9649         * sysdeps/sparc/nptl/Makefile: ... here.
9650         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9651         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9652         * nptl/sysdeps/sparc/tls.h: Moved ...
9653         * sysdeps/sparc/nptl/tls.h: ... here.
9654         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9655         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9656         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9657         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9658         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9659         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9660         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9661         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9662         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9663         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9664         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9665         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9666         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9667         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9668         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9669         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9670         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9672         Update #include.
9673         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9675         Update #include.
9676         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9678         Update #include.
9679         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9680         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9681         Update #include.
9682
9683         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9684
9685         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9686         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9687
9688         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9689         (struct list_links): Type removed.
9690         (struct thread_node, struct timer_node): Replace struct list_links
9691         with struct list_head.
9692         (list_unlink_ip): Likewise.
9693         * sysdeps/pthread/timer_routines.c
9694         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9695         (list_append, list_insbefore): Likewise.
9696         (list_init): Function removed.
9697         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9698         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9699         * sysdeps/pthread/Makefile: ... here, new file.
9700
9701         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9702         * sysdeps/nptl/Implies: ... here.
9703         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9704         * nptl/sysdeps/pthread/list.h: Moved ...
9705         * include/list.h: ... here.
9706         * nptl/sysdeps/pthread/createthread.c: Moved ...
9707         * nptl/createthread.c: ... here.
9708         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9709         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9710         * nptl/pt-longjmp.c: ... here.
9711         * nptl/sysdeps/pthread/Makefile: Moved ...
9712         * sysdeps/nptl/Makefile: ... here.
9713         * nptl/sysdeps/pthread/Subdirs: Moved ...
9714         * sysdeps/nptl/Subdirs: ... here.
9715         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9716         * sysdeps/nptl/aio_misc.h: ... here.
9717         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9718         * sysdeps/nptl/bits/libc-lock.h: ... here.
9719         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9720         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9721         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9722         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9723         * nptl/sysdeps/pthread/configure: Moved ...
9724         * sysdeps/nptl/configure: ... here.
9725         * nptl/sysdeps/pthread/configure.ac: Moved ...
9726         * sysdeps/nptl/configure.ac: ... here.
9727         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9728         * sysdeps/nptl/gai_misc.h: ... here.
9729         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9730         * sysdeps/nptl/librt-cancellation.c: ... here.
9731         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9732         * sysdeps/nptl/malloc-machine.h: ... here.
9733         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9734         * sysdeps/nptl/pthread-functions.h: ... here.
9735         * nptl/sysdeps/pthread/pthread.h: Moved ...
9736         * sysdeps/nptl/pthread.h: ... here.
9737         * nptl/sysdeps/pthread/setxid.h: Moved ...
9738         * sysdeps/nptl/setxid.h: ... here.
9739         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9740         * sysdeps/nptl/sigfillset.c: ... here.
9741         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9742         * sysdeps/nptl/tcb-offsets.h: ... here.
9743         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9744         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9745         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9746         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9747         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9748         * sysdeps/pthread/allocalim.h: ... here.
9749         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9750         * sysdeps/pthread/bits/sigthread.h: ... here.
9751         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9752         * sysdeps/pthread/flockfile.c: ... here.
9753         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9754         * sysdeps/pthread/ftrylockfile.c: ... here.
9755         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9756         * sysdeps/pthread/funlockfile.c: ... here.
9757         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9758         * sysdeps/pthread/posix-timer.h: ... here.
9759         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9760         * sysdeps/pthread/timer_create.c: ... here.
9761         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9762         * sysdeps/pthread/timer_delete.c: ... here.
9763         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9764         * sysdeps/pthread/timer_getoverr.c: ... here.
9765         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9766         * sysdeps/pthread/timer_gettime.c: ... here.
9767         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9768         * sysdeps/pthread/timer_routines.c: ... here.
9769         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9770         * sysdeps/pthread/timer_settime.c: ... here.
9771         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9772         * sysdeps/pthread/tst-timer.c: ... here.
9773         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9774         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9775
9776         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9777         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9778
9779         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9780         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9781         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9782         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9783         Update #include target.
9784         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9785         * sysdeps/i386/i686/nptl/Makefile: ... here.
9786         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9787         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9788         Update #include target.
9789         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9790         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9791         * nptl/sysdeps/i386/Makefile: Moved ...
9792         * sysdeps/i386/nptl/Makefile: ... here.
9793         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9794         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9795         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9796         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9797         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9798         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9799         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9800         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9801         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9802         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9803         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9804         * nptl/sysdeps/i386/tls.h: Moved ...
9805         * sysdeps/i386/nptl/tls.h: ... here.
9806
9807         * sysdeps/sh/Makefile [$(subdir) = csu]
9808         (gen-as-const-headers): Add tcb-offsets.sym.
9809         * nptl/sysdeps/sh/Makefile: File removed.
9810         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9811         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9812         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9813         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9814         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9815         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9816         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9817         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9818         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9819         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9820         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9821         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9822         * nptl/sysdeps/sh/tls.h: Moved ...
9823         * sysdeps/sh/nptl/tls.h: ... here.
9824         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9825         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9826         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9827         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9828         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9829         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9830         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9831         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9832         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9833         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9835         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9837         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9839         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9841         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9843         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9845         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9847         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9848         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9849         Moved ...
9850         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9852         Moved ...
9853         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9858         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9859         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9860         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9861         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9862         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9863         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9864         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9865         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9866         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9867         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9868         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9869         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9870         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9871         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9872
9873 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9874
9875         * posix/spawn_faction_addopen.c: Include string.h.
9876
9877 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9878
9879         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9880         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9881         * nptl/sysdeps/x86_64/Makefile: Moved ...
9882         * sysdeps/x86_64/nptl/Makefile: ... here.
9883         * nptl/sysdeps/x86_64/configure: Moved ...
9884         * sysdeps/x86_64/nptl/configure: ... here.
9885         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9886         * sysdeps/x86_64/nptl/configure.ac: ... here.
9887         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9888         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9889         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9890         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9891         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9892         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9893         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9894         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9895         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9896         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9897         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9898         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9899         * nptl/sysdeps/x86_64/tls.h: Moved ...
9900         * sysdeps/x86_64/nptl/tls.h: ... here.
9901         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9902         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9903         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9904         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9905
9906         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9907
9908 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9909
9910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9911
9912 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9913
9914         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9915         type.
9916         [POSIX] (off_t): Likewise.
9917         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9918         [POSIX] (S_ISBLK): Require macro.
9919         [POSIX] (S_ISCHR): Likewise.
9920         [POSIX] (S_ISDIR): Likewise.
9921         [POSIX] (S_ISFIFO): Likewise.
9922         [POSIX] (S_ISREG): Likewise.
9923         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9924         optional-macro.
9925         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9926         type.
9927         [POSIX] (time_t): Likewise.
9928         [POSIX] (timer_t): Likewise.
9929
9930 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9931
9932         [BZ #17048]
9933         * posix/spawn_int.h (struct __spawn_action): Make the path string
9934         non-const to support deallocation.
9935         * posix/spawn_faction_addopen.c
9936         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9937         * posix/spawn_faction_destroy.c
9938         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9939         path in all spawn_do_open actions.
9940         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9941         posix_spawn_file_actions_addopen.
9942
9943 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9944
9945         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9946         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9947         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9948         conditional code always true.
9949         (__libc_vfork): New alias.
9950
9951 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9952
9953         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9954         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9955
9956         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9957
9958         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9959         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9960
9961         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9962         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9963
9964         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9965         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9966
9967 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9968
9969         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9970         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9971         multiarch strcmp for PPC64.
9972         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9973         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9975         multiarch optimizations.
9976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9977         (__libc_ifunc_impl_list): Likewise.
9978
9979 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9980
9981         * benchtests/scripts/validate_benchout.py: New script.
9982         * benchtests/Makefile (bench-func): Call it.
9983         * benchtests/scripts/benchout.schema.json: New file.
9984
9985 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9986
9987         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9988         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9989         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9990         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9991         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9992         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9993         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9994         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9995         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9996         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9997         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9998         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9999         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10000         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10001         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10002         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10004         Moved ...
10005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10006         ... here.
10007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10008         Moved ...
10009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10011         Moved ...
10012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10013         ... here.
10014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10015         Moved ...
10016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10017         ... here.
10018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10019         Moved ...
10020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10022         Moved ...
10023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10024         ... here.
10025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10026         Moved ...
10027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10028         ... here.
10029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10030         Moved ...
10031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10033         Moved ...
10034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10035         ... here.
10036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10037         Moved ...
10038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10039         ... here.
10040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10041         Moved ...
10042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10043         ... here.
10044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10045         Moved ...
10046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10048         Moved ...
10049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10050         ... here.
10051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10054         ... here.
10055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10056         Moved ...
10057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10058         ... here.
10059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10060         Moved ...
10061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10063         Moved ...
10064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10065         ... here.
10066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10067         Moved ...
10068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10069         ... here.
10070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10071         Moved ...
10072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10074         Moved ...
10075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10076         ... here.
10077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10078         Moved ...
10079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10081         Moved ...
10082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10084         Moved ...
10085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10086         ... here.
10087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10088         Moved ...
10089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10090         ... here.
10091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10092         Moved ...
10093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10094         ... here.
10095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10096         Moved ...
10097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10099         Moved ...
10100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10101         ... here.
10102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10103         Moved ...
10104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10105         ... here.
10106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10107         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10109         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10111         Moved ...
10112         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10113         ... here.
10114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10115         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10117         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10119         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10121         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10123         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10125         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10127         Moved ...
10128         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10130         Moved ...
10131         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10133         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10135         Moved ...
10136         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10138         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10140         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10141         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10142         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10143
10144 2014-06-10  Wilco  <wdijkstr@arm.com>
10145
10146         * math/test-fenv-return.c: New file.
10147         * math/Makefile: Add new test test-fenv-return.
10148
10149 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10150
10151         [BZ #17042]
10152         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10153         when x - 1 is zero.
10154         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10155         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10156         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10157         0.0L for an argument of 1.0L.
10158         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10159         Likewise.
10160         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10161         value when x - 1 is zero.
10162         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10163         * sysdeps/i386/fpu/libm-test-ulps: Update.
10164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
10166 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10167
10168         [BZ #15119]
10169         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10170
10171 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10172
10173         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10174         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10175
10176 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10177
10178         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10179         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10180
10181         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10182         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10183
10184         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10185         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10186
10187         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10188         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10189
10190         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10191         if not already defined.
10192         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10193         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10194         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10195         (TLS_INIT_TP): Use it.
10196         (TLS_DEFINE_INIT_TP): New macro.
10197         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10198
10199 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10200
10201         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10202         constant.
10203         [POSIX] (IXANY): Likewise.
10204         [POSIX] (OLCUC): Likewise.
10205         [POSIX || POSIX2008] (CBAUD): Do not allow.
10206         [POSIX || POSIX2008] (DEFECHO): Likewise.
10207         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10208         [POSIX || POSIX2008] (ECHOKE): Likewise.
10209         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10210         [POSIX || POSIX2008] (EXTA): Likewise.
10211         [POSIX || POSIX2008] (EXTB): Likewise.
10212         [POSIX || POSIX2008] (FLUSHO): Likewise.
10213         [POSIX || POSIX2008] (LOBLK): Likewise.
10214         [POSIX || POSIX2008] (PENDIN): Likewise.
10215         [POSIX || POSIX2008] (SWTCH): Likewise.
10216         [POSIX || POSIX2008] (VDISCARD): Likewise.
10217         [POSIX || POSIX2008] (VDSUSP): Likewise.
10218         [POSIX || POSIX2008] (VLNEXT): Likewise.
10219         [POSIX || POSIX2008] (VREPRINT): Likewise.
10220         [POSIX || POSIX2008] (VSTATUS): Likewise.
10221         [POSIX || POSIX2008] (VWERASE): Likewise.
10222         (B*): Change to B[0123456789]*.
10223         * conform/data/time.h-data [POSIX || UNIX98]
10224         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10225         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10226         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10227         [POSIX] (tm_*): Do not allow.
10228
10229 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10230
10231         * Makefile (install): Don't set LANGUAGE.
10232         * Makefile.in (install): Likewise.
10233         * assert/Makefile (test-assert-ENV): Remove variable.
10234         (test-assert-perr-ENV): Likewise.
10235         * elf/Makefile (neededtest4-ENV): Likewise.
10236         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10237         [$(cross-compiling) = no]: Don't set LANGUAGE.
10238         * io/ftwtest-sh (LANG): Remove variable.
10239         * libio/Makefile (tst-widetext-ENV): Likewise.
10240         * manual/install.texi (Running make install): Don't refer to
10241         environment settings for make install.
10242         * INSTALL: Regenerated.
10243         * nptl/tst-tls6.sh: Don't set LANG.
10244         * posix/globtest.sh (LANG): Remove variable.
10245         * string/Makefile (tester-ENV): Likewise.
10246         (inl-tester-ENV): Likewise.
10247         (noinl-tester-ENV): Likewise.
10248         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10249         [$(cross-compiling) = no]: Don't set LANGUAGE.
10250         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10251         without explicit environment settings.
10252
10253 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10254
10255         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10256         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10257         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10258         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10259
10260 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10261
10262         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10263         other files in the crypt directory.
10264         * crypt/crypt.c: Remove duplicate includes.
10265         * crypt/crypt-entry.c: Likewise.
10266         * crypt/crypt_util.c: Likewise.
10267
10268 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10269
10270         * Makeconfig (run-program-env): New variable.
10271         (run-program-prefix-before-env): Likewise.
10272         (run-program-prefix-after-env): Likewise.
10273         (run-program-prefix): Define in terms of new variables.
10274         (built-program-cmd-before-env): New variable.
10275         (built-program-cmd-after-env): Likewise.
10276         (built-program-cmd): Define in terms of new variables.
10277         (test-program-prefix-before-env): New variable.
10278         (test-program-prefix-after-env): Likewise.
10279         (test-program-prefix): Define in terms of new variables.
10280         (test-program-cmd-before-env): New variable.
10281         (test-program-cmd-after-env): Likewise.
10282         (test-program-cmd): Define in terms of new variables.
10283         * Rules (make-test-out): Use $(run-program-env).
10284         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10285         (help): Do not mention environment variables.  Mention
10286         --timeoutfactor option.
10287         (timeoutfactor): New variable.
10288         (blacklist_exports): Remove function.
10289         (exports): Remove variable.
10290         (command): Do not include ${exports}.
10291         * manual/install.texi (Configuring and compiling): Do not mention
10292         test wrappers preserving environment variables.  Mention that last
10293         assignment to a variable must take precedence.
10294         * INSTALL: Regenerated.
10295         * benchtests/Makefile (run-bench): Use $(run-program-env).
10296         * catgets/Makefile ($(objpfx)test1.cat): Use
10297         $(built-program-cmd-before-env), $(run-program-env) and
10298         $(built-program-cmd-after-env).
10299         ($(objpfx)test2.cat): Do not specify environment variables
10300         explicitly.
10301         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10302         $(run-program-env) and $(built-program-cmd-after-env).
10303         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10304         $(run-program-env) and $(test-program-cmd-after-env).
10305         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10306         explicitly.
10307         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10308         run_program_env and test_program_cmd_after_env arguments.
10309         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10310         * elf/tst-pathopt.sh: Use run_program_env argument.
10311         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10312         $(test-wrapper-env) and $(run-program-env).
10313         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10314         run_program_env arguments.
10315         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10316         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10317         $(test-program-prefix-before-env), $(run-program-env) and
10318         $(test-program-prefix-after-env).
10319         ($(objpfx)tst-gettext2.out): Likewise.
10320         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10321         run_program_env and test_program_prefix_after_env arguments.
10322         * intl/tst-gettext2.sh: Likewise.
10323         * intl/tst-gettext4.sh: Do not set environment variables
10324         explicitly.
10325         * intl/tst-gettext6.sh: Likewise.
10326         * intl/tst-translit.sh: Likewise.
10327         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10328         $(test-program-prefix-before-env), $(run-program-env) and
10329         $(test-program-prefix-after-env).
10330         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10331         run_program_env and test_program_prefix_after_env arguments.
10332         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10333         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10334         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10335         explicitly with each use of ${test_wrapper_env}.
10336         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10337         $(test-program-prefix-before-env), $(run-program-env) and
10338         $(test-program-prefix-after-env).
10339         * posix/tst-getconf.sh: Do not set environment variables
10340         explicitly.
10341         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10342         run_program_env and test_program_prefix_after_env arguments.
10343         * stdio-common/tst-printf.sh: Do not set environment variables
10344         explicitly.
10345         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10346         $(test-program-prefix-before-env), $(run-program-env) and
10347         $(test-program-prefix-after-env).
10348         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10349         run_program_env and test_program_prefix_after_env arguments.
10350         Split $test calls into $test_pre and $test.
10351         * timezone/Makefile (build-testdata): Use
10352         $(built-program-cmd-before-env), $(run-program-env) and
10353         $(built-program-cmd-after-env).
10354
10355 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10356
10357         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10358         strlen for non SHARED builds.
10359
10360 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10361
10362         * nptl/allocatestack.c (check_list): Inlined function...
10363         (__reclaim_stacks): ... here.
10364
10365 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10366
10367         [BZ #15698]
10368         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10369         memory overrun.
10370
10371 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10372
10373         * Rules (make-test-out): Include
10374         LOCPATH=$(common-objpfx)localedata in default environment.
10375         * debug/Makefile (tst-chk1-ENV): Remove variable.
10376         (tst-chk2-ENV): Likewise.
10377         (tst-chk3-ENV): Likewise.
10378         (tst-chk4-ENV): Likewise.
10379         (tst-chk5-ENV): Likewise.
10380         (tst-chk6-ENV): Likewise.
10381         (tst-lfschk1-ENV): Likewise.
10382         (tst-lfschk2-ENV): Likewise.
10383         (tst-lfschk3-ENV): Likewise.
10384         (tst-lfschk4-ENV): Likewise.
10385         (tst-lfschk5-ENV): Likewise.
10386         (tst-lfschk6-ENV): Likewise.
10387         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10388         (tst-iconv7-ENV): Likewise.
10389         * intl/Makefile (LOCPATH-ENV): Likewise.
10390         (tst-codeset-ENV): Likewise.
10391         (tst-gettext3-ENV): Likewise.
10392         (tst-gettext5-ENV): Likewise.
10393         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10394         (tst-fopenloc-ENV): Likewise.
10395         (tst-fgetws-ENV): Remove variable.
10396         (tst-ungetwc1-ENV): Likewise.
10397         (tst-ungetwc2-ENV): Likewise.
10398         (bug-ungetwc2-ENV): Likewise.
10399         (tst-swscanf-ENV): Likewise.
10400         (bug-ftell-ENV): Likewise.
10401         (tst-fgetwc-ENV): Likewise.
10402         (tst-fseek-ENV): Likewise.
10403         (tst-ftell-partial-wide-ENV): Likewise.
10404         (tst-ftell-active-handler-ENV): Likewise.
10405         (tst-ftell-append-ENV): Likewise.
10406         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10407         (tst-regexloc-ENV): Likewise.
10408         (bug-regex1-ENV): Likewise.
10409         (tst-regex-ENV): Likewise.
10410         (tst-regex2-ENV): Likewise.
10411         (bug-regex5-ENV): Likewise.
10412         (bug-regex6-ENV): Likewise.
10413         (bug-regex17-ENV): Likewise.
10414         (bug-regex18-ENV): Likewise.
10415         (bug-regex19-ENV): Likewise.
10416         (bug-regex20-ENV): Likewise.
10417         (bug-regex22-ENV): Likewise.
10418         (bug-regex23-ENV): Likewise.
10419         (bug-regex25-ENV): Likewise.
10420         (bug-regex26-ENV): Likewise.
10421         (bug-regex30-ENV): Likewise.
10422         (bug-regex32-ENV): Likewise.
10423         (bug-regex33-ENV): Likewise.
10424         (bug-regex34-ENV): Likewise.
10425         (bug-regex35-ENV): Likewise.
10426         (tst-rxspencer-ENV): Likewise.
10427         (tst-rxspencer-no-utf8-ENV): Likewise.
10428         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10429         (tst-sscanf-ENV): Likewise.
10430         (tst-swprintf-ENV): Likewise.
10431         (tst-swscanf-ENV): Likewise.
10432         (test-vfprintf-ENV): Likewise.
10433         (scanf13-ENV): Likewise.
10434         (bug14-ENV): Likewise.
10435         (tst-grouping-ENV): Likewise.
10436         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10437         (tst-strtod3-ENV): Likewise.
10438         (tst-strtod4-ENV): Likewise.
10439         (tst-strtod5-ENV): Likewise.
10440         (testmb2-ENV): Likewise./
10441         * string/Makefile (tst-strxfrm-ENV): Likewise.
10442         (tst-strxfrm2-ENV): Likewise.
10443         (bug-strcoll1-ENV): Likewise.
10444         (test-strcasecmp-ENV): Likewise.
10445         (test-strncasecmp-ENV): Likewise.
10446         * time/Makefile (tst-strptime-ENV): Likewise.
10447         (tst-ftime_l-ENV): Likewise.
10448         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10449         (tst-mbrtowc-ENV): Likewise.
10450         (tst-wcrtomb-ENV): Likewise.
10451         (tst-mbrtowc2-ENV): Likewise.
10452         (tst-c16c32-1-ENV): Likewise.
10453         (tst-mbsnrtowcs-ENV): Likewise.
10454
10455 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10456
10457         * manual/resource.texi (How to get information about the memory
10458         subsystem?): Fix typo.
10459         Reported by Peon de la Parra Ivan <peon@keba.com>
10460
10461 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10462
10463         [BZ #16882]
10464         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10465         (pthread_spin_lock): Branch out of spin loop to proper location.
10466         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10467         (pthread_spin_lock): Likewise.
10468
10469         * nptl/tst-spin4.c: New test.
10470         * nptl/Makefile (tests): Add tst-spin4.
10471
10472 2014-06-03  Andreas Schwab  <schwab@suse.de>
10473
10474         [BZ #15946]
10475         * resolv/res_send.c (send_dg): Reload file descriptor after
10476         calling reopen.
10477
10478 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10479
10480         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10481
10482 2014-06-03  Richard Henderson  <rth@redhat.com>
10483
10484         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10485         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10486         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10487         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10488         in the SAVE_PID block.
10489         (__libc_vfork): New alias.
10490         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10491
10492         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10493         child in registers, not on the stack.  Remove RESET_PID conditionals.
10494         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10495
10496 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10497
10498         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10499
10500 2014-06-03  Wilco  <wdijkstr@arm.com>
10501
10502         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10503         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10504         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10505         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10506         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10507         Likewise.
10508
10509 2014-06-03  Wilco  <wdijkstr@arm.com>
10510
10511         * sysdeps/aarch64/fpu/math_private.h
10512         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10513         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10514         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10515         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10516         Fix declarations.
10517
10518 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10519
10520         * crypt/crypt-private.h: Include ufc-crypt.h.
10521         (__b64_from_24bit): Declare extern.
10522         * crypt/crypt_util.c(__b64_from_24bit): New function.
10523         (b64t): New static const variable.
10524         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10525         (b64t): Remove variable.
10526         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10527         * crypt/sha256-crypt.c: Include crypt-private.h.
10528         (b64t): Remove variable.
10529         (__sha256_crypt_r): Remove b64_from_24bit and replace
10530         with __b64_from_24bit.
10531         * crypt/sha512-crypt.c: Likewise.
10532
10533 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10534
10535         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10536         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10537         Label the code __libc_vfork rather than __vfork.
10538         [!NOT_IN_libc] (vfork): Define as weak alias.
10539         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10540         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10541         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10542
10543 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10544
10545         * malloc/malloc.c (malloc_info): Fix format specifier for
10546         n_mmaps.
10547
10548 2014-06-02  Wilco  <wdijkstr@arm.com>
10549
10550         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10551         FPCR write.
10552
10553 2014-06-02  Wilco  <wdijkstr@arm.com>
10554
10555         [BZ #17009]
10556         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10557         Rewrite to reduce FPCR/FPSR accesses.
10558
10559 2014-06-01  David S. Miller  <davem@davemloft.net>
10560
10561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10562
10563 2014-05-31  David S. Miller  <davem@davemloft.net>
10564
10565         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10566         to occur in round to nearest mode when |x| >= 2.0
10567
10568 2014-05-30  Richard Henderson  <rth@twiddle.net>
10569
10570         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10571         (PSEUDO_RET_NOERRNO): Remove.
10572         (ret): Don't redefine.
10573         (ret_NOERRNO): Define in terms of ret.
10574         (ret_ERRVAL): Likewise.
10575
10576         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10577         use of PSEUDO_RET; perform the error check directly.
10578
10579 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10580
10581         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10582         with __int128_t.
10583
10584 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10585
10586         * malloc/malloc (malloc_info): Fix formatting.
10587
10588 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10589             Roland McGrath  <roland@hack.frob.com>
10590
10591         * malloc/malloc (malloc_info): Also print mmapped statistics.
10592
10593 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10594
10595         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10596         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10597
10598 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10599
10600         * malloc/malloc.c (malloc_info): Inline mi_arena.
10601
10602 2014-05-29  Richard Henderson  <rth@twiddle.net>
10603
10604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10605         Remove comma before expanding ASM_ARGS_##nr.
10606         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10607         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10608         of ASM_ARGS_##nr.
10609         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10610         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10611         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10612         (ASM_ARGS_1): Add leading comma.
10613
10614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10615         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10616         to __errno_location.
10617         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10618         Remove the expected plt for __errno_location.
10619
10620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10621         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10622         call to __read_tp.
10623
10624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10625         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10626         it and break it down.
10627         (DOCARGS_0, DOCARGS_1): Do nothing.
10628         (DOCARGS_2): Update to store into the new stack frame.
10629         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10630         (UNDOCARGS_1): Update to restore from the new stack frame.
10631         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10632         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10633
10634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10635         (SINGLE_THREAD_P): New parameter for result regno.
10636         (PSEUDO): Update to match; use cbz instead of beq.
10637
10638         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10639         Use ENTRY to define the _nocancel entry point.  Share the syscall
10640         and syscall error check paths with the cancel path.
10641         (PSEUDO_END): New.
10642
10643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10644         whitespace; tabs before and after asm mnemonics.
10645
10646 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10647
10648         [BZ #15132]
10649         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10650         Call fstat64 or stat64 internally, depending on arguments passed.
10651         Replace stat buffer argument with file descriptor argument.
10652         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10653         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10654         Pass fd to __internal_statvfs instead of calling fstat64.
10655         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10656         Pass fd to __internal_statvfs64 instead of calling fstat64.
10657         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10658         Pass -1 to __internal_statvfs instead of calling stat64.
10659         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10660         Pass -1 to __internal_statvfs64 instead of calling stat64.
10661
10662 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10663
10664         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10665         that was previously under [RESET_PID].
10666         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10667
10668         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10669         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10670
10671 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10672
10673         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10674
10675         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10676         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10677
10678 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10679
10680         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10681
10682 2014-05-27  Andreas Schwab  <schwab@suse.de>
10683
10684         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10685         TLS_INIT_TP macro.
10686         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10687         * elf/rtld.c (init_tls, dl_main): Likewise.
10688         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10689         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10690         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10691         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10692         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10693         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10694         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10695         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10696         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10697         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10698         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10699         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10700         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10701         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10702         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10703         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10704         * sysdeps/generic/tls.h: Update description.
10705
10706 2014-05-27  Will Newton  <will.newton@linaro.org>
10707
10708         [BZ #16990]
10709         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10710         and restore r2 rather than just restoring.
10711
10712 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10713
10714         [BZ #16724]
10715         * libio/tst-ftell-append.c: New test case.
10716         * libio/Makefile (tests): Add test case.
10717         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10718         append mode.
10719         * libio/wfileops.c (do_ftell_wide): Likewise.
10720
10721 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10722
10723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10724
10725         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10726         ...
10727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10729         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10730         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10731         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10732         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10733         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10734         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10736         Moved ...
10737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10739         Moved ...
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10741         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10742         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10743         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10744         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10745         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10746         ...
10747         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10748         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10749         Moved ...
10750         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10751         here.
10752         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10753         ...
10754         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10755         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10756         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10757
10758         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10759         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10760         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10761         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10762
10763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10764         merge into ...
10765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10767         ...
10768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10770         ...
10771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10773         Moved ...
10774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10775         here.
10776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10777         Moved ...
10778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10780         Moved ...
10781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10782
10783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10784         conditional [RESET_PID].
10785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10787         removed.
10788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10789         removed.
10790
10791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10792         <tcb-offsets.h>.
10793         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10794         (__libc_vfork): New strong alias.
10795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10796         removed.
10797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10798         Removed.
10799
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10801         <tcb-offsets.h>.
10802         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10803         (__libc_vfork): New strong alias.
10804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10805         removed.
10806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10807         removed.
10808
10809 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10810
10811         * malloc/malloc.c (mi_arena): New function.
10812         (malloc_info): Remove nested function mi_arena. Call non-nosted
10813         function mi_arena.
10814
10815 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10816
10817         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10818         by insrwi.
10819         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10820         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10821         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10822         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10823         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10824         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10825         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10826
10827 2014-05-26  Andreas Schwab  <schwab@suse.de>
10828
10829         [BZ #16984]
10830         * locale/programs/repertoire.c (repertoire_read): Add slash
10831         between I18NPATH element and file name.
10832         * locale/programs/locfile.c (locfile_read): Likewise.
10833
10834 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10835
10836         * nptl/pthread_mutexattr_settype.c
10837         (__pthread_mutexattr_settype):
10838         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10839
10840 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10841
10842         * nptl/tst-mutex5 (do_test):
10843         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10844
10845 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10846
10847         * benchtests/README: Document 'init' directive.
10848         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10849         BENCH_INIT.
10850         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10851         (parse_file): Recognize 'init' directive.
10852
10853 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10854
10855         [BZ #16796]
10856         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10857         alignment of struct pthread.
10858
10859 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10860
10861         [BZ #16878]
10862         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10863         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10864         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10865         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10866
10867 2014-05-25  Richard Henderson  <rth@twiddle.net>
10868
10869         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10870         (SINGLE_THREAD_P_PIC): Remove.
10871         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10872         (SINGLE_THREAD_P_PIC): Remove.
10873
10874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10875         branch to syscall error ...
10876         (PSEUDO): ... here.
10877         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10878         from __local_syscall_error to .Lsyscall_error.
10879         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10880         (SYSCALL_ERROR): Update label name.
10881
10882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10883         Do not use DOARGS/UNDOARGS.
10884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10885         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10886         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10887         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10888         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10889
10890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10891         block comment.
10892
10893         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10894         define if !NOT_IN_libc.
10895         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10896         define with non-default symbol versions.
10897
10898 2014-05-23  Richard Henderson  <rth@twiddle.net>
10899
10900         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10901         (vfork, __vfork): Define via compat_symbol.
10902
10903         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10904         [!HAVE_IFUNC] (vfork_compat): Remove.
10905         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10906
10907 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10908
10909         [BZ #16978]
10910         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10911         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10912         variable.
10913
10914 2014-05-23  Richard Henderson  <rth@twiddle.net>
10915
10916         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10917         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10918         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10919         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10920
10921         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10922         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10923         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10924         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10925         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10926         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10927         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10928         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10929         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10930         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10931         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10932         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10933         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10934         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10935         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10936         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10937         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10938         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10939         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10940         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10941         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10942         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10943         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10944         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10945         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10946         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10947         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10948         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10949         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10950         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10951         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10952         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10953         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10954         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10955         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10956         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10957         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10958         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10959         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10960         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10961         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10962         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10963         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10964         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10965         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10966         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10967         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10968         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10970         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10971         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10972         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10973         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10974         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10975         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10976         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10977
10978         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10979         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10980         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10981         before exiting on error.
10982         (__libc_vfork): New strong alias.
10983         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10984         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10985
10986         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10987         that was previously under [RESET_PID].
10988         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10989
10990         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10991
10992 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10993
10994         [BZ #16977]
10995         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10996         value when x - 1 is zero.
10997         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10998         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10999         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11000         0.0L for an argument of 1.0L.
11001         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11002         Likewise.
11003         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11004         value when x - 1 is zero.
11005         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11006         * sysdeps/i386/fpu/libm-test-ulps: Update.
11007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11008
11009 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11010
11011         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11012         alphasort and versionsort.
11013
11014 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11015
11016         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11017         macro.
11018         [copysignf]: Likewise.
11019
11020 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11021
11022         * crypt/md5-crypt.c: Fix formatting.
11023
11024 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11025
11026         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11027         (b64_from_24bit): New function.
11028
11029 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11030
11031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11032         libc_hidden_builtin_def to ifunc.
11033         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11034         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11035
11036 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11037
11038         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11039         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11040
11041 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11042
11043         * nscd/Depend (linuxthreads): Remove.
11044         (nptl): Add.
11045         * resolv/Depend (linuxthreads): Remove.
11046         * rt/Depend (linuxthreads): Remove.
11047
11048         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11049         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11050         $(common-objpfx)elf/.
11051         (link-libc-before-gnulib): Likewise.
11052         (elfobjdir): Remove variable.
11053         * Makefile (install): Use $(elf-objpfx) instead of
11054         $(common-objpfx)elf/.
11055         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11056         $(elfobjdir)/.
11057         (link-libc-deps): Likewise.
11058         ($(common-objpfx)libc.so): Likewise.
11059         ($(common-objpfx)linkobj/libc.so): Likewise.
11060         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11061         instead of $(common-objpfx)elf/.
11062         (symbolic-link-list): Likewise.
11063         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11064         [$(cross-compiling) = no]: Likewise.
11065         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11066         $(elfobjdir)/.
11067         (static-gnulib-arch): Likewise.
11068         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11069         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11070         $(common-objpfx)elf/.
11071
11072 2014-05-21  Richard Henderson  <rth@redhat.com>
11073
11074         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11075         (SINGLE_THREAD_P): Use the correct width load.  Fold
11076         into the ldr offset.
11077
11078         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11079         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11080
11081 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11082
11083         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11084         (libgcc_s_resume): Use __attribute_used__.
11085         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11086         Likewise.
11087
11088 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11089
11090         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11091         optimization when used with float constants.
11092
11093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11094
11095 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11096
11097         [BZ #16915]
11098         * locale/nl_langinfo_l.c: Make direct reference to every
11099         _nl_current_CATEGORY symbol.
11100         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11101         (tests-static): Add tst-langinfo-static.
11102         (tests-special): Add tst-langinfo-static.out.
11103         ($(objpfx)tst-langinfo.out): Redirect output.
11104         ($(objpfx)tst-langinfo-static.out): New.
11105         * localedata/tst-langinfo.sh: Send output to stdout.
11106         * localedata/tst-langinfo-static.c: New file.
11107
11108         [BZ #16965]
11109         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11110         when the shift amount is modulo the limb size.
11111
11112 2014-05-20  Richard Henderson  <rth@redhat.com>
11113
11114         [BZ #16967]
11115         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11116         Change type of sa_flags from unsigned int to int.
11117
11118         [BZ #16966]
11119         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11120
11121         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11122
11123 2014-05-20  Will Newton  <will.newton@linaro.org>
11124
11125         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11126         Test the return value of the system call in the nocancel case.
11127
11128 2014-05-20  Will Newton  <will.newton@linaro.org>
11129             Yvan Roux  <yvan.roux@linaro.org>
11130
11131         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11132         #include of asm/ptrace.h.
11133         (PTRACE_GET_THREAD_AREA): Remove #undef.
11134         (PTRACE_GETHBPREGS): Likewise.
11135         (PTRACE_SETHBPREGS): Likewise.
11136         (struct user_regs_struct): New structure.
11137         (struct user_fpsimd_struct): New structure.
11138         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11139         #include of asm/ptrace.h and second #include of sys/user.h.
11140         (PTRACE_GET_THREAD_AREA): Remove #undef.
11141         (PTRACE_GETHBPREGS): Likewise.
11142         (PTRACE_SETHBPREGS): Likewise.
11143         (ELF_NGREG): Use new struct user_regs_struct.
11144         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11145
11146 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11147
11148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11150
11151 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11152
11153         [BZ #16958]
11154         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11155         membar to avoid block loads/stores to overlap previous stores.
11156
11157 2014-05-17  Richard Henderson  <rth@redhat.com>
11158
11159         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11160         Create the __##syscall_name##_nocancel entry point.
11161         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11162         Remove; let the sysdep-cancel.h code create it.
11163
11164 2014-05-17  David S. Miller  <davem@davemloft.net>
11165
11166         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11167         Protect with __USE_GNU.
11168         (TIOCSET_TEMPT): Likewise.
11169         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11170         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11171         these are already provided in bits/ioctl-types.h
11172
11173 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11174
11175         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11176         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11177
11178         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11179         Use wait4 regardless of [__NR_waitpid].
11180
11181 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11182
11183         PR libgcc/60166
11184         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11185         (_FP_NANSIGN_Q): Set the quiet bit.
11186
11187 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11188
11189         * benchtests/Makefile
11190         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11191         not $(common-objpfx)math/libm.so.
11192         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11193         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11194         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11195         $(common-objpfx)dlfcn/libdl.so.
11196         ($(objpfx)tst-audit8): Depend on $(libm), not
11197         $(common-objpfx)math/libm.so.
11198         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11199         not $(common-objpfx)dlfcn/libdl.so.
11200         * math/Makefile
11201         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11202         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11203         [$(build-shared) = yes].
11204         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11205         $(common-objpfx)nptl/libpthread.so.
11206         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11207         $(common-objpfx)math/libm.so$(libm.so-version) or
11208         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11209         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11210         $(common-objpfx)dlfcn/libdl.so.
11211         * setjmp/Makefile (link-libm): Remove variable.
11212         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11213         * stdio-common/Makefile (link-libm): Remove variable.
11214         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11215         * stdlib/Makefile (link-libm): Remove variable.
11216         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11217         ($(objpfx)tst-strtod-round): Likewise.
11218         ($(objpfx)tst-tininess): Likewise.
11219         ($(objpfx)tst-strtod-underflow): Likewise.
11220         ($(objpfx)tst-strtod6): Likewise.
11221         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11222         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11223         $(common-objpfx)dlfcn/libdl.so.
11224
11225 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11226
11227         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11228         BSD terminal modes definitions.
11229
11230 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11231
11232         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11233         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11234
11235         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11236         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11237         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11238         Don't do #include_next.
11239         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11240         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11241         Don't do #include_next.
11242         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11243         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11244         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11245         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11246
11247 2014-05-16  Allan McRae  <allan@archlinux.org>
11248
11249         * po/sv.po: Update Swedish translation from translation project.
11250
11251         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11252         in sed expression.
11253
11254 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11255
11256         [BZ #16917]
11257         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11258         errno if the TIOCGPTN ioctl fails with an error different than
11259         EINVAL.
11260         * login/tst-ptsname.c: New file.
11261         * login/Makefile (tests): Add tst-ptsname.
11262
11263         [BZ #16943]
11264         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11265         and prlimit64.
11266
11267 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11268
11269         [BZ #16849]
11270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11271         herrno to return EAI_AGAIN.
11272
11273 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11274
11275         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11276         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11277         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11278         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11279         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11280         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11281         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11282         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11284         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11285         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11286         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11287         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11288         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11289         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11290         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11291         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11292         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11301         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11302         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11303         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11304         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11306         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11308         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11310         Moved ...
11311         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11313         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11315         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11317         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11319         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11321         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11323         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11325         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11327         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11329         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11331         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11333         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11335         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11337         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11339         Moved ...
11340         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11342         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11344         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11346         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11348         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11350         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11352         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11354         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11356         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11358         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11360         Moved ...
11361         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11363         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11364
11365         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11366         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11367         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11368         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11369         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11370         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11371         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11372         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11373         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11374         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11375         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11376         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11377         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11378         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11379         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11380         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11381         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11382         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11383         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11384         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11385         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11386         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11387         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11388         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11389         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11390         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11391         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11392         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11393         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11394         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11395         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11396
11397         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11398         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11399
11400         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11401         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11402         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11403         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11404         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11406         Moved ...
11407         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11409         Moved ...
11410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11411         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11412         Moved ...
11413         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11415         Moved ...
11416         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11417         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11418         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11420         Moved ...
11421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11422         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11423         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11426         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11427         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11429         Moved ...
11430         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11431         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11432         Moved ...
11433         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11434         ... here.
11435         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11436         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11437         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11438         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11440         Moved ...
11441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11442         ... here.
11443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11444         Moved ...
11445         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11446         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11447         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11449         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11451         Moved ...
11452         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11454         Moved ...
11455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11456         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11457         Moved ...
11458         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11460         Moved ...
11461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11462         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11463         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11465         Moved ...
11466         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11467         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11468         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11471         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11472         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11474         Moved ...
11475         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11476         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11477         Moved ...
11478         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11479         ... here.
11480         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11481         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11482         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11483         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11485         Moved ...
11486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11487         ... here.
11488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11489         Moved ...
11490         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11491         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11492         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11493         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11494         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11495         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11497         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11498         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11500         Moved ...
11501         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11502         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11503         Moved ...
11504         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11506         Moved ...
11507         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11509         Moved ...
11510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11511         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11512         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11513         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11514         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11516         Moved ...
11517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11518         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11519         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11521         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11522         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11523         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11525         Moved ...
11526         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11527         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11528         Moved ...
11529         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11530         ... here.
11531         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11532         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11533         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11534         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11536         Moved ...
11537         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11538         ... here.
11539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11540         Moved ...
11541         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11542         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11543         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11544         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11545         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11546         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11547         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11548         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11549         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11550         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11551         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11552
11553         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11554         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11555
11556         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11557         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11558
11559         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11560         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11561         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11562         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11563         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11564         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11565         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11566         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11567         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11568         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11569         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11570         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11571         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11572         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11573         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11575         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11577         Moved ...
11578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11580         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11582         Moved ...
11583         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11585         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11587         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11588         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11591         Moved ...
11592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11593         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11594         Moved ...
11595         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11597         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11601         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11602         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11603         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11604         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11605         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11606         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11607         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11608         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11609         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11610         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11611         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11612
11613         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11614         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11615         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11616         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11617         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11618
11619         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11620         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11621         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11622         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11623         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11624         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11625         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11626         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11627         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11628         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11629
11630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11632
11633         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11634         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11635         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11636         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11637         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11638         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11639         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11640         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11641         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11642         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11643         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11644         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11645         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11646         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11648         Update #include.
11649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11650         Likewise.
11651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11652         Likewise.
11653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11654         Likewise.
11655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11656         Likewise.
11657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11658         Likewise.
11659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11660         Likewise.
11661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11662         Likewise.
11663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11664         Likewise.
11665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11666         Likewise.
11667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11673         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11675         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11676         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11677         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11679         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11682
11683         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11684         that was previously under [RESET_PID].
11685         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11686         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11687         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11688
11689         * sysdeps/i386/nptl/Implies: New file.
11690         * sysdeps/x86_64/nptl/Implies: New file.
11691         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11692         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11693         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11694         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11695
11696         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11697         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11698         (__libc_vfork): New strong alias.
11699         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11700         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11701
11702         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11703         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11704         (__libc_vfork): New strong alias.
11705         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11706         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11707
11708         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11709         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11710         (__libc_vfork): New strong alias.
11711         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11712         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11713         * nptl/pt-vfork.c: New file.
11714         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11715         (libpthread: GLIBC_2.20): New version set (empty).
11716
11717 2014-05-14  Will Newton  <will.newton@linaro.org>
11718
11719         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11720         rather than #if.
11721
11722 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11723
11724         [BZ #16564]
11725         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11726         arguments with exponent 65 or above.
11727         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11728         arguments 0x1p113L or above.
11729         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11730         to arguments 0x1p107L or above.
11731         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11732         positive arguments with exponent 65 or above.
11733         * math/auto-libm-test-in: Add more tests of log1p.
11734         * math/auto-libm-test-out: Regenerated.
11735
11736         [BZ #16928]
11737         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11738         non-finite arguments is +0.
11739         * math/s_cacosf.c (__cacosf): Likewise.
11740         * math/s_cacosl.c (__cacosl): Likewise.
11741         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11742         * sysdeps/i386/fpu/libm-test-ulps: Update.
11743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11744
11745         [BZ #16927]
11746         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11747         value.
11748         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11749         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11750         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11751         for explicit high bit of mantissa when testing for argument equal
11752         to 1.
11753         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11754         * sysdeps/i386/fpu/libm-test-ulps: Update.
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756
11757         [BZ #16516]
11758         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11759         (__erf): Scale by 16 instead of 8 in potentially underflowing
11760         case.  Ensure exception if result actually underflows.
11761         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11762         (__erff): Scale by 16 instead of 8 in potentially underflowing
11763         case.  Ensure exception if result actually underflows.
11764         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11765         (efx8): Remove variable.
11766         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11767         case.  Ensure exception if result actually underflows.
11768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11769         (efx8): Remove variable.
11770         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11771         case.  Ensure exception if result actually underflows.
11772         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11773         (efx8): Remove variable.
11774         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11775         case.  Ensure exception if result actually underflows.
11776         * math/auto-libm-test-in: Add more tests of erf.
11777         * math/auto-libm-test-out: Regenerated.
11778
11779 2014-05-14  Andreas Schwab  <schwab@suse.de>
11780
11781         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11782         Remove code conditionalized on USE___THREAD.
11783
11784         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11785         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11786         not definedness.
11787
11788 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11789
11790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11791         Define unconditionally.
11792         (__ASSUME_O_CLOEXEC): Likewise.
11793         (__ASSUME_SOCK_CLOEXEC): Likewise.
11794         (__ASSUME_IN_NONBLOCK): Likewise.
11795         (__ASSUME_PIPE2): Likewise.
11796         (__ASSUME_EVENTFD2): Likewise.
11797         (__ASSUME_SIGNALFD4): Likewise.
11798         (__ASSUME_DUP3): Likewise.
11799         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11800         (__ASSUME_DUP3): Do not define.
11801         (__ASSUME_EVENTFD2): Likewise.
11802         (__ASSUME_IN_NONBLOCK): Likewise.
11803         (__ASSUME_O_CLOEXEC): Likewise.
11804         (__ASSUME_PIPE2): Likewise.
11805         (__ASSUME_SIGNALFD4): Likewise.
11806         (__ASSUME_SOCK_CLOEXEC): Likewise.
11807         (__ASSUME_UTIMES): Undefine.
11808         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11809         (__ASSUME_UTIMES): Do not define.
11810         (__ASSUME_O_CLOEXEC): Likewise.
11811         (__ASSUME_SOCK_CLOEXEC): Likewise.
11812         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11813         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11814         0x020621].
11815         (__ASSUME_PIPE2): Likewise.
11816         (__ASSUME_EVENTFD2): Likewise.
11817         (__ASSUME_SIGNALFD4): Likewise.
11818         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11819         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11820         Do not define.
11821         (__ASSUME_EVENTFD2): Likewise.
11822         (__ASSUME_SIGNALFD4): Likewise.
11823         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11824         (__ASSUME_32BITUIDS): Likewise.
11825         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11826         (__ASSUME_IPC64): Likewise.
11827         (__ASSUME_ST_INO_64_BIT): Likewise.
11828         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11829         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11830         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11831         (__ASSUME_UTIMES): Do not define.
11832         (__ASSUME_PSELECT): Likewise.
11833         (__ASSUME_PPOLL): Likewise.
11834         (__ASSUME_O_CLOEXEC): Likewise.
11835         (__ASSUME_SOCK_CLOEXEC): Likewise.
11836         (__ASSUME_IN_NONBLOCK): Likewise.
11837         (__ASSUME_PIPE2): Likewise.
11838         (__ASSUME_EVENTFD2): Likewise.
11839         (__ASSUME_SIGNALFD4): Likewise.
11840         (__ASSUME_DUP3): Likewise.
11841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11842         (__ASSUME_UTIMES): Likewise.
11843         (__ASSUME_O_CLOEXEC): Likewise.
11844         (__ASSUME_SOCK_CLOEXEC): Likewise.
11845         (__ASSUME_IN_NONBLOCK): Likewise.
11846         (__ASSUME_PIPE2): Likewise.
11847         (__ASSUME_EVENTFD2): Likewise.
11848         (__ASSUME_SIGNALFD4): Likewise.
11849         (__ASSUME_DUP3): Likewise.
11850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11851         (__ASSUME_UTIMES): Likewise.
11852         (__ASSUME_O_CLOEXEC): Likewise.
11853         (__ASSUME_SOCK_CLOEXEC): Likewise.
11854         (__ASSUME_IN_NONBLOCK): Likewise.
11855         (__ASSUME_PIPE2): Likewise.
11856         (__ASSUME_EVENTFD2): Likewise.
11857         (__ASSUME_SIGNALFD4): Likewise.
11858         (__ASSUME_DUP3): Likewise.
11859         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11860         Likewise.
11861         (__ASSUME_UTIMES): Likewise.
11862         (__ASSUME_EVENTFD2): Likewise.
11863         (__ASSUME_SIGNALFD4): Likewise.
11864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11865         (__ASSUME_O_CLOEXEC): Likewise.
11866         (__ASSUME_SOCK_CLOEXEC): Likewise.
11867         (__ASSUME_IN_NONBLOCK): Likewise.
11868         (__ASSUME_PIPE2): Likewise.
11869         (__ASSUME_EVENTFD2): Likewise.
11870         (__ASSUME_SIGNALFD4): Likewise.
11871         (__ASSUME_DUP3): Likewise.
11872         (__ASSUME_UTIMES): Undefine.
11873
11874         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11875         feclearexcept.  Remove symbol versioning code.
11876         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11877         symbol versioning code.
11878         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11879         symbol versioning code.
11880         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11881         feupdateenv.  Remove symbol versioning code.
11882         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11883         fegetexceptflag.  Remove symbol versioning code.
11884         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11885         fesetexceptflag.  Remove symbol versioning code.
11886         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11887         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11888         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11889         (__posix_fadvise64_l32): Remove prototype.
11890         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11891         code.
11892
11893 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11894
11895         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11896         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11897         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11898         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11899
11900 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11901
11902         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11903         current working directory
11904
11905 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11906
11907         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11908         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11909         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11910         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11911         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11912         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11913         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11914         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11915         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11916         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11917         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11918         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11919         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11920         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11921         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11922         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11923         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11924         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11925         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11926         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11927         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11928         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11929         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11930         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11931         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11932         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11933         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11934         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11935         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11936         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11937         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11938         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11939         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11940         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11941         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11942         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11943         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11944         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11945         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11946         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11947         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11948         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11949
11950         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11951         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11952
11953         * sysdeps/unix/sysv/linux/arm/Makefile
11954         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11955         Add rt-aeabi_unwind_cpp_pr1.
11956         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11957         Add nptl-aeabi_unwind_cpp_pr1.
11958         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11959         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11960         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11961         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11962         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11963         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11964
11965         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11966         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11967         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11968         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11969
11970         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11971         Deconditionalize the code that was previously under [RESET_PID].
11972         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11973
11974         * sysdeps/generic/exit-thread.h: New file.
11975         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11976         * include/unistd.h (__exit_thread): Remove declaration.
11977         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11978         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11979         * csu/libc-start.c: Include <exit-thread.h>.
11980         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11981         * nptl/pthread_create.c: Include <exit-thread.h>.
11982         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11983         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11984         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11985         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11986         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11987         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11988         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11989         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11990         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11991         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11992         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11993         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11994         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11995         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11996         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11997         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11998         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11999
12000 2014-05-13  Andreas Schwab  <schwab@suse.de>
12001
12002         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12003
12004 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12005
12006         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12007         (__ASSUME_UTIMES): Do not condition on kernel version.
12008         (__ASSUME_PSELECT): Define unconditionally.
12009         (__ASSUME_PPOLL): Likewise.
12010         (__ASSUME_ATFCTS): Likewise.
12011         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12012         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12013         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12014         (__ASSUME_UTIMENSAT): Define unconditionally.
12015         (__ASSUME_PRIVATE_FUTEX): Likewise.
12016         (__ASSUME_FALLOCATE): Likewise.
12017         (__ASSUME_O_CLOEXEC): Likewise.
12018         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12019         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12020         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12021         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12022         (__ASSUME_IN_NONBLOCK): Likewise.
12023         (__ASSUME_PIPE2): Likewise.
12024         (__ASSUME_EVENTFD2): Likewise.
12025         (__ASSUME_SIGNALFD4): Likewise.
12026         (__ASSUME_DUP3): Likewise.
12027         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12028         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12029         (__ASSUME_AT_RANDOM): Likewise.
12030         (__ASSUME_PREADV): Likewise.
12031         (__ASSUME_PWRITEV): Likewise.
12032         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12033         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12034         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12035         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12036         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12037         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12038         (__ASSUME_O_CLOEXEC): Define unconditionally.
12039         (__ASSUME_PSELECT): Do not undefine conditionally.
12040         (__ASSUME_PPOLL): Likewise.
12041         (__ASSUME_ATFCTS): Likewise.
12042         (__ASSUME_SET_ROBUST_LIST): Likewise.
12043         (__ASSUME_UTIMENSAT): Likewise.
12044         (__ASSUME_FDATASYNC): Define unconditionally.
12045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12046         (__ASSUME_SIGFRAME_V2): Likewise.
12047         )__ASSUME_EVENTFD2): Likewise.
12048         (__ASSUME_SIGNALFD4): Likewise.
12049         (__ASSUME_PSELECT): Do not undefine conditionally.
12050         (__ASSUME_PPOLL): Likewise.
12051         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12052         (__ASSUME_PSELECT): Define unconditionally.
12053         (__ASSUME_PPOLL): Likewise.
12054         (__ASSUME_O_CLOEXEC): Likewise.
12055         (__ASSUME_SOCK_CLOEXEC): Likewise.
12056         (__ASSUME_IN_NONBLOCK): Likewise.
12057         (__ASSUME_PIPE2): Likewise.
12058         (__ASSUME_EVENTFD2): Likewise.
12059         (__ASSUME_SIGNALFD4): Likewise.
12060         (__ASSUME_DUP3): Likewise.
12061         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12062         (__ASSUME_O_CLOEXEC): Likewise.
12063         (__ASSUME_SOCK_CLOEXEC): Likewise.
12064         (__ASSUME_IN_NONBLOCK): Likewise.
12065         (__ASSUME_PIPE2): Likewise.
12066         (__ASSUME_EVENTFD2): Likewise.
12067         (__ASSUME_SIGNALFD4): Likewise.
12068         (__ASSUME_DUP3): Likewise.
12069         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12070         (__ASSUME_EVENTFD2): Likewise.
12071         (__ASSUME_SIGNALFD4): Likewise.
12072         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12073
12074 2014-05-12  Andreas Schwab  <schwab@suse.de>
12075
12076         [BZ #16932]
12077         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12078         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12079         than maximum RPC packet size.
12080         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12081         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12082         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12083         (_nss_nis_getservbyport_r): Likewise.
12084
12085 2014-05-12  Will Newton  <will.newton@linaro.org>
12086
12087         * malloc/Makefile (tests): Add tst-mallopt.
12088         * malloc/tst-mallopt.c: New file.
12089
12090 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12091
12092         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12093         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12094
12095 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12096
12097         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12098         (tst-tlsmod6.so): Likewise.
12099
12100 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12101
12102         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12103
12104 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12105
12106         [BZ #16064]
12107         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12108         and <dl-procinfo.h>.
12109         (__fegetenv): Save SSE state in envp->__eip if supported.
12110         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12111         envp->__eip if supported.
12112         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12113         and <dl-procinfo.h>.
12114         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12115         __data_offset and __data_selector in environment to 0.  Set SSE
12116         state if supported.
12117         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12118         test-fenv-sse.
12119         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12120         -mfpmath=sse.
12121         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12122
12123 2014-05-09  Will Newton  <will.newton@linaro.org>
12124
12125         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12126         and libc_relro_required for ARM.
12127         * sysdeps/arm/preconfigure: Regenerate.
12128
12129 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12130             Stefan Liebler  <stli@linux.vnet.ibm.com>
12131
12132         * config.make.in (enable-lock-elision): New Makefile variable.
12133         * configure.ac: Likewise.
12134         * configure: Regenerate.
12135         * sysdeps/s390/configure.ac:
12136         Add check for gcc transactions support.
12137         * sysdeps/s390/configure: Regenerate.
12138         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12139         Build elision files if enabled.
12140         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12141         Add lock elision support for s390.
12142         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12143         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12144         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12145         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12146         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12147         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12149         Likewise.
12150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12151         Likewise.
12152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12153         Likewise.
12154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12155         Likewise.
12156         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12157         (__lll_timedlock_elision, __lll_lock_elision)
12158         (__lll_unlock_elision, __lll_trylock_elision)
12159         (lll_timedlock_elision, lll_lock_elision)
12160         (lll_unlock_elision, lll_trylock_elision): Add.
12161         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12162         (pthread_mutex_t): Add lock elision support for s390.
12163
12164 2014-05-14  Wilco  <wdijkstr@arm.com>
12165
12166         * sysdeps/arm/fclrexcpt.c: Cleanup.
12167         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12168         * sysdeps/arm/feenablxcpt.c: Cleanup.
12169         * sysdeps/arm/fegetenv.c: Cleanup.
12170         * sysdeps/arm/fegetexcept.c: Cleanup.
12171         * sysdeps/arm/fegetround.c: Cleanup.
12172         * sysdeps/arm/feholdexcpt.c: Cleanup.
12173         * sysdeps/arm/fesetenv.c: Cleanup.
12174         * sysdeps/arm/fesetround.c: Cleanup.
12175         * sysdeps/arm/feupdateenv.c: Cleanup.
12176         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12177         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12178         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12179         * sysdeps/arm/ftestexcept.c: Cleanup.
12180         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12181         * sysdeps/arm/setfpucw.c: Cleanup.
12182
12183 2014-05-09  Will Newton  <will.newton@linaro.org>
12184
12185         * sysdeps/arm/armv7/strcmp.S: New file.
12186         * NEWS: Mention addition of ARMv7 optimized strcmp.
12187
12188 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12189
12190         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12191         look for %.ac rather than %.in.
12192
12193         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12194         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12195         * sysdeps/mach/hurd/configure: Regenerated.
12196         * sysdeps/unix/sysv/linux/configure: Regenerated.
12197
12198         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12199
12200 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12201
12202         [BZ# 16922]
12203         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12204         (LONG_SUB): Ditto.
12205         (PTR_SUB): Ditto.
12206
12207 2014-05-07  Andreas Schwab  <schwab@suse.de>
12208
12209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12210         when skipping over non-matching result from nscd.
12211
12212 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12213
12214         [BZ #16876]
12215         * nptl/sockperf.c (client): Check socket return value.
12216
12217         [BZ #16877]
12218         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12219         nscd security class.
12220
12221 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12222
12223         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12224         * sysdeps/arm/unwind.h: ... here.
12225
12226 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12227
12228         [BZ# 16916]
12229         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12230         Define.
12231
12232 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12233
12234         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12235         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12236         multiarch strncpy for PPC64.
12237         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12238         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12240         multiarch optimizations.
12241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12242         (__libc_ifunc_impl_list): Likewise.
12243         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12244         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12245         multiarch stpncpy for PPC64.
12246         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12247         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12248
12249 2014-05-06  Andreas Schwab  <schwab@suse.de>
12250
12251         [BZ #16912]
12252         * gmon/mcount.c (_MCOUNT_DECL): Use
12253         atomic_compare_and_exchange_bool_acq instead of
12254         catomic_compare_and_exchange_bool_acq.
12255
12256 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12257
12258         * elf/Makefile (others, install-bin): Remove pldd.
12259         (pldd-modules): Variable removed.
12260         ($(objpfx)pldd): Target removed.
12261         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12262         (others, install-bin): Append pldd here.
12263         ($(objpfx)pldd): New target.
12264
12265         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12266         to 0, so the first #if test emitted later doesn't see it undefined.
12267         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12268         * sysdeps/gnu/errlist.c: Regenerated.
12269
12270 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12271
12272         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12273         [libc_hidden_builtin_def]: Define to empty value.
12274         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12275         [libc_hidden_builtin_def]: Likewise.
12276         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12277         [libc_hidden_builtin_def]: Likewise.
12278         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12279         [libc_hidden_builtin_def]: Likewise.
12280         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12281         __redirect_memcpy and define ifunc as default hidden symbol.
12282         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12283         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12284
12285 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12286
12287         * locale/iso-4217.def: Reintroduce XDR currency.
12288
12289 2014-05-04  Allan McRae  <allan@archlinux.org>
12290
12291         * po/eo.po: Update Esperanto translation from translation project.
12292
12293 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12294
12295         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12296         and FEATURE_INDEX_MAX to 1.
12297         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12298
12299 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12300
12301         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12302         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12303         * iconvdata/big5.c (ONE_DIRECTION): Define.
12304         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12305         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12306         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12307         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12308         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12309         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12310         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12311         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12312         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12313         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12314         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12315         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12316         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12317         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12318         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12319         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12320         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12321         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12322         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12323         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12324         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12325         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12326         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12327         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12328         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12329         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12330         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12331         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12332         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12333         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12334         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12335         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12336         * iconvdata/johab.c (ONE_DIRECTION): Define.
12337         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12338         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12339         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12340         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12341         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12342         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12343         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12344         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12345         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12346         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12347
12348 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12349
12350         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12351         (_IO_JUMPS_OFFSET): Define to 0.
12352
12353         * nptl/sysdeps/pthread/bits/libc-lock.h
12354         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12355         (__libc_lock_define_initialized_recursive): Always define using
12356         initializer.  Modern compilers treat uninitialized (implicit zero) and
12357         explicit zero initializers the same (i.e. put the datum in bss).
12358
12359 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12360
12361         * nscd/nscd-client.h: Include <string.h>.
12362
12363 2014-05-01  David S. Miller  <davem@davemloft.net>
12364
12365         [BZ #16885]
12366         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12367         multiple zero bytes exist at the end of a string.
12368         Reported by Aurelien Jarno <aurelien@aurel32.net>
12369
12370         * string/test-strcmp.c (check): Add explicit test for situations where
12371         there are multiple zero bytes after the first.
12372
12373 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12374
12375         [BZ #16890]
12376         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12377         when compiling wprintf.
12378         * stdio-common/tstdiomisc.c (t3): New function.
12379         (main): Call it.
12380
12381 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12382
12383         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12384         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12385         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12386         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12387
12388 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12389
12390         * stdlib/longlong.h: Updated from GCC.
12391
12392 2014-05-01  Will Newton  <will.newton@linaro.org>
12393             Bernard Ogden  <bernie.ogden@linaro.org>
12394
12395         * NEWS: Update fixed bug list.
12396
12397         [BZ #15119]
12398         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12399
12400 2014-04-30  David S. Miller  <davem@davemloft.net>
12401
12402         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12403         (libc_feholdexcept_setround_sparc_ctx): New function.
12404         (libc_fesetenv_sparc_ctx): Likewise.
12405         (libc_feupdateenv_sparc_ctx): Likewise.
12406         (libc_feholdsetround_sparc_ctx): Likewise.
12407         (libc_feholdexcept_setround_ctx): Define.
12408         (libc_feholdexcept_setroundf_ctx): Likewise.
12409         (libc_feholdexcept_setroundl_ctx): Likewise.
12410         (libc_fesetenv_ctx): Likewise.
12411         (libc_fesetenvf_ctx): Likewise.
12412         (libc_fesetenvl_ctx): Likewise.
12413         (libc_feupdateenv_ctx): Likewise.
12414         (libc_feupdateenvf_ctx): Likewise.
12415         (libc_feupdateenvl_ctx): Likewise.
12416         (libc_feresetround_ctx): Likewise.
12417         (libc_feresetroundf_ctx): Likewise.
12418         (libc_feresetroundl_ctx): Likewise.
12419         (libc_feholdsetround_ctx): Likewise.
12420         (libc_feholdsetroundf_ctx): Likewise.
12421         (libc_feholdsetroundl_ctx): Likewise.
12422
12423         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12424         with __USE_GNU instead of XOPEN cpp guards.
12425
12426         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12427         0.
12428
12429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12430         with XOPEN cpp guards.
12431
12432 2014-04-30  Julian Brown  <julian@codesourcery.com>
12433
12434         [BZ #16888]
12435         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12436         handling.
12437
12438 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12439
12440         [BZ #9894]
12441         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12442         Change to 2.6.32.
12443         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12444         * sysdeps/unix/sysv/linux/configure: Regenerated.
12445         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12446         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12447         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12448         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12449         * README: Update reference to required Linux kernel version.
12450         * manual/install.texi (Linux): Update reference to required Linux
12451         kernel headers version.
12452         * INSTALL: Regenerated.
12453
12454         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12455         header inclusion.
12456         [POSIX] (limits.h): Likewise.
12457         [POSIX] (math.h): Likewise.
12458         [POSIX] (sys/wait.h): Likewise.
12459         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12460         function.
12461         [POSIX] (stddef.h): Do not allow header inclusion.
12462
12463 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12464
12465         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12466
12467 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12468
12469         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12470         Return immediately after lll_futex_wake.
12471
12472 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12473
12474         [BZ #16791]
12475         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12476         structure.
12477         (datahead_init_pos): Call datahead_init_common early.
12478         (datahead_init_neg): Likewise.
12479
12480         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12481         datahead_init_neg): New functions.
12482         * nscd/aicache.c (addhstaiX): Use them.
12483         * nscd/grpcache.c (cache_addgr): Likewise.
12484         * nscd/hstcache.c (cache_addhst): Likewise.
12485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12486         * nscd/netgroupcache.c (do_notfound): Likewise.
12487         (addgetnetgrentX): Likewise.
12488         (addinnetgrX): Likewise.
12489         * nscd/pwdcache.c (cache_addpw): Likewise.
12490         * nscd/servicescache.c (cache_addserv): Likewise.
12491
12492 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12493             Atsushi Onoe  <atsushi@onoe.org>
12494
12495         [BZ #14308]
12496         [BZ #12994]
12497         [BZ #13651]
12498         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12499         one response is valid.
12500         * resolv/res_send.c (send_dg): Check for validity of other
12501         response if the current response is a referral.
12502
12503 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12504
12505         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12506
12507 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12508
12509         [BZ #16823]
12510         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12511         Always divide by positive zero when computing -Inf result.
12512         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12513         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12514
12515 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12516
12517         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12518         FPSCR if value do not change.
12519         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12520         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12521         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12522         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12523         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12524         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12525         function.
12526
12527 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12528
12529         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12530         * sysdeps/unix/sysv/linux/hppa: Move directory from
12531         ports/systeps/unix/sysv/linux/hppa.
12532         * README: Update listing for hppa-*-linux-gnu.
12533
12534 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12535
12536         [BZ #16754]
12537         * manual/stdio.texi (Hook functions): Fix types of stream hook
12538         functions.
12539         [BZ #16854]
12540         * socket/sys/socket.h: Fix typo in comment.
12541
12542 2014-04-28  Wilco  <wdijkstr@arm.com>
12543
12544         * sysdeps/arm/fenv_private.h: New file.
12545         * sysdeps/arm/math_private.h: New file.
12546         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12547
12548 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12549
12550         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12551         with __int128_t.
12552         (La_x86_64_retval): Likewise.
12553
12554 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12555
12556         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12557         fpsr if value didn't change.
12558         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12559         to fpcr if value didn't change.
12560         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12561         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12562         fpsr or fpcr if value didn't change.
12563         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12564         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12565         fpcr if value didn't change.
12566         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12567         to fpsr if value didn't change.
12568
12569 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570
12571         * nptl/tst-sem3.c: Use test-skeleton.c
12572         (main): Rename to do_test.  Use return instead of
12573         exit.
12574         * nptl/tst-sem4.c: Use test-skeleton.c
12575         (main): Rename to do_test.
12576
12577 2014-04-22  David S. Miller  <davem@davemloft.net>
12578
12579         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12580         (struct sigaction): New struct member __glibc_reserved0, change
12581         type of sa_flags to int.
12582
12583 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12584
12585         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12586         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12587
12588 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12589
12590         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12591         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12592
12593 2014-04-22  Will Newton  <will.newton@linaro.org>
12594             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12595
12596         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12597         (__longjmp): Add longjmp and longjmp_target SystemTap
12598         probes.
12599         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12600         (__sigsetjmp): Add setjmp SystemTap probe.
12601
12602 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12603
12604         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12605         match manual order.
12606
12607 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12608
12609         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12610
12611         * sysdeps/powerpc/fpu/fenv_private.h
12612         (libc_feholdexcept_setroundl_ctx): Define to
12613         libc_feholdexcept_setround_ppc_ctx.
12614         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12615         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12616         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12617         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12618
12619 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12620
12621         * sysdeps/aarch64/math-tests.h: New file.
12622
12623 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12624
12625         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12626         New.
12627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12628         Check and set bit_AVX2_Usable.
12629         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12630         macro.
12631         (bit_AVX2): Likewise.
12632         (index_AVX2_Usable): Likewise.
12633         (CPUID_AVX2): Likewise.
12634         (HAS_AVX2): Likewise.
12635
12636 2014-04-17  Will Newton  <will.newton@linaro.org>
12637
12638         * manual/setjmp.texi (System V contexts): Add note that
12639         calling setcontext on a context created by a call to a
12640         signal handler is undefined.  Update text to note that
12641         setcontext from a signal handler is possible but not
12642         recommended.
12643
12644         [BZ #16629]
12645         * stdlib/tst-setcontext.c: Include signal.h.
12646         (main): Check that the signal stack before and
12647         after swapcontext is the same.
12648
12649         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12650         Re-implement to restore registers in user code and avoid
12651         rt_sigreturn system call.
12652
12653 2014-04-17  Wilco  <wdijkstr@arm.com>
12654
12655         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12656         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12657         * math/test-fenv.c: Skip exception trap tests on targets which only
12658         support non-stop mode.
12659
12660 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12661             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12662
12663         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12664         (libc_feholdsetround_aarch64_ctx)
12665         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12666         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12667         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12668         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12669         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12670         (libc_feresetround_noexl_ctx): Define.
12671
12672 2014-04-16  Richard Henderson  <rth@redhat.com>
12673
12674         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12675
12676         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12677         unwind tables.
12678
12679         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12680         const from the non-libc, non-ldso copy.
12681
12682         * sysdeps/alpha/libm-test-ulps: Regenerate.
12683
12684 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12685             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12686
12687         * sysdeps/aarch64/fpu/math_private.h: New file.
12688
12689 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12690
12691         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12692
12693 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12694
12695         [BZ #16275]
12696         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12697         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12698         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12699         Intel MPX bound registers before _dl_profile_fixup.
12700         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12701         registers after _dl_profile_fixup.  Save and restore bound
12702         registers bnd0/bnd1 when calling _dl_call_pltexit.
12703         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12704         (LR_BND_OFFSET): Likewise.
12705         (LRV_BND0_OFFSET): Likewise.
12706         (LRV_BND1_OFFSET): Likewise.
12707
12708 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12709
12710         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12711         to...
12712         * sysdeps/mach/hurd/i386/tls.h: ... here.
12713         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12714         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12715         fields.
12716
12717 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12718
12719         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12720
12721 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12722
12723         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12724
12725 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12726
12727         [BZ #14770]
12728         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12729         * sysdeps/s390/configure: Regenerate.
12730
12731         [BZ #16824]
12732         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12733         Set round-to-nearest internally to reduce error accumulation.
12734
12735 2014-04-16  Alan Modra  <amodra@gmail.com>
12736
12737         [BZ #16740]
12738         [BZ #16619]
12739         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12740         * math/libm-test.inc (frexp_test_data): Add tests.
12741         * NEWS: Update fixed bug list.
12742
12743 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12744
12745         * benchtests/Makefile: Depend on libraries in build directory.
12746         (bench-math): Separate out math tests.
12747         (bench-pthread): Separate out pthread tests.
12748         (bench): Include math and pthread tests.
12749
12750 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12751
12752         [BZ #16831]
12753         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12754         _dl_debug_initialize.
12755
12756         * configure.ac: Remove SELinux header check.
12757         * configure: Regenerate.
12758         * nscd/selinux.c (perms): Array of const char* to permission names.
12759         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12760         default policy. Call string_to_security_class and string_to_av_perm to
12761         translate strings. Enforce default policy and call avs_has_perm with
12762         results of translated strings.
12763
12764 2014-04-13  David S. Miller  <davem@davemloft.net>
12765
12766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12767
12768 2014-04-12  Allan McRae  <allan@archlinux.org>
12769
12770         [BZ #16838]
12771         * manual/string.texi (Collation Functions): Fix qsort argument
12772         order in example.
12773         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12774
12775 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12776
12777         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12778         Make the test a no-op if there are no exceptions defined.
12779
12780 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12781
12782         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12783         enable-hardcoded-path-in-tests
12784
12785 2014-04-11  Will Newton  <will.newton@linaro.org>
12786
12787         * benchtests/Makefile (extra-objs): Add json-lib.o.
12788         (bench-func): Tidy up JSON output.
12789         * benchtests/bench-skeleton.c: Include json-lib.h.
12790         (main): Use JSON library functions to do output of
12791         benchmark results.
12792         * benchtests/bench-timing-type.c (main): Output the
12793         timing type simply, leaving formatting to the user.
12794         * benchtests/json-lib.c: New file.
12795         * benchtests/json-lib.h: Likewise.
12796
12797 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12798
12799         [BZ #15215]
12800         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12801         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12802         memory barriers.  Add comments.
12803         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12804         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12805         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12806         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12807         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12808         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12809
12810 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12811
12812         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12813         * sysdeps/s390/s390-64/configure.ac: ... this ...
12814         * sysdeps/s390/configure.ac: ... to here.
12815         * sysdeps/s390/s390-32/configure: Delete file.
12816         * sysdeps/s390/s390-64/configure: Delete file.
12817         * sysdeps/s390/configure: Regenerate.
12818
12819 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12820
12821         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12822
12823 2014-04-11  Will Newton  <will.newton@linaro.org>
12824
12825         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12826         to zero if it is not defined elsewhere.  (mtrim): Test
12827         the value of MALLOC_DEBUG with #if rather than #ifdef.
12828
12829 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12830
12831         * benchtests/pthread_once-inputs: New file.
12832         * benchtests/pthread_once-source.c: New file.
12833         * benchtests/README: Update documentation.
12834
12835 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12836             H.J. Lu  <hongjiu.lu@intel.com>
12837
12838         [BZ #16275]
12839         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12840         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12841         * sysdeps/x86_64/configure: Regenerated.
12842         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12843         macro.
12844         (REGISTER_SAVE_RAX): Likewise.
12845         (REGISTER_SAVE_RCX): Likewise.
12846         (REGISTER_SAVE_RDX): Likewise.
12847         (REGISTER_SAVE_RSI): Likewise.
12848         (REGISTER_SAVE_RDI): Likewise.
12849         (REGISTER_SAVE_R8): Likewise.
12850         (REGISTER_SAVE_R9): Likewise.
12851         (REGISTER_SAVE_BND0): Likewise.
12852         (REGISTER_SAVE_BND1): Likewise.
12853         (REGISTER_SAVE_BND2): Likewise.
12854         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12855         bound registers when calling _dl_fixup.
12856
12857 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12858
12859         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12860         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12861         of its definition.
12862         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12863         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12864         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12865         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12866         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12867         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12868         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12869
12870 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12871
12872         [BZ #15514]
12873         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12874         pathconf(_PC_NAME_MAX).
12875
12876 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12877
12878         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12879         Remove macro usage.
12880         (__PTHREAD_SPINS): Move definition to ...
12881         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12882         (__PTHREAD_SPINS): ... here.
12883         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12884         (__PTHREAD_SPIN): Likewise.
12885         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12886         (__PTHREAD_SPIN): Likewise.
12887         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12888         (__PTHREAD_SPIN): Likewise.
12889         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12890         (__PTHREAD_SPIN): Likewise.
12891         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12892         (__PTHREAD_SPIN): Likewise.
12893         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12894         (__PTHREAD_SPIN): Likewise.
12895         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12896         (__PTHREAD_SPIN): Likewise.
12897         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12898         (__PTHREAD_SPIN): Likewise.
12899         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12900         (__PTHREAD_SPIN): Likewise.
12901         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12902         (__PTHREAD_SPIN): Likewise.
12903         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12904         (__PTHREAD_SPIN): Likewise.
12905         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12906         (__PTHREAD_SPIN): Likewise.
12907
12908         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12909         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12910         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12911         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12912         imply folder.
12913         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12914         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12915         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12916         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12917         correct imply path.
12918         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12919         strlen symbol for non multi-arch builds.
12920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12921         missing hidden_def and weak_alias.
12922
12923 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12924
12925         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12926
12927 2014-04-07  Will Newton  <will.newton@linaro.org>
12928
12929         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12930         and contents.  [!_LIBC] Remove #ifndef and contents.
12931         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12932         * string/memccpy.c (__memccpy): Use ANSI prototype.
12933         * string/memfrob.c (memfrob): Likewise.
12934         * string/strcoll.c (STRCOLL): Likewise.
12935         * string/strlen.c (strlen): Likewise.
12936         * string/strtok.c (STRTOK): Likewise.
12937         * string/strcat.c: Remove unused #include of memcopy.h.
12938         (strcat): Use ANSI prototype.
12939         * string/strchr.c: Remove unused #include of memcopy.h.
12940         (strchr): Use ANSI prototype.
12941         * string/strcmp.c: Remove unused #include of memcopy.h.
12942         (strcmp): Use ANSI prototype.
12943         * string/strcpy.c: Remove unused #include of memcopy.h.
12944         (strcpy): Use ANSI prototype.
12945
12946 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12947
12948         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12949         * config.make.in (config-extra-cppflags): Set it from
12950         libc_extra_cppflags.
12951         * configure.ac (libc_extra_cflags): Make it accumulate over
12952         configure fragments.
12953         (libc_extra_cppflags): New flag.
12954         * configure. Regenerate.
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12956         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12957         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12959
12960         [BZ #16815]
12961         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12962         result for FE_DOWNWARD rounding mode.
12963         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12964         Likewise.
12965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12966
12967 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12968
12969         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12970         in function argument name.
12971
12972 2014-04-03  David Svoboda  <svoboda@cert.org>
12973
12974         [BZ #5666]
12975         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12976         explicitly.
12977
12978 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12979
12980         * elf/dl-unmap-segments.h: New file.
12981         * sysdeps/generic/ldsodefs.h
12982         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12983         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12984         * elf/dl-fptr.c: Likewise.
12985         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12986         * sysdeps/aarch64/tlsdesc.c: Likewise.
12987         * sysdeps/arm/tlsdesc.c: Likewise.
12988         * sysdeps/i386/tlsdesc.c: Likewise.
12989         * sysdeps/tile/dl-runtime.c: Likewise.
12990         * sysdeps/x86_64/tlsdesc.c: Likewise.
12991         * elf/dl-load.h: New file.
12992         * elf/dl-load.c: Include it.
12993         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12994         Macros moved to dl-load.h.
12995         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12996         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12997         Use _dl_unmap_segments in place of __munmap.
12998         Break out segment-mapping loop into ...
12999         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13000
13001 2014-04-03  Will Newton  <will.newton@linaro.org>
13002
13003         * elf/dl-lookup.c (do_lookup_x): Remove comment
13004         referring to nested function and move variable
13005         declarations down to before first use.
13006
13007 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13008
13009         [BZ #16799]
13010         [BZ #16800]
13011         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13012         with 0 numerator.
13013         * math/s_catanf.c (__catanf): Likewise.
13014         * math/s_catanh.c (__catanh): Likewise.
13015         * math/s_catanhf.c (__catanhf): Likewise.
13016         * math/s_catanhl.c (__catanhl): Likewise.
13017         * math/s_catanl.c (__catanl): Likewise.
13018         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13019         by positive zero when computing -Inf result.
13020         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13021         (catanh_test): Likewise.
13022         * sysdeps/i386/fpu/libm-test-ulps: Update.
13023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024
13025         [BZ #16789]
13026         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13027         instead of using underflowing value in computing result.
13028         * math/s_clog10.c (__clog10): Likewise.
13029         * math/s_clog10f.c (__clog10f): Likewise.
13030         * math/s_clog10l.c (__clog10l): Likewise.
13031         * math/s_clogf.c (__clogf): Likewise.
13032         * math/s_clogl.c (__clogl): Likewise.
13033         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13034         (clog10_test): Likewise.
13035         * sysdeps/i386/fpu/libm-test-ulps: Update.
13036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13037
13038 2014-04-02  Alan Modra  <amodra@gmail.com>
13039
13040         [BZ #16739]
13041         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13042         output when value is near a power of two.  Use int64_t for lx and
13043         remove casts.  Use decimal rather than hex exponent constants.
13044         Don't use long double multiplication when double will suffice.
13045         * math/libm-test.inc (nextafter_test_data): Add tests.
13046         * NEWS: Add 16739 and 16786 to bug list.
13047
13048         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13049
13050         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13051
13052 2014-04-01  Will Newton  <will.newton@linaro.org>
13053
13054         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13055         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13056
13057 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13058
13059         [BZ #13347]
13060         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13061         * nptl/tst-setuid2.c: New file.
13062         * nptl/Makefile (xtests): Add tst-setuid2.
13063
13064 2014-04-01  Alan Modra  <amodra@gmail.com>
13065
13066         [BZ #16786]
13067         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13068
13069 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13070
13071         [BZ #6803]
13072         [BZ #6804]
13073         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13074         set errno as appropriate.
13075         * math/w_scalbf.c (__scalbf): Likewise.
13076         * math/w_scalbl.c (__scalbl): Likewise.
13077         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13078         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13079         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13080         Add more NaN tests.
13081
13082         [BZ #16349]
13083         * math/w_atan2.c: Include <errno.h>.
13084         (__atan2): Set errno for result underflowing to zero.
13085         * math/w_atan2f.c: Include <errno.h>.
13086         (__atan2f): Set errno for result underflowing to zero.
13087         * math/w_atan2l.c: Include <errno.h>.
13088         (__atan2l): Set errno for result underflowing to zero.
13089         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13090         tests.
13091         * math/auto-libm-test-out: Regenerated.
13092
13093 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13094
13095         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13096         Encode instruction correctly in little endian.
13097         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13098         Likewise.
13099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13100         Likewise.
13101         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13102         Likewise.
13103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13104         Likewise.
13105
13106 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13107
13108         [BZ #9894]
13109         * sysdeps/unix/sysv/linux/kernel-features.h
13110         [__sparc__ && !__arch64__ && !__sparc_v9__]
13111         (__ASSUME_SET_ROBUST_LIST): Do not define.
13112         [__sparc__ && !__arch64__ && !__sparc_v9__]
13113         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13114         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13117         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13118         (__ASSUME_REQUEUE_PI): Likewise.
13119         (__ASSUME_SET_ROBUST_LIST): Likewise.
13120         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13121         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13122         Undefine.
13123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13124         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13125         Likewise.
13126         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13127         Likewise.
13128         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13129         Likewise.
13130         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13131         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13132         Undefine.
13133         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13134         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13135         Likewise.
13136
13137         [BZ #16648]
13138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13139         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13140         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13141
13142 2014-03-31  Will Newton  <will.newton@linaro.org>
13143
13144         * benchtests/Makefile (bench): Add ffs and ffsll to list
13145         of tests.
13146         * benchtests/ffs-inputs: New file.
13147         * benchtests/ffsll-inputs: Likewise.
13148
13149 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13150
13151         [BZ #16770]
13152         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13153         too large before casting to int.
13154         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13155         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13156         * math/libm-test.inc (scalb_test_data): Add more tests.
13157
13158 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13159
13160         * benchtests/Makefile (DETAILED_OPT): New make option.
13161         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13162         set.
13163         * benchtests/bench-skeleton.c: Include stdbool.h.
13164         (main): Store and print timings per input.
13165         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13166         member to each argument value.
13167         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13168         (_print_arg_data): Initialize per-input timing to 0.
13169
13170         * benchtests/Makefile (timing-type): New binary.
13171         (bench-clean): Also remove bench-timing-type.
13172         (bench): New target for timing-type.
13173         (bench-func): Print output in JSON format.
13174         * benchtests/bench-skeleton.c (main): Print output in JSON
13175         format.
13176         * benchtests/bench-timing-type.c: New file.
13177         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13178         (TIMING_PRINT_STATS): Remove.
13179         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13180         name separately.
13181
13182         * benchtests/bench-modf.c: Remove.
13183         * benchtests/modf-inputs: New inputs file.
13184
13185 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13186
13187         [BZ #16362]
13188         * math/s_clog10.c (M_PI_LOG10E): New macro.
13189         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13190         imaginary parts are 0.
13191         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13192         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13193         imaginary parts are 0.
13194         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13195         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13196         imaginary parts are 0.
13197         * math/libm-test.inc (clog10_test_data): Update expected results
13198         for when real and imaginary parts are 0.
13199
13200 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13201
13202         * elf/dl-load.c: Finish conversion of __builtin_expect into
13203         __glibc_{un}likely.
13204
13205 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13206
13207         [BZ #16348]
13208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13209         1+x for argument with exponent below -67.
13210         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13211         Likewise.
13212         * math/auto-libm-test-in: Add more tests of exp.
13213         * math/auto-libm-test-out: Regenerated.
13214
13215 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13216
13217         [BZ #16759]
13218         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13219         (nscd_getnetgrent): Use it.
13220
13221         [BZ #16760]
13222         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13223         of stpcpy.
13224
13225 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13226
13227         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13228         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13229         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13230         (lll_robust_unlock): Remove out of line section. Use cfi
13231         intrinsics.
13232         (LLL_STUB_UNWIND_INFO*): Remove.
13233         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13234         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13235         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13236         (lll_robust_unlock): Remove out of line section. Use cfi
13237         intrinsics.
13238         (LLL_STUB_UNWIND_INFO*): Remove.
13239
13240 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13241
13242         [BZ #16758]
13243         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13244         blank values.
13245
13246 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13247
13248         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13249
13250 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13251
13252         [BZ #16198]
13253         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13254         fnstenv.
13255         * math/test-fenv-preserve.c: New file.
13256         * math/Makefile (tests): Add test-fenv-preserve.
13257
13258 2014-03-26  Will Newton <will.newton@linaro.org>
13259
13260         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13261
13262 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13263
13264         * scripts/versionlist.awk: Partition the version sets and emit all
13265         GLIBC_* (sorted) before all others (sorted).
13266
13267 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13268
13269         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13270         GLIBC_2.2.5 version.
13271
13272 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13273
13274         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13275         calls.
13276
13277         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13278         previous change.
13279
13280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13281
13282 2014-03-25  Andreas Schwab  <schwab@suse.de>
13283
13284         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13285         label to be used after in6ailist is initialized.
13286
13287 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13288
13289         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13290         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13291
13292 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13293
13294         [BZ #16357]
13295         [BZ #16599]
13296         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13297         min_plus_half.
13298         (fp_formats): Update initializers.
13299         (init_fp_formats): Initialize new field.
13300         (output_for_one_input_case): Allow underflow for results up to
13301         min_plus_half.
13302         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13303         * math/auto-libm-test-in: Don't mark some underflows from asin and
13304         atanh as spurious.
13305         * math/auto-libm-test-out: Regenerated.
13306         * sysdeps/i386/fpu/libm-test-ulps: Update.
13307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13308
13309 2014-03-25  Andreas Schwab  <schwab@suse.de>
13310
13311         * libio/Makefile (tst-ftell-partial-wide-ENV)
13312         (tst-ftell-active-handler-ENV): Define.
13313
13314 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13315
13316         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13317
13318 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13319
13320         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13321
13322 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13323
13324         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13325         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13326         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13327
13328 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13329
13330         [BZ #16634]
13331         * elf/dl-load.c (open_verify): Add mode parameter.
13332         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13333         (open_path): Change from boolean 'secure' to complete flag 'mode'
13334         (_dl_map_object): Adjust.
13335         * elf/Makefile (tests): Add tst-dlopen-aout.
13336         * elf/tst-dlopen-aout.c: New test.
13337
13338 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13339
13340         [BZ #16714]
13341         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13342         (struct stat): Rename member pad0 to __glibc_reserved0.
13343
13344         [BZ #16712]
13345         * sysdeps/s390/s390-32/bits/wordsize.h
13346         (__WORDSIZE32_SIZE_ULONG): New define.
13347         * sysdeps/s390/s390-64/bits/wordsize.h
13348         (__WORDSIZE32_SIZE_ULONG): Likewise.
13349         * sysdeps/generic/stdint.h (SIZE_MAX):
13350         Define as UL if __WORDSIZE32_SIZE_ULONG.
13351
13352         [BZ #16713]
13353         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13354         (__glibc_reserved0): New variable.
13355         (sa_flags): Change type to int.
13356
13357         * posix/Makefile (before-compile): Use += before-compile instead
13358         of a :=.
13359
13360         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13361         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13362
13363 2014-03-20  Andreas Schwab  <schwab@suse.de>
13364
13365         [BZ #16743]
13366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13367         non-matching result from nscd.
13368
13369 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13370
13371         * scripts/bench.py: Moved to ...
13372         * benchtests/scripts/bench.py: ... here.
13373         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13374
13375 2014-03-24  Andreas Schwab  <schwab@suse.de>
13376
13377         [BZ #16002]
13378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13379         alloca_account and account alloca use for struct in6ailist.
13380
13381 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13382
13383         [BZ #16284]
13384         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13385         rounding mode to recompute results that overflow to infinity or
13386         underflow to zero.
13387         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13388         bug 16284.
13389         * math/auto-libm-test-out: Regenerated.
13390         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13391         (ccosh_test): Likewise.
13392         (csin_test_data): Use plus_oflow.
13393         (csin_test): Use ALL_RM_TEST.
13394         (csinh_test_data): Use plus_oflow.
13395         (csinh_test): Use ALL_RM_TEST.
13396         * sysdeps/i386/fpu/libm-test-ulps: Update.
13397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13398
13399 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13400
13401         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13402         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13403         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13404
13405         [BZ #16731]
13406         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13407         when x - 1 is zero.
13408         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13409         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13410         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13412         argument is 1.
13413         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13414         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13415         zero.
13416         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13417         * sysdeps/i386/fpu/libm-test-ulps: Update.
13418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419
13420 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13421
13422         * scripts/bench.pl: Remove file.
13423         * scripts/bench.py: New benchmark script.
13424         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13425         * benchtests/README: Mention python dependency.
13426         * scripts/pylintrc: New file.
13427         * scripts/pylint: New file.
13428
13429         * bits/mathdef.h: Use #ifdef instead of #if.
13430         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13431         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13432         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13433         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13434         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13435         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13436
13437 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13438             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13439
13440         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13442         and strpbrk-ppc64 objects.
13443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13444         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13445         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13446         multiarch strpbrk for POWER7.
13447         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13448         multiarch strpbrk for PPC64.
13449         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13450         ifunc selector.
13451         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13452         strpbrk for POWER7.
13453
13454 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13455
13456         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13457         (atan_test): Likewise.
13458         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13459         (atanh_test): Use ALL_RM_TEST.
13460         (atan2_test_data): Likewise.
13461         (cabs_test): Likewise.
13462         (cacosh_test): Likewise.
13463         (carg_test): Likewise.
13464         (casin_test): Likewise.
13465         (casinh_test): Likewise.
13466         (cbrt_test): Likewise.
13467         (csqrt_test): Likewise.
13468         (erf_test): Likewise.
13469         (erfc_test): Likewise.
13470         (pow10_test): Likewise.
13471         (exp2_test): Likewise.
13472         (hypot_test): Likewise.
13473         (j0_test): Likewise.
13474         (j1_test): Likewise.
13475         (lgamma_test): Likewise.
13476         (gamma_test): Likewise.
13477         (sincos_test): Likewise.
13478         (tanh_test): Likewise.
13479         (y0_test): Likewise.
13480         (y1_test): Likewise.
13481         * sysdeps/i386/fpu/libm-test-ulps: Update.
13482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13483
13484 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13485
13486         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13488         and strcspn-ppc64 objects.
13489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13490         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13491         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13492         multiarch strcspn for POWER7.
13493         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13494         multiarch strcspn for PPC64.
13495         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13496         ifunc selector.
13497         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13498         strcspn for POWER7.
13499
13500 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13501
13502         * math/gen-libm-test.pl (generate_testfile): Expect only function
13503         name as argument to AUTO_TESTS_* and pass results for all rounding
13504         modes to parse_args.
13505         (parse_auto_input): Separate inputs of automatic tests from
13506         outputs before storing in %auto_tests.
13507         * math/libm-test.inc (acos_test_data): Update call to
13508         AUTO_TESTS_f_f.
13509         (acos_test): Use ALL_RM_TEST.
13510         (acos_tonearest_test_data): Remove.
13511         (acos_test_tonearest): Likewise.
13512         (acos_towardzero_test_data): Likewise.
13513         (acos_test_towardzero): Likewise.
13514         (acos_downward_test_data): Likewise.
13515         (acos_test_downward): Likewise.
13516         (acos_upward_test_data): Likewise.
13517         (acos_test_upward): Likewise.
13518         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13519         (asin_test_data): Likewise.
13520         (asin_test): Use ALL_RM_TEST.
13521         (asin_tonearest_test_data): Remove.
13522         (asin_test_tonearest): Likewise.
13523         (asin_towardzero_test_data): Likewise.
13524         (asin_test_towardzero): Likewise.
13525         (asin_downward_test_data): Likewise.
13526         (asin_test_downward): Likewise.
13527         (asin_upward_test_data): Likewise.
13528         (asin_test_upward): Likewise.
13529         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13530         (atan_test_data): Likewise.
13531         (atanh_test_data): Likewise.
13532         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13533         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13534         (carg_test_data): Likewise.
13535         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13536         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13537         (ccosh_test_data): Likewise.
13538         (cexp_test_data): Likewise.
13539         (clog_test_data): Likewise.
13540         (clog10_test_data): Likewise.
13541         (cos_test_data): Update call to AUTO_TESTS_f_f.
13542         (cos_test): Use ALL_RM_TEST.
13543         (cos_tonearest_test_data): Remove.
13544         (cos_test_tonearest): Likewise.
13545         (cos_towardzero_test_data): Likewise.
13546         (cos_test_towardzero): Likewise.
13547         (cos_downward_test_data): Likewise.
13548         (cos_test_downward): Likewise.
13549         (cos_upward_test_data): Likewise.
13550         (cos_test_upward): Likewise.
13551         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13552         (cosh_test): Use ALL_RM_TEST.
13553         (cosh_tonearest_test_data): Remove.
13554         (cosh_test_tonearest): Likewise.
13555         (cosh_towardzero_test_data): Likewise.
13556         (cosh_test_towardzero): Likewise.
13557         (cosh_downward_test_data): Likewise.
13558         (cosh_test_downward): Likewise.
13559         (cosh_upward_test_data): Likewise.
13560         (cosh_test_upward): Likewise.
13561         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13562         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13563         (ctan_test_data): Likewise.
13564         (ctan_test): Use ALL_RM_TEST.
13565         (ctan_tonearest_test_data): Remove.
13566         (ctan_test_tonearest): Likewise.
13567         (ctan_towardzero_test_data): Likewise.
13568         (ctan_test_towardzero): Likewise.
13569         (ctan_downward_test_data): Likewise.
13570         (ctan_test_downward): Likewise.
13571         (ctan_upward_test_data): Likewise.
13572         (ctan_test_upward): Likewise.
13573         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13574         (ctanh_test): Use ALL_RM_TEST.
13575         (ctanh_tonearest_test_data): Remove.
13576         (ctanh_test_tonearest): Likewise.
13577         (ctanh_towardzero_test_data): Likewise.
13578         (ctanh_test_towardzero): Likewise.
13579         (ctanh_downward_test_data): Likewise.
13580         (ctanh_test_downward): Likewise.
13581         (ctanh_upward_test_data): Likewise.
13582         (ctanh_test_upward): Likewise.
13583         (erf_test_data): Update call to AUTO_TESTS_f_f.
13584         (erfc_test_data): Likewise.
13585         (exp_test_data): Likewise.
13586         (exp_test): Use ALL_RM_TEST.
13587         (exp_tonearest_test_data): Remove.
13588         (exp_test_tonearest): Likewise.
13589         (exp_towardzero_test_data): Likewise.
13590         (exp_test_towardzero): Likewise.
13591         (exp_downward_test_data): Likewise.
13592         (exp_test_downward): Likewise.
13593         (exp_upward_test_data): Likewise.
13594         (exp_test_upward): Likewise.
13595         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13596         (exp10_test): Use ALL_RM_TEST.
13597         (exp10_tonearest_test_data): Remove.
13598         (exp10_test_tonearest): Likewise.
13599         (exp10_towardzero_test_data): Likewise.
13600         (exp10_test_towardzero): Likewise.
13601         (exp10_downward_test_data): Likewise.
13602         (exp10_test_downward): Likewise.
13603         (exp10_upward_test_data): Likewise.
13604         (exp10_test_upward): Likewise.
13605         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13606         (expm1_test_data): Likewise.
13607         (expm1_test): Use ALL_RM_TEST.
13608         (expm1_tonearest_test_data): Remove.
13609         (expm1_test_tonearest): Likewise.
13610         (expm1_towardzero_test_data): Likewise.
13611         (expm1_test_towardzero): Likewise.
13612         (expm1_downward_test_data): Likewise.
13613         (expm1_test_downward): Likewise.
13614         (expm1_upward_test_data): Likewise.
13615         (expm1_test_upward): Likewise.
13616         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13617         (fma_test): Use ALL_RM_TEST.
13618         (fma_towardzero_test_data): Remove.
13619         (fma_test_towardzero): Likewise.
13620         (fma_downward_test_data): Likewise.
13621         (fma_test_downward): Likewise.
13622         (fma_upward_test_data): Likewise.
13623         (fma_test_upward): Likewise.
13624         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13625         (j0_test_data): Update call to AUTO_TESTS_f_f.
13626         (j1_test_data): Likewise.
13627         (jn_test_data): Update call to AUTO_TESTS_if_f.
13628         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13629         (log_test_data): Update call to AUTO_TESTS_f_f.
13630         (log10_test_data): Likewise.
13631         (log1p_test_data): Likewise.
13632         (log2_test_data): Likewise.
13633         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13634         (pow_tonearest_test_data): Likewise.
13635         (sin_test_data): Update call to AUTO_TESTS_f_f.
13636         (sin_test): Use ALL_RM_TEST.
13637         (sin_tonearest_test_data): Remove.
13638         (sin_test_tonearest): Likewise.
13639         (sin_towardzero_test_data): Likewise.
13640         (sin_test_towardzero): Likewise.
13641         (sin_downward_test_data): Likewise.
13642         (sin_test_downward): Likewise.
13643         (sin_upward_test_data): Likewise.
13644         (sin_test_upward): Likewise.
13645         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13646         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13647         (sinh_test): Use ALL_RM_TEST.
13648         (sinh_tonearest_test_data): Remove.
13649         (sinh_test_tonearest): Likewise.
13650         (sinh_towardzero_test_data): Likewise.
13651         (sinh_test_towardzero): Likewise.
13652         (sinh_downward_test_data): Likewise.
13653         (sinh_test_downward): Likewise.
13654         (sinh_upward_test_data): Likewise.
13655         (sinh_test_upward): Likewise.
13656         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13657         (sqrt_test): Use ALL_RM_TEST.
13658         (sqrt_tonearest_test_data): Remove.
13659         (sqrt_test_tonearest): Likewise.
13660         (sqrt_towardzero_test_data): Likewise.
13661         (sqrt_test_towardzero): Likewise.
13662         (sqrt_downward_test_data): Likewise.
13663         (sqrt_test_downward): Likewise.
13664         (sqrt_upward_test_data): Likewise.
13665         (sqrt_test_upward): Likewise.
13666         (tan_test_data): Update call to AUTO_TESTS_f_f.
13667         (tan_test): Use ALL_RM_TEST.
13668         (tan_tonearest_test_data): Remove.
13669         (tan_test_tonearest): Likewise.
13670         (tan_towardzero_test_data): Likewise.
13671         (tan_test_towardzero): Likewise.
13672         (tan_downward_test_data): Likewise.
13673         (tan_test_downward): Likewise.
13674         (tan_upward_test_data): Likewise.
13675         (tan_test_upward): Likewise.
13676         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13677         (tgamma_test_data): Likewise.
13678         (y0_test_data): Likewise.
13679         (y1_test_data): Likewise.
13680         (yn_test_data): Update call to AUTO_TESTS_if_f.
13681         (main): Do not call removed functions.
13682
13683 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13684
13685         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13686         (ldexp_test_data): Remove.
13687         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13688         scalbn_test_data.
13689         (scalb_test): Use ALL_RM_TEST.
13690
13691 2014-03-19  Andreas Schwab  <schwab@suse.de>
13692
13693         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13694
13695 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13696
13697         [BZ #16649]
13698         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13699         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13700         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13702         (__ASSUME_PREADV): Undefine.
13703         (__ASSUME_PWRITEV): Likewise.
13704
13705 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13706
13707         * bits/mman-linux.h: Add comment about non-Linux use.
13708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13709         bits/mman-linux.h resting place.
13710
13711         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13712         * bits/mman-linux.h: ... here.
13713
13714 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13715
13716         * conform/conformtest.pl: Add standard definition when calling C
13717         preprocessor on data files.
13718         (checknamespace): Remove unused variable.
13719
13720 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13721
13722         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13723         minus_oflow, plus_uflow and minus_uflow in expected results.
13724         * math/libm-test.inc (scalbn_test_data): Add more tests of
13725         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13726         minus_uflow.
13727         (scalbn_test): Use ALL_RM_TEST.
13728         (scalbln_test_data): Add more tests of negative arguments.  Use
13729         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13730         (scalbln_test): Use ALL_RM_TEST.
13731
13732 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13733
13734         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13735
13736 2014-03-18  Will Newton  <will.newton@linaro.org>
13737
13738         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13739         inaccurate comment.
13740
13741 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13742
13743         * Makerules [!subdir] (check-abi): Exit with error status if a
13744         test failed.
13745
13746 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13747
13748         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13749         for rint.  Include results for all rounding modes.
13750         (nearbyint_test): Use ALL_RM_TEST.
13751         (rint_test_data): Include all tests used for nearbyint.
13752
13753 2014-03-17  Will Newton  <will.newton@linaro.org>
13754
13755         * nptl/sysdeps/pthread/pthread.h: Revert previous
13756         change.
13757
13758         * sysdeps/generic/ldsodefs.h: Revert previous
13759         change.
13760
13761         * libio/genops.c: Revert previous change.
13762         * libio/libioP.h: Likewise.
13763         * stdio-common/vfprintf.c: Likewise.
13764
13765         * sysdeps/generic/math_private.h: Revert previous
13766         change.
13767
13768         * sysdeps/generic/math_private.h: Check whether
13769         HAVE_RM_CTX is defined with #ifdef rather
13770         than #if.
13771
13772         * argp/argp-fmtstream.h: Check whether
13773         __STRICT_ANSI__ is defined with #ifdef rather
13774         than #if.
13775         * argp/argp.h: Likewise.
13776
13777         * libio/genops.c: Check whether
13778         _IO_JUMPS_OFFSET is defined with #ifdef rather
13779         than #if.
13780         * libio/libioP.h: Likewise.
13781         * stdio-common/vfprintf.c: Likewise.
13782
13783         * sysdeps/generic/ldsodefs.h: Check whether
13784         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13785         than #if.
13786
13787         * nptl/sysdeps/pthread/pthread.h: Check
13788         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13789         its value.
13790
13791 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13792
13793         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13794         setting O_APPEND.
13795         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13796         test case.
13797
13798         [BZ #16680]
13799         * libio/fileops.c (_IO_file_open): Seek to end of file but
13800         don't cache the offset.
13801         (get_file_offset): Remove function.
13802         (do_ftell): Use cached offset when available.
13803         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13804         don't cache the offset.
13805         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13806         case.
13807         (do_one_test): Call it.
13808         (do_ftell_test): Fix up expected old offset for a+ mode.
13809         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13810         available.
13811
13812         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13813         up test status with function return status.
13814         (do_write_test): Likewise.
13815         (do_append_test): Likewise.
13816
13817         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13818         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13819         Remove.
13820
13821 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13822
13823         * math/gen-libm-test.pl (parse_args): Handle results specified for
13824         each rounding mode separately.
13825         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13826         tests and results from lrint_tonearest_test_data,
13827         lrint_towardzero_test_data, lrint_downward_test_data and
13828         lrint_upward_test_data.
13829         (lrint_test): Use ALL_RM_TEST.
13830         (lrint_tonearest_test_data): Remove.
13831         (lrint_test_tonearest): Likewise.
13832         (lrint_towardzero_test_data): Likewise.
13833         (lrint_test_towardzero): Likewise.
13834         (lrint_downward_test_data): Likewise.
13835         (lrint_test_downward): Likewise.
13836         (lrint_upward_test_data): Likewise.
13837         (lrint_test_upward): Likewise.
13838         (llrint_test_data): Merge in per-rounding-mode tests and results
13839         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13840         llrint_downward_test_data and llrint_upward_test_data.
13841         (llrint_test): Use ALL_RM_TEST.
13842         (llrint_tonearest_test_data): Remove.
13843         (llrint_test_tonearest): Likewise.
13844         (llrint_towardzero_test_data): Likewise.
13845         (llrint_test_towardzero): Likewise.
13846         (llrint_downward_test_data): Likewise.
13847         (llrint_test_downward): Likewise.
13848         (llrint_upward_test_data): Likewise.
13849         (llrint_test_upward): Likewise.
13850         (rint_test_data): Merge in per-rounding-mode tests and results
13851         from rint_tonearest_test_data, rint_towardzero_test_data,
13852         rint_downward_test_data and rint_upward_test_data.  Add
13853         per-rounding-mode results for tests not in those arrays.
13854         (rint_test): Use ALL_RM_TEST.
13855         (rint_tonearest_test_data): Remove.
13856         (rint_test_tonearest): Likewise.
13857         (rint_towardzero_test_data): Likewise.
13858         (rint_test_towardzero): Likewise.
13859         (rint_downward_test_data): Likewise.
13860         (rint_test_downward): Likewise.
13861         (rint_upward_test_data): Likewise.
13862         (rint_test_upward): Likewise.
13863         (main): Don't call removed functions.
13864
13865 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13866
13867         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13868         "Compiled on ..." crapola.  It is anti-useful.
13869
13870 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13871
13872         * scripts/evaluate-test.sh: Handle fourth argument to determine
13873         whether test run should stop on failure.
13874         * Makeconfig (stop-on-test-failure): New variable.
13875         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13876         $(stop-on-test-failure).
13877         * Makefile (tests): Give a summary of results from testing and
13878         exit with failure status if they include an ERROR or FAIL.
13879         (xtests): Likewise.
13880         * manual/install.texi (Configuring and compiling): Mention
13881         stop-on-test-failure=y.
13882         * INSTALL: Regenerated.
13883
13884 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13885
13886         * scripts/versionlist.awk: New file.
13887         * Makerules [$(build-shared) = yes]
13888         (postclean-generated): Add Versions.def, not Versions.def.v and
13889         Versions.def.v.i.
13890         ($(common-objpfx)Versions.def.v.i): Target removed.
13891         ($(common-objpfx)Versions.def): New target.
13892         ($(common-objpfx)Versions.all): Depend on that rather that
13893         $(common-objpfx)Versions.def.v.
13894         * Versions.def: File removed.
13895
13896         * Makeconfig (+gccwarn): Add -Wundef.
13897         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13898         a dl-sysdep.h breaking its contract.
13899         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13900         * include/stackinfo.h: New file.
13901         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13902         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13903         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13904         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13905         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13906         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13907         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13908         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13909         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13910         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13911         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13912         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13913         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13914         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13915         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13916
13917 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13918
13919         [BZ #16707]
13920         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13921         implementation.
13922         * math/libm-test.inc (round_test_data): Add more tests.
13923
13924         [BZ #16706]
13925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13926         implementation.
13927         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13928
13929         [BZ #16701]
13930         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13931         implementation.
13932         * math/libm-test.inc (ceil_test_data): Add more tests.
13933
13934         * math/libm-test.inc (trunc_test_data): Add more tests related to
13935         BZ#16414.
13936
13937 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13938
13939         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13940         with #if rather than #ifdef.
13941         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13942
13943 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13944
13945         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13946         first.  Disable AVX-512 GCC support if assembler doesn't support
13947         it.
13948         * sysdeps/x86_64/configure: Regenerated.
13949
13950 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13951
13952         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13953         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13954         (__old_pthread_attr_setstack): Likewise.
13955         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13956         [!_STACK_GROWS_DOWN]: Likewise.
13957
13958 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13959
13960         * config.make.in (have-bash2): Delete.
13961         * configure.ac (libc_cv_have_bash2): Delete.
13962         * configure: Regenerate.
13963         * elf/Makefile (common-ldd-rewrite): Rename to ...
13964         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13965         (sh-ldd-rewrite): Delete.
13966         (bash-ldd-rewrite): Delete.
13967         (have-bash2): Delete checks.
13968         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13969         ldd-rewrite.
13970
13971         * config.make.in (have-ksh): Delete.
13972         (KSH): Delete.
13973         * configure.ac (libc_cv_have_ksh): Delete.
13974         * configure: Regenerate.
13975
13976         * elf/Makefile: Delete $(have-ksh) check.
13977         ($(objpfx)sotruss): Change KSH to BASH.
13978         * elf/sotruss.ksh: Rename to ...
13979         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13980         function style to match POSIX.  Drop ksh vim mode setting.
13981
13982         * manual/time.texi (Specifying the Time Zone with TZ): Change
13983         Tuesday to Thursday.
13984
13985         * debug/tst-longjmp_chk2.c: Update header comment.
13986         (stackoverflow_handler): Add comment.  Call assert on pass value.
13987
13988 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13989
13990         [BZ #16194]
13991         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13992         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13993         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13994         (La_x86_64_vector): Add zmm.
13995         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13996         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13997         ($(objpfx)tst-audit10): New target.
13998         ($(objpfx)tst-audit10.out): Likewise.
13999         (tst-audit10-ENV): New.
14000         (AVX512-CFLAGS): Likewise.
14001         (CFLAGS-tst-audit10.c): Likewise.
14002         (CFLAGS-tst-auditmod10a.c): Likewise.
14003         (CFLAGS-tst-auditmod10b.c): Likewise.
14004         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14005         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14006         * sysdeps/x86_64/configure: Regenerated.
14007         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14008         AVX-512 zmm register support.
14009         (_dl_x86_64_save_sse): Likewise.
14010         (_dl_x86_64_restore_sse): Likewise.
14011         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14012         size vector registers.
14013         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14014         (ZMM_SIZE): Likewise.
14015         * sysdeps/x86_64/tst-audit10.c: New file.
14016         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14017         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14018
14019 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14020
14021         * configure.ac (HAVE_EHDR_START): New check.
14022         * configure: Regenerated.
14023         * config.h.in (HAVE_EHDR_START): New #undef.
14024         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14025         assuming the lowest-addressed segment maps the start of the file.
14026
14027 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14028
14029         * INSTALL: Regenerated.
14030
14031 2014-03-13  Will Newton  <will.newton@linaro.org>
14032
14033         * manual/setjmp.texi (System V contexts): Improve
14034         clarity and grammar of documentation.
14035
14036 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14037
14038         [BZ #16381]
14039         * elf/Makefile (tests): Add tst-pie2.
14040         (tests-pie): Add tst-pie2.
14041         * elf/tst-pie2.c: New file.
14042         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14043         for ET_EXEC.
14044         * elf/rtld.c (map_doit): Load executable as lt_executable.
14045         (dl_main): Likewise.
14046
14047 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14048
14049         [BZ #16642]
14050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14051         (__ASSUME_PSELECT): Undefine.
14052
14053 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14054
14055         [BZ #16689]
14056         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14057         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14058         static build.
14059         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14060         selector for static builds.
14061
14062 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063
14064         [BZ #16695]
14065         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14066         key in the buffer.
14067
14068 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14069
14070         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14071         IFUNC selector for static builds.
14072
14073 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14074
14075         * sysdeps/mips/math_private.h [__mips_hard_float]
14076         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14077         libc_feresetround_mips_ctx.
14078         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14079         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14080         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14081
14082         [BZ #16677]
14083         * math/s_nextafter.c (__nextafter): Do not return value from
14084         overflowing computation.
14085         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14086         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14087         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14088         Likewise.
14089         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14090         Likewise.
14091         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14092         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14093
14094 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14095
14096         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14097         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14098         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14099         the new mov targetting sp.
14100
14101 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14102
14103         [BZ #16683]
14104         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14105         Define it for static builds as well.
14106         (NO_BZERO_IMPL): Likewise.
14107
14108 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14109
14110         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14111         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14112         multiarch strspn for PPC64.
14113         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14114         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14116         (__libc_ifunc_impl_list): Likewise.
14117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14118         multiarch optimizations
14119         * string/strspn.c (strspn): Using macro to redefine symbol name.
14120
14121 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14122             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14123
14124         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14125         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14126         multiarch strncat for PPC64.
14127         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14128         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14130         (__libc_ifunc_impl_list): Likewise.
14131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14132         multiarch optimizations
14133
14134 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14135
14136         [BZ #16639]
14137         * nscd/nscd.service: Make service type forking.
14138
14139 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14140
14141         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14142         sign in non default rounding modes.
14143         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14144
14145 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14146
14147         * math/libm-test.inc (ALL_RM_TEST): New macro.
14148         (ceil_test): Use ALL_RM_TEST.
14149         (cimag_test): Likewise.
14150         (conj_test): Likewise.
14151         (copysign_test): Likewise.
14152         (cproj_test): Likewise.
14153         (creal_test): Likewise.
14154         (fabs_test): Likewise.
14155         (floor_test): Likewise.
14156         (fmax_test): Likewise.
14157         (fmin_test): Likewise.
14158         (fmod_test): Likewise.
14159         (fpclassify_test): Likewise.
14160         (frexp_test): Likewise.
14161         (ilogb_test): Likewise.
14162         (isfinite_test): Likewise.
14163         (finite_test): Likewise.
14164         (isgreater_test): Likewise.
14165         (isgreaterequal_test): Likewise.
14166         (isinf_test): Likewise.
14167         (isless_test): Likewise.
14168         (islessequal_test): Likewise.
14169         (islessgreater_test): Likewise.
14170         (isnan_test): Likewise.
14171         (isnormal_test): Likewise.
14172         (issignaling_test): Likewise.
14173         (isunordered_test): Likewise.
14174         (logb_test): Likewise.
14175         (logb_downward_test_data): Remove.
14176         (logb_test_downward): Likewise.
14177         (lround_test): Use ALL_RM_TEST.
14178         (llround_test): Likewise.
14179         (modf_test): Likewise.
14180         (nexttoward_test): Likewise.
14181         (remainder_test): Likewise.
14182         (drem_test): Likewise.
14183         (remainder_tonearest_test_data): Likewise.
14184         (remainder_test_tonearest): Likewise.
14185         (drem_test_tonearest): Likewise.
14186         (remainder_towardzero_test_data): Likewise.
14187         (remainder_test_towardzero): Likewise.
14188         (drem_test_towardzero): Likewise.
14189         (remainder_downward_test_data): Likewise.
14190         (remainder_test_downward): Likewise.
14191         (drem_test_downward): Likewise.
14192         (remainder_upward_test_data): Likewise.
14193         (remainder_test_upward): Likewise.
14194         (drem_test_upward): Likewise.
14195         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14196         (round_test): Use ALL_RM_TEST.
14197         (signbit_test): Likewise.
14198         (trunc_test): Likewise.
14199         (significand_test): Likewise.
14200         (main): Don't call removed functions.
14201
14202 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14203
14204         [BZ #16674]
14205         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14206         || __USE_XOPEN2K8].
14207         (ILL_ILLOPN): Likewise.
14208         (ILL_ILLADR): Likewise.
14209         (ILL_ILLTRP): Likewise.
14210         (ILL_PRVOPC): Likewise.
14211         (ILL_PRVREG): Likewise.
14212         (ILL_COPROC): Likewise.
14213         (ILL_BADSTK): Likewise.
14214         (FPE_INTDIV): Likewise.
14215         (FPE_INTOVF): Likewise.
14216         (FPE_FLTDIV): Likewise.
14217         (FPE_FLTOVF): Likewise.
14218         (FPE_FLTUND): Likewise.
14219         (FPE_FLTRES): Likewise.
14220         (FPE_FLTINV): Likewise.
14221         (FPE_FLTSUB): Likewise.
14222         (SEGV_MAPERR): Likewise.
14223         (SEGV_ACCERR): Likewise.
14224         (BUS_ADRALN): Likewise.
14225         (BUS_ADRERR): Likewise.
14226         (BUS_OBJERR): Likewise.
14227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14228         (TRAP_TRACE): Likewise.
14229         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14230         __USE_XOPEN2K8].
14231         (CLD_KILLED): Likewise.
14232         (CLD_DUMPED): Likewise.
14233         (CLD_TRAPPED): Likewise.
14234         (CLD_STOPPED): Likewise.
14235         (CLD_CONTINUED): Likewise.
14236         (POLL_IN): Likewise.
14237         (POLL_OUT): Likewise.
14238         (POLL_MSG): Likewise.
14239         (POLL_ERR): Likewise.
14240         (POLL_PRI): Likewise.
14241         (POLL_HUP): Likewise.
14242         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14243         Likewise.
14244         (ILL_ILLOPN): Likewise.
14245         (ILL_ILLADR): Likewise.
14246         (ILL_ILLTRP): Likewise.
14247         (ILL_PRVOPC): Likewise.
14248         (ILL_PRVREG): Likewise.
14249         (ILL_COPROC): Likewise.
14250         (ILL_BADSTK): Likewise.
14251         (FPE_INTDIV): Likewise.
14252         (FPE_INTOVF): Likewise.
14253         (FPE_FLTDIV): Likewise.
14254         (FPE_FLTOVF): Likewise.
14255         (FPE_FLTUND): Likewise.
14256         (FPE_FLTRES): Likewise.
14257         (FPE_FLTINV): Likewise.
14258         (FPE_FLTSUB): Likewise.
14259         (SEGV_MAPERR): Likewise.
14260         (SEGV_ACCERR): Likewise.
14261         (BUS_ADRALN): Likewise.
14262         (BUS_ADRERR): Likewise.
14263         (BUS_OBJERR): Likewise.
14264         (BUS_MCEERR_AR): Likewise.
14265         (BUS_MCEERR_AO): Likewise.
14266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14267         (TRAP_TRACE): Likewise.
14268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14269         __USE_XOPEN2K8].
14270         (CLD_KILLED): Likewise.
14271         (CLD_DUMPED): Likewise.
14272         (CLD_TRAPPED): Likewise.
14273         (CLD_STOPPED): Likewise.
14274         (CLD_CONTINUED): Likewise.
14275         (POLL_IN): Likewise.
14276         (POLL_OUT): Likewise.
14277         (POLL_MSG): Likewise.
14278         (POLL_ERR): Likewise.
14279         (POLL_PRI): Likewise.
14280         (POLL_HUP): Likewise.
14281         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14282         (ILL_ILLOPN): Likewise.
14283         (ILL_ILLADR): Likewise.
14284         (ILL_ILLTRP): Likewise.
14285         (ILL_PRVOPC): Likewise.
14286         (ILL_PRVREG): Likewise.
14287         (ILL_COPROC): Likewise.
14288         (ILL_BADSTK): Likewise.
14289         (FPE_INTDIV): Likewise.
14290         (FPE_INTOVF): Likewise.
14291         (FPE_FLTDIV): Likewise.
14292         (FPE_FLTOVF): Likewise.
14293         (FPE_FLTUND): Likewise.
14294         (FPE_FLTRES): Likewise.
14295         (FPE_FLTINV): Likewise.
14296         (FPE_FLTSUB): Likewise.
14297         (SEGV_MAPERR): Likewise.
14298         (SEGV_ACCERR): Likewise.
14299         (BUS_ADRALN): Likewise.
14300         (BUS_ADRERR): Likewise.
14301         (BUS_OBJERR): Likewise.
14302         (BUS_MCEERR_AR): Likewise.
14303         (BUS_MCEERR_AO): Likewise.
14304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14305         (TRAP_TRACE): Likewise.
14306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14307         __USE_XOPEN2K8].
14308         (CLD_KILLED): Likewise.
14309         (CLD_DUMPED): Likewise.
14310         (CLD_TRAPPED): Likewise.
14311         (CLD_STOPPED): Likewise.
14312         (CLD_CONTINUED): Likewise.
14313         (POLL_IN): Likewise.
14314         (POLL_OUT): Likewise.
14315         (POLL_MSG): Likewise.
14316         (POLL_ERR): Likewise.
14317         (POLL_PRI): Likewise.
14318         (POLL_HUP): Likewise.
14319         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14320         Likewise.
14321         (ILL_ILLOPN): Likewise.
14322         (ILL_ILLADR): Likewise.
14323         (ILL_ILLTRP): Likewise.
14324         (ILL_PRVOPC): Likewise.
14325         (ILL_PRVREG): Likewise.
14326         (ILL_COPROC): Likewise.
14327         (ILL_BADSTK): Likewise.
14328         (ILL_BADIADDR): Likewise.
14329         (ILL_BREAK): Likewise.
14330         (FPE_INTDIV): Likewise.
14331         (FPE_INTOVF): Likewise.
14332         (FPE_FLTDIV): Likewise.
14333         (FPE_FLTOVF): Likewise.
14334         (FPE_FLTUND): Likewise.
14335         (FPE_FLTRES): Likewise.
14336         (FPE_FLTINV): Likewise.
14337         (FPE_FLTSUB): Likewise.
14338         (FPE_DECOVF): Likewise.
14339         (FPE_DECDIV): Likewise.
14340         (FPE_DECERR): Likewise.
14341         (FPE_INVASC): Likewise.
14342         (FPE_INVDEC): Likewise.
14343         (SEGV_MAPERR): Likewise.
14344         (SEGV_ACCERR): Likewise.
14345         (SEGV_PSTKOVF): Likewise.
14346         (BUS_ADRALN): Likewise.
14347         (BUS_ADRERR): Likewise.
14348         (BUS_OBJERR): Likewise.
14349         (BUS_MCEERR_AR): Likewise.
14350         (BUS_MCEERR_AO): Likewise.
14351         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14352         (TRAP_TRACE): Likewise.
14353         (TRAP_BRANCH): Likewise.
14354         (TRAP_HWBKPT): 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/mips/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/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14407         (ILL_ILLOPN): Likewise.
14408         (ILL_ILLADR): Likewise.
14409         (ILL_ILLTRP): Likewise.
14410         (ILL_PRVOPC): Likewise.
14411         (ILL_PRVREG): Likewise.
14412         (ILL_COPROC): Likewise.
14413         (ILL_BADSTK): Likewise.
14414         (FPE_INTDIV): Likewise.
14415         (FPE_INTOVF): Likewise.
14416         (FPE_FLTDIV): Likewise.
14417         (FPE_FLTOVF): Likewise.
14418         (FPE_FLTUND): Likewise.
14419         (FPE_FLTRES): Likewise.
14420         (FPE_FLTINV): Likewise.
14421         (FPE_FLTSUB): Likewise.
14422         (SEGV_MAPERR): Likewise.
14423         (SEGV_ACCERR): Likewise.
14424         (BUS_ADRALN): Likewise.
14425         (BUS_ADRERR): Likewise.
14426         (BUS_OBJERR): Likewise.
14427         (BUS_MCEERR_AR): Likewise.
14428         (BUS_MCEERR_AO): Likewise.
14429         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14430         (TRAP_TRACE): Likewise.
14431         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14432         __USE_XOPEN2K8].
14433         (CLD_KILLED): Likewise.
14434         (CLD_DUMPED): Likewise.
14435         (CLD_TRAPPED): Likewise.
14436         (CLD_STOPPED): Likewise.
14437         (CLD_CONTINUED): Likewise.
14438         (POLL_IN): Likewise.
14439         (POLL_OUT): Likewise.
14440         (POLL_MSG): Likewise.
14441         (POLL_ERR): Likewise.
14442         (POLL_PRI): Likewise.
14443         (POLL_HUP): Likewise.
14444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14445         (ILL_ILLOPN): Likewise.
14446         (ILL_ILLADR): Likewise.
14447         (ILL_ILLTRP): Likewise.
14448         (ILL_PRVOPC): Likewise.
14449         (ILL_PRVREG): Likewise.
14450         (ILL_COPROC): Likewise.
14451         (ILL_BADSTK): Likewise.
14452         (FPE_INTDIV): Likewise.
14453         (FPE_INTOVF): Likewise.
14454         (FPE_FLTDIV): Likewise.
14455         (FPE_FLTOVF): Likewise.
14456         (FPE_FLTUND): Likewise.
14457         (FPE_FLTRES): Likewise.
14458         (FPE_FLTINV): Likewise.
14459         (FPE_FLTSUB): Likewise.
14460         (SEGV_MAPERR): Likewise.
14461         (SEGV_ACCERR): Likewise.
14462         (BUS_ADRALN): Likewise.
14463         (BUS_ADRERR): Likewise.
14464         (BUS_OBJERR): Likewise.
14465         (BUS_MCEERR_AR): Likewise.
14466         (BUS_MCEERR_AO): Likewise.
14467         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14468         (TRAP_TRACE): Likewise.
14469         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14470         __USE_XOPEN2K8].
14471         (CLD_KILLED): Likewise.
14472         (CLD_DUMPED): Likewise.
14473         (CLD_TRAPPED): Likewise.
14474         (CLD_STOPPED): Likewise.
14475         (CLD_CONTINUED): Likewise.
14476         (POLL_IN): Likewise.
14477         (POLL_OUT): Likewise.
14478         (POLL_MSG): Likewise.
14479         (POLL_ERR): Likewise.
14480         (POLL_PRI): Likewise.
14481         (POLL_HUP): Likewise.
14482         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14483         (ILL_ILLOPN): Likewise.
14484         (ILL_ILLADR): Likewise.
14485         (ILL_ILLTRP): Likewise.
14486         (ILL_PRVOPC): Likewise.
14487         (ILL_PRVREG): Likewise.
14488         (ILL_COPROC): Likewise.
14489         (ILL_BADSTK): Likewise.
14490         (ILL_DBLFLT): Likewise.
14491         (ILL_HARDWALL): Likewise.
14492         (FPE_INTDIV): Likewise.
14493         (FPE_INTOVF): Likewise.
14494         (FPE_FLTDIV): Likewise.
14495         (FPE_FLTOVF): Likewise.
14496         (FPE_FLTUND): Likewise.
14497         (FPE_FLTRES): Likewise.
14498         (FPE_FLTINV): Likewise.
14499         (FPE_FLTSUB): Likewise.
14500         (SEGV_MAPERR): Likewise.
14501         (SEGV_ACCERR): Likewise.
14502         (BUS_ADRALN): Likewise.
14503         (BUS_ADRERR): Likewise.
14504         (BUS_OBJERR): Likewise.
14505         (BUS_MCEERR_AR): Likewise.
14506         (BUS_MCEERR_AO): Likewise.
14507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14508         (TRAP_TRACE): Likewise.
14509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14510         __USE_XOPEN2K8].
14511         (CLD_KILLED): Likewise.
14512         (CLD_DUMPED): Likewise.
14513         (CLD_TRAPPED): Likewise.
14514         (CLD_STOPPED): Likewise.
14515         (CLD_CONTINUED): Likewise.
14516         (POLL_IN): Likewise.
14517         (POLL_OUT): Likewise.
14518         (POLL_MSG): Likewise.
14519         (POLL_ERR): Likewise.
14520         (POLL_PRI): Likewise.
14521         (POLL_HUP): Likewise.
14522         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14523         (ILL_ILLOPN): Likewise.
14524         (ILL_ILLADR): Likewise.
14525         (ILL_ILLTRP): Likewise.
14526         (ILL_PRVOPC): Likewise.
14527         (ILL_PRVREG): Likewise.
14528         (ILL_COPROC): Likewise.
14529         (ILL_BADSTK): Likewise.
14530         (FPE_INTDIV): Likewise.
14531         (FPE_INTOVF): Likewise.
14532         (FPE_FLTDIV): Likewise.
14533         (FPE_FLTOVF): Likewise.
14534         (FPE_FLTUND): Likewise.
14535         (FPE_FLTRES): Likewise.
14536         (FPE_FLTINV): Likewise.
14537         (FPE_FLTSUB): Likewise.
14538         (SEGV_MAPERR): Likewise.
14539         (SEGV_ACCERR): Likewise.
14540         (BUS_ADRALN): Likewise.
14541         (BUS_ADRERR): Likewise.
14542         (BUS_OBJERR): Likewise.
14543         (BUS_MCEERR_AR): Likewise.
14544         (BUS_MCEERR_AO): Likewise.
14545         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14546         (TRAP_TRACE): Likewise.
14547         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14548         __USE_XOPEN2K8].
14549         (CLD_KILLED): Likewise.
14550         (CLD_DUMPED): Likewise.
14551         (CLD_TRAPPED): Likewise.
14552         (CLD_STOPPED): Likewise.
14553         (CLD_CONTINUED): Likewise.
14554         (POLL_IN): Likewise.
14555         (POLL_OUT): Likewise.
14556         (POLL_MSG): Likewise.
14557         (POLL_ERR): Likewise.
14558         (POLL_PRI): Likewise.
14559         (POLL_HUP): Likewise.
14560         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14561         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14562
14563         [BZ #16670]
14564         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14565         before #include of <time.h>.
14566         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14567         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14568         (test-xfail-UNIX98/sched.h/conform): Likewise.
14569
14570 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14571
14572         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14573         error absence of trapping exception support.
14574         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14575
14576 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14577
14578         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14579         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14580         * timezone/Makefile (testdata): Move definition above include of
14581         Rules.
14582         (test-zones): New variable.
14583         (tests-special): Add zone files.
14584         (build-testdata): Use $(evaluate-test).
14585
14586         * elf/Makefile (tests-special): Rename tests to end with .out.
14587         ($(objpfx)noload-mem): Likewise.
14588         ($(objpfx)tst-leaks1-mem): Likewise.
14589         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14590         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14591         $(objpfx)test-iconvconfig.out.
14592         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14593         set -e inside subshell and redirect output to file.
14594         * iconvdata/Makefile (generated): Rename tests to end with .out.
14595         Correct type.
14596         (tests-special): Rename tests to end with .out.
14597         ($(objpfx)mtrace-tst-loading): Likewise.
14598         * intl/Makefile (generated): Likewise.
14599         (tests-special): Likewise.
14600         ($(objpfx)mtrace-tst-gettext): Likewise.
14601         * misc/Makefile (generated): Likewise.
14602         (tests-special): Likewise.
14603         ($(objpfx)tst-error1-mem): Likewise.
14604         * nptl/Makefile (tests-special): Likewise.
14605         ($(objpfx)tst-stack3-mem): Likewise.
14606         (generated): Likewise.
14607         * posix/Makefile (generated): Likewise.
14608         (tests-special): Likewise.
14609         (xtests-special): Likewise.
14610         ($(objpfx)tst-fnmatch-mem): Likewise.
14611         ($(objpfx)bug-regex2-mem): Likewise.
14612         ($(objpfx)bug-regex14-mem): Likewise.
14613         ($(objpfx)bug-regex21-mem): Likewise.
14614         ($(objpfx)bug-regex31-mem): Likewise.
14615         ($(objpfx)tst-vfork3-mem): Likewise.
14616         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14617         ($(objpfx)tst-pcre-mem): Likewise.
14618         ($(objpfx)tst-boost-mem): Likewise.
14619         ($(objpfx)bug-ga2-mem): Likewise.
14620         ($(objpfx)bug-glob2-mem): Likewise.
14621         * resolv/Makefile (generate): Likewise.
14622         (tests-special): Likewise.
14623         (xtests-special): Likewise.
14624         (generated): Likewise.
14625         ($(objpfx)mtrace-tst-leaks): Likewise.
14626         ($(objpfx)mtrace-tst-leaks2): Likewise.
14627
14628         * scripts/merge-test-results.sh: New file.
14629         * Makefile (tests-special-notdir): New variable.
14630         (tests): Run merge-test-results.sh.
14631         (xtests): Likewise.
14632         * Rules (tests-special-notdir): New variable.
14633         (xtests-special-notdir): Likewise.
14634         (tests): Run merge-test-results.sh
14635         (xtests): Likewise.
14636
14637         * Makeconfig (test-xfail-name): New variable.
14638         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14639         compute variable name for expected failures.
14640         * conform/Makefile (conformtest-headers-data): New variable.
14641         (conformtest-standards): Likewise.
14642         (conformtest-headers-ISO): Likewise.
14643         (conformtest-headers-ISO99): Likewise.
14644         (conformtest-headers-ISO11): Likewise.
14645         (conformtest-headers-POSIX): Likewise.
14646         (conformtest-headers-XPG3): Likewise.
14647         (conformtest-headers-XPG4): Likewise.
14648         (conformtest-headers-UNIX98): Likewise.
14649         (conformtest-headers-XOPEN2K): Likewise.
14650         (conformtest-headers-POSIX2008): Likewise.
14651         (conformtest-headers-XOPEN2K8): Likewise.
14652         (conformtest-header-list-base): Likewise.
14653         (conformtest-header-list-tests): Likewise.
14654         (conformtest-header-base): Likewise.
14655         (conformtest-header-tests): Likewise.
14656         (tests-special): Add $(conformtest-header-list-tests).  If
14657         [$(fast-check) && !$(cross-compiling)], add
14658         $(conformtest-header-tests) instead of
14659         $(objpfx)run-conformtest.out.
14660         (generated): Add $(conformtest-header-list-base).  If
14661         [$(fast-check) && !$(cross-compiling)], add
14662         $(conformtest-header-base).  Remove previous setting.
14663         ($(conformtest-header-list-tests)): New target.
14664         (test-xfail-run-conformtest): Remove variable.
14665         ($(objpfx)run-conformtest.out): Remove target.
14666         (test-xfail-ISO11/complex.h/conform): New variable.
14667         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14668         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14669         (test-xfail-XPG3/varargs.h/conform): Likewise.
14670         (test-xfail-XPG4/varargs.h/conform): Likewise.
14671         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14672         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14673         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14674         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14675         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14676         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14677         (test-xfail-XPG3/ftw.h/conform): Likewise.
14678         (test-xfail-XPG3/grp.h/conform): Likewise.
14679         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14680         (test-xfail-XPG3/limits.h/conform): Likewise.
14681         (test-xfail-XPG3/pwd.h/conform): Likewise.
14682         (test-xfail-XPG3/search.h/conform): Likewise.
14683         (test-xfail-XPG3/signal.h/conform): Likewise.
14684         (test-xfail-XPG3/stdio.h/conform): Likewise.
14685         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14686         (test-xfail-XPG3/string.h/conform): Likewise.
14687         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14688         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14689         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14690         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14691         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14692         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14693         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14694         (test-xfail-XPG3/termios.h/conform): Likewise.
14695         (test-xfail-XPG3/time.h/conform): Likewise.
14696         (test-xfail-XPG3/unistd.h/conform): Likewise.
14697         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14698         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14699         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14700         (test-xfail-XPG4/netdb.h/conform): Likewise.
14701         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14702         (test-xfail-XPG4/signal.h/conform): Likewise.
14703         (test-xfail-XPG4/stdio.h/conform): Likewise.
14704         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14705         (test-xfail-XPG4/stropts.h/conform): Likewise.
14706         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14707         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14708         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14709         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14710         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14711         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14712         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14713         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14714         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14715         (test-xfail-XPG4/termios.h/conform): Likewise.
14716         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14717         (test-xfail-XPG4/unistd.h/conform): Likewise.
14718         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14719         (test-xfail-POSIX/sched.h/conform): Likewise.
14720         (test-xfail-POSIX/signal.h/conform): Likewise.
14721         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14722         (test-xfail-POSIX/tar.h/conform): Likewise.
14723         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14724         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14725         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14726         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14727         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14728         (test-xfail-UNIX98/sched.h/conform): Likewise.
14729         (test-xfail-UNIX98/signal.h/conform): Likewise.
14730         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14731         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14732         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14733         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14734         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14735         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14736         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14737         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14738         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14739         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14740         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14741         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14742         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14743         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14744         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14745         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14746         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14747         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14748         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14749         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14750         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14751         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14752         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14753         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14754         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14755         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14756         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14757         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14758         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14759         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14760         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14761         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14762         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14763         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14764         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14765         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14766         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14767         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14768         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14769         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14770         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14771         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14772         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14773         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14774         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14775         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14776         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14777         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14778         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14779         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14780         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14781         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14782         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14783         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14784         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14785         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14786         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14787         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14788         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14789         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14790         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14791         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14792         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14793         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14794         (conformtest-cc-flags): Likewise.
14795         ($(conformtest-header-tests): New target.
14796         * conform/check-header-lists.sh: New file.
14797         * conform/run-conformtest.sh: Remove.
14798
14799         * conform/conformtest.pl: Allow ' and \ in values given for
14800         constants.
14801         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14802         inclusion.
14803         [POSIX] (sys/types.h): Likewise.
14804         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14805         inclusion.
14806         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14807         inclusion.
14808         * conform/data/signal.h-data (SIGIO): Remove expectation.
14809         [XPG3] (SIGBUS): Do not expect.
14810         [POSIX || XPG3] (SIGPOLL): Likewise.
14811         [POSIX || XPG3] (SIGPROF): Likewise.
14812         [POSIX || XPG3] (SIGSYS): Likewise.
14813         [XPG3] (SIGTRAP): Likewise.
14814         [POSIX || XPG3] (SIGURG): Likewise.
14815         [POSIX || XPG3] (SIGVTALRM): Likewise.
14816         [POSIX || XPG3] (SIGXCPU): Likewise.
14817         [POSIX || XPG3] (SIGXFSZ): Likewise.
14818         [POSIX] (SA_SIGINFO): Expect.
14819         [XPG3] (siginfo_t): Do not expect type or contents.
14820         [POSIX] (si_pid): Do not expect element.
14821         [POSIX] (si_uid): Likewise.
14822         [POSIX] (si_addr): Likewise.
14823         [POSIX] (si_status): Likewise.
14824         [POSIX] (si_band): Likewise.
14825         [XPG4] (si_value): Likewise.
14826         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14827         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14828         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14829         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14830         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14831         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14832         [POSIX || XPG3] (ILL_COPROC): Likewise.
14833         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14834         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14835         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14836         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14837         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14838         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14839         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14840         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14841         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14842         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14843         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14844         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14845         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14846         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14847         [POSIX || XPG3] (CLD_EXITED): Likewise.
14848         [POSIX || XPG3] (CLD_KILLED): Likewise.
14849         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14850         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14851         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14852         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14853         [POSIX || XPG3] (POLL_IN): Likewise.
14854         [POSIX || XPG3] (POLL_OUT): Likewise.
14855         [POSIX || XPG3] (POLL_MSG): Likewise.
14856         [POSIX || XPG3] (POLL_ERR): Likewise.
14857         [POSIX || XPG3] (POLL_PRI): Likewise.
14858         [POSIX || XPG3] (POLL_HUP): Likewise.
14859         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14860         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14861         (SIG*): Do not allow.
14862         [XPG3] (si_*): Likewise.
14863         [XPG3] (SI_*): Likewise.
14864         [XPG3 || XPG4] (sigev_*): Likewise.
14865         [XPG3 || XPG4] (SIGEV_*): Likewise.
14866         [XPG3 || XPG4] (sival_*): Likewise.
14867         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14868         [POSIX || XPG3] (BUS_*): Likewise.
14869         [POSIX || XPG3] (CLD_*): Likewise.
14870         [POSIX || XPG3] (FPE_*): Likewise.
14871         [POSIX || XPG3] (ILL_*): Likewise.
14872         [POSIX || XPG3] (POLL_*): Likewise.
14873         [POSIX || XPG3] (SEGV_*): Likewise.
14874         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14875         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14876         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14877         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14878         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14879         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14880         Specify type and value.
14881         (TVERSLEN): Likewise.
14882         (REGTYPE): Likewise.
14883         (AREGTYPE): Likewise.
14884         (LNKTYPE): Likewise.
14885         (SYMTYPE): Likewise.
14886         (CHRTYPE): Likewise.
14887         (BLKTYPE): Likewise.
14888         (DIRTYPE): Likewise.
14889         (FIFOTYPE): Likewise.
14890         (CONTTYPE): Likewise.
14891         (TSUID): Likewise.
14892         (TSGID): Likewise.
14893         (TSVTX): Likewise.
14894         (TUREAD): Likewise.
14895         (TUWRITE): Likewise.
14896         (TUEXEC): Likewise.
14897         (TGREAD): Likewise.
14898         (TGWRITE): Likewise.
14899         (TGEXEC): Likewise.
14900         (TOREAD): Likewise.
14901         (TOWRITE): Likewise.
14902         (TOEXEC): Likewise.
14903         [POSIX] (TSVTX): Expect constant.
14904
14905 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14906
14907         * Makefile (tests): Change dependencies to ....
14908         (tests-special): ... additions to this variable.
14909         (tests): Depend on $(tests-special).
14910         * Makerules (check-abi-list): New variable.
14911         (check-abi): Depend on $(check-abi-list).
14912         [$(subdir) = elf] (tests-special): Add
14913         $(objpfx)check-abi-libc.out.
14914         [$(build-shared) = yes && subdir] (tests-special): Add
14915         $(check-abi-list).
14916         [$(build-shared) = yes && subdir] (tests): Do not depend on
14917         check-abi.
14918         * Rules (tests): Depend on $(tests-special).
14919         (xtests): Depend on $(xtests-special).
14920         * catgets/Makefile (tests): Change dependencies to ....
14921         (tests-special): ... additions to this variable.
14922         * conform/Makefile (tests): Change dependencies to ....
14923         (tests-special): ... additions to this variable.
14924         * elf/Makefile (tests): Change dependencies to ....
14925         (tests-special): ... additions to this variable.
14926         * grp/Makefile (tests): Change dependencies to ....
14927         (tests-special): ... additions to this variable.
14928         * iconv/Makefile (xtests): Change dependencies to ....
14929         (xtests-special): ... additions to this variable.
14930         * iconvdata/Makefile (tests): Change dependencies to ....
14931         (tests-special): ... additions to this variable.
14932         * intl/Makefile (tests): Change dependencies to ....
14933         (tests-special): ... additions to this variable.  Also add
14934         $(objpfx)tst-gettext.out.
14935         * io/Makefile (tests): Change dependencies to ....
14936         (tests-special): ... additions to this variable.
14937         * libio/Makefile (tests): Change dependencies to ....
14938         (tests-special): ... additions to this variable.
14939         * malloc/Makefile (tests): Change dependencies to ....
14940         (tests-special): ... additions to this variable.
14941         * misc/Makefile (tests): Change dependencies to ....
14942         (tests-special): ... additions to this variable.
14943         * nptl/Makefile (tests): Change dependencies to ....
14944         (tests-special): ... additions to this variable.
14945         * nptl_db/Makefile (tests): Change dependencies to ....
14946         (tests-special): ... additions to this variable.
14947         * posix/Makefile (tests): Change dependencies to ....
14948         (tests-special): ... additions to this variable.
14949         (xtests): Change dependencies to ....
14950         (xtests-special): ... additions to this variable.
14951         * resolv/Makefile (tests): Change dependencies to ....
14952         (tests-special): ... additions to this variable.
14953         (xtests): Change dependencies to ....
14954         (xtests-special): ... additions to this variable.
14955         * stdio-common/Makefile (tests): Change dependencies to ....
14956         (tests-special): ... additions to this variable.
14957         (do-tst-unbputc): Remove target.
14958         (do-tst-printf): Likewise.
14959         * stdlib/Makefile (tests): Change dependencies to ....
14960         (tests-special): ... additions to this variable.
14961         * string/Makefile (tests): Change dependencies to ....
14962         (tests-special): ... additions to this variable.
14963         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14964         (tests-special): ... additions to this variable.
14965
14966         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14967         whole file.
14968         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14969         whole file.
14970         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14971         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14972
14973         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14974         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14975         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14976         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14977         * conform/data/libgen.h-data [XPG3]: Likewise.
14978         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14979         * conform/data/ndbm.h-data [XPG3]: Likewise.
14980         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14981         * conform/data/netdb.h-data [XPG3]: Likewise.
14982         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14983         * conform/data/poll.h-data [XPG3]: Likewise.
14984         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14985         * conform/data/strings.h-data [XPG3]: Likewise.
14986         * conform/data/stropts.h-data [XPG3]: Likewise.
14987         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14988         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14989         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14990         Likewise.
14991         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14992         * conform/data/sys/time.h-data [XPG3]: Likewise.
14993         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14994         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14995         * conform/data/sys/un.h-data [XPG3]: Likewise.
14996         * conform/data/syslog.h-data [XPG3]: Likewise.
14997         * conform/data/ucontext.h-data [XPG3]: Likewise.
14998         * conform/data/utmpx.h-data [XPG3]: Likewise.
14999         * conform/data/varargs.h-data [UNIX98]: Enable file.
15000
15001         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15002
15003         * math/libm-test.inc (struct test_f_f_data): Move expected results
15004         into structure for each rounding mode.
15005         (struct test_ff_f_data): Likewise.
15006         (struct test_ff_f_data_nexttoward): Likewise.
15007         (struct test_fi_f_data): Likewise.
15008         (struct test_fl_f_data): Likewise.
15009         (struct test_if_f_data): Likewise.
15010         (struct test_fff_f_data): Likewise.
15011         (struct test_c_f_data): Likewise.
15012         (struct test_f_f1_data): Likewise.
15013         (struct test_fF_f1_data): Likewise.
15014         (struct test_ffI_f1_data): Likewise.
15015         (struct test_c_c_data): Likewise.
15016         (struct test_cc_c_data): Likewise.
15017         (struct test_f_i_data): Likewise.
15018         (struct test_ff_i_data): Likewise.
15019         (struct test_f_l_data): Likewise.
15020         (struct test_f_L_data): Likewise.
15021         (struct test_fFF_11_data): Likewise.
15022         (RM_): New macro.
15023         (RM_FE_DOWNWARD): Likewise.
15024         (RM_FE_TONEAREST): Likewise.
15025         (RM_FE_TOWARDZERO): Likewise.
15026         (RM_FE_UPWARD): Likewise.
15027         (RUN_TEST_LOOP_f_f): Update references to expected results.
15028         (RUN_TEST_LOOP_2_f): Likewise.
15029         (RUN_TEST_LOOP_fff_f): Likewise.
15030         (RUN_TEST_LOOP_c_f): Likewise.
15031         (RUN_TEST_LOOP_f_f1): Likewise.
15032         (RUN_TEST_LOOP_fF_f1): Likewise.
15033         (RUN_TEST_LOOP_fI_f1): Likewise.
15034         (RUN_TEST_LOOP_ffI_f1): Likewise.
15035         (RUN_TEST_LOOP_c_c): Likewise.
15036         (RUN_TEST_LOOP_cc_c): Likewise.
15037         (RUN_TEST_LOOP_f_i): Likewise.
15038         (RUN_TEST_LOOP_f_i_tg): Likewise.
15039         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15040         (RUN_TEST_LOOP_f_b): Likewise.
15041         (RUN_TEST_LOOP_f_b_tg): Likewise.
15042         (RUN_TEST_LOOP_f_l): Likewise.
15043         (RUN_TEST_LOOP_f_L): Likewise.
15044         (RUN_TEST_LOOP_fFF_11): Likewise.
15045         * math/gen-libm-test.pl (parse_args): Output four copies of
15046         expected results for each test.
15047
15048         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15049         (__ASSUME_UTIMES): Remove.
15050         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15051         (__ASSUME_UTIMES): Likewise.
15052
15053         * math/gen-auto-libm-tests.c: Update comment on output format.
15054         (output_for_one_input_case): Generate before-rounding and
15055         after-rounding information as conditions on output flags not
15056         floating-point format.
15057         * math/auto-libm-test-out: Regenerated.
15058         * math/gen-libm-test.pl (cond_value): New function.
15059         (or_cond_value): Use cond_value.
15060         (generate_testfile): Handle conditional exceptions.
15061
15062 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15063
15064         * math/libm-test.inc (max_valid_error): New variable.
15065         (init_max_error): Take new argument specifying whether function
15066         results are exactly determined.  Set max_valid_error and bound
15067         other variables for errors based on this argument.
15068         (set_max_error): Do not record results above max_valid_error.
15069         (check_float_internal): Only accept errors of up to 0.5ulps if
15070         also at most max_valid_error.
15071         (START): Take new argument EXACT and pass it to init_max_error.
15072         (acos_test): Update call to START.
15073         (acos_test_tonearest): Likewise.
15074         (acos_test_towardzero): Likewise.
15075         (acos_test_downward): Likewise.
15076         (acos_test_upward): Likewise.
15077         (acosh_test): Likewise.
15078         (asin_test): Likewise.
15079         (asin_test_tonearest): Likewise.
15080         (asin_test_towardzero): Likewise.
15081         (asin_test_downward): Likewise.
15082         (asin_test_upward): Likewise.
15083         (asinh_test): Likewise.
15084         (atan_test): Likewise.
15085         (atanh_test): Likewise.
15086         (atan2_test): Likewise.
15087         (cabs_test): Likewise.
15088         (cacos_test): Likewise.
15089         (cacosh_test): Likewise.
15090         (carg_test): Likewise.
15091         (casin_test): Likewise.
15092         (casinh_test): Likewise.
15093         (catan_test): Likewise.
15094         (catanh_test): Likewise.
15095         (cbrt_test): Likewise.
15096         (ccos_test): Likewise.
15097         (ccosh_test): Likewise.
15098         (ceil_test): Likewise.
15099         (cexp_test): Likewise.
15100         (cimag_test): Likewise.
15101         (clog_test): Likewise.
15102         (clog10_test): Likewise.
15103         (conj_test): Likewise.
15104         (copysign_test): Likewise.
15105         (cos_test): Likewise.
15106         (cos_test_tonearest): Likewise.
15107         (cos_test_towardzero): Likewise.
15108         (cos_test_downward): Likewise.
15109         (cos_test_upward): Likewise.
15110         (cosh_test): Likewise.
15111         (cosh_test_tonearest): Likewise.
15112         (cosh_test_towardzero): Likewise.
15113         (cosh_test_downward): Likewise.
15114         (cosh_test_upward): Likewise.
15115         (cpow_test): Likewise.
15116         (cproj_test): Likewise.
15117         (creal_test): Likewise.
15118         (csin_test): Likewise.
15119         (csinh_test): Likewise.
15120         (csqrt_test): Likewise.
15121         (ctan_test): Likewise.
15122         (ctan_test_tonearest): Likewise.
15123         (ctan_test_towardzero): Likewise.
15124         (ctan_test_downward): Likewise.
15125         (ctan_test_upward): Likewise.
15126         (ctanh_test): Likewise.
15127         (ctanh_test_tonearest): Likewise.
15128         (ctanh_test_towardzero): Likewise.
15129         (ctanh_test_downward): Likewise.
15130         (ctanh_test_upward): Likewise.
15131         (erf_test): Likewise.
15132         (erfc_test): Likewise.
15133         (exp_test): Likewise.
15134         (exp_test_tonearest): Likewise.
15135         (exp_test_towardzero): Likewise.
15136         (exp_test_downward): Likewise.
15137         (exp_test_upward): Likewise.
15138         (exp10_test): Likewise.
15139         (exp10_test_tonearest): Likewise.
15140         (exp10_test_towardzero): Likewise.
15141         (exp10_test_downward): Likewise.
15142         (exp10_test_upward): Likewise.
15143         (pow10_test): Likewise.
15144         (exp2_test): Likewise.
15145         (expm1_test): Likewise.
15146         (expm1_test_tonearest): Likewise.
15147         (expm1_test_towardzero): Likewise.
15148         (expm1_test_downward): Likewise.
15149         (expm1_test_upward): Likewise.
15150         (fabs_test): Likewise.
15151         (fdim_test): Likewise.
15152         (floor_test): Likewise.
15153         (fma_test): Likewise.
15154         (fma_test_towardzero): Likewise.
15155         (fma_test_downward): Likewise.
15156         (fma_test_upward): Likewise.
15157         (fmax_test): Likewise.
15158         (fmin_test): Likewise.
15159         (fmod_test): Likewise.
15160         (fpclassify_test): Likewise.
15161         (frexp_test): Likewise.
15162         (hypot_test): Likewise.
15163         (ilogb_test): Likewise.
15164         (isfinite_test): Likewise.
15165         (finite_test): Likewise.
15166         (isgreater_test): Likewise.
15167         (isgreaterequal_test): Likewise.
15168         (isinf_test): Likewise.
15169         (isless_test): Likewise.
15170         (islessequal_test): Likewise.
15171         (islessgreater_test): Likewise.
15172         (isnan_test): Likewise.
15173         (isnormal_test): Likewise.
15174         (issignaling_test): Likewise.
15175         (isunordered_test): Likewise.
15176         (j0_test): Likewise.
15177         (j1_test): Likewise.
15178         (jn_test): Likewise.
15179         (ldexp_test): Likewise.
15180         (lgamma_test): Likewise.
15181         (gamma_test): Likewise.
15182         (lrint_test): Likewise.
15183         (lrint_test_tonearest): Likewise.
15184         (lrint_test_towardzero): Likewise.
15185         (lrint_test_downward): Likewise.
15186         (lrint_test_upward): Likewise.
15187         (llrint_test): Likewise.
15188         (llrint_test_tonearest): Likewise.
15189         (llrint_test_towardzero): Likewise.
15190         (llrint_test_downward): Likewise.
15191         (llrint_test_upward): Likewise.
15192         (log_test): Likewise.
15193         (log10_test): Likewise.
15194         (log1p_test): Likewise.
15195         (log2_test): Likewise.
15196         (logb_test): Likewise.
15197         (logb_test_downward): Likewise.
15198         (lround_test): Likewise.
15199         (llround_test): Likewise.
15200         (modf_test): Likewise.
15201         (nearbyint_test): Likewise.
15202         (nextafter_test): Likewise.
15203         (nexttoward_test): Likewise.
15204         (pow_test): Likewise.
15205         (pow_test_tonearest): Likewise.
15206         (pow_test_towardzero): Likewise.
15207         (pow_test_downward): Likewise.
15208         (pow_test_upward): Likewise.
15209         (remainder_test): Likewise.
15210         (drem_test): Likewise.
15211         (remainder_test_tonearest): Likewise.
15212         (drem_test_tonearest): Likewise.
15213         (remainder_test_towardzero): Likewise.
15214         (drem_test_towardzero): Likewise.
15215         (remainder_test_downward): Likewise.
15216         (drem_test_downward): Likewise.
15217         (remainder_test_upward): Likewise.
15218         (drem_test_upward): Likewise.
15219         (remquo_test): Likewise.
15220         (rint_test): Likewise.
15221         (rint_test_tonearest): Likewise.
15222         (rint_test_towardzero): Likewise.
15223         (rint_test_downward): Likewise.
15224         (rint_test_upward): Likewise.
15225         (round_test): Likewise.
15226         (scalb_test): Likewise.
15227         (scalbn_test): Likewise.
15228         (scalbln_test): Likewise.
15229         (signbit_test): Likewise.
15230         (sin_test): Likewise.
15231         (sin_test_tonearest): Likewise.
15232         (sin_test_towardzero): Likewise.
15233         (sin_test_downward): Likewise.
15234         (sin_test_upward): Likewise.
15235         (sincos_test): Likewise.
15236         (sinh_test): Likewise.
15237         (sinh_test_tonearest): Likewise.
15238         (sinh_test_towardzero): Likewise.
15239         (sinh_test_downward): Likewise.
15240         (sinh_test_upward): Likewise.
15241         (sqrt_test): Likewise.
15242         (sqrt_test_tonearest): Likewise.
15243         (sqrt_test_towardzero): Likewise.
15244         (sqrt_test_downward): Likewise.
15245         (sqrt_test_upward): Likewise.
15246         (tan_test): Likewise.
15247         (tan_test_tonearest): Likewise.
15248         (tan_test_towardzero): Likewise.
15249         (tan_test_downward): Likewise.
15250         (tan_test_upward): Likewise.
15251         (tanh_test): Likewise.
15252         (tgamma_test): Likewise.
15253         (trunc_test): Likewise.
15254         (y0_test): Likewise.
15255         (y1_test): Likewise.
15256         (yn_test): Likewise.
15257         (significand_test): Likewise.
15258
15259         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15260         individual tests in comment.
15261         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15262         (prev_max_error): New variable.
15263         (prev_real_max_error): Likewise.
15264         (prev_imag_max_error): Likewise.
15265         (compare_ulp_data): Don't refer to test names in comment.
15266         (find_test_ulps): Remove function.
15267         (find_function_ulps): Likewise.
15268         (find_complex_function_ulps): Likewise.
15269         (init_max_error): Take function name as argument.  Look up ulps
15270         for that function.
15271         (print_ulps): Remove function.
15272         (print_max_error): Use prev_max_error instead of calling
15273         find_function_ulps.
15274         (print_complex_max_error): Use prev_real_max_error and
15275         prev_imag_max_error instead of calling find_complex_function_ulps.
15276         (check_float_internal): Take max_ulp parameter instead of calling
15277         find_test_ulps.  Don't call print_ulps.
15278         (check_float): Update call to check_float_internal.
15279         (check_complex): Update calls to check_float_internal.
15280         (START): Pass argument to init_max_error.
15281         * math/gen-libm-test.pl (%results): Don't include "kind"
15282         information.
15283         (parse_ulps): Don't handle ulps of individual tests.
15284         (print_ulps_file): Likewise.
15285         (output_ulps): Likewise.
15286         * math/README.libm-test: Update.
15287         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15288         individual tests.
15289         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15290         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15291         * sysdeps/arm/libm-test-ulps: Likewise.
15292         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15293         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15294         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15295         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15296         * sysdeps/microblaze/libm-test-ulps: Likewise.
15297         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15298         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15299         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15300         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15301         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15302         * sysdeps/sh/libm-test-ulps: Likewise.
15303         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15304         * sysdeps/tile/libm-test-ulps: Likewise.
15305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306
15307 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15308
15309         * math/libm-test.inc (print_complex_max_error): Check separately
15310         whether real and imaginary errors are within allowed range and
15311         pass 0 to print_complex_function_ulps instead of value within
15312         allowed range.
15313
15314 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15315
15316         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15317         formatting.
15318         (get_handles_fopen): Likewise.
15319         (do_write_test): Likewise.
15320
15321         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15322
15323         * libio/fileops.c (do_ftell): Use cached offset when
15324         available.
15325         * libio/iofwide.c (do_ftell_wide): Likewise.
15326         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15327         _IO_file_attach.
15328         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15329
15330         [BZ #16532]
15331         * libio/libioP.h (get_file_offset): New function.
15332         * libio/fileops.c (get_file_offset): Likewise.
15333         (do_ftell): Likewise.
15334         (_IO_new_file_seekoff): Split out ftell logic.
15335         * libio/wfileops.c (do_ftell_wide): Likewise.
15336         (_IO_wfile_seekoff): Split out ftell logic.
15337         * libio/tst-ftell-active-handler.c: New test case.
15338         * libio/Makefile (tests): Add it.
15339
15340 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15341
15342         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15343         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15344
15345 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15346
15347         [BZ #16639]
15348         * nscd/connections.c (nscd_init): Call do_exit.
15349         (start_threads): Call do_exit and notify_parent.
15350         (begin_drop_privileges): Call do_exit.
15351         (finish_drop_privileges): Likewise.
15352         * nscd/selinux.c (preserve_capabilities): Likewise.
15353         (install_real_capabilities): Likewise.
15354         (nscd_selinux_enabled): Likewise.
15355         (avc_create_thread): Likewise.
15356         (avc_alloc_lock): Likewise.
15357         (nscd_avc_init): Likewise.
15358         * nscd/nscd.c (parent_fd): New static variable.
15359         (main): Create a pipe between parent and child processes.
15360         Skip closing parent_fd.
15361         (monitor_child): New function.
15362         (do_exit): Likewise.
15363         (notify_parent): Likewise.
15364         * nscd/nscd.h (notify_parent): Likewise.
15365         (do_exit): Likewise.
15366
15367 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15368
15369         * malloc/malloc.c (__libc_calloc): Revert last change.
15370
15371 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15372
15373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15374
15375 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15376
15377         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15379         implementation.
15380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15381         (__libc_ifunc_impl_list): Likewise.
15382         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15383         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15384         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15385         * string/strrchr.c: Define STRRCHR.
15386
15387 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15388
15389         * benchtest/bench-strtok.c (simple_strtok): Delete.
15390         (strtok_string): Use as benchmark.
15391         * string/strtok (STRTOK): New macro.
15392
15393 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15394
15395         * manual/threads.texi: Add header and standard comments to all
15396         functions.
15397
15398         * elf/dl-lookup.c (check_match): New function.
15399         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15400         (do_lookup_x): Remove nested function check_match. Use non-nested
15401         function check_match.
15402
15403 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15404
15405         * csu/Makefile (generated, before-compile): Use += rather than =.
15406         * catgets/Makefile (generated, generated-dirs): Likewise.
15407         * debug/Makefile (generated): Likewise.
15408         * dlfcn/Makefile (generated): Likewise.
15409         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15410         * iconvdata/Makefile (before-compile, generated): Likewise.
15411         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15412         * libio/Makefile (generated): Likewise.
15413         * malloc/Makefile (generated): Likewise.
15414         * manual/Makefile (generated, generated-dirs): Likewise.
15415         * misc/Makefile (generated): Likewise.
15416         * posix/Makefile (generated): Likewise.
15417         * resolv/Makefile (generated): Likewise.
15418         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15419         * timezone/Makefile (generated, generated-dirs): Likewise.
15420
15421         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15422
15423 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15424
15425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15426         power8 implementation.
15427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15428         file: POWER8 llround ifunc implementation.
15429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15430         (__lllround): Add POWER8 implementation.
15431         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15432         POWER8 llround implementation.
15433
15434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15435         power8 implementation.
15436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15437         file: POWER8 llrint ifunc implementation.
15438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15439         Add POWER8 implementation.
15440         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15441         POWER8 llrint implementation.
15442
15443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15444         power8 implementation.
15445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15446         file: POWER8 finite ifunc implementation.
15447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15448         Add POWER8 implementation.
15449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15450         Likewise.
15451         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15452         POWER8 finite implementation.
15453         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15454
15455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15456         power8 implementation.
15457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15458         file: POWER8 isinf ifunc implementation.
15459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15460         POWER8 implementation.
15461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15462         Likewise.
15463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15464         isinf implementation.
15465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15466
15467         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15468         (INIT_ARCH): Add hwcap2 initialization.
15469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15470         power8 implementation.
15471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15472         file: POWER8 isnan ifunc implementation.
15473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15474         POWER8 implementation.
15475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15476         Likewise.
15477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15478         isnan implementation.
15479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15480
15481 2014-02-27  Joey Ye  <joey.ye@arm.com>
15482
15483         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15484         (_FP_NANFRAC_Q): Set to zero.
15485
15486 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15487
15488         [BZ #16623]
15489         * math/auto-libm-test-in: New test inputs.
15490         * math/auto-libm-test-out: Regenerate.
15491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15492         and DA.
15493         (__cos): Likewise.
15494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15495
15496 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15497
15498         * scripts/evaluate-test.sh: Take new argument indicating whether
15499         failure is expected.
15500         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15501         indicating whether failure is expected.
15502         * conform/Makefile (test-xfail-run-conformtest): New variable.
15503         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15504         level.
15505         * posix/Makefile (test-xfail-annexc): New variable.
15506         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15507
15508 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15509
15510         * argp/Makefile: Include Makeconfig immediately after defining
15511         subdir.
15512         * assert/Makefile: Likewise.
15513         * benchtests/Makefile: Likewise.
15514         * catgets/Makefile: Likewise.
15515         * conform/Makefile: Likewise.
15516         * crypt/Makefile: Likewise.
15517         * csu/Makefile: Likewise.
15518         (all): Remove target.
15519         * ctype/Makefile: Include Makeconfig immediately after defining
15520         subdir.
15521         * debug/Makefile: Likewise.
15522         * dirent/Makefile: Likewise.
15523         * dlfcn/Makefile: Likewise.
15524         * gmon/Makefile: Likewise.
15525         * gnulib/Makefile: Likewise.
15526         * grp/Makefile: Likewise.
15527         * gshadow/Makefile: Likewise.
15528         * hesiod/Makefile: Likewise.
15529         * hurd/Makefile: Likewise.
15530         (all): Remove target.
15531         * iconvdata/Makefile: Include Makeconfig immediately after
15532         defining subdir.
15533         * inet/Makefile: Likewise.
15534         * intl/Makefile: Likewise.
15535         * io/Makefile: Likewise.
15536         * libio/Makefile: Likewise.
15537         (all): Remove target.
15538         * locale/Makefile: Include Makeconfig immediately after defining
15539         subdir.
15540         * login/Makefile: Likewise.
15541         * mach/Makefile: Likewise.
15542         (all): Remove target.
15543         * malloc/Makefile: Include Makeconfig immediately after defining
15544         subdir.
15545         (all): Remove target.
15546         * manual/Makefile: Include Makeconfig immediately after defining
15547         subdir.
15548         * math/Makefile: Likewise.
15549         * misc/Makefile: Likewise.
15550         * nis/Makefile: Likewise.
15551         * nss/Makefile: Likewise.
15552         * po/Makefile: Likewise.
15553         (all): Remove target.
15554         * posix/Makefile: Include Makeconfig immediately after defining
15555         subdir.
15556         * pwd/Makefile: Likewise.
15557         * resolv/Makefile: Likewise.
15558         * resource/Makefile: Likewise.
15559         * rt/Makefile: Likewise.
15560         * setjmp/Makefile: Likewise.
15561         * shadow/Makefile: Likewise.
15562         * signal/Makefile: Likewise.
15563         * socket/Makefile: Likewise.
15564         * soft-fp/Makefile: Likewise.
15565         * stdio-common/Makefile: Likewise.
15566         * stdlib/Makefile: Likewise.
15567         * streams/Makefile: Likewise.
15568         * string/Makefile: Likewise.
15569         * sunrpc/Makefile: Likewise.
15570         (all): Remove target.
15571         * sysvipc/Makefile: Include Makeconfig immediately after defining
15572         subdir.
15573         * termios/Makefile: Likewise.
15574         * time/Makefile: Likewise.
15575         * timezone/Makefile: Likewise.
15576         (all): Remove target.
15577         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15578         subdir.
15579         * wctype/Makefile: Likewise.
15580
15581 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15582
15583         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15584         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15585         (libc_feholdexcept_setround_mips): Ditto.
15586         (libc_feholdsetround): New.
15587         (libc_feholdsetroundf): New.
15588         (libc_feholdsetroundl): New.
15589         (libc_feupdateenv_test_mips): New.
15590         (libc_feupdateenv_test): New.
15591         (libc_feupdateenv_testf): New.
15592         (libc_feupdateenv_testl): New.
15593         (libc_feresetround): New.
15594         (libc_feresetroundf): New.
15595         (libc_feresetroundl): New.
15596         (libc_fetestexcept_mips): New.
15597         (libc_fetestexcept): New.
15598         (libc_fetestexceptf): New.
15599         (libc_fetestexceptl): New.
15600         (HAVE_RM_CTX): New.
15601         (libc_feholdexcept_setround_mips_ctx): New.
15602         (libc_feholdexcept_setround_ctx): New.
15603         (libc_feholdexcept_setroundf_ctx): New.
15604         (libc_feholdexcept_setroundl_ctx): New.
15605         (libc_fesetenv_mips_ctx): New.
15606         (libc_fesetenv_ctx): New.
15607         (libc_fesetenv_ctxf): New.
15608         (libc_fesetenv_ctxl): New.
15609         (libc_feupdateenv_mips_ctx): New.
15610         (libc_feupdateenv_ctx): New.
15611         (libc_feupdateenvf_ctx): New.
15612         (libc_feupdateenvl_ctx): New.
15613         (libc_feholdsetround_mips_ctx): New.
15614         (libc_feholdsetround_ctx): New.
15615         (libc_feholdsetroundf_ctx): New.
15616         (libc_feholdsetroundl_ctx): New.
15617         (libc_feresetround_mips_ctx): New.
15618         (libc_feresetround_ctx): New.
15619         (libc_feresetroundf_ctx): New.
15620         (libc_feresetroundl_ctx): New.
15621
15622 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15623
15624         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15625
15626         * manual/ipc.texi: New file.
15627         * manual/Makefile (chapters): Add ipc.
15628         * manual/job.texi: Add "Inter-Process Communication" to next.
15629         * manual/process.texi: Add "Inter-Process Communication" to prev.
15630
15631 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15632
15633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15634
15635 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15636
15637         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15638
15639         * manual/arith.texi: Fix spaces after sentences.
15640         * manual/charset.texi: Likewise.
15641         * manual/errno.texi: Likewise.
15642         * manual/install.texi: Likewise.
15643         * manual/llio.texi: Likewise.
15644         * manual/locale.texi: Likewise.
15645         * manual/maint.texi: Likewise.
15646         * manual/math.texi: Likewise.
15647         * manual/memory.texi: Likewise.
15648         * manual/message.texi: Likewise.
15649         * manual/probes.texi: Likewise.
15650         * manual/resource.texi: Likewise.
15651         * manual/signal.texi: Likewise.
15652         * manual/socket.texi: Likewise.
15653         * manual/stdio.texi: Likewise.
15654         * manual/string.texi: Likewise.
15655         * manual/time.texi: Likewise.
15656         * manual/users.texi: Likewise.
15657
15658 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15659
15660         [BZ #16632]
15661         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15662         _DEFAULT_SOURCE is defined.
15663
15664 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15665             Carlos O'Donell  <carlos@redhat.com>
15666
15667         [BZ #16613]
15668         * elf/dl-tls.c (_dl_count_modids): New function.
15669         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15670         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15671         audit library and increment generation counter.
15672         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15673         * elf/tst-audit9.c: New file.
15674         * elf/tst-auditmod9a.c: New file.
15675         * elf/tst-auditmod9b.c: New file.
15676         * elf/Makefile: Add rules to build and run tst-audit9.
15677
15678 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15679
15680         [BZ #15347]
15681         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15682
15683 2014-02-25  Will Newton  <will.newton@linaro.org>
15684
15685         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15686         (__longjmp): Restore sp and lr before restoring callee
15687         saved registers.  Add longjmp and longjmp_target
15688         SystemTap probe point.
15689         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15690         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15691         Define to zero to match jmpbuf layout.
15692         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15693         (__sigsetjmp): Save sp and lr before saving callee
15694         saved registers.  Add setjmp SystemTap probe point.
15695
15696 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15697
15698         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15699
15700 2014-02-24  Andreas Schwab  <schwab@suse.de>
15701
15702         [BZ #15804]
15703         * elf/pldd.c (wait_for_ptrace_stop): New function.
15704         (main): Call it after attaching.
15705
15706 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15707
15708         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15709         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15710         Versions files is now verboten.
15711         * hurd/Versions (libc: GLIBC_2.0):
15712         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15713         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15714         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15715         * mach/Versions: Likewise.
15716
15717         * csu/Versions: Remove unused %include.
15718         * resolv/Versions: Likewise.
15719
15720 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15721
15722         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15723         ($(objpfx)check-local-headers.out): Likewise.
15724         ($(objpfx)begin-end-check.out): Likewise.
15725         * Makerules (check-abi-%.out): Likewise.
15726         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15727         ($(objpfx)test2.cat): Likewise.
15728         ($(objpfx)de/libc.cat): Likewise.
15729         ($(objpfx)test-gencat.out): Likewise.
15730         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15731         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15732         ($(objpfx)noload-mem): Likewise.
15733         ($(objpfx)tst-pathopt.out): Likewise.
15734         ($(objpfx)tst-rtld-load-self.out): Likewise.
15735         ($(objpfx)tst-array1-cmp.out): Likewise.
15736         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15737         ($(objpfx)tst-array2-cmp.out): Likewise.
15738         ($(objpfx)tst-array3-cmp.out): Likewise.
15739         ($(objpfx)tst-array4-cmp.out): Likewise.
15740         ($(objpfx)tst-array5-cmp.out): Likewise.
15741         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15742         ($(objpfx)check-textrel.out): Likewise.
15743         ($(objpfx)check-execstack.out): Likewise.
15744         ($(objpfx)check-localplt.out): Likewise.
15745         ($(objpfx)order2-cmp.out): Likewise.
15746         ($(objpfx)tst-leaks1-mem): Likewise.
15747         ($(objpfx)tst-leaks1-static-mem): Likewise.
15748         ($(objpfx)tst-initorder-cmp.out): Likewise.
15749         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15750         ($(objpfx)tst-unused-dep.out): Likewise.
15751         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15752         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15753         * iconv/Makefile (test-iconvconfig): Likewise.
15754         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15755         ($(objpfx)iconv-test.out): Likewise.
15756         ($(objpfx)tst-tables.out): Likewise.
15757         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15758         ($(objpfx)tst-gettext.out): Likewise.
15759         ($(objpfx)tst-translit.out): Likewise.
15760         ($(objpfx)tst-gettext2.out): Likewise.
15761         ($(objpfx)tst-gettext4.out): Likewise.
15762         ($(objpfx)tst-gettext6.out): Likewise.
15763         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15764         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15765         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15766         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15767         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15768         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15769         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15770         ($(objpfx)wordexp-tst.out): Likewise.
15771         ($(objpfx)annexc.out): Likewise.
15772         ($(objpfx)tst-fnmatch-mem): Likewise.
15773         ($(objpfx)bug-regex2-mem): Likewise.
15774         ($(objpfx)bug-regex14-mem): Likewise.
15775         ($(objpfx)bug-regex21-mem): Likewise.
15776         ($(objpfx)bug-regex31-mem): Likewise.
15777         ($(objpfx)tst-vfork3-mem): Likewise.
15778         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15779         ($(objpfx)tst-pcre-mem): Likewise.
15780         ($(objpfx)tst-boost-mem): Likewise.
15781         ($(objpfx)tst-getconf.out): Likewise.
15782         ($(objpfx)bug-ga2-mem): Likewise.
15783         ($(objpfx)bug-glob2-mem): Likewise.
15784         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15785         ($(objpfx)mtrace-tst-leaks2): Likewise.
15786         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15787         ($(objpfx)tst-printf.out): Likewise.
15788         ($(objpfx)tst-setvbuf1.out): Likewise.
15789         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15790         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15791         ($(objpfx)tst-fmtmsg.out): Likewise.
15792         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15793         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15794
15795         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15796         * bits/sigaction.h [__USE_MISC]: Likewise.
15797         * bits/waitstatus.h: Update #endif comments.
15798         * ctype/ctype.h: Likewise.
15799         * dirent/dirent.h: Likewise.
15800         [__USE_MISC]: Remove redundant conditionals.
15801         * grp/grp.h: Update #endif comments.
15802         [__USE_GNU]: Remove redundant conditionals.
15803         [__USE_MISC]: Likewise.
15804         * inet/netinet/in.h [__USE_GNU]: Likewise.
15805         * io/sys/stat.h [__USE_MISC]: Likewise.
15806         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15807         * libio/bits/stdio.h: Update #endif comments.
15808         [__USE_MISC]: Remove redundant conditionals.
15809         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15810         * libio/stdio.h: Update #endif comments.
15811         [__USE_MISC]: Remove redundant conditionals.
15812         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15813         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15814         * math/math.h: Update #else and #endif comments.
15815         [__USE_MISC]: Remove redundant conditionals.
15816         * misc/sys/uio.h: Update #endif comments.
15817         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15818         * posix/glob.h [__USE_MISC]: Likewise.
15819         * posix/sys/types.h: Update #endif comments.
15820         [__USE_MISC]: Remove redundant conditionals.
15821         * posix/sys/wait.h: Update #endif comments.
15822         [__USE_MISC]: Remove redundant conditionals.
15823         * posix/unistd.h: Update #endif comments.
15824         [__USE_MISC]: Remove redundant conditionals.
15825         * pwd/pwd.h [__USE_GNU]: Likewise.
15826         [__USE_MISC]: Likewise.
15827         * resolv/netdb.h [__USE_GNU]: Likewise.
15828         * signal/signal.h: Update #endif comments.
15829         [__USE_MISC]: Remove redundant conditionals.
15830         * stdlib/stdlib.h: Update #else and #endif comments.
15831         [__USE_MISC]: Remove redundant conditionals.
15832         [__USE_GNU]: Likewise.
15833         * string/bits/string2.h [__USE_MISC]: Likewise.
15834         * string/string.h: Update #endif comments.
15835         [__USE_MISC]: Remove redundant conditionals.
15836         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15837         Likewise.
15838         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15839         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15840         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15841         Likewise.
15842         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15843         Likewise.
15844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15845         comments.
15846         [__USE_MISC]: Remove redundant conditionals.
15847         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15848         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15849         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15850         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15851         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15852         Likewise.
15853         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15854         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15855         Likewise.
15856         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15857         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15858         Likewise.
15859         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15860         Likewise.
15861         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15862         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15863         Likewise.
15864         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15865         Likewise.
15866         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15867         * sysdeps/x86/bits/string.h: Update #endif comments.
15868         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15869         conditionals.
15870         * time/sys/time.h: Update #endif comments.
15871         * time/time.h: Likewise.
15872         [__USE_MISC]: Remove redundant conditionals.
15873
15874 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15875
15876         [BZ #16600]
15877         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15878
15879 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15880
15881         * Versions.def (librt): Add GLIBC_2.17.
15882
15883 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15884
15885         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15886         synonym for _SYS_AUXV_H to allow direct inclusion.
15887         * sysdeps/sparc/bits/hwcap.h: Likewise.
15888         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15889         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15890         * sysdeps/sparc/sysdep.h: Likewise.
15891
15892 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15893
15894         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15895
15896 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15897
15898         * benchtests/bench-strrchr.c: Print length instead of position.
15899
15900 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15901
15902         [BZ #16611]
15903         * sysdeps/unix/sysv/linux/kernel-features.h
15904         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15905         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15906         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15907         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15908         Likewise.
15909         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15910         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15911         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15912         (__ASSUME_SENDMMSG): Define instead of using previous
15913         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15914         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15915         (__ASSUME_SENDMMSG_SYSCALL): Define.
15916         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15917         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15918         Likewise.
15919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15920         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15921         Likewise.
15922         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15923         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15924         Likewise.
15925         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15926         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15927         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15928         [__ASSUME_SENDMMSG]: Change conditionals to
15929         [__ASSUME_SENDMMSG_SOCKETCALL].
15930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15931         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15932         Define.
15933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15934         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15935         Likewise.
15936         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15937         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15938         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15939         [!__ASSUME_SENDMMSG]: Change conditional to
15940         [!__ASSUME_SENDMMSG_SOCKETCALL].
15941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15942         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15943         Define.
15944
15945         [BZ #16610]
15946         * sysdeps/unix/sysv/linux/kernel-features.h
15947         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15948         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15949         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15950         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15951         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15952         [__i386__ || __sparc__]
15953         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15954         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15955         (__ASSUME_RECVMMSG): Define instead of using previous
15956         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15957         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15958         (__ASSUME_RECVMMSG_SYSCALL): Define.
15959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15961         Likewise.
15962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15964         Likewise.
15965         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15966         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15967         Likewise.
15968         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15969         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15970         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15971         [__ASSUME_RECVMMSG]: Change condition to
15972         [__ASSUME_RECVMMSG_SOCKETCALL].
15973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15974         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15975         Define.
15976         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15977         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15979         Likewise.
15980         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15981         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15982         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15983         [!__ASSUME_RECVMMSG]: Change condition to
15984         [!__ASSUME_RECVMMSG_SOCKETCALL].
15985         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15986         (__ASSUME_RECVMMSG_SYSCALL): Define.
15987
15988         [BZ #16609]
15989         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15990         __powerpc__ || __s390__ || __sh__ || __sparc__]
15991         (__ASSUME_SOCKETCALL): Define.
15992         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15993         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15994         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15995         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15996         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15997         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15998         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15999         (__ASSUME_ACCEPT4): Define instead of using previous
16000         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16001         __powerpc__ || __sparc__ || __s390__)] condition.
16002         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16003         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16004         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16005         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16006         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16007         [!__ASSUME_ACCEPT4]: Change condition to
16008         [!__ASSUME_ACCEPT4_SOCKETCALL].
16009         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16010         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16011         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16012         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16013         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16014         __ASSUME_ACCEPT4_SYSCALL.
16015         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16016         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16017         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16018         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16019         __ASSUME_ACCEPT4_SYSCALL.
16020         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16021         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16022         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16023         [__ASSUME_ACCEPT4]: Change condition to
16024         [__ASSUME_ACCEPT4_SOCKETCALL].
16025         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16026         (__ASSUME_SOCKETCALL): Define.
16027         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16029         (__ASSUME_SOCKETCALL): Define.
16030         (__ASSUME_ACCEPT4): Remove.
16031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16032         Define.
16033         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16034         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16035         Likewise.
16036         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16037         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16038
16039         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16040         macro.
16041         (HWCAP_ARM_LPAE): Likewise.
16042         (HWCAP_ARM_EVTSTRM): Likewise.
16043         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16044         Add vpfd32, lpae and evtstrm.
16045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16046         Increase to 22.
16047
16048 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16049
16050         * math/auto-libm-test-in: Add tests of clog10.
16051         * math/auto-libm-test-out: Regenerated.
16052         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16053         * sysdeps/i386/fpu/libm-test-ulps: Update.
16054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16055
16056 2014-02-18  Andreas Schwab  <schwab@suse.de>
16057
16058         [BZ #16574]
16059         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16060         Store non-zero if the second buffer was newly allocated.
16061         (send_dg): Likewise.
16062         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16063         to send_vc and send_dg.
16064         (res_nsend): Pass NULL for ansp2_malloced.
16065         * resolv/res_query.c (__libc_res_nquery): Add parameter
16066         answerp2_malloced and pass it down to __libc_res_nsend.
16067         (res_nquery): Pass additional NULL to __libc_res_nquery.
16068         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16069         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16070         second answer buffer if answerp2_malloced was set.
16071         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16072         (__libc_res_nquerydomain): Add parameter
16073         answerp2_malloced and pass it down to __libc_res_nquery.
16074         (res_nquerydomain): Pass additional NULL to
16075         __libc_res_nquerydomain.
16076         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16077         additional NULL to __libc_res_nsend and __libc_res_nquery.
16078         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16079         additional NULL to __libc_res_nsearch.
16080         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16081         parameter of __libc_res_nsearch to check for separately allocated
16082         second buffer.
16083         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16084         __libc_res_nquery.
16085         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16086         additional NULL to __libc_res_nquery.
16087         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16088         __libc_res_nsearch.
16089         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16090         * include/resolv.h: Update prototypes of __libc_res_nquery,
16091         __libc_res_nsearch, __libc_res_nsend.
16092
16093 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16094
16095         * math/auto-libm-test-in: Add tests of fma.
16096         * math/auto-libm-test-out: Regenerated.
16097         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16098         (fma_towardzero_test_data): Likewise.
16099         (fma_downward_test_data): Likewise.
16100         (fma_upward_test_data): Likewise.
16101         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16102         mpc_mode.
16103         (rounding_modes): Add values for new field.
16104         (func_calc_method): Add value mpfr_fff_f.
16105         (func_calc_desc): Add mpfr_fff_f union field.
16106         (test_function): Add field exact_args.
16107         (FUNC): Add macro argument EXACT_ARGS.
16108         (FUNC_mpfr_f_f): Update call to FUNC.
16109         (FUNC_mpfr_f_f): Likewise.
16110         (FUNC_mpfr_ff_f): Likewise.
16111         (FUNC_mpfr_if_f): Likewise.
16112         (FUNC_mpc_c_f): Likewise.
16113         (FUNC_mpc_c_c): Likewise.
16114         (test_functions): Add fma.  Update calls to FUNC.
16115         (handle_input_arg): Add argument exact_args.
16116         (add_test): Update call to handle_input_arg.
16117         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16118         (output_for_one_input_case): Update call to calc_generic_results.
16119         Recalculate exact zero results in each rounding mode.
16120
16121         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16122         non-negative before setting low bit.
16123         * math/auto-libm-test-in: Mark one asin test possibly having
16124         spurious underflow.
16125         * math/auto-libm-test-out: Regenerated.
16126         * sysdeps/i386/fpu/libm-test-ulps: Update.
16127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16128
16129 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16130
16131         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16132         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16133         ports/sysdeps/unix/sysv/linux/microblaze.
16134         * README: Add missing listing for microblaze*-*-linux-gnu.
16135
16136 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16137
16138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16139         duplicate code
16140
16141 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16142
16143         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16144         * sysdeps/unix/sysv/linux/ia64: Move directory from
16145         ports/sysdeps/unix/sysv/linux/ia64.
16146         * README: Update listing for ia64-*-linux-gnu.
16147
16148 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16149             Joseph Myers  <joseph@codesourcery.com>
16150
16151         * Makeconfig (test-name): New variable.
16152         (evaluate-test): Likewise.
16153         * Makerules (do-test-clean): Remove .test-result files.
16154         (common-mostlyclean): Likewise.
16155         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16156         * scripts/evaluate-test.sh: New file.
16157
16158 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16159
16160         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16161         separate $(objpfx)tst-fopenloc-cmp.out and
16162         $(objpfx)tst-fopenloc-mem.out targets.
16163         (tests): Update dependencies.
16164         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16165         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16166         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16167         (tst-rxspencer-no-utf8-ARGS): New variable.
16168         (tst-rxspencer-no-utf8-ENV): Likewise.
16169         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16170         instead of $(objpfx)tst-rxspencer-mem.
16171         ($(objpfx)tst-rxspencer-mem): Change target to
16172         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16173         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16174         * posix/tst-rxspencer-no-utf8.c: New file.
16175
16176         * elf/Makefile ($(objpfx)order.out): Remove rule.
16177         [$(run-built-tests) = yes] (tests): Depend on
16178         $(objpfx)order-cmp.out.
16179         ($(objpfx)order-cmp.out): New rule.
16180         [$(run-built-tests) = yes] (tests): Depend on
16181         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16182         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16183         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16184         $(objpfx)tst-array5-static-cmp.out.
16185         ($(objpfx)tst-array1.out): Remove rule.
16186         ($(objpfx)tst-array1-cmp.out): New rule.
16187         ($(objpfx)tst-array1-static.out): Remove rule.
16188         ($(objpfx)tst-array1-static-cmp.out): New rule.
16189         ($(objpfx)tst-array2.out): Remove rule.
16190         ($(objpfx)tst-array2-cmp.out): New rule.
16191         ($(objpfx)tst-array3.out): Remove rule.
16192         ($(objpfx)tst-array3-cmp.out): New rule.
16193         ($(objpfx)tst-array4.out): Remove rule.
16194         ($(objpfx)tst-array4-cmp.out): New rule.
16195         ($(objpfx)tst-array5.out): Remove rule.
16196         ($(objpfx)tst-array5-cmp.out): New rule.
16197         ($(objpfx)tst-array5-static.out): Remove rule.
16198         ($(objpfx)tst-array5-static-cmp.out): New rule.
16199         [$(run-built-tests) = yes] (tests): Depend on
16200         $(objpfx)order2-cmp.out.
16201         ($(objpfx)order2.out): Remove rule.
16202         ($(objpfx)order2-cmp.out): New rule.
16203         ($(objpfx)tst-initorder.out): Remove rule.
16204         [$(run-built-tests) = yes] (tests): Depend on
16205         $(objpfx)tst-initorder-cmp.out.
16206         ($(objpfx)tst-initorder-cmp.out): New rule.
16207         ($(objpfx)tst-initorder2.out): Remove rule.
16208         [$(run-built-tests) = yes] (tests): Depend on
16209         $(objpfx)tst-initorder2-cmp.out.
16210         ($(objpfx)tst-initorder2-cmp.out): New rule.
16211         [$(run-built-tests) = yes] (tests): Depend on
16212         $(objpfx)tst-unused-dep-cmp.out.
16213         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16214         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16215         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16216         on $(objpfx)tst-setvbuf1-cmp.out.
16217         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16218         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16219         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16220         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16221         ($(objpfx)tst-svc.out): Remove rule.
16222         ($(objpfx)tst-svc-cmp.out): New rule.
16223
16224 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16225
16226         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16227         * ctype/ctype.h [__USE_MISC]: Likewise.
16228         * dirent/dirent.h [__USE_MISC]: Likewise.
16229         * grp/grp.h [__USE_MISC]: Likewise.
16230         * io/fcntl.h [__USE_MISC]: Likewise.
16231         * io/sys/stat.h [__USE_MISC]: Likewise.
16232         * libio/stdio.h [__USE_MISC]: Likewise.
16233         * posix/unistd.h [__USE_MISC]: Likewise.
16234         * pwd/pwd.h [__USE_MISC]: Likewise.
16235         * stdlib.h [__USE_MISC]: Likewise.
16236         * string/bits/string2.h [__USE_MISC]: Likewise.
16237         * string/string.h [__USE_MISC]: Likewise.
16238         * time/time.h [__USE_MISC]: Likewise.
16239
16240 2014-02-13  Andreas Schwab  <schwab@suse.de>
16241
16242         [BZ #16574]
16243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16244         second answer buffer if it was separately allocated.
16245
16246 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16247
16248         * sysdeps/mips/math-tests.h: Include <features.h>.
16249         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16250         (ROUNDING_TESTS_long_double): Do not define.
16251         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16252         (EXCEPTION_TESTS_long_double): Likewise.
16253         * sysdeps/mips/mips64/libm-test-ulps: Update.
16254
16255         * include/features.h (__USE_BSD): Remove macro definitions.
16256         (__USE_SVID): Likewise.
16257         (_BSD_SOURCE): Likewise.
16258         (_SVID_SOURCE): Likewise.
16259         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16260         from definition of _DEFAULT_SOURCE.
16261         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16262         [_DEFAULT_SOURCE].
16263         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16264         * bits/mman.h [__USE_BSD]: Likewise.
16265         * bits/termios.h [__USE_BSD]: Likewise.
16266         * bits/waitstatus.h [__USE_BSD]: Likewise.
16267         * ctype/ctype.h [__USE_SVID]: Likewise.
16268         * dirent/dirent.h [__USE_BSD]: Likewise.
16269         * grp/grp.h [__USE_SVID]: Likewise.
16270         [__USE_BSD]: Likewise.
16271         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16272         * io/fcntl.h [__USE_BSD]: Likewise.
16273         * io/ftw.h [__USE_BSD]: Likewise.
16274         * io/sys/stat.h [__USE_BSD]: Likewise.
16275         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16276         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16277         * libio/stdio.h [__USE_SVID]: Likewise.
16278         [__USE_BSD]: Likewise.
16279         * math/math.h [__USE_SVID]: Likewise.
16280         [__USE_BSD]: Likewise.
16281         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16282         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16283         * misc/search.h [__USE_SVID]: Likewise.
16284         * misc/sys/mman.h [__USE_BSD]: Likewise.
16285         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16286         * misc/sys/uio.h [__USE_BSD]: Likewise.
16287         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16288         * posix/glob.h [__USE_BSD]: Likewise.
16289         * posix/regex.h [__USE_BSD]: Likewise.
16290         * posix/sys/types.h [__USE_BSD]: Likewise.
16291         [__USE_SVID]: Likewise.
16292         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16293         * posix/sys/wait.h [__USE_BSD]: Likewise.
16294         [__USE_SVID]: Likewise.
16295         * posix/unistd.h [__USE_BSD]: Likewise.
16296         [__USE_SVID]: Likewise.
16297         * pwd/pwd.h [__USE_SVID]: Likewise.
16298         * resolv/netdb.h [__USE_BSD]: Likewise.
16299         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16300         * signal/signal.h [__USE_BSD]: Likewise.
16301         [__USE_SVID]: Likewise.
16302         * socket/sys/socket.h [__USE_BSD]: Likewise.
16303         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16304         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16305         [__USE_SVID]: Likewise.
16306         * string/bits/string2.h [__USE_BSD]: Likewise.
16307         [__USE_SVID]: Likewise.
16308         * string/bits/string3.h [__USE_BSD]: Likewise.
16309         * string/endian.h [__USE_BSD]: Likewise.
16310         * string/string.h [__USE_SVID]: Likewise.
16311         [__USE_BSD]: Likewise.
16312         * string/strings.h [__USE_BSD]: Likewise.
16313         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16314         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16315         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16316         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16317         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16318         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16319         Likewise.
16320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16321         Likewise.
16322         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16323         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16324         Likewise.
16325         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16326         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16327         Likewise.
16328         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16329         Likewise.
16330         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16331         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16332         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16333         Likewise.
16334         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16335         Likewise.
16336         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16337         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16338         * termios/termios.h [__USE_BSD]: Likewise.
16339         * time/sys/time.h [__USE_BSD]: Likewise.
16340         * time/time.h [__USE_BSD]: Likewise.
16341         [__USE_SVID]: Likewise.
16342
16343         * Makefile (subdir_targets): Remove subdir_lint.out.
16344
16345         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16346         (do-tst-printf): Likewise.
16347         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16348         $(objpfx)tst-printf.out.
16349
16350         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16351
16352         * Makerules (check-abi-%): Change target to
16353         $(objpfx)check-abi-%.out.
16354         (check-abi target): Update dependencies.
16355         (check-abi-pattern variable): Redirect output of diff to $@.
16356         (check-abi variable): Likewise.
16357         * elf/Makefile (check-abi): Update dependencies.
16358
16359         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16360         unused.
16361         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16362         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16363         subnormal range.
16364         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16365         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16366         value has largest subnormal exponent.
16367         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16368         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16369         * sysdeps/aarch64/soft-fp/sfp-machine.h
16370         (_FP_TININESS_AFTER_ROUNDING): New macro.
16371         * sysdeps/alpha/soft-fp/sfp-machine.h
16372         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16373         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16374         Likewise.
16375         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16376         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16377         * sysdeps/mips/soft-fp/sfp-machine.h
16378         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16379         * sysdeps/powerpc/soft-fp/sfp-machine.h
16380         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16381         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16382         Likewise.
16383         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16384         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16387         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16388         Likewise.
16389
16390 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16391
16392         [BZ #16545]
16393         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16394         model 1.
16395
16396 2014-02-12  Richard Henderson  <rth@redhat.com>
16397
16398         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16399         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16400         * sysdeps/unix/sysv/linux/alpha: Move directory from
16401         ports/sysdeps/unix/sysv/linux/alpha.
16402         * README: Update listing for alpha-*-linux-gnu.
16403
16404 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16405
16406         * include/features.h: Update comment documenting feature test
16407         macros.
16408         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16409         _DEFAULT_SOURCE.
16410         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16411         (_SVID_SOURCE): Likewise.
16412         (_DEFAULT_SOURCE): Update description of default features.
16413         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16414         with _GNU_SOURCE.
16415         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16416         (S_ISVTX): Likewise.
16417         * manual/math.texi (Mathematical Constants): Likewise.
16418         * manual/signal.texi (Interrupted Primitives): Likewise.
16419         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16420         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16421         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16422         Don't refer to _SVID_SOURCE in warning text.
16423
16424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16425
16426         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16427         already defined.
16428         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16429         * sysdeps/mips/dl-lookup.c: Remove.
16430         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16431
16432 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16433
16434         [BZ #16447]
16435         * math/auto-libm-test-in: Add testcase for expl.
16436         * math/auto-libm-test-out: Regenerate.
16437         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16438         calculation of unsafe.
16439         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16440
16441 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16442
16443         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16444         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16445         ports/sysdeps/unix/sysv/linux/aarch64.
16446         * README: Update listing for aarch64*-*-linux-gnu.
16447
16448 2014-02-11  Will Newton  <will.newton@linaro.org>
16449
16450         * manual/probes.texi (Mathematical Function Probes): Use
16451         "triggered" instead of "hit".
16452
16453         * manual/probes.texi (Internal Probes): Add documentation
16454         of setjmp, longjmp and longjmp_target probes.
16455
16456         * include/stap-probe.h: Add comment about probe argument
16457         format.
16458
16459         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16460         definition.  (tr_where, tr_freehook, tr_mallochook,
16461         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16462
16463 2014-02-11  David S. Miller  <davem@davemloft.net>
16464
16465         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16466         processing int_tests.
16467
16468 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16469
16470         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16471         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16472         * sysdeps/unix/sysv/linux/mips: Move directory from
16473         ports/sysdeps/unix/sysv/linux/mips.
16474         * README: Update listing for mips-*-linux-gnu and
16475         mips64-*-linux-gnu.
16476
16477 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16478
16479         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16480         * sysdeps/unix/sysv/linux/m68k: Move directory from
16481         ports/sysdeps/unix/sysv/linux/m68k.
16482         * README: Update listing for m68k-*-linux-gnu.
16483
16484 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16485
16486         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16487         * sysdeps/unix/sysv/linux/generic: Move directory from
16488         ports/sysdeps/unix/sysv/linux/generic.
16489         * sysdeps/unix/sysv/linux/tile: Move directory from
16490         ports/sysdeps/unix/sysv/linux/tile.
16491         * README: Update listing for tile*-*-linux-gnu.
16492
16493 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16494
16495         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16496         __builtin_expect.
16497         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16498         * catgets/open_catalog.c (__open_catalog): Likewise.
16499         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16500         * debug/confstr_chk.c: Likewise.
16501         * debug/fread_chk.c (__fread_chk): Likewise.
16502         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16503         * debug/getgroups_chk.c: Likewise.
16504         * debug/mbsnrtowcs_chk.c: Likewise.
16505         * debug/mbsrtowcs_chk.c: Likewise.
16506         * debug/mbstowcs_chk.c: Likewise.
16507         * debug/memcpy_chk.c: Likewise.
16508         * debug/memmove_chk.c: Likewise.
16509         * debug/mempcpy_chk.c: Likewise.
16510         * debug/memset_chk.c: Likewise.
16511         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16512         * debug/strcat_chk.c (__strcat_chk): Likewise.
16513         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16514         * debug/strncat_chk.c (__strncat_chk): Likewise.
16515         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16516         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16517         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16518         * debug/wcpncpy_chk.c: Likewise.
16519         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16520         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16521         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16522         * debug/wcsncpy_chk.c: Likewise.
16523         * debug/wcsnrtombs_chk.c: Likewise.
16524         * debug/wcsrtombs_chk.c: Likewise.
16525         * debug/wcstombs_chk.c: Likewise.
16526         * debug/wmemcpy_chk.c: Likewise.
16527         * debug/wmemmove_chk.c: Likewise.
16528         * debug/wmempcpy_chk.c: Likewise.
16529         * debug/wmemset_chk.c: Likewise.
16530         * dirent/scandirat.c (SCANDIRAT): Likewise.
16531         * dlfcn/dladdr1.c (dladdr1): Likewise.
16532         * dlfcn/dladdr.c (dladdr): Likewise.
16533         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16534         * dlfcn/dlerror.c (__dlerror): Likewise.
16535         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16536         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16537         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16538         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16539         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16540         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16541         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16542         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16543         Likewise.
16544         * elf/dl-conflict.c: Likewise.
16545         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16546         * elf/dl-dst.h: Likewise.
16547         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16548         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16549         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16550         * elf/dl-init.c (call_init, _dl_init): Likewise.
16551         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16552         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16553         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16554         Likewise.
16555         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16556         Likewise.
16557         * elf/dl-minimal.c (__libc_memalign): Likewise.
16558         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16559         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16560         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16561         * elf/dl-sym.c (do_sym): Likewise.
16562         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16563         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16564         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16565         * elf/dl-writev.h (_dl_writev): Likewise.
16566         * elf/ldconfig.c (search_dir): Likewise.
16567         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16568         (dl_main): Likewise.
16569         * elf/setup-vdso.h (setup_vdso): Likewise.
16570         * grp/compat-initgroups.c (compat_call): Likewise.
16571         * grp/fgetgrent.c (fgetgrent): Likewise.
16572         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16573         * grp/putgrent.c (putgrent): Likewise.
16574         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16575         Likewise.
16576         * hurd/hurdinit.c: Likewise.
16577         * iconvdata/8bit-gap.c (struct): Likewise.
16578         * iconvdata/ansi_x3.110.c : Likewise.
16579         * iconvdata/big5.c : Likewise.
16580         * iconvdata/big5hkscs.c : Likewise.
16581         * iconvdata/cp1255.c: Likewise.
16582         * iconvdata/cp1258.c : Likewise.
16583         * iconvdata/cp932.c : Likewise.
16584         * iconvdata/euc-cn.c: Likewise.
16585         * iconvdata/euc-jisx0213.c : Likewise.
16586         * iconvdata/euc-jp.c: Likewise.
16587         * iconvdata/euc-jp-ms.c : Likewise.
16588         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16589         * iconvdata/gb18030.c : Likewise.
16590         * iconvdata/gbbig5.c (const): Likewise.
16591         * iconvdata/gbgbk.c: Likewise.
16592         * iconvdata/gbk.c : Likewise.
16593         * iconvdata/ibm1364.c : Likewise.
16594         * iconvdata/ibm930.c : Likewise.
16595         * iconvdata/ibm932.c: Likewise.
16596         * iconvdata/ibm933.c : Likewise.
16597         * iconvdata/ibm935.c : Likewise.
16598         * iconvdata/ibm937.c : Likewise.
16599         * iconvdata/ibm939.c : Likewise.
16600         * iconvdata/ibm943.c: Likewise.
16601         * iconvdata/iso_11548-1.c: Likewise.
16602         * iconvdata/iso-2022-cn.c : Likewise.
16603         * iconvdata/iso-2022-cn-ext.c : Likewise.
16604         * iconvdata/iso-2022-jp-3.c: Likewise.
16605         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16606         * iconvdata/iso-2022-kr.c : Likewise.
16607         * iconvdata/iso646.c (gconv_end): Likewise.
16608         * iconvdata/iso_6937-2.c : Likewise.
16609         * iconvdata/iso_6937.c : Likewise.
16610         * iconvdata/iso8859-1.c: Likewise.
16611         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16612         * iconvdata/shift_jisx0213.c : Likewise.
16613         * iconvdata/sjis.c : Likewise.
16614         * iconvdata/t.61.c : Likewise.
16615         * iconvdata/tcvn5712-1.c : Likewise.
16616         * iconvdata/tscii.c: Likewise.
16617         * iconvdata/uhc.c : Likewise.
16618         * iconvdata/unicode.c (gconv_end): Likewise.
16619         * iconvdata/utf-16.c (gconv_end): Likewise.
16620         * iconvdata/utf-32.c (gconv_end): Likewise.
16621         * iconvdata/utf-7.c (base64): Likewise.
16622         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16623         * iconv/gconv_close.c (__gconv_close): Likewise.
16624         * iconv/gconv_open.c (__gconv_open): Likewise.
16625         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16626         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16627         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16628         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16629         (ucs4le_internal_loop_single): Likewise.
16630         * iconv/iconv.c (iconv): Likewise.
16631         * iconv/iconv_close.c: Likewise.
16632         * iconv/loop.c (SINGLE): Likewise.
16633         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16634         * include/atomic.h: Likewise.
16635         * inet/inet6_option.c (option_alloc): Likewise.
16636         * intl/bindtextdom.c (set_binding_values): Likewise.
16637         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16638         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16639         * intl/localealias.c (read_alias_file): Likewise.
16640         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16641         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16642         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16643         * libio/fmemopen.c (fmemopen): Likewise.
16644         * libio/iofgets.c (_IO_fgets): Likewise.
16645         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16646         * libio/iofgetws.c (fgetws): Likewise.
16647         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16648         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16649         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16650         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16651         * locale/findlocale.c (_nl_find_locale): Likewise.
16652         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16653         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16654         Likewise.
16655         * locale/setlocale.c (setlocale): Likewise.
16656         * login/programs/pt_chown.c (main): Likewise.
16657         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16658         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16659         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16660         (mmap, mmap64, mremap, munmap): Likewise.
16661         * math/e_exp2l.c: Likewise.
16662         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16663         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16664         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16665         * math/s_catan.c (__catan): Likewise.
16666         * math/s_catanf.c (__catanf): Likewise.
16667         * math/s_catanh.c (__catanh): Likewise.
16668         * math/s_catanhf.c (__catanhf): Likewise.
16669         * math/s_catanhl.c (__catanhl): Likewise.
16670         * math/s_catanl.c (__catanl): Likewise.
16671         * math/s_ccosh.c (__ccosh): Likewise.
16672         * math/s_ccoshf.c (__ccoshf): Likewise.
16673         * math/s_ccoshl.c (__ccoshl): Likewise.
16674         * math/s_cexp.c (__cexp): Likewise.
16675         * math/s_cexpf.c (__cexpf): Likewise.
16676         * math/s_cexpl.c (__cexpl): Likewise.
16677         * math/s_clog10.c (__clog10): Likewise.
16678         * math/s_clog10f.c (__clog10f): Likewise.
16679         * math/s_clog10l.c (__clog10l): Likewise.
16680         * math/s_clog.c (__clog): Likewise.
16681         * math/s_clogf.c (__clogf): Likewise.
16682         * math/s_clogl.c (__clogl): Likewise.
16683         * math/s_csin.c (__csin): Likewise.
16684         * math/s_csinf.c (__csinf): Likewise.
16685         * math/s_csinh.c (__csinh): Likewise.
16686         * math/s_csinhf.c (__csinhf): Likewise.
16687         * math/s_csinhl.c (__csinhl): Likewise.
16688         * math/s_csinl.c (__csinl): Likewise.
16689         * math/s_csqrt.c (__csqrt): Likewise.
16690         * math/s_csqrtf.c (__csqrtf): Likewise.
16691         * math/s_csqrtl.c (__csqrtl): Likewise.
16692         * math/s_ctan.c (__ctan): Likewise.
16693         * math/s_ctanf.c (__ctanf): Likewise.
16694         * math/s_ctanh.c (__ctanh): Likewise.
16695         * math/s_ctanhf.c (__ctanhf): Likewise.
16696         * math/s_ctanhl.c (__ctanhl): Likewise.
16697         * math/s_ctanl.c (__ctanl): Likewise.
16698         * math/w_pow.c: Likewise.
16699         * math/w_powf.c: Likewise.
16700         * math/w_powl.c: Likewise.
16701         * math/w_scalb.c (sysv_scalb): Likewise.
16702         * math/w_scalbf.c (sysv_scalbf): Likewise.
16703         * math/w_scalbl.c (sysv_scalbl): Likewise.
16704         * misc/error.c (error_tail): Likewise.
16705         * misc/pselect.c (__pselect): Likewise.
16706         * nis/nis_callback.c (__nis_create_callback): Likewise.
16707         * nis/nis_call.c (__nisfind_server): Likewise.
16708         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16709         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16710         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16711         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16712         * nis/nis_lookup.c (nis_lookup): Likewise.
16713         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16714         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16715         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16716         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16717         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16718         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16719         * nis/nss_compat/compat-initgroups.c (add_group)
16720         (internal_getgrent_r): Likewise.
16721         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16722         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16723         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16724         (internal_getspnam_r): Likewise.
16725         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16726         (_nss_nis_getaliasbyname_r): Likewise.
16727         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16728         (_nss_nis_getntohost_r): Likewise.
16729         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16730         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16731         (_nss_nis_getgrgid_r): Likewise.
16732         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16733         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16734         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16735         (_nss_nis_gethostbyname4_r): Likewise.
16736         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16737         (initgroups_netid): Likewise.
16738         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16739         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16740         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16741         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16742         (_nss_nis_getprotobynumber_r): Likewise.
16743         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16744         (_nss_nis_getsecretkey): Likewise.
16745         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16746         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16747         (_nss_nis_getpwuid_r): Likewise.
16748         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16749         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16750         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16751         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16752         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16753         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16754         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16755         Likewise.
16756         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16757         (_nss_nisplus_getntohost_r): Likewise.
16758         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16759         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16760         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16761         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16762         Likewise.
16763         * nis/nss_nisplus/nisplus-initgroups.c
16764         (_nss_nisplus_initgroups_dyn): Likewise.
16765         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16766         (_nss_nisplus_getnetbyaddr_r): Likewise.
16767         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16768         (_nss_nisplus_getprotobynumber_r): Likewise.
16769         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16770         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16771         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16772         Likewise.
16773         * nis/nss_nisplus/nisplus-service.c
16774         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16775         (_nss_nisplus_getservbyport_r): Likewise.
16776         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16777         (_nss_nisplus_getspnam_r): Likewise.
16778         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16779         Likewise.
16780         * nscd/aicache.c (addhstaiX): Likewise.
16781         * nscd/cache.c (cache_search, prune_cache): Likewise.
16782         * nscd/connections.c (register_traced_file, send_ro_fd)
16783         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16784         (main_loop_epoll): Likewise.
16785         * nscd/grpcache.c (addgrbyX): Likewise.
16786         * nscd/hstcache.c (addhstbyX): Likewise.
16787         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16788         * nscd/mem.c (gc, mempool_alloc): Likewise.
16789         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16790         (addinnetgrX): Likewise.
16791         * nscd/nscd-client.h (__nscd_acquire_maplock)
16792         (__nscd_drop_map_ref): Likewise.
16793         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16794         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16795         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16796         Likewise.
16797         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16798         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16799         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16800         (__nscd_get_map_ref): Likewise.
16801         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16802         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16803         Likewise.
16804         * nscd/pwdcache.c (addpwbyX): Likewise.
16805         * nscd/selinux.c (preserve_capabilities): Likewise.
16806         * nscd/servicescache.c (addservbyX): Likewise.
16807         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16808         * posix/fnmatch.c (fnmatch): Likewise.
16809         * posix/getopt.c (_getopt_internal_r): Likewise.
16810         * posix/glob.c (glob, glob_in_dir): Likewise.
16811         * posix/wordexp.c (exec_comm_child): Likewise.
16812         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16813         (getanswer_r, gaih_getanswer_slice): Likewise.
16814         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16815         * resolv/res_init.c: Likewise.
16816         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16817         * resolv/res_query.c (__libc_res_nquery): Likewise.
16818         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16819         Likewise.
16820         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16821         * stdio-common/perror.c (perror): Likewise.
16822         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16823         * stdio-common/tmpnam.c (tmpnam): Likewise.
16824         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16825         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16826         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16827         Likewise.
16828         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16829         * stdlib/putenv.c (putenv): Likewise.
16830         * stdlib/setenv.c (__add_to_environ): Likewise.
16831         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16832         * stdlib/strtol_l.c (INTERNAL): Likewise.
16833         * string/memmem.c (memmem): Likewise.
16834         * string/strerror.c (strerror): Likewise.
16835         * string/strnlen.c (__strnlen): Likewise.
16836         * string/test-memmem.c (simple_memmem): Likewise.
16837         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16838         * sunrpc/pm_getport.c (__get_socket): Likewise.
16839         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16840         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16841         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16842         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16843         Likewise.
16844         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16845         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16846         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16847         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16848         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16849         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16850         Likewise.
16851         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16852         Likewise.
16853         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16854         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16856         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16857         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16859         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16860         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16861         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16862         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16863         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16864         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16865         Likewise.
16866         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16867         Likewise.
16868         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16869         Likewise.
16870         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16872         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16874         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16875         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16876         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16879         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16880         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16882         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16883         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16885         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16886         Likewise.
16887         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16888         Likewise.
16889         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16890         Likewise.
16891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16892         Likewise.
16893         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16895         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16896         Likewise.
16897         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16898         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16899         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16900         * sysdeps/posix/sleep.c: Likewise.
16901         * sysdeps/posix/tempname.c: Likewise.
16902         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16903         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16904         Likewise.
16905         * sysdeps/powerpc/powerpc32/dl-machine.h
16906         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16907         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16909         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16910         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16911         Likewise.
16912         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16913         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16914         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16915         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16916         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16917         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16918         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16919         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16920         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16921         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16923         (elf_machine_lazy_rel): Likewise.
16924         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16926         (elf_machine_lazy_rel): Likewise.
16927         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16928         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16929         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16930         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16931         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16932         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16933         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16934         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16935         Likewise.
16936         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16937         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16938         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16939         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16940         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16941         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16942         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16943         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16944         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16945         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16946         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16947         Likewise.
16948         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16949         (__posix_fallocate64_l64): Likewise.
16950         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16951         (posix_fallocate): Likewise.
16952         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16953         Likewise.
16954         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16955         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16956         (getifaddrs_internal): Likewise.
16957         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16958         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16959         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16960         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16961         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16962         (__posix_fallocate64_l64): Likewise.
16963         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16964         Likewise.
16965         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16967         (__get_clockfreq): Likewise.
16968         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16969         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16970         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16972         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16973         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16974         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16975         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16976         Likewise.
16977         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16978         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16979         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16980         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16981         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16982         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16983         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16984         Likewise.
16985         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16986         (posix_fallocate): Likewise.
16987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16988         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16989         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16990         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16991         (elf_machine_rela, elf_machine_rela_relative)
16992         (elf_machine_lazy_rel): Likewise.
16993         * time/asctime.c (asctime_internal): Likewise.
16994         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16995         * time/tzset.c (__tzset_parse_tz): Likewise.
16996         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16997         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16998         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16999         * wcsmbs/wcsmbsload.h: Likewise.
17000
17001         [BZ #15894]
17002         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17003
17004         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17005         (arena_get2): Remove THREAD_STATS conditionals.
17006         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17007         (__malloc_stats, int): Likewise.
17008
17009 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17010
17011         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17012         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17013
17014         * manual/setjmp.texi: Fix typos/grammar errors.
17015
17016         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17017         Only return early when n is <= 0.  Delete unused return statement.
17018
17019         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17020         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17021         * debug/tst-longjmp_chk3.c: New file.
17022
17023         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17024         (test_main): Replace code with set_fortify_handler call.
17025         * debug/test-strcpy_chk.c: Likewise.
17026         * debug/tst-chk1.c: Likewise.
17027         * debug/tst-longjmp_chk.c: Likewise.
17028         * test-skeleton.c: Include fcntl.h & paths.h
17029         (set_fortify_handler): Define.
17030
17031         * debug/tst-longjmp_chk.c: Add header comment and include
17032         ../test-skeleton.c.
17033         (do_test): Mark static.
17034         (TEST_FUNCTION): Define.
17035
17036         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17037         (IP_PMTUDISC_INTERFACE): Likewise.
17038         (IP_MULTICAST_IF): Likewise.
17039         (IP_MULTICAST_TTL): Likewise.
17040         (IP_MULTICAST_LOOP): Likewise.
17041         (IP_ADD_MEMBERSHIP): Likewise.
17042         (IP_DROP_MEMBERSHIP): Likewise.
17043         (IP_UNBLOCK_SOURCE): Likewise.
17044         (IP_BLOCK_SOURCE): Likewise.
17045         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17046         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17047         (IP_MSFILTER): Likewise.
17048         (MCAST_JOIN_GROUP): Likewise.
17049         (MCAST_BLOCK_SOURCE): Likewise.
17050         (MCAST_UNBLOCK_SOURCE): Likewise.
17051         (MCAST_LEAVE_GROUP): Likewise.
17052         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17053         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17054         (MCAST_MSFILTER): Likewise.
17055         (IP_MULTICAST_ALL): Likewise.
17056         (IP_UNICAST_IF): Likewise.
17057
17058         * timezone/Makefile: Delete $(have-ksh) check.
17059         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17060         * timezone/tzselect.ksh: Add +x mode bits.
17061
17062         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17063         (ANON_INODE_FS_MAGIC): Likewise.
17064         (BDEVFS_MAGIC): Likewise.
17065         (BINFMTFS_MAGIC): Likewise.
17066         (BTRFS_TEST_MAGIC): Likewise.
17067         (CRAMFS_MAGIC_WEND): Likewise.
17068         (DEBUGFS_MAGIC): Likewise.
17069         (ECRYPTFS_SUPER_MAGIC): Likewise.
17070         (EXT3_SUPER_MAGIC): Likewise.
17071         (EXT4_SUPER_MAGIC): Likewise.
17072         (FUTEXFS_SUPER_MAGIC): Likewise.
17073         (HOSTFS_SUPER_MAGIC): Likewise.
17074         (HUGETLBFS_MAGIC): Likewise.
17075         (MINIX3_SUPER_MAGIC): Likewise.
17076         (MTD_INODE_FS_MAGIC): Likewise.
17077         (NILFS_SUPER_MAGIC): Likewise.
17078         (OPENPROM_SUPER_MAGIC): Likewise.
17079         (PIPEFS_MAGIC): Likewise.
17080         (PSTOREFS_MAGIC): Likewise.
17081         (QNX6_SUPER_MAGIC): Likewise.
17082         (RAMFS_MAGIC): Likewise.
17083         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17084         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17085         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17086         (SECURITYFS_MAGIC): Likewise.
17087         (SELINUX_MAGIC): Likewise.
17088         (SMACK_MAGIC): Likewise.
17089         (SOCKFS_MAGIC): Likewise.
17090         (SQUASHFS_MAGIC): Likewise.
17091         (STACK_END_MAGIC): Likewise.
17092         (TMPFS_MAGIC): Likewise.
17093         (USBDEVICE_SUPER_MAGIC): Likewise.
17094         (V9FS_MAGIC): Likewise.
17095         (XENFS_SUPER_MAGIC): Likewise.
17096         (CRAMFS_MAGIC): Fix typo in comment.
17097         (EXT2_SUPER_MAGIC): Update comment.
17098         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17099
17100 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17101
17102         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17103         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17104         * sysdeps/unix/sysv/linux/arm: Move directory from
17105         ports/sysdeps/unix/sysv/linux/arm.
17106         * README: Update listing for arm-*-linux-gnueabi.
17107
17108         * README: Remove mention of am33.
17109
17110 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17111
17112         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17113         than the comma operator, to avoid "rhs of comma has no effect"
17114         compiler warnings.
17115         (__sigfillset, __sigandset, __sigorset): Likewise.
17116         * include/signal.h (__sigemptyset): Likewise.
17117         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17118
17119 2014-02-07  Allan McRae  <allan@archlinux.org>
17120
17121         * version.h (RELEASE): Set to "development".
17122         (VERSION): Set to "2.19.90"
17123         * NEWS: Add 2.20 section.
17124
17125 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17126
17127         [BZ #16529]
17128         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17129
17130 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17131
17132         * manual/contrib.texi: Update entry for Carlos O'Donell,
17133         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17134
17135 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17136
17137         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17138
17139         * sysdeps/unix/sysv/linux/kernel-features.h
17140         [__LINUX_KERNEL_VERSION >= 0x020621]
17141         (__ASSUME_PROC_PID_TASK_COMM): Define.
17142
17143 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17144
17145         [BZ #16398]
17146         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17147         conversion when destination buffer does not have enough space.
17148         * libio/tst-ftell-partial-wide.c: New test case.
17149         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17150
17151         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17152         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17153         Leonard and Allan McRae.
17154
17155 2014-02-04  David S. Miller  <davem@davemloft.net>
17156
17157         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17158         32-bit.
17159
17160 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17161
17162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17163         New file
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17165         New file
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17167         New file.
17168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17169         New file.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17171         New file.
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17173         New file.
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17175         New file.
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17177         New file.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17179         New file.
17180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17181         New file.
17182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17183         New file.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17185         New file.
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17187         New file.
17188
17189 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17190
17191         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17192         * shlib-versions: Likewise.
17193
17194 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17196
17197         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17198         (abilist-pattern): New variable, set to %-le.abilist.
17199
17200         * Makerules (abilist-pattern): New variable.
17201         (vpath): Use $(abilist-pattern) in place of %.abilist.
17202         (check-abi-% pattern rule): Likewise.
17203         (check-abi, update-abi): Likewise.
17204
17205 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17206
17207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17208
17209 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17210
17211         * manual/startup.texi: Add next, previous, and top entries for
17212         the `Program Arguments' and `Environment Variables' nodes.
17213
17214 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17215
17216         * manual/macros.texi: Add comments before MTASC-safety macros.
17217
17218         * manual/users.texi: Document MTASC-safety properties.
17219
17220         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17221         (pthread_getspecific, pthread_setspecific): Format with
17222         @deftypefun, and add @safety note.
17223         * manual/signal.texi: Move comments that analyze the above
17224         functions to their home place.
17225
17226 2014-02-03  Allan McRae  <allan@archlinux.org>
17227
17228         * po/sl.po: Update Slovenian translation from translation project.
17229
17230 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17231
17232         * manual/time.texi (timegm): Add missing blank after @c.
17233         Reported by Joseph Myers <joseph@codesourcery.com>.
17234
17235 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17236
17237         * manual/check-safety.sh: New.
17238         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17239
17240         * manual/terminal.texi: Document MTASC-safety properties.
17241
17242         * manual/filesys.texi: Document MTASC-safety properties.
17243
17244         * manual/errno.texi: Document MTASC-safety properties.
17245
17246         * manual/intro.texi: Document safety identifiers and
17247         conditionals.
17248
17249         * manual/string.texi (wcstok): Fix prototype.
17250         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17251
17252         * manual/time.texi: Document MTASC-safety properties.
17253
17254         * manual/string.texi: Document MTASC-safety properties.
17255
17256         * manual/threads.texi: Document MTASC-safety properties.
17257
17258         * manual/stdio.texi: Document MTASC-safety properties.
17259
17260         * manual/syslog.texi: Document MTASC-safety properties.
17261
17262         * manual/sysinfo.texi: Document MTASC-safety properties.
17263
17264         * manual/startup.texi: Document MTASC-safety properties.
17265
17266         * manual/socket.texi: Document MTASC-safety properties.
17267
17268         * manual/signal.texi: Document MTASC-safety properties.
17269
17270 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17271
17272         * manual/setjmp.texi: Document MTASC-safety properties.
17273
17274         * manual/search.texi: Document MTASC-safety properties.
17275
17276         * manual/resource.texi: Document MTASC-safety properties.
17277
17278         * manual/process.texi: Document MTASC-safety properties.
17279
17280         * manual/platform.texi: Document MTASC-safety properties.
17281
17282         * manual/pipe.texi: Document MTASC-safety properties.
17283
17284         * manual/pattern.texi: Document MTASC-safety properties.
17285
17286         * manual/message.texi: Document MTASC-safety properties.
17287
17288         [BZ #12751]
17289         * manual/memory.texi: Document MTASC-safety properties.
17290
17291         * manual/math.texi: Document MTASC-safety properties.
17292
17293         * manual/locale.texi: Document MTASC-safety properties.
17294
17295         * manual/llio.texi: Document MTASC-safety properties.
17296
17297         * manual/libdl.texi: New.
17298
17299         * manual/lang.texi: Document MTASC-safety properties.
17300
17301         * manual/job.texi: Document MTASC-safety properties.
17302
17303         * manual/getopt.texi: Document MTASC-safety properties.
17304
17305         * manual/ctype.texi: Document MTASC-safety properties.
17306
17307 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17308
17309         [BZ #16046]
17310         * csu/libc-tls.c (static_map): Remove variable.
17311         (__libc_setup_tls): Use main executable's link map for TLS data.
17312         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17313         casing for LM_ID_BASE and GL(dl_nns).
17314         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17315         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17316         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17317         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17318         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17319         member.
17320         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17321         l_phnum members.
17322
17323 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17324
17325         * manual/debug.texi: Document MTASC-safety properties.
17326
17327 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17328
17329         [BZ #16510]
17330         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17331         of __x86_64__ when disabling x87 inline functions.
17332
17333 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17334
17335         * manual/charset.texi: Document MTASC-safety properties.
17336
17337         * manual/crypt.texi: Document MTASC-safety properties.
17338
17339         * manual/conf.texi: Document MTASC-safety properties.
17340
17341         * manual/arith.texi: Document MTASC-safety properties.
17342
17343         * manual/argp.texi: Document MTASC-safety properties.
17344
17345         * manual/macros.texi: Introduce macros to document multi
17346         thread, asynchronous signal and asynchronous cancellation
17347         safety properties.
17348         * manual/intro.texi: Introduce the properties themselves.
17349
17350 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17351
17352         * sysdeps/sh/sh4/Makefile: New file.
17353
17354 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17355
17356         * math/gen-libm-test.pl ($srcdir): New variable.
17357         ($auto_input): Use it.
17358
17359 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17360
17361         [BZ #16506]
17362         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17363         access beyond array bounds when parsing netgroups file.
17364
17365         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17366         the old buffer before realloc.
17367
17368 2014-01-27  Allan McRae  <allan@archlinux.org>
17369
17370         * po/fr.po: Update French translation from translation project.
17371
17372 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17373
17374         * sysdeps/sh/libm-test-ulps: Regenerate.
17375
17376 2014-01-24  David S. Miller  <davem@davemloft.net>
17377
17378         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17379
17380 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17381
17382         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17383         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17384
17385 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17386
17387         [BZ #16474]
17388         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17389         string pointers after reallocation.
17390
17391 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17392
17393         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17394         __SH4A__ instead of __SH_FPU_ANY__.
17395
17396 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17397
17398         * sysdeps/sh/fpu_control.h: New file.
17399         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17400         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17401         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17402         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17403         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17404         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17405         * sysdeps/sh/sys/ucontext.h: Remove.
17406         * sysdeps/sh/sys: Remove directory.
17407
17408 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17409
17410         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17411         s390/sys/ucontext.h.
17412         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17413         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17414
17415 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17416
17417         [BZ #15605]
17418         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17419
17420 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17421
17422         [BZ#16431]
17423         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17424         Adjust the vDSO correctly for internal calls.
17425         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17426
17427 2014-01-20  Allan McRae  <allan@archlinux.org>
17428
17429         * po/ca.po: Update Catalan translation from translation project.
17430
17431 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17432
17433         * sysdeps/s390/sotruss-lib.c: New file.
17434
17435 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17436
17437         [BZ#16430]
17438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17439         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17440         local calls issues by not having a PLT stub required for IFUNC calls.
17441         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17442
17443 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17444
17445         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17446         * math/test-fpucw-static.c: Likewise.
17447
17448 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17449
17450         [BZ #16453]
17451         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17452
17453 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17454
17455         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17456         implementation for powerpc.
17457
17458 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17459
17460         [BZ #14782]
17461         * sysdeps/posix/system.c (__libc_system): Do not enable
17462         asynchronous cancellation.
17463
17464 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17465
17466         [BZ #16427]
17467         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17468         handling only for numbers special also in the IEEE case.
17469
17470 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17471
17472         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17473
17474 2014-01-11  Allan McRae  <allan@archlinux.org>
17475
17476         * po/bg.po: Update Bulgarian translation from translation project.
17477
17478         * po/de.po: Update German translation from translation project.
17479
17480 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17481
17482         * sysdeps/generic/gcc-compat.h: New file.
17483
17484 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17485
17486         * benchtests/asin-inputs: Correct slow inputs.
17487         * benchtests/acos-inputs: Likewise.
17488
17489 2014-01-10  Allan McRae  <allan@archlinux.org>
17490
17491         * po:sv.po: Update Swedish translation from translation project.
17492
17493         * po/vi.po: Update Vietnamese translation from translation project.
17494
17495         * po/eo.po: Update Esperanto translation from translation project.
17496
17497         * po/cs.po: Update Czech translation from translation project.
17498
17499         * po/nl.po: Update Dutch translation from translation project.
17500
17501         * po/pl.po: Update Polish translation from translation project.
17502
17503         * po/ru.po: Update Russian translation from translation project.
17504
17505         * po/uk.po: Update Ukrainian translation from translation project.
17506
17507 2014-01-08  Brooks Moses  <bmoses@google.com>
17508
17509         * elf/dl-load.c: Fix comment typo.
17510
17511 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17512
17513         * po/header.pot: Rename to...
17514         * po/pot.header: ... this.
17515         * po/Makefile: Use pot.header.
17516
17517 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17518             Maxim Kuvyrkov  <maxim@kugelworks.com>
17519
17520         [BZ #16394]
17521         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17522         SRC and DEST against LEN.
17523
17524 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17525
17526         [BZ #16414]
17527         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17528         implementation.
17529         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17530
17531 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17532
17533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17534
17535 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17536
17537         [BZ #16408]
17538         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17539         for large positive arguments.
17540
17541 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17542
17543         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17544
17545         * math/auto-libm-test-in: Mark various tests with
17546         xfail-rounding:ldbl-128ibm.
17547         * math/auto-libm-test-out: Regenerated.
17548
17549         [BZ #16407]
17550         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17551         Increase overflow threshold.
17552
17553 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17554
17555         [BZ #14286]
17556         * stdio-common/vfprintf.c: Check for integer overflow.
17557
17558 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17559
17560         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17561         the first argument and return value of __tls_get_addr_internal.
17562
17563 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17564
17565         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17566         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17567
17568 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17569
17570         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17571         * sysdeps/s390/rtld-global-offsets.sym: New file.
17572         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17573         GLIBC_2.19 symbol.
17574         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17575         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17577         ... this.
17578         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17579         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17580         ... this.
17581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17582         Regenerate.
17583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17584         Regenerate.
17585         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17586         halfs of GPRs for high_gprs contexts.
17587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17588         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17589         field.
17590         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17591         uc_flags field.
17592         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17593         64 bit versions:
17594         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17595         for high GPRs (uc_high_gprs) and for future extensions
17596         (__reserved).
17597         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17598         for future extensions (__reserved).
17599         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17600         64 bit versions:
17601         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17602         SC_HIGHGPRS offset definition.
17603         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17604         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17605
17606         * Versions.def: Add GLIBC_2.19 for libpthread.
17607         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17608         siglongjmp for libpthread with GLIBC_2.19 symver.
17609         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17610         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17611         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17612         * sysdeps/s390/__longjmp.c: New file.
17613         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17614         * sysdeps/s390/longjmp.c: New file.
17615         * sysdeps/s390/setjmp.S: New file.
17616         * sysdeps/s390/sigjmp.S: New file.
17617         * sysdeps/s390/v1-longjmp.c: New file.
17618         * sysdeps/s390/v1-setjmp.h: New file.
17619         * sysdeps/s390/v1-sigjmp.c: New file.
17620         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17621         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17622         GLIBC_2.19 version.
17623         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17624         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17625         versioned symbols for ____longjmp_chk.
17626         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17627         Likewise.
17628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17629         Regenerate.
17630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17631         Regenerate.
17632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17633         Regenerate.
17634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17635         Regenerate.
17636         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17637         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17638         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17639         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17640         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17641         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17642         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17643         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17644         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17645         * sysdeps/s390/rtld-__longjmp.c: New file.
17646         * sysdeps/s390/rtld-setjmp.S: New file.
17647
17648 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17649
17650         [BZ #16400]
17651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17652         Return -__logl (x) for small positive arguments without evaluating
17653         a polynomial.
17654
17655 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17656
17657         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17658         Rename to ...
17659         (__ptrace_peeksiginfo_args): ... this.
17660         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17662         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17663
17664 2014-01-06  Allan McRae  <allan@archlinux.org>
17665
17666         * inet/netinet/in.h: Fix typo in comment.
17667
17668 2014-01-05  Andreas Jaeger  <aj@suse.de>
17669
17670         * sysdeps/i386/fpu/libm-test-ulps: Update.
17671
17672 2014-01-05  Allan McRae  <allan@archlinux.org>
17673
17674         * po/libc.pot: Regenerated.
17675
17676         * malloc/memusagestat.c: Fix gettext call formatting.
17677
17678 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17679
17680         * nscd/nscd.c: Improve usage() output.
17681
17682 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17683
17684         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17685         * sysdeps/unix/sysv/linux/configure: Regenerated.
17686         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17687         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17688
17689 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17690
17691         [BZ #16390]
17692         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17693         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17694
17695 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17696
17697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17698         extra tokens at end of #undef directive.
17699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17700         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17701         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17702
17703 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17704
17705         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17706
17707         * math/auto-libm-test-in: Mark various tests with
17708         xfail-rounding:ldbl-128ibm.
17709         * math/auto-libm-test-out: Regenerated.
17710
17711 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17712
17713         [BZ #16386]
17714         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17715         numbers with subnormal high part when calculating exponent.
17716
17717         [BZ #16385]
17718         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17719         fabs.
17720
17721         [BZ #16384]
17722         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17723         M_LN2l.
17724         (__ieee754_acoshl): Use __log1pl not __log1p.
17725
17726 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17727
17728         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17729         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17730         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17731         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17732         (reused_arena, arena_get2): Convert to GNU style.
17733         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17734         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17735         (memalign_check, __malloc_set_state): Likewise.
17736         * malloc/mallocbug.c (main): Likewise.
17737         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17738         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17739         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17740         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17741         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17742         (__posix_memalign, malloc_info): Likewise.
17743         * malloc/malloc.h: Likewise.
17744         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17745         (mallochook, memalignhook, reallochook, mabort): Likewise.
17746         * malloc/mcheck.h: Likewise.
17747         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17748         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17749         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17750         * malloc/morecore.c (__default_morecore): Likewise.
17751         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17752         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17753         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17754         (print_and_abort): Likewise.
17755         * malloc/obstack.h: Likewise.
17756         * malloc/set-freeres.c (__libc_freeres): Likewise.
17757         * malloc/tst-mallocstate.c (main): Likewise.
17758         * malloc/tst-mtrace.c (main): Likewise.
17759         * malloc/tst-realloc.c (do_test): Likewise.
17760
17761 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762
17763         [BZ #16366]
17764         * nscd/netgroupcache.c (do_notfound): New function.
17765         (addgetnetgrentX): Use it.
17766
17767         [BZ # 16365]
17768         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17769         NSS_STATUS_NOTFOUND.
17770
17771 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17772
17773         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17775
17776 2014-01-01  Allan McRae  <allan@archlinux.org>
17777
17778         * scripts/update-copyrights: Update configure input file suffix.
17779
17780         * NEWS: Update copyright year.
17781         * catgets/gencat.c: Likewise.
17782         * csu/version.c: Likewise.
17783         * debug/catchsegv.sh: Likewise.
17784         * debug/pcprofiledump.c: Likewise.
17785         * debug/xtrace.sh: Likewise.
17786         * elf/ldconfig.c: Likewise.
17787         * elf/ldd.bash.in: Likewise.
17788         * elf/pldd.c: Likewise.
17789         * elf/sotruss.ksh: Likewise.
17790         * elf/sprof.c: Likewise.
17791         * iconv/iconv_prog.c: Likewise.
17792         * iconv/iconvconfig.c: Likewise.
17793         * locale/programs/locale.c: Likewise.
17794         * locale/programs/localedef.c: Likewise.
17795         * login/programs/pt_chown.c: Likewise.
17796         * malloc/memusage.sh: Likewise.
17797         * malloc/memusagestat.c: Likewise.
17798         * malloc/mtrace.pl: Likewise.
17799         * manual/libc.texinfo: Likewise.
17800         * nscd/nscd.c: Likewise.
17801         * nss/getent.c: Likewise.
17802         * nss/makedb.c: Likewise.
17803         * posix/getconf.c: Likewise.
17804         * scripts/test-installation.pl: Likewise.
17805
17806         * All files with FSF copyright notices: Update copyright dates
17807         using scripts/update-copyrights.
17808         * intl/plural.c: Regenerated.
17809         * locale/programs/charmap-kw.h: Likewise.
17810         * locale/programs/locfile-kw.h: Likewise.
17811
17812 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17813
17814         * sysdeps/unix/sysv/linux/configure: Regenerated.
17815         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17816         the linux/fanotify.h header.
17817         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17818         HAVE_LINUX_FANOTIFY_H is defined.
17819
17820 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17821
17822         * benchtests/cos-inputs: New inputs.
17823         * benchtests/sin-inputs: Likewise.
17824
17825         * benchtests/atan-inputs: New inputs. Fix name of multiple
17826         precision fallback inputs.
17827
17828         * benchtests/atanh-inputs: New inputs.
17829         * benchtests/tanh-inputs: Likewise.
17830
17831         * benchtests/acosh-inputs: New inputs.
17832         * benchtests/asinh-inputs: Likewise.
17833
17834         * benchtests/cosh-inputs: New inputs.
17835         * benchtests/sinh-inputs: Likewise.
17836
17837         * benchtests/acos-inputs: Add more inputs.
17838         * benchtests/asin-inputs: Likewise.
17839
17840 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17841
17842         [BZ #16375]
17843         * manual/arith.texi: Fix spelling.
17844         * manual/charset.texi: Likewise.
17845         * manual/errno.texi: Likewise.
17846         * manual/filesys.texi: Likewise.
17847         * manual/lang.texi: Likewise.
17848         * manual/llio.texi: Likewise.
17849         * manual/locale.texi: Likewise.
17850         * manual/message.texi: Likewise.
17851         * manual/resource.texi: Likewise.
17852         * manual/search.texi: Likewise.
17853         * manual/setjmp.texi: Likewise.
17854         * manual/stdio.texi: Likewise.
17855         * manual/string.texi: Likewise.
17856         * manual/sysinfo.texi: Likewise.
17857         * manual/time.texi: Likewise.
17858
17859 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17860
17861         * po/sl.po: New file.
17862
17863 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17864
17865         * .gitignore: Add core/.gdbinit/.gdb_history.
17866
17867 2013-12-27  Allan McRae  <allan@archlinux.org>
17868
17869         [BZ #16369]
17870         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17871         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17872
17873 2013-12-24  Brooks Moses  <bmoses@google.com>
17874
17875         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17876         all compilers that claim C++98 compliance, not just GCC.
17877         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17878         Likewise.
17879
17880 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17881
17882         * NEWS: Restore accidentally deleted bug-fix entries.
17883
17884 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17885             Ondřej Bílka  <neleai@seznam.cz>
17886
17887         [BZ #15073]
17888         * malloc/malloc.c (_int_free): Perform sanity check only if we
17889         have_lock.
17890
17891 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17892
17893         [BZ #12986]
17894         * manual/stdio.texi (String Input Conversions): Clarify that character
17895         classes are not supported.
17896
17897 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17898
17899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17900
17901 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17902
17903         [BZ #16337]
17904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17905         Calculate results for small negative arguments directly rather
17906         than using reflection formula with special underflow handling.
17907
17908         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17909         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17910         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17911         (fchflags): Likewise.
17912         (revoke): Likewise.
17913         (setlogin): Likewise.
17914         (sigaltstack): Likewise.
17915         (wait4): Likewise.
17916         (sigblock): Remove.
17917         (sigsetmask): Likewise.
17918         (wait3): Likewise.
17919         (waitpid): Likewise.
17920         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17921         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17922         file.
17923         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17924         * sysdeps/unix/bsd/Makefile: ... here.
17925         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17926         * sysdeps/unix/bsd/Versions: ... here.
17927         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17928         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17929         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17930         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17931         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17932         * sysdeps/unix/bsd/sigblock.c: ... here.
17933         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17934         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17935         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17936         * sysdeps/unix/bsd/sigvec.c: ... here.
17937         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17938         * sysdeps/unix/bsd/tcdrain.c: ... here.
17939         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17940         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17941         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17942         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17943         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17944         * sysdeps/unix/bsd/wait.c: ... here.
17945         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17946         * sysdeps/unix/bsd/wait3.c: ... here.
17947         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17948         * sysdeps/unix/bsd/waitpid.c: ... here.
17949
17950 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17951
17952         [BZ #16356]
17953         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17954         round-to-nearest for [!USE_AS_EXPM1L].
17955         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17956         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17957         more tests of exp and exp10.  Expect some exp10 tests to miss
17958         exceptions or fail in directed rounding modes.
17959         * math/auto-libm-test-out: Regenerated.
17960         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17961         (exp10_test_tonearest): New function.
17962         (exp10_towardzero_test_data): New array.
17963         (exp10_test_towardzero): New function.
17964         (exp10_downward_test_data): New array.
17965         (exp10_test_downward): New function.
17966         (exp10_upward_test_data): New array.
17967         (exp10_test_upward): New function.
17968         (main): Call the new functions.
17969         * sysdeps/i386/fpu/libm-test-ulps: Update.
17970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17971
17972 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17973
17974         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17975         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17976         * math/auto-libm-test-out: Regenerated.
17977         * math/libm-test.inc (acosh_test_data): Add more tests.
17978         (atanh_test_data): Likewise.
17979         (ceil_test_data): Likewise.
17980         (copysign_test_data): Likewise.
17981         * sysdeps/i386/fpu/libm-test-ulps: Update.
17982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17983
17984         * timezone/checktab.awk: Update from tzcode 2013i.
17985         * timezone/private.h: Likewise.
17986         * timezone/scheck.c: Likewise.
17987         * timezone/tzfile.h: Likewise.
17988         * timezone/tzselect.ksh: Likewise.
17989         * timezone/zdump.c: Likewise.
17990         * timezone/zic.c: Likewise.
17991
17992         * math/auto-libm-test-in: Add tests of cpow.
17993         * math/auto-libm-test-out: Regenerated.
17994         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17995         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17996         mpc_cc_c.
17997         (func_calc_desc): Add mpc_cc_c union field.
17998         (test_functions): Add cpow.
17999         (special_fill_2pi): New function.
18000         (special_real_inputs): Add 2pi.
18001         (calc_generic_results): Handle mpc_cc_c.
18002         * sysdeps/i386/fpu/libm-test-ulps: Update.
18003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004
18005         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18006         csqrt, ctan and ctanh.
18007         * math/auto-libm-test-out: Regenerated.
18008         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18009         (TEST_COND_x86): Likewise.
18010         (ccos_test_data): Use AUTO_TESTS_c_c.
18011         (ccosh_test_data): Likewise.
18012         (cexp_test_data): Likewise.
18013         (clog_test_data): Likewise.
18014         (csqrt_test_data): Likewise.
18015         (ctan_test_data): Likewise.
18016         (ctan_tonearest_test_data): Likewise.
18017         (ctan_towardzero_test_data): Likewise.
18018         (ctan_downward_test_data): Likewise.
18019         (ctan_upward_test_data): Likewise.
18020         (ctanh_test_data): Likewise.
18021         (ctanh_tonearest_test_data): Likewise.
18022         (ctanh_towardzero_test_data): Likewise.
18023         (ctanh_downward_test_data): Likewise.
18024         (ctanh_upward_test_data): Likewise.
18025         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18026         mpc_c_c.
18027         (func_calc_desc): Add mpc_c_c union field.
18028         (FUNC_mpc_c_c): New macro.
18029         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18030         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18031         ctanh.
18032         (special_fill_min_subnorm_p120): New function.
18033         (special_real_inputs): Add min_subnorm_p120.
18034         (calc_generic_results): Handle mpc_c_c.
18035         * sysdeps/i386/fpu/libm-test-ulps: Update.
18036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037
18038 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18039
18040         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18041         (do_sin_slow): New functions.
18042         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18043         (cslow2, csloww1, csloww2): Use the new functions.
18044
18045         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18046         Use M to change sign of result instead of X.  Assume X is
18047         positive.
18048         (csloww1): Likewise.
18049         (__sin): Adjust.
18050         (__cos): Adjust.
18051
18052         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18053         arguments A and DA.
18054         (__sin): Adjust.
18055         (__cos): Likewise.
18056
18057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18058         (__cos): Likewise.
18059         (sloww1): Don't adjust sign of DX.
18060         (csloww1): Likewise.
18061         (sloww2): Use X directly and don't adjust sign of DX.
18062         (csloww2): Likewise.
18063
18064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18065
18066         * math/auto-libm-test-in: Add tests of cabs and carg.
18067         * math/auto-libm-test-out: Regenerated.
18068         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18069         (carg_test_data): Likewise.
18070         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18071         mpc_c_f.
18072         (func_calc_desc): Add mpc_c_f union field.
18073         (test_functions): Add cabs and carg.
18074         (calc_generic_results): Handle mpc_c_f.
18075
18076         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18077         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18078         as a macro and a compat symbol.
18079         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18080         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18081         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18082         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18083         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18084         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18085         not use .hidden.
18086         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18087         Likewise.
18088         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18089         Likewise.
18090         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18091         Likewise.
18092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18093         Likewise.
18094         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18095         Likewise.
18096         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18097         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18098         from GLIBC_2.3.2.
18099
18100 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18101
18102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18103
18104 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18105
18106         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18107         trailing whitespace removed.
18108         * scripts/config.guess: Update to version 2013-11-29.
18109         * scripts/config.sub: Update to version 2013-10-01.
18110
18111         * math/auto-libm-test-in: Add tests of sincos.
18112         * math/auto-libm-test-out: Regenerated.
18113         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18114         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18115         mpfr_f_11.
18116         (func_calc_desc): Add mpfr_f_11 union field.
18117         (test_functions): Add sincos.
18118         (calc_generic_results): Handle mpfr_f_11.
18119         * sysdeps/i386/fpu/libm-test-ulps: Update.
18120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18121
18122 2013-12-19  Andreas Schwab  <schwab@suse.de>
18123
18124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18125         CALL_MCOUNT.
18126         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18127         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18128         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18129
18130 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18131
18132         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18133         * sysdeps/i386/fpu/libm-test-ulps: Update.
18134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18135
18136         [BZ #16293]
18137         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18138         round-to-nearest mode when using frndint.
18139         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18140         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18141         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18142         Likewise.
18143         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18144         sinh test to fail.
18145         * math/auto-libm-test-out: Regenerated.
18146         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18147         (TEST_COND_x86): Likewise.
18148         (expm1_tonearest_test_data): New array.
18149         (expm1_test_tonearest): New function.
18150         (expm1_towardzero_test_data): New array.
18151         (expm1_test_towardzero): New function.
18152         (expm1_downward_test_data): New array.
18153         (expm1_test_downward): New function.
18154         (expm1_upward_test_data): New array.
18155         (expm1_test_upward): New function.
18156         (main): Run the new test functions.
18157         * sysdeps/i386/fpu/libm-test-ulps: Update.
18158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18159
18160         * include/features.h: Update comment documenting feature test
18161         macros.  Mention _DEFAULT_SOURCE in comment.
18162         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18163         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18164         _BSD_SOURCE and _SVID_SOURCE.
18165         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18166         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18167         !_SVID_SOURCE]: Likewise.
18168         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18169         (__USE_POSIX_IMPLICITLY): Define.
18170         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18171         (_POSIX_SOURCE): Undefine and redefine.
18172         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18173         (_POSIX_C_SOURCE): Likewise.
18174         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18175         (Feature Test Macros): Update documentation of default features.
18176
18177 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18178
18179         * benchtests/Makefile: Add bench-strtok.
18180         * benchtests/bench-strtok.c: New file: strtok benchtest.
18181
18182 2013-12-19  Allan McRae  <allan@archlinux.org>
18183
18184         * manual/install.texi: Suppress menu for plain text output.
18185         * INSTALL: Regenerated.
18186
18187 2013-12-18  Brooks Moses  <bmoses@google.com>
18188
18189         [BZ #15846]
18190         * misc/getauxval.c: Include errno.h.
18191         (__getauxval): Set errno to ENOENT if the requested type is not
18192         found.
18193         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18194         don't declare with __attribute_const__.
18195         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18196         * manual/startup.texi: Document that getauxval sets errno.
18197
18198 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18199
18200         * math/auto-libm-test-in: Add tests of jn and yn.
18201         * math/auto-libm-test-out: Regenerated.
18202         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18203         (yn_test_data): Likewise.
18204         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18205         mpfr_if_f.
18206         (func_calc_desc): Add mpfr_if_f union field.
18207         (FUNC_mpfr_if_f): New macro.
18208         (test_functions): Add jn and yn.
18209         (calc_generic_results): Assert type of second input for
18210         mpfr_ff_f.  Handle mpfr_if_f.
18211         (output_for_one_input_case): Disable all checking for arguments
18212         fitting floating-point types in case of an integer argument.
18213         * sysdeps/i386/fpu/libm-test-ulps: Update.
18214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18215
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18217         Don't expect fegetround reference in libm.so.
18218
18219 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18220
18221         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18222         $(config-cflags-nofma).
18223
18224 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18225
18226         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18227         * math/auto-libm-test-out: Regenerated.
18228
18229         [BZ #16338]
18230         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18231         to determine exponent and adjust argument to have exponent of -1.
18232         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18233         log2.
18234         * math/auto-libm-test-out: Regenerated.
18235         * sysdeps/i386/fpu/libm-test-ulps: Update.
18236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237
18238 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18239
18240         * manual/probes.texi: Remove cases when per-thread arenas are
18241         disabled.
18242
18243 2013-12-18  Andreas Schwab  <schwab@suse.de>
18244
18245         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18246         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18247         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18248         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18249         * sysdeps/i386/i686/multiarch/Makefile: Update.
18250         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18251
18252 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18253
18254         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18255         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18256
18257 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18258
18259         [BZ #15968]
18260         Support TZ transition times < 00:00:00.
18261         This is needed for version-3 tz-format files; it supports time
18262         stamps past 2037 for America/Godthab (the only entry in the tz
18263         database for which this change is relevant).
18264         * manual/time.texi (TZ Variable): Document transition times
18265         from -167:59:59 through -00:00:01.
18266         * time/tzset.c (tz_rule): Time of day is now signed.
18267         (__tzset_parse_tz): Parse negative time of day.
18268
18269         Document TZ transition times >= 25:00:00.
18270         * manual/time.texi (TZ Variable): Document transition times from
18271         25:00:00 through 167:59:59.  These are already supported, and this
18272         support will help with version-3 tz-format files.
18273
18274         * manual/time.texi (TZ Variable): Modernize North America example
18275         to reflect current (i.e., 2007-and-later) daylight saving rules.
18276
18277         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18278
18279 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18280
18281         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18282         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18283         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18284         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18285         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18286         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18287         * sysdeps/unix/bsd/clock.c: Likewise.
18288         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18289         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18290         * sysdeps/unix/bsd/init-posix.c: Likewise.
18291         * sysdeps/unix/bsd/poll.c: Likewise.
18292         * sysdeps/unix/bsd/ptsname.c: Likewise.
18293         * sysdeps/unix/bsd/seekdir.c: Likewise.
18294         * sysdeps/unix/bsd/setegid.c: Likewise.
18295         * sysdeps/unix/bsd/seteuid.c: Likewise.
18296         * sysdeps/unix/bsd/setgid.c: Likewise.
18297         * sysdeps/unix/bsd/setrgid.c: Likewise.
18298         * sysdeps/unix/bsd/setruid.c: Likewise.
18299         * sysdeps/unix/bsd/setsid.c: Likewise.
18300         * sysdeps/unix/bsd/setuid.c: Likewise.
18301         * sysdeps/unix/bsd/sigaction.c: Likewise.
18302         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18303         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18304         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18305         * sysdeps/unix/bsd/telldir.c: Likewise.
18306         * sysdeps/unix/bsd/times.c: Likewise.
18307         * sysdeps/unix/bsd/usleep.c: Likewise.
18308
18309         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18310         ($(objpfx)libbsd-compat.a): Remove rule.
18311
18312         * include/features.h (__FAVOR_BSD): Do not define.
18313         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18314         features conflicting with POSIX.
18315         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18316         (_BSD_SOURCE): Remove description of not being a subset of other
18317         feature test macros.
18318         * manual/job.texi (getpgrp): Do not document BSD version.
18319         (getpgid): Do not document by reference to BSD getpgrp.
18320         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18321         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18322         * signal/signal.h [__FAVOR_BSD]: Likewise.
18323         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18324         instead of making contents conditional on [__FAVOR_BSD].
18325         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18326
18327 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18328
18329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18330
18331 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18332
18333         [BZ #16314]
18334         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18335         values below 2**-450, not 2**-500.
18336         * math/auto-libm-test-in: Don't allow spurious underflow from
18337         hypot.
18338         * math/auto-libm-test-out: Regenerated.
18339
18340         [BZ #16316]
18341         [BZ #16330]
18342         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18343         values of ha and hb and sort them after adjusting subnormal
18344         arguments.
18345         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18346         Likewise.
18347         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18348         values of ea and eb and sort them after adjusting subnormal
18349         arguments.
18350         * math/auto-libm-test-in: Do not expect some hypot tests of
18351         subnormals to fail.  Add more hypot tests.
18352         * math/auto-libm-test-out: Regenerated.
18353
18354 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18355
18356         [BZ #13304]
18357         * sysdeps/sh/s_fma.c: New file.
18358         * sysdeps/sh/s_fmaf.c: New file.
18359         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18360         version.
18361         * sysdeps/sh/Implies: Add sh/soft-fp.
18362
18363 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18364
18365         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18366         level of indirection to members `objname', `errstring', `malloced'.
18367         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18368         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18369         it as the __longjmp argument (just pass 1 instead).
18370         (_dl_catch_error): Initialize C with argument pointers and address of
18371         volatile local ERRCODE rather than copying values out of C at return.
18372
18373 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18374
18375         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18376         * math/auto-libm-test-out: Regenerated.
18377         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18378         (hypot_test_data): Likewise.
18379         (pow_test_data): Likewise.
18380         (pow_tonearest_test_data): Likewise.
18381         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18382         mpfr_ff_f.
18383         (func_calc_desc): Add mpfr_ff_f union field.
18384         (FUNC_mpfr_ff_f): New macro.
18385         (test_functions): Add atan2, hypot and pow.
18386         (special_fill_min): New function.
18387         (special_fill_minus_min): Likewise.
18388         (special_fill_min_subnorm): Likewise.
18389         (special_fill_minus_min_subnorm): Likewise.
18390         (special_real_inputs): Add min, -min, min_subnorm and
18391         -min_subnorm.
18392         (calc_generic_results): Handle mpfr_ff_f.
18393         * sysdeps/i386/fpu/libm-test-ulps: Update.
18394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18395
18396 2013-12-16  Will Newton  <will.newton@linaro.org>
18397
18398         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18399         (Aligned Memory Blocks): Add documentation for aligned_alloc
18400         and suggest it as an alternative to posix_memalign.
18401         (Hooks for Malloc): Document __memalign_hook is also called
18402         for aligned_alloc.  (Summary of Malloc): Add summary for
18403         aligned alloc.  Document __memalign_hook is also called
18404         for aligned_alloc.
18405
18406 2013-12-16  Will Newton  <will.newton@linaro.org>
18407
18408         * manual/memory.texi (Malloc Examples): Clarify default
18409         alignment documentation.  Suggest posix_memalign rather
18410         than memalign or valloc.
18411         (Aligned Memory Blocks): Remove suggestion to use memalign
18412         or valloc.  Remove obsolete comment about BSD.
18413         Document memalign errno values and mark the function obsolete.
18414         Document posix_memalign returned error codes.  Mark valloc
18415         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18416         called for posix_memalign and valloc.
18417         (Summary of Malloc): Add posix_memalign to function summary.
18418         __memalign_hook is also called for posix_memalign and valloc.
18419
18420 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18421
18422         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18423         TAYLOR_SIN.
18424         (__sin): Adjust.
18425         (__cos): Likewise.
18426         (sloww): Use mynumber union.  Expand ternary operator into
18427         if-else statements.
18428         (cslow): use mynumber union.
18429
18430 2013-12-16  Allan McRae  <allan@archlinux.org>
18431
18432         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18433         * configure: Regenerated.
18434
18435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18436
18437         [BZ #14120]
18438         * configure.ac: Added --enable-maintainer-mode. Check for
18439         autoconf when enabled.
18440         * configure: Regenerated.
18441
18442         * nscd/nscd.service: New file.
18443         * nscd/nscd.tmpfiles: New file.
18444
18445 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18446
18447         [BZ #12100]
18448         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18449         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18450         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18451         (strstr): Add __strstr_sse2_unaligned ifunc.
18452         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18453         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18454         (strcasestr): Remove __strcasestr_sse42 ifunc.
18455         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18458
18459 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18460
18461         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18462         * sysdeps/sh/bits/fenv.h: ... here.
18463         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18464
18465 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18466
18467         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18468
18469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18470         hypotf multiarch implementations.
18471         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18472         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18474         multiarch hypot for PPC64.
18475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18476         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18477         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18478         multiarch hypotf for PPC64.
18479
18480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18481         modff multiarch implementations.
18482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18485         multiarch modf for PPC64.
18486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18489         multiarch modff for PPC64.
18490
18491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18492         and logl multiarch implementations.
18493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18496         multiarch logb for PPC64.
18497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18500         multiarch logb for PPC64.
18501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18504         multiarch logb for PPC64.
18505
18506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18507         isinff multiarch implementation.
18508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18509         file.
18510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18512         multiarch isinf for PPC64.
18513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18514         file.
18515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18516         multiarch isinff for PPC64.
18517
18518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18519         finitef multiarch implementation.
18520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18521         file.
18522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18524         multiarch finite for PPC64.
18525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18526         file.
18527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18528         multiarch finitef for PPC64.
18529
18530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18531         lrint multiarch implementation.
18532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18533         file.
18534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18536         multiarch llrint for PPC64.
18537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18538         multiarch lrint for PPC64.
18539
18540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18541         copysignf multiarch implementation.
18542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18543         file.
18544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18545         file.
18546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18547         multiarch copysign for PPC64.
18548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18549         multiarch copysignf for PPC64.
18550
18551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18552         multiarch implementation.
18553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18554         file.
18555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18556         file.
18557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18558         file.
18559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18560         file.
18561         multiarch llround for PPC64.
18562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18563         multiarch trunc for PPC64.
18564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18565         multiarch truncf for PPC64.
18566
18567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18568         multiarch implementation.
18569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18570         file.
18571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18572         file.
18573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18574         file.
18575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18576         file.
18577         multiarch llround for PPC64.
18578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18579         multiarch round for PPC64.
18580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18581         multiarch roundf for PPC64.
18582
18583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18584         multiarch implementation.
18585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18586         file.
18587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18588         file.
18589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18590         file.
18591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18592         file.
18593         multiarch llround for PPC64.
18594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18595         multiarch floor for PPC64.
18596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18597         multiarch floorf for PPC64.
18598
18599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18600         multiarch implementation.
18601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18602         file.
18603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18604         file.
18605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18606         file.
18607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18608         file.
18609         multiarch llround for PPC64.
18610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18611         multiarch ceil for PPC64.
18612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18613         multiarch ceilf for PPC64.
18614
18615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18616         multiarch implementation.
18617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18618         file.
18619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18620         file.
18621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18622         file.
18623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18624         multiarch llround for PPC64.
18625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18626         multiarch lround for PPC64.
18627
18628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18629         multiarch implementation.
18630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18633         file.
18634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18637         multiarch isnan for PPC64.
18638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18639         multiarch isnanf for PPC64.
18640
18641         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18642         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18643         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18644         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18645         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18647
18648         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18649         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18650         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18651         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18652
18653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18654         multiarch implementations.
18655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18656         (__libc_ifunc_impl_list): Likewise.
18657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18658         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18660         multiarch stpcpy for PPC64.
18661
18662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18663         multiarch implementations.
18664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18665         (__libc_ifunc_impl_list): Likewise.
18666         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18667         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18668         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18669         multiarch strcpy for PPC64.
18670
18671         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18672         redefine function name.
18673         (_wordcopy_fwd_dest_aligned): Likewise.
18674         (_wordcopy_bwd_aligned): Likewise.
18675         (_wordcopy_bwd_dest_aligned): Likewise.
18676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18677         multiarch implementations.
18678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18679         (__libc_ifunc_impl_list): Likewise.
18680         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18681         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18684         multiarch wcscpy for PPC64.
18685
18686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18687         multiarch implementations.
18688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18689         (__libc_ifunc_impl_list): Likewise.
18690         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18691         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18692         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18693         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18694         multiarch wcscpy for PPC64.
18695
18696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18697         multiarch implementations.
18698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18699         (__libc_ifunc_impl_list): Likewise.
18700         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18701         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18702         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18703         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18704         multiarch wcsrchr for PPC64.
18705
18706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18707         multiarch implementations.
18708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18709         (__libc_ifunc_impl_list): Likewise.
18710         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18711         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18712         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18713         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18714         multiarch wcschr for PPC64.
18715
18716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18717         multiarch implementations.
18718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18719         (__libc_ifunc_impl_list): Likewise.
18720         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18721         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18722         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18723         multiarch strchrnul for PPC64.
18724
18725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18726         implementations.
18727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18728         (__libc_ifunc_impl_list): Likewise.
18729         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18730         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18731         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18732         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18733         strchr for PPC64.
18734
18735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18736         implementations.
18737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18738         (__libc_ifunc_impl_list): Likewise.
18739         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18740         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18741         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18742         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18743         strncmp for PPC64.
18744
18745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18746         multiarch implementations.
18747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18748         (__libc_ifunc_impl_list): Likewise.
18749         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18750         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18751         strncasecmp for PPC64.
18752         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18753         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18754         multiarch strncasecmp_l for PPC64.
18755
18756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18757         multiarch implementations.
18758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18759         (__libc_ifunc_impl_list): Likewise.
18760         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18762         multiarch strcasecmp for PPC64.
18763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18764         file.
18765         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18766         multiarch strcasecmp_l for PPC64.
18767
18768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18769         implementations.
18770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18771         (__libc_ifunc_impl_list): Likewise.
18772         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18773         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18774         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18775         strnlen for PPC64.
18776
18777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18778         implementations.
18779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18780         (__libc_ifunc_impl_list): Likewise.
18781         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18782         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18783         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18784         strlen for PPC64.
18785
18786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18787         implementations.
18788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18789         (__libc_ifunc_impl_list): Likewise.
18790         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18791         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18792         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18793         rawmemrchr for PPC64.
18794
18795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18796         implementation.
18797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18798         (__libc_ifunc_impl_list): Likewise.
18799         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18800         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18801         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18802         memrchr for PPC64.
18803
18804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18805         implementation.
18806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18807         (__libc_ifunc_impl_list): Likewise.
18808         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18809         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18810         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18811         memchr for PPC64.
18812
18813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18814         implementation.
18815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18816         (__libc_ifunc_impl_list): Likewise.
18817         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18818         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18819         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18820         mempcpy for PPC64.
18821
18822         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18823         avoid cretion of __bzero symbol.
18824         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18825         Likewise.
18826         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18827         Likewise.
18828         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18829         Likewise.
18830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18831         multiarch implementations.
18832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18833         (__libc_ifunc_impl_list): Likewise.
18834         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18835         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18836         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18837         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18838         bzero for PPC32.
18839         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18840         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18841         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18842         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18843         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18844         memset for PPC64.
18845         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18846
18847         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18849         implementations.
18850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18851         (__libc_ifunc_impl_list): Likewise.
18852         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18853         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18854         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18855         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18856         memcmp for PPC64.
18857
18858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18859         multiarch for POWER/PPC64.
18860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18861         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18863         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18866         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18868         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18869         memcpy for PPC64.
18870
18871         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18872         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18873         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18874         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18875         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18876         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18877         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18878         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18879         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18880         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18881         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18882         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18883         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18884         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18885         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18893
18894 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18895
18896         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18897
18898 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18899
18900         * benchtests/Makefile (bench): Add exp2 and log2.
18901         (LDLIBS-bench-exp2): Add -lm.
18902         (LDLIBS-bench-log2): Likewise.
18903         * benchtests/exp2-inputs: New inputs file.
18904         * benchtests/log2-inputs: New inputs file.
18905         * benchtests/log-inputs: Add new inputs.
18906         * benchtests/tan-inputs: Likewise.
18907
18908 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18911         definition...
18912         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18913         (csloww2): ... from here.
18914
18915         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18916         instead of structures.
18917         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18918         (POLYNOMIAL): Likewise.
18919         (TAYLOR_SLOW): Likewise.
18920         (__sin): Likewise.
18921         (__cos): Likewise.
18922         (slow1): Likewise.
18923         (slow2): Likewise.
18924         (sloww): Likewise.
18925         (sloww1); Likewise.
18926         (sloww2): Likewise.
18927         (bsloww1): Likewise.
18928         (bsloww2): Likewise.
18929         (cslow2): Likewise.
18930         (csloww): Likewise.
18931         (csloww1): Likewise.
18932         (csloww2): Likewise.
18933
18934 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18935
18936         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18937         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18938         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18939         * malloc/hooks.c (realloc_check): Likewise.
18940
18941         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18942         * malloc/arena.c: Remove PER_THREAD conditional.
18943         [!PER_THREAD]: Remove code.
18944         (ptmalloc_unlock_all2): Likewise.
18945         (ptmalloc_init): Likewise.
18946         (_int_new_arena): Likewise.
18947         (arena_get2): Likewise.
18948         * malloc/hooks.c (__malloc_get_state): Likewise.
18949         (__malloc_set_state): Likewise.
18950         * malloc/malloc.c: Likewise.
18951         (struct malloc_state): Likewise.
18952         (struct malloc_par): Likewise.
18953         (__libc_realloc): Likewise.
18954         (__libc_mallopt): Likewise.
18955
18956 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18957
18958         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18959
18960 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18961
18962         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18963         macro to a function.  Check for zero perturb_byte.
18964         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18965
18966         * malloc/malloc.c: (force_reg): Remove.
18967         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18968         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18969         force_reg by atomic_forced_read.
18970         * malloc/arena.c (ptmalloc_init): Likewise.
18971         * malloc/hooks.c (top_check): Likewise.
18972
18973 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18974
18975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18976
18977 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18978
18979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18980
18981 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18982
18983         * math/auto-libm-test-in: Add tests of lgamma.
18984         * math/auto-libm-test-out: Regenerated.
18985         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18986         (M_LOG_2_SQRT_PIl): Likewise.
18987         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18988         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18989         mpfr_f_f1.
18990         (func_calc_desc): Add mpfr_f_f1 union field.
18991         (ARGS1): New macro.
18992         (ARGS2): Likewise.
18993         (ARGS3): Likewise.
18994         (ARGS4): Likewise.
18995         (RET1): Likewise.
18996         (RET2): Likewise.
18997         (CALC): Likewise.
18998         (FUNC): Likewise.
18999         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19000         (test_functions): Add lgamma.
19001         (calc_generic_results): Handle mpfr_f_f1.
19002         * sysdeps/i386/fpu/libm-test-ulps: Update.
19003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19004
19005 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19006
19007         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19008         __mpn_add_n for PowerPC64/POWER7.
19009         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19010         __mpn_sub_n for PowerPC64/POWER7.
19011
19012         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19013         __mpn_addmul_1 for PowerPC64.
19014         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19015         __mpn_submul_1 for PowerPC64.
19016         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19017         for PowerPC64.
19018         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19019         for PowerPC64.
19020
19021 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19022
19023         [BZ #15089]
19024         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19025
19026 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19027
19028         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19029
19030         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19031         add multiarch folders.
19032         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19033         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19034         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19035         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19036         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19037         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19038         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19039         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19040         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19041         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19042         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19049
19050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19051         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19053         New file.
19054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19055         New file.
19056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19057         multiarch __ieee754_hypot for PowerPC32.
19058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19059         New file.
19060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19061         New file.
19062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19063         multiarch __ieee754_hypotf for PowerPC32.
19064
19065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19066         long_double_symbol only if __logbl is defined.
19067         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19068         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19070         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19072         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19073         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19074         path for implementation.
19075         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19078         logb, and logbl multiarch implementations for PowerPC32.
19079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19080         file.
19081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19082         file.
19083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19084         multiarch logb for PowerPC32.
19085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19086         file.
19087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19088         file.
19089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19090         multiarch logbf for PowerPC32.
19091         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19093         file.
19094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19095         multiarch logbl implementation for PowerPC32.
19096
19097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19098         and modff multiarch implementations.
19099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19100         New file.
19101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19102         New file.
19103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19104         multiarch modf for PowerPC32.
19105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19106         New file.
19107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19108         New file.
19109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19110         multiarch modff for PowerPC32.
19111
19112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19113         and lrintf multiarch implementations.
19114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19115         New file.
19116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19117         New file.
19118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19119         multiarch lrint for PowerPC32.
19120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19121         file: multiarch lrintf for PowerPC32.
19122
19123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19124         and lroundf multiarch implementations.
19125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19126         New file.
19127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19128         New file.
19129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19130         New file.
19131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19132         multiarch lround for PowerPC32.
19133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19134         file: multiarch lroundf for PowerPC32.
19135
19136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19137         copysign and copysignf multiarch implementations.
19138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19139         New file.
19140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19141         New file.
19142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19143         file: multiarch copysign for PowerPC32.
19144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19145         file: multiarch copysignf for PowerPC32.
19146
19147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19148         and truncf multiarch implementations.
19149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19150         New file.
19151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19152         file.
19153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19154         multiarch trunc for PowerPC32.
19155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19156         New file.
19157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19158         New file.
19159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19160         multiarch truncf for PowerPC32.
19161
19162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19163         and roundf multiarch implementations.
19164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19165         New file.
19166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19167         file.
19168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19169         multiarch round for PowerPC32.
19170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19171         New file.
19172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19173         New file.
19174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19175         multiarch roundf for PowerPC32.
19176
19177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19178         and floorf multiarch implementations.
19179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19180         New file.
19181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19182         file.
19183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19184         multiarch floor for PowerPC32.
19185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19186         New file.
19187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19188         New file.
19189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19190         multiarch floorf for PowerPC32.
19191
19192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19193         and ceilf multiarch implementations.
19194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19195         New file.
19196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19197         file.
19198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19199         multiarch ceil for PowerPC32.
19200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19201         New file.
19202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19203         file.
19204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19205         multiarch ceilf for PowerPC32.
19206
19207         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19208         is defined.
19209         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19210         FINITEF is defined.
19211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19212         and finitef multiarch implementations.
19213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19214         New file.
19215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19216         file.
19217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19218         multiarch finite for PowerPC32.
19219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19220         New file.
19221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19222         file: multiarch finitef for PowerPC32.
19223
19224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19225         and isinff multiarch implementations.
19226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19227         file.
19228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19229         file.
19230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19231         multiarch isinf for PowerPC32.
19232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19233         New file.
19234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19235         multiarch isinff for PowerPC32.
19236
19237         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19238         alias when __isnan is defined.
19239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19240         and isnanf multiarch implementations.
19241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19242         file.
19243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19244         file.
19245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19246         file.
19247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19248         file.
19249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19250         multiarch isnan for PowerPC32.
19251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19252         New file.
19253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19254         New file.
19255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19256         multiarch isnanf for PowerPC32.
19257
19258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19259         and sqrtf multiarch implementations.
19260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19261         file.
19262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19263         file.
19264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19265         multiarch sqrt for PowerPC32.
19266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19267         file.
19268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19269         file.
19270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19271         multiarch sqrtf for PowerPC32.
19272
19273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19274         and llroundf multiarch implementations.
19275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19276         New file.
19277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19278         New file.
19279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19280         New file.
19281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19282         file: multiarch llround for PowerPC32.
19283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19284         file: multiarch llroundf for PowerPC32.
19285
19286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19287         multiarch PowerPC32 fpu implementations.
19288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19289         New file.
19290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19291         New file.
19292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19293         multiarch llrint for PowerPC32.
19294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19295         New file.
19296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19297         New file.
19298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19299         file.
19300
19301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19302
19303         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19304         file.
19305         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19306         file.
19307         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19308         file.
19309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19310         multiarch wordcopy for PPC32.
19311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19312         wordcopy objects.
19313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19314         (__libc_ifunc_impl_list): Likewise.
19315         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19316         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19317         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19318         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19319         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19320         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19321
19322         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19324         file.
19325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19326         file.
19327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19328         file.
19329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19330         multiarch wcscpy for PPC32.
19331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19332         multiarch objects.
19333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19334         (__libc_ifunc_impl_list): Likewise.
19335         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19336         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19337         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19338         sysdeps/powerpc/power6/wcscpy.c.
19339
19340         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19342         file.
19343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19344         file.
19345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19346         file.
19347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19348         multiarch wcsrchr for PPC32.
19349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19350         multiarch objects.
19351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19352         (__libc_ifunc_impl_list): Likewise.
19353         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19354         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19355         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19356         sysdeps/powerpc/power6/wcsrchr.c.
19357
19358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19359         file.
19360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19361         file.
19362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19364         multiarch wcschr for PPc32.
19365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19366         multiarch objects.
19367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19368         (__libc_ifunc_impl_list): Likewise.
19369         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19370         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19371         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19372         sysdeps/powerpc/power6/wcschr.c.
19373
19374         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19376         file.
19377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19378         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19379         file: multiarch strchr for PPC32.
19380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19381         multiarch objects.
19382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19383         (__libc_ifunc_impl_list): Likewise.
19384
19385         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19386         name.
19387         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19388         file.
19389         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19390         file.
19391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19392         multiarch strchrnul for PPC32.
19393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19394         multiarch objects.
19395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19396         (__libc_ifunc_impl_list): Likewise.
19397
19398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19399         file.
19400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19401         multiarch strncasecmp for PPC32.
19402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19403         file.
19404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19405         multiarch strncasecmp_l for PPC32.
19406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19407         strncasecmp multiarch objects.
19408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19409         (__libc_ifunc_impl_list): Likewise.
19410
19411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19412         file.
19413         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19414         multiarch strncasecmp for PPC32.
19415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19416         New file.
19417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19418         multiarch strcasecmp_l for PPC32.
19419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19420         multiarch objects.
19421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19422         (__libc_ifunc_impl_list): Likewise.
19423
19424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19425         file.
19426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19427         file.
19428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19429         multiarch strncmp for PPC32.
19430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19431         multiarch objects.
19432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19433         (__libc_ifunc_impl_list): Likewise.
19434
19435         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19436         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19437         file.
19438         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19439         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19441         multiarch objects.
19442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19443         (__libc_ifunc_impl_list): Likewise.
19444
19445         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19446         file.
19447         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19448         file.
19449         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19451         multiarch objects.
19452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19453         (__libc_ifunc_impl_list): Likewise.
19454
19455         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19456         file.
19457         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19458         file.
19459         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19460         multiarch rawmemchr for PPC32.
19461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19462         multiarch objects.
19463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19464         (__libc_ifunc_impl_list): Likewise.
19465
19466         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19467         file.
19468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19469         file.
19470         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19471         file: memrchr multiarch for PPC32.
19472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19473         multiarch objects.
19474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19475         (__libc_ifunc_impl_list): Likewise.
19476
19477         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19479         file.
19480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19481         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19482         multiarch memchr for PPC32.
19483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19484         multiarch objects.
19485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19486         (__libc_ifunc_impl_list): Likewise.
19487
19488         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19489         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19490         file.
19491         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19492         file.
19493         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19494         file: multiarch mempcpy for PPC32.
19495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19496         multiarch objects.
19497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19498         (__libc_ifunc_impl_list): Likewise.
19499
19500         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19501         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19502         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19504         multiarch bzero for PPC32.
19505         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19506         file.
19507         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19508         file.
19509         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19510         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19511         file: multiarch memset for PPC32.
19512         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19514         memset multiarch objects.
19515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19516         (__libc_ifunc_impl_list): Likewise.
19517
19518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19519         file.
19520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19521         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19522         memcmp for PPC32.
19523         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19525         multiarch objects.
19526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19527         (__libc_ifunc_impl_list): Likewise.
19528
19529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19530         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19532         file.
19533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19534         file.
19535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19536         file.
19537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19538         multiarch memcpy for PPC32.
19539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19540         multiarch objects.
19541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19542         (__libc_ifunc_impl_list): Likewise.
19543
19544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19545         support multiarch for POWER/PPC32.
19546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19547         Likewise.
19548         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19550         Implies file to make multiarch folder appers before the fpu and
19551         default folder for power4 configuration.
19552
19553 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19554
19555         * scripts/bench.pl: Append volatile keyword to type.
19556
19557 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19558
19559         * sysdeps/sh/sotruss-lib.c: New file.
19560         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19561
19562 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19563
19564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19565
19566 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19567
19568         [BZ #6810]
19569         * math/w_tgamma.c: Include <errno.h>.
19570         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19571         * math/w_tgammaf.c: Include <errno.h>.
19572         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19573         * math/w_tgammal.c: Include <errno.h>.
19574         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19575         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19576         underflow.  Add more tgamma tests.
19577         * math/auto-libm-test-out: Regenerated.
19578         * sysdeps/i386/fpu/libm-test-ulps: Update.
19579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19580
19581         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19582         sin, sinh, tan, tanh, tgamma, y0 and y1.
19583         * math/auto-libm-test-out: Regenerated.
19584         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19585         (TEST_COND_x86): Likewise.
19586         (M_E2l): Remove macro.
19587         (M_E3l): Likewise.
19588         (M_2_SQRT_PIl): Likewise.
19589         (M_SQRT_PIl): Likewise.
19590         (M_1_DIV_El): Likewise.
19591         (log_test_data): Use AUTO_TESTS_f_f.
19592         (log10_test_data): Likewise.
19593         (log1p_test_data): Likewise.
19594         (log2_test_data): Likewise.
19595         (sin_test_data): Likewise.
19596         (sin_tonearest_test_data): Likewise.
19597         (sin_towardzero_test_data): Likewise.
19598         (sin_downward_test_data): Likewise.
19599         (sin_upward_test_data): Likewise.
19600         (sinh_test_data): Likewise.
19601         (sinh_tonearest_test_data): Likewise.
19602         (sinh_towardzero_test_data): Likewise.
19603         (sinh_downward_test_data): Likewise.
19604         (sinh_upward_test_data): Likewise.
19605         (tan_test_data): Likewise.
19606         (tan_tonearest_test_data): Likewise.
19607         (tan_towardzero_test_data): Likewise.
19608         (tan_downward_test_data): Likewise.
19609         (tan_upward_test_data): Likewise.
19610         (tanh_test_data): Likewise.
19611         (tgamma_test_data): Likewise.
19612         (y0_test_data): Likewise.
19613         (y1_test_data): Likewise.
19614         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19615         (special_real_inputs): Add pi/4.
19616         * sysdeps/i386/fpu/libm-test-ulps: Update.
19617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19618
19619 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19620
19621         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19622         "longjmp_target" static probes.
19623         (__longjmp): Rename to __longjmp_symbol.
19624         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19625         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19626         on which longjmp to generate.
19627         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19628         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19629         probe.
19630         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19631         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19632         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19633         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19634         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19635         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19637         __longjmp_symbol based on which __longjmp to generate.
19638         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19639         probe.
19640         (setjmp): Rename to setjmp_symbol.
19641         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19642         (_setjmp): Rename to _setjmp_symbol.
19643         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19644         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19645         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19646         which setjmp to generate.
19647         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19648         "longjmp_target" static probes.
19649
19650 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19651
19652         * benchtests/README: Add note about output arguments.
19653         * benchtests/bench-sincos.c: Remove file.
19654         * benchtests/sincos-inputs: New file.
19655         * scripts/bench.pl: Identify output arguments and define
19656         static variables for them.
19657
19658         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19659
19660         [BZ #15941]
19661         * Makefile (INSTALL): Add install-plain.texi as the primary
19662         dependency.
19663         * manual/install-plain.texi: New file.
19664         * manual/install.texi: Include node directive only for
19665         non-plaintext output.
19666
19667 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19668
19669         * stdlib/longlong.h: Update from GCC.
19670
19671         [BZ #6807]
19672         [BZ #15901]
19673         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19674         * math/w_j0f.c (y0f): Likewise.
19675         * math/w_j0l.c (__y0l): Likewise.
19676         * math/w_j1.c (y1): Likewise.
19677         * math/w_j1f.c (y1f): Likewise.
19678         * math/w_j1l.c (__y1l): Likewise
19679         * math/w_jn.c (yn): Likewise.
19680         * math/w_jnf.c (ynf): Likewise.
19681         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19682         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19683         value for Bessel function domain errors outside _SVID_ mode.
19684         Adjust sign of return value for yn (negative integer, 0).
19685         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19686         by zero in return for negative x and set sign appropriately for
19687         negative n.
19688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19689         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19690         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19691         expectations in error cases.
19692         (y1_test_data): Likewise.
19693         (yn_test_data): Likewise.
19694         * sysdeps/i386/fpu/libm-test-ulps: Update.
19695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696
19697 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19698
19699         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19700         "64" to "64-v1".  Add "64-v2".
19701         (abi-64-options): Rename to ...
19702         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19703         (abi-64-condition): Rename to ...
19704         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19705         (abi-64-ld-soname): Rename to ...
19706         (abi-64-v1-ld-soname): ... this.
19707         (abi-64-v2-options): Define.
19708         (abi-64-v2-condition): Likewise.
19709         (abi-64-v2-ld-soname): Likewise.
19710         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19711         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19715
19716 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19717             Alan Modra  <amodra@gmail.com>
19718
19719         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19720         New versions for use with the ELFv2 ABI.
19721         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19722         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19723         declaration.
19724         (struct La_ppc64v2_retval): Likewise.
19725         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19726         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19727         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19728         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19729         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19730         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19731         Do not save or restore CR.
19732         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19733         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19734         return values for ELFv2 ABI.  Fix location of FPR return registers.
19735         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19736         updated values for _CALL_ELF == 2.
19737         (La_regs, La_retval, int_retval): Likewise.
19738
19739 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19740
19741         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19742         (FRAME_MIN_SIZE_PARM): Likewise.
19743         (FRAME_BACKCHAIN): Likewise.
19744         (FRAME_CR_SAVE): Likewise.
19745         (FRAME_LR_SAVE): Likewise.
19746         (FRAME_TOC_SAVE): Likewise.
19747         (FRAME_PARM_SAVE): Likewise.
19748         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19749         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19750         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19751         (call_mcount_parm_offset): New macro.
19752         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19753         (PROF): Use symbolic stack frame offsets.
19754         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19755         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19756         Redefine in terms of FRAME_MIN_SIZE.
19757         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19758         (_dl_profile_resolve): Likewise.  Update comment.
19759         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19760         symbols stack frame offsets.
19761         (__sigsetjmp): Likewise.
19762         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19763         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19764         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19765         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19766
19767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19768         (FRAME_BACKCHAIN): Remove.
19769         (FRAME_CR_SAVE): Likewise.
19770         (FRAME_LR_SAVE): Likewise.
19771         (FRAME_COMPILER_DW): Likewise.
19772         (FRAME_LINKER_DW): Likewise.
19773         (FRAME_TOC_SAVE): Likewise.
19774         (FRAME_PARM_SAVE): Likewise.
19775         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19776         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19777         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19779         (CHECK_SP): Use symbolic stack frame offsets.
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19781         zone" instead of caller's parameter save area for temp storage.
19782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19783         Likewise.  Also, use symbolic stack frame offsets.
19784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19785         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19786         our own stack frame instead of the caller's.
19787         (__socket): Use symbolic stack frame offsets.
19788
19789 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19790             Alan Modra  <amodra@gmail.com>
19791
19792         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19793         Define.
19794         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19795         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19796         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19797         New function.
19798         (elf_machine_fixup_plt): Call it.
19799         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19800         reloc arguments.
19801         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19802         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19803         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19804         r2 before calling target.
19805
19806 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19807             Alan Modra  <amodra@gmail.com>
19808
19809         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19810         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19811         versions of macros to support ELFv2 ABI.
19812         (LOCALENTRY): New macro.
19813         (ENTRY, EALIGN): Use it.
19814         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19815         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19816         fall through into ENTRY entry point.
19817         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19818         Only define if _CALL_ELF != 2.
19819
19820         (elf_machine_matches_host): Verify ABI version matches.
19821         (RTLD_START): Use LOCALENTRY.
19822         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19823         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19824         (PLT_ENTRY_WORDS): New macro.
19825         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19826         (elf_machine_runtime_setup): Support ELFv2 ABI.
19827         (elf_machine_fixup_plt): Likewise.
19828         (elf_machine_plt_conflict): Likewise.
19829         (resolve_ifunc): Likewise.
19830         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19832         Likewise.
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19834         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19836         (makecontext): Support ELFv2 ABI.
19837         * elf/elf.h (EF_PPC64_ABI): Define.
19838
19839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19840
19841         * sysdeps/powerpc/powerpc64/sysdep.h
19842         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19843         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19844         (ENTRY) [ASSEMBLER]: ... but instead here ...
19845         (EALIGN) [ASSEMBLER]: ... and here.
19846         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19847         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19848         (ENTRY_2) [!ASSEMBLER]: Use it.
19849         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19850         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19851         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19852         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19853         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19855         Use PPC64_LOAD_FUNCPTR.
19856
19857         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19858
19859 2013-12-04  Alan Modra  <amodra@gmail.com>
19860
19861         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19862         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19863         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19864         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19865
19866         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19867         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19868         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19869         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19870         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19871         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19872
19873 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19874
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19876         (__makecontext): Fix incorrect CFI when backtracing out of
19877         context created via makecontext.
19878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19879         (__setcontext): Fix incorrect CFI during switch to new context.
19880         (__novec_setcontext): Likewise.
19881
19882 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19883
19884         [BZ #4772]
19885         * time/strptime_l.c (__strptime_internal): Allow modifiers
19886         in strptime.
19887         * time/tst-strptime.c (day_tests): Add testcase.
19888
19889 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890
19891         * scripts/bench.pl: Skip over blank lines.
19892
19893 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19894
19895         [BZ #926]
19896         * manual/time.texi (Calendar Time): Clarify what timezone functions
19897         use.
19898
19899 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19900
19901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19902
19903 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19904
19905         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19906         implementation.
19907         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19908         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19909         * debug/memset_chk.c (__memset_chk): Likewise.
19910         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19911         * debug/strncpy_chk.c: Likewise.
19912
19913 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19914
19915         [BZ #15268]
19916         [BZ #15425]
19917         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19918         (__ieee754_exp): For possibly underflowing results, check size of
19919         result and force underflow exception if required.
19920         * math/auto-libm-test-in: Add more tests of exp.
19921         * math/auto-libm-test-out: Regenerated.
19922         * sysdeps/i386/fpu/libm-test-ulps: Update.
19923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924
19925         [BZ #16283]
19926         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19927         * math/w_exp2f.c (__exp2f): Likewise.
19928         * math/w_exp2l.c (__exp2l): Likewise.
19929         * math/auto-libm-test-in: Do not allow missing errno on exp2
19930         underflow.
19931         * math/auto-libm-test-out: Regenerated.
19932
19933 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19934
19935         [BZ #16274]
19936         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19937         handle filename validation.
19938         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19939         (do_open): Delete.
19940
19941 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19942
19943         [BZ #6786]
19944         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19945         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19946         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19947         <float.h>.
19948         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19950         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19952         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19953         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19954         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19955         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19956         Add more erfc tests.
19957         * math/auto-libm-test-out: Regenerated.
19958         * sysdeps/i386/fpu/libm-test-ulps: Update.
19959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960
19961         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19962         exp2, expm1, j0 and j1.
19963         * math/auto-libm-test-out: Regenerated.
19964         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19965         (erfc_test_data): Likewise.
19966         (exp_test_data): Likewise.
19967         (exp_tonearest_test_data): Likewise.
19968         (exp_towardzero_test_data): Likewise.
19969         (exp_downward_test_data): Likewise.
19970         (exp_upward_test_data): Likewise.
19971         (exp10_test_data): Likewise.
19972         (exp2_test_data): Likewise.
19973         (expm1_test_data): Likewise.
19974         (j0_test_data): Likewise.
19975         (j1_test_data): Likewise.
19976         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19977         (input_flag_type): Add flag_xfail_rounding.
19978         (input_flags): Add xfail-rounding.
19979         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19980         (output_for_one_input_case): Handle flag_xfail_rounding.
19981         * sysdeps/i386/fpu/libm-test-ulps: Update.
19982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983
19984 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19985
19986         [BZ #16289]
19987         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19988         division by 0.
19989
19990 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19991
19992         [BZ #16195]
19993         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19994         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19995         (STAP_PROBE0): New macro.
19996         (STAP_PROBE1): Likewise.
19997         (STAP_PROBE2): Likewise.
19998         (STAP_PROBE3): Likewise.
19999         (STAP_PROBE4): Likewise.
20000
20001 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20002
20003         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20004
20005 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20006
20007         * benchtests/Makefile (bench): Add sqrt.
20008         (LDLIBS-bench-sqrt): New.
20009         * benchtests/sqrt-input: New.
20010
20011 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20012
20013         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20014         (GAIH_EAI): Likewise.
20015         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20016         (gaih_inet): Likewise.
20017         (getaddrinfo): Don't use GAIH_EAI.
20018
20019         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20020         (struct gaih): Remove definition.
20021
20022 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20023
20024         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20025         Use HERRNOP directly.
20026
20027 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20028
20029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20030
20031 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20032
20033         * math/gen-auto-libm-tests.c (test_functions): Add more
20034         single-argument functions.
20035         (special_fill_pi_2): New function.
20036         (special_fill_minus_pi_2): Likewise.
20037         (special_fill_pi_6): Likewise.
20038         (special_fill_minus_pi_6): Likewise.
20039         (special_fill_pi_3): Likewise.
20040         (special_fill_2pi_3): Likewise.
20041         (special_fill_e): Likewise.
20042         (special_fill_1_e): Likewise.
20043         (special_fill_e_minus_1): Likewise.
20044         (special_real_inputs): Add more special inputs.
20045         (output_for_one_input_case): Do not require ERANGE on underflow to
20046         zero if round-to-nearest result does not underflow to zero, unless
20047         exact results required.
20048         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20049         atan, atanh, cbrt, cos and cosh.
20050         * math/auto-libm-test-out: Regenerated.
20051         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20052         (acos_tonearest_test_data): Likewise.
20053         (acos_towardzero_test_data): Likewise.
20054         (acos_downward_test_data): Likewise.
20055         (acos_upward_test_data): Likewise.
20056         (acosh_test_data): Likewise.
20057         (asin_test_data): Likewise.
20058         (asin_tonearest_test_data): Likewise.
20059         (asin_towardzero_test_data): Likewise.
20060         (asin_upward_test_data): Likewise.
20061         (asinh_test_data): Likewise.
20062         (atan_test_data): Likewise.
20063         (atanh_test_data): Likewise.
20064         (cbrt_test_data): Likewise.
20065         (cos_test_data): Likewise.
20066         (cos_tonearest_test_data): Likewise.
20067         (cos_towardzero_test_data): Likewise.
20068         (cos_downward_test_data): Likewise.
20069         (cos_upward_test_data): Likewise.
20070         (cosh_test_data): Likewise.
20071         (cosh_tonearest_test_data): Likewise.
20072         (cosh_towardzero_test_data): Likewise.
20073         (cosh_downward_test_data): Likewise.
20074         (cosh_upward_test_data): Likewise.
20075         * sysdeps/i386/fpu/libm-test-ulps: Update.
20076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20077
20078 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20079
20080         [BZ #6787]
20081         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20082         * math/w_exp10f.c (__exp10f): Likewise.
20083         * math/w_exp10l.c (__exp10l): Likewise.
20084         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20085         errno settings in existing tests.
20086
20087         [BZ #14032]
20088         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20089         precision control set to double precision.
20090         * sysdeps/i386/fpu/w_sqrt.c: New file.
20091         * math/auto-libm-test-in: Add more tests.
20092         * math/auto-libm-test-out: Update.
20093
20094         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20095         (sqrt_test_tonearest): New function.
20096         (sqrt_towardzero_test_data): New variable.
20097         (sqrt_test_towardzero): New function.
20098         (sqrt_downward_test_data): New variable.
20099         (sqrt_test_downward): New function.
20100         (sqrt_upward_test_data): New variable.
20101         (sqrt_test_upward): New function.
20102         (main): Call the new functions.
20103
20104         * math/gen-auto-libm-tests.c: New file.
20105         * math/auto-libm-test-in: Likewise.
20106         * math/auto-libm-test-out: New generated file.
20107         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20108         variables.
20109         (%beautify): Add generated representations of zero.
20110         (top level): Set $auto_input and call parse_auto_input.
20111         (beautify): Remove trailing "f" from hex float constants.
20112         (parse_args): Handle XFAIL_TEST.
20113         (convert_condition): New function.
20114         (or_value): Likewise.
20115         (or_cond_value): Likewise.
20116         (generate_testfile): Handle AUTO_TESTS_* lines.
20117         (parse_auto_input): New function.
20118         * math/libm-test.inc (XFAIL_TEST): New macro.
20119         (ERRNO_UNCHANGED): Update value.
20120         (ERRNO_EDOM): Likewise.
20121         (ERRNO_ERANGE): Likewise.
20122         (IGNORE_RESULT): Likewise.
20123         (TEST_COND_flt_32): New macro.
20124         (TEST_COND_dbl_64): Likewise.
20125         (TEST_COND_ldbl_96_intel): Likewise.
20126         (TEST_COND_ldbl_96_m68k): Likewise.
20127         (TEST_COND_ldbl_128): Likewise.
20128         (TEST_COND_ldbl_128ibm): Likewise.
20129         (TEST_COND_long32): Likewise.
20130         (TEST_COND_long64): Likewise.
20131         (TEST_COND_before_rounding): Likewise.
20132         (TEST_COND_after_rounding): Likewise.
20133         (enable_test): Handle XFAIL_TEST flag.
20134         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20135         with finite results.
20136         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20137         auto-libm-test-out.
20138
20139 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20140             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20141
20142         [BZ #16214]
20143         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20144         __tls_get_addr_internal instead of __tls_get_offset in order to
20145         avoid GOT pointer dependency.  Make rtld export
20146         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20147         __tls_get_addr since we are a __tls_get_offset platform.
20148         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20149         GOT pointer being set up before.
20150         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20151
20152 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20153
20154         * manual/math.texi (Errors in Math Functions): Document accuracy
20155         goals.
20156
20157         [BZ #15004]
20158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20159         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20161         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20162         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20164         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20165         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20166         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20167         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20168         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20169         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20170         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20171         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20172         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20173         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20174
20175         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20176         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20177         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20178         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20179         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20180         Likewise.
20181         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20182         Likewise.
20183         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20184         Likewise.
20185         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20186         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20187         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20188         atomic-feupdateenv and flt-rounds.
20189         * sysdeps/powerpc/nofpu/Versions (libc): Add
20190         __atomic_feholdexcept, __atomic_feclearexcept,
20191         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20192         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20193         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20194         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20195         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20196         here.
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20198         Update.
20199
20200         * manual/arith.texi (FP Exceptions): Document that exceptions may
20201         not be raised when matherr is used.
20202         (Math Error Reporting): Document overflow in directed rounding
20203         modes.  Document that errno may not be set when finite values are
20204         returned on overflow.  Document intent to set errno on underflow
20205         only for underflow to zero.
20206
20207         [BZ #16271]
20208         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20209         round-to-nearest then adjust result for other rounding modes.
20210         * include/fenv.h (fegetround): Use libm_hidden_proto.
20211         * math/fegetround.c (fegetround): Use libm_hidden_def.
20212         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20213         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20214         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20215         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20216         Likewise.
20217         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20218         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20219         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20220         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20221
20222 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20223
20224         [BZ #16077]
20225         * nss/Versions (libnss_files): Add
20226         _nss_files_gethostbyname3_r.
20227         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20228         New function.
20229         (HOST_DB_LOOKUP): Remove macro.
20230         (_nss_files_gethostbyname_r): Implement function without the
20231         HOST_DB_LOOKUP macro.
20232         (_nss_files_gethostbyname2_r): Likewise.
20233
20234 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20235
20236         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20237
20238 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20239
20240         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20241         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20242         warning.
20243
20244 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20245
20246         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20247         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20248         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20249         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20250         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20251         __fe_nomask_env_priv and attribute_hidden.
20252         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20253         (libc_feupdateenv_test_ppc): Likewise.
20254         (libc_feresetround_ppc): Likewise.
20255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20256         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20257         compat_symbol macro.
20258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20259         (__fe_nomask_env): Likewise.
20260         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20261
20262 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20263
20264         * string/Makefile: Remove ifunc tests.
20265         * string/test-string.h: Define TEST_IFUNC.
20266         * string/test-bcopy-ifunc.c: Remove.
20267         * string/test-bzero-ifunc.c: Likewise.
20268         * string/test-memccpy-ifunc.c: Likewise.
20269         * string/test-memchr-ifunc.c: Likewise.
20270         * string/test-memcmp-ifunc.c: Likewise.
20271         * string/test-memcpy-ifunc.c: Likewise.
20272         * string/test-memmem-ifunc.c: Likewise.
20273         * string/test-memmove-ifunc.c: Likewise.
20274         * string/test-mempcpy-ifunc.c: Likewise.
20275         * string/test-memrchr-ifunc.c: Likewise.
20276         * string/test-memset-ifunc.c: Likewise.
20277         * string/test-rawmemchr-ifunc.c: Likewise.
20278         * string/test-stpcpy-ifunc.c: Likewise.
20279         * string/test-stpncpy-ifunc.c: Likewise.
20280         * string/test-strcasecmp-ifunc.c: Likewise.
20281         * string/test-strcasestr-ifunc.c: Likewise.
20282         * string/test-strcat-ifunc.c: Likewise.
20283         * string/test-strchr-ifunc.c: Likewise.
20284         * string/test-strchrnul-ifunc.c: Likewise.
20285         * string/test-strcmp-ifunc.c: Likewise.
20286         * string/test-strcpy-ifunc.c: Likewise.
20287         * string/test-strcspn-ifunc.c: Likewise.
20288         * string/test-strlen-ifunc.c: Likewise.
20289         * string/test-strncasecmp-ifunc.c: Likewise.
20290         * string/test-strncat-ifunc.c: Likewise.
20291         * string/test-strncmp-ifunc.c: Likewise.
20292         * string/test-strncpy-ifunc.c: Likewise.
20293         * string/test-strnlen-ifunc.c: Likewise.
20294         * string/test-strpbrk-ifunc.c: Likewise.
20295         * string/test-strrchr-ifunc.c: Likewise.
20296         * string/test-strspn-ifunc.c: Likewise.
20297         * string/test-strstr-ifunc.c: Likewise.
20298
20299 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20300
20301         * benchtests/Makefile: Remove ifunc tests.
20302         * benchtests/bench-string.h: Define TEST_IFUNC.
20303         * benchtests/bench-bcopy-ifunc.c: Remove.
20304         * benchtests/bench-bzero-ifunc.c: Likewise.
20305         * benchtests/bench-memccpy-ifunc.c: Likewise.
20306         * benchtests/bench-memchr-ifunc.c: Likewise.
20307         * benchtests/bench-memcmp-ifunc.c: Likewise.
20308         * benchtests/bench-memcpy-ifunc.c: Likewise.
20309         * benchtests/bench-memmem-ifunc.c: Likewise.
20310         * benchtests/bench-memmove-ifunc.c: Likewise.
20311         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20312         * benchtests/bench-memrchr-ifunc.c: Likewise.
20313         * benchtests/bench-memset-ifunc.c: Likewise.
20314         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20315         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20316         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20317         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20318         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20319         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20320         * benchtests/bench-strcat-ifunc.c: Likewise.
20321         * benchtests/bench-strchr-ifunc.c: Likewise.
20322         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20323         * benchtests/bench-strcmp-ifunc.c: Likewise.
20324         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20325         * benchtests/bench-strcpy-ifunc.c: Likewise.
20326         * benchtests/bench-strcspn-ifunc.c: Likewise.
20327         * benchtests/bench-strlen-ifunc.c: Likewise.
20328         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20329         * benchtests/bench-strncat-ifunc.c: Likewise.
20330         * benchtests/bench-strncmp-ifunc.c: Likewise.
20331         * benchtests/bench-strncpy-ifunc.c: Likewise.
20332         * benchtests/bench-strnlen-ifunc.c: Likewise.
20333         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20334         * benchtests/bench-strrchr-ifunc.c: Likewise.
20335         * benchtests/bench-strsep-ifunc.c: Likewise.
20336         * benchtests/bench-strspn-ifunc.c: Likewise.
20337         * benchtests/bench-strstr-ifunc.c: Likewise.
20338
20339 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20340
20341         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20342
20343 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20344
20345         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20346         * rt/aio.h: Likewise.
20347         * sysdeps/gnu/bits/utmp.h: Likewise.
20348         * sysdeps/gnu/bits/utmpx.h: Likewise.
20349         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20350         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20351         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20352         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20353         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20354         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20355         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20356         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20357         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20358         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20359         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20360         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20361         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20363         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20364         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20365         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20366         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20367         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20368         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20369         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20370         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20371         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20372         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20373         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20375         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20376         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20377         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20378         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20379         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20380         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20381         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20382         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20383         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20384         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20385         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20386         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20387         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20388         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20389         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20390         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20391
20392 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20393
20394         [BZ #16245]
20395         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20396         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20397
20398 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20399
20400         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20401         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20402         Likewise.
20403
20404 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20405
20406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20407         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20408         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20409         (__fesetround): Remove define.
20410         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20411         rounding and exceptions handling.
20412         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20413         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20414         (__fe_nomask_env): Likewise.
20415         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20416         __fegetround instead of fegetround.
20417         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20418         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20419
20420 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20421
20422         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20423         it's there.
20424
20425         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20426
20427 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20428
20429         [BZ #11157]
20430         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20431         (encrypt_r): Likewise.
20432         * malloc/obstack.h (obstack_free): Likewise.
20433         * posix/unistd.h (encrypt): Likewise.
20434
20435 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20436
20437         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20438         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20439         DL_CALL_DT_FINI() that call the functions directly.
20440         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20441         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20442         * elf/dl-fini.c: Likewise.
20443
20444 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20445
20446         * malloc/hooks.c (memalign_check): Add alignment rounding.
20447         * malloc/malloc.c (_mid_memalign): New function.
20448         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20449         Implement by calling _mid_memalign.
20450         * manual/probes.texi (Memory Allocation Probes): Remove
20451         memory_valloc_retry and memory_pvalloc_retry.
20452
20453 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20454
20455         * locale/programs/locarchive.c (open_archive): Add const
20456         qualifier to ARCHIVEFNAME and copy default fname to
20457         DEFAULT_FNAME.
20458
20459         [BZ #15601]
20460         * libio/tst-widetext.input: Rename Oriya to Odia.
20461         * locale/iso-639.def: Likewise.
20462
20463         * manual/probes.texi (Mathematical Function Probes): Add
20464         documentation for sin, cos, asin and acos probes.
20465         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20466         (__sin32): Add slowasin probe.
20467         (__cos32): Add slowacos probe.
20468         (__mpsin): Add slowsin probe.
20469         (__mpcos): Add slowcos probe.
20470
20471 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20472
20473         [BZ #15483]
20474         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20475         thread-local __sim_exceptions_thread and global
20476         __sim_exceptions_global.
20477         (__sim_disabled_exceptions): Change to thread-local
20478         __sim_disabled_exceptions_thread and global
20479         __sim_disabled_exceptions_global.
20480         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20481         and global __sim_round_mode_global.
20482         (__simulate_exceptions): Use thread-local floating-point state and
20483         set global state from it as needed.
20484         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20485         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20486         __sim_round_mode_thread.
20487         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20488         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20489         and global __sim_exceptions_global.
20490         (__sim_disabled_exceptions): Change to thread-local
20491         __sim_disabled_exceptions_thread and global
20492         __sim_disabled_exceptions_global.
20493         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20494         and global __sim_round_mode_global.
20495         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20496         (SIM_SET_GLOBAL): Likewise.
20497         * sysdeps/powerpc/soft-fp/sfp-machine.h
20498         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20499         __sim_round_mode_thread.
20500         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20501         __sim_disabled_exceptions_thread.
20502         (__sim_exceptions): Change to __sim_exceptions_thread.
20503         (__sim_disabled_exceptions): Change to
20504         __sim_disabled_exceptions_thread.
20505         (__sim_round_mode): Change to __sim_round_mode_thread.
20506         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20507         thread-local floating-point state and set global state from it as
20508         needed.
20509         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20510         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20511         (__sim_disabled_exceptions): Remove extern declaration.
20512         (feenableexcept): Use thread-local floating-point state and set
20513         global state from it as needed.
20514         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20515         extern declaration.
20516         (__sim_disabled_exceptions): Likewise.
20517         (__sim_round_mode): Likewise.
20518         (__fegetenv): Use thread-local floating-point state.
20519         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20520         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20521         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20522         floating-point state and set global state from it as needed.
20523         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20524         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20525         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20526         Likewise.
20527         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20528         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20529         Likewise.
20530         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20531         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20532         Use __sim_round_mode_thread.
20533         * math/test-fenv-tls.c: New file.
20534         * math/Makefile (tests): Add test-fenv-tls.
20535         ($(objpfx)test-fenv-tls): Depend on
20536         $(common-objpfx)nptl/libpthread.so.
20537
20538 2013-11-19  Andreas Schwab  <schwab@suse.de>
20539
20540         * locale/programs/locale.c (show_info): Decode wordarray elements.
20541         * locale/categories.def (LC_MONETARY): Add element for
20542         _NL_MONETARY_CRNCYSTR.
20543         * locale/C-monetary.c (conversion_rate): New variable.
20544         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20545         element.
20546
20547 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20548
20549         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20550         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20551
20552 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20553
20554         * elf/Makefile (tst-auxv): New test.
20555         * elf/tst-auxv.c: New
20556         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20557
20558 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20559
20560         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20561         (hidden_proto): Caller changed.
20562         (hidden_tls_proto): New macro.
20563         (libc_hidden_tls_proto): Likewise.
20564         (rtld_hidden_tls_proto): Likewise.
20565         (libm_hidden_tls_proto): Likewise.
20566         (libresolv_hidden_tls_proto): Likewise.
20567         (librt_hidden_tls_proto): Likewise.
20568         (libdl_hidden_tls_proto): Likewise.
20569         (libnss_files_hidden_tls_proto): Likewise.
20570         (libnsl_hidden_tls_proto): Likewise.
20571         (libnss_nisplus_hidden_tls_proto): Likewise.
20572         (libutil_hidden_tls_proto): Likewise.
20573
20574 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20575
20576         [BZ #10253]
20577         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20578         (decompose_rpath): Defer expansion to fillin_rpath.
20579         (_dl_init_paths): Pass linkmap to fillin_rpath.
20580
20581 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20582
20583         * benchtests/Makefile: Add strsep.
20584         * benchtests/bench-strsep.c: New file: strsep benchtest.
20585         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20586
20587 2013-11-18  Andreas Schwab  <schwab@suse.de>
20588
20589         * locale/programs/locale.c (show_info) [case byte]: Check for
20590         '\377' instead of '\177'.
20591         * locale/C-monetary.c (not_available): Always use "\377".
20592         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20593         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20594         detect unavailable sign_posn locale elements.
20595         * locale/localeconv.c (__localeconv): For grouping and
20596         mon_grouping handle "\177" and "\377" like no grouping.
20597         (INT_ELEM): New macro.  Use it to set all numeric members.
20598         * locale/programs/ld-monetary.c (monetary_read)
20599         <tok_mon_grouping>: Normalize single -1 to the empty string.
20600         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20601         Likewise.
20602
20603 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20604
20605         [BZ #16055]
20606         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20607         when we match (nil).
20608         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20609
20610 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20611
20612         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20613         (NO_TEST_INLINE): Update value.
20614         (ERRNO_UNCHANGED): Likewise.
20615         (ERRNO_EDOM): Likewise.
20616         (ERRNO_ERANGE): Likewise.
20617         (IGNORE_RESULT): Likewise.
20618         (check_float_internal): Check signs of NaN results if
20619         TEST_NAN_SIGN used.
20620         (check_complex): Pass TEST_NAN_SIGN flag through to second
20621         check_float_internal call.
20622         (copysign_test_data): Add tests with quiet NaNs as second
20623         argument.  Use TEST_NAN_SIGN.
20624         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20625         TEST_NAN_SIGN.
20626         (signbit_test_data): Add tests of quiet NaN argument.
20627         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20628
20629         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20630         $ignore_result.
20631         (parse_args): Handle function results specified as IGNORE.
20632         * math/libm-test.inc (IGNORE_RESULT): New macro.
20633         (check_float_internal): Do not check numerical result if flag
20634         IGNORE_RESULT set.
20635         (check_complex): Pass through IGNORE_RESULT to second
20636         check_float_internal call.
20637         (check_int): Do not check numerical result if flag IGNORE_RESULT
20638         set.
20639         (check_long): Likewise.
20640         (check_bool): Likewise.
20641         (check_longlong): Likewise.
20642         (lrint_test_data): Add tests of infinite and NaN arguments.
20643         (lrint_tonearest_test_data): Likewise.
20644         (lrint_towardzero_test_data): Likewise.
20645         (lrint_downward_test_data): Likewise.
20646         (lrint_upward_test_data): Likewise.
20647         (llrint_test_data): Likewise.
20648         (llrint_tonearest_test_data): Likewise.
20649         (llrint_towardzero_test_data): Likewise.
20650         (llrint_downward_test_data): Likewise.
20651         (llrint_upward_test_data): Likewise.
20652         (lround_test_data): Likewise.
20653         (llround_test_data): Likewise.
20654
20655         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20656         (ERRNO_UNCHANGED): Update value.
20657         (ERRNO_EDOM): Likewise.
20658         (ERRNO_ERANGE): Likewise.
20659         (NO_TEST_INLINE_FLOAT): New macro.
20660         (NO_TEST_INLINE_DOUBLE): Likewise.
20661         (enable_test): New function.
20662         (RUN_TEST_f_f): Check enable_test before running test.
20663         (RUN_TEST_2_f): Likewise.
20664         (RUN_TEST_fff_f): Likewise.
20665         (RUN_TEST_c_f): Likewise.
20666         (RUN_TEST_f_f1): Likewise.
20667         (RUN_TEST_fF_f1): Likewise.
20668         (RUN_TEST_fI_f1): Likewise.
20669         (RUN_TEST_ffI_f1): Likewise.
20670         (RUN_TEST_c_c): Likewise.
20671         (RUN_TEST_cc_c): Likewise.
20672         (RUN_TEST_f_i): Likewise.
20673         (RUN_TEST_f_i_tg): Likewise.
20674         (RUN_TEST_ff_i_tg): Likewise.
20675         (RUN_TEST_f_b): Likewise.
20676         (RUN_TEST_f_b_tg): Likewise.
20677         (RUN_TEST_f_l): Likewise.
20678         (RUN_TEST_f_L): Likewise.
20679         (RUN_TEST_fFF_11): Likewise.
20680         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20681         conditionals.
20682         (cosh_test_data): Likewise.
20683         (exp_test_data): Likewise.
20684         (expm1_test_data): Likewise.
20685         (hypot_test_data): Likewise.
20686         (pow_test_data): Likewise.
20687         (sinh_test_data): Likewise.
20688         (tanh_test_data): Likewise.
20689         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20690         flags argument.
20691
20692         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20693         tests with quiet NaN input and output.
20694         (acosh_test_data): Likewise.
20695         (asin_test_data): Likewise.
20696         (asinh_test_data): Likewise.
20697         (atan_test_data): Likewise.
20698         (atanh_test_data): Likewise.
20699         (atan2_test_data): Likewise.
20700         (cbrt_test_data): Likewise.
20701         (cos_test_data): Likewise.
20702         (cosh_test_data): Likewise.
20703         (erf_test_data): Likewise.
20704         (erfc_test_data): Likewise.
20705         (exp_test_data): Likewise.
20706         (exp10_test_data): Likewise.
20707         (exp2_test_data): Likewise.
20708         (expm1_test_data): Likewise.
20709         (hypot_test_data): Likewise.
20710         (j0_test_data): Likewise.
20711         (j1_test_data): Likewise.
20712         (jn_test_data): Likewise.
20713         (lgamma_test_data): Likewise.
20714         (log_test_data): Likewise.
20715         (log10_test_data): Likewise.
20716         (log1p_test_data): Likewise.
20717         (log2_test_data): Likewise.
20718         (pow_test_data): Likewise.
20719         (scalb_test_data): Likewise.
20720         (sin_test_data): Likewise.
20721         (sincos_test_data): Likewise.
20722         (sinh_test_data): Likewise.
20723         (tan_test_data): Likewise.
20724         (tanh_test_data): Likewise.
20725         (tgamma_test_data): Likewise.
20726         (y0_test_data): Likewise.
20727         (y1_test_data): Likewise.
20728         (yn_test_data): Likewise.
20729
20730         [BZ #16167]
20731         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20732         argument being NaN and avoid computations with second argument in
20733         that case.
20734         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20735         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20736         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20737
20738 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20739
20740         * locale/iso-639.def: Add Chitwani Tharu (the).
20741
20742 2013-11-14  Andreas Schwab  <schwab@suse.de>
20743
20744         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20745         word instead of empty string.
20746
20747 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20748
20749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20750         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20752         (__fe_nomask_env): Likewise.
20753
20754 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20755
20756         * benchtests/bench-timing.h: Include time.h.
20757
20758 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20759
20760         [BZ #15997]
20761         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20762         to 3.4.0 for x32.
20763         * sysdeps/unix/sysv/linux/configure: Regenerated.
20764
20765 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20766
20767         [BZ #16151]
20768         * stdlib/strtod_l.c (round_and_return): Do not consider
20769         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20770         exponent one less than half the least subnormal exponent.
20771         * stdlib/test-strtod-round-data: Add more tests.
20772         * stdlib/tst-strtod-round.c (tests): Regenerated.
20773
20774 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20775
20776         [BZ #14143]
20777         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20778         (__fe_mask_env): Likewise.
20779         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20780         libm_hidden_proto and add function prototype.
20781         (__fe_mask_env): Add function prototype.
20782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20783         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20785         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20787         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20788
20789 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20790
20791         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20792         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20793
20794 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20795
20796         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20797         of htab_find_slot().
20798
20799 2013-11-11  David S. Miller  <davem@davemloft.net>
20800
20801         [BZ #16150]
20802         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20803         symbol in the non-vis3 case in static builds.
20804         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20805         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20806         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20807         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20808
20809 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20810
20811         [BZ #387]
20812         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20813         it is empty.
20814
20815 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20816
20817         * benchtests/Makefile: Add bench-strtod.
20818         * benchtests/bench-strtod.c: New file: strtod benchtest
20819
20820 2013-11-11  Andreas Schwab  <schwab@suse.de>
20821
20822         [BZ #16153]
20823         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20824         terminating NUL in key length.
20825
20826 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20827
20828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20829         Add artificial ODP entry for vDSO symbol for PPC64.
20830         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20831         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20832
20833 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20834
20835         [BZ #15374]
20836         * nss/getent.c (services_keys): Recognize services starting with digit.
20837
20838 2013-11-06  David S. Miller  <davem@davemloft.net>
20839
20840         [BZ #15985]
20841         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20842         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20843
20844 2013-11-06  Will Newton  <will.newton@linaro.org>
20845
20846         * manual/memory.texi (Malloc Examples): Remove register
20847         keyword from examples.
20848
20849 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20850
20851         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20852
20853 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20854
20855         [BZ #6981]
20856         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20857         depending on [__GCC_IEC_559 > 0].
20858         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20859         depending on [__GCC_IEC_559_COMPLEX > 0].
20860
20861 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20862
20863         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20864         to iso-639.def.
20865
20866 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20867
20868         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20869
20870 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20871
20872         [BZ #16112]
20873         * malloc/malloc (malloc_info): Do not handle first bin as
20874         special case.
20875
20876 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20877
20878         * locale/iso-639.def: Add Central Nahuatl (nhn).
20879
20880 2013-11-01  Bruno Haible  <bruno@clisp.org>
20881
20882         [BZ #7003]
20883         * manual/math.texi (BSD Random): Specify range upper bound as
20884         in POSIX.
20885
20886 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20887
20888         * locale/iso-639.def: Add Meadow Mari (mhr).
20889
20890 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20891
20892         [BZ #14752], [BZ #15763]
20893         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20894         Validate name.
20895         * rt/tst_shm.c: Add test for escaping directory.
20896
20897 2013-10-31  Andreas Schwab  <schwab@suse.de>
20898
20899         [BZ #15917]
20900         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20901         followed by 'x' as part of digit sequence.
20902         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20903
20904 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20905
20906         [BZ #16037]
20907         * configure.ac: allow GNU Make 4.0 and greater.
20908         * configure: Regenerated.
20909
20910 2013-10-30  Will Newton  <will.newton@linaro.org>
20911
20912         [BZ #16038]
20913         * malloc/hooks.c (memalign_check): Limit alignment to the
20914         maximum representable power of two.
20915         * malloc/malloc.c (__libc_memalign): Likewise.
20916         * malloc/tst-memalign.c (do_test): Add test for very
20917         large alignment values.
20918         * malloc/tst-posix_memalign.c (do_test): Likewise.
20919
20920 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20921
20922         [BZ #11087]
20923         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20924         (munmap_chunk): Likewise.
20925         (mremap_chunk): Likewise.
20926
20927 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20928
20929         [BZ #15799]
20930         * stdlib/div.c (div): Remove obsolete code.
20931         * stdlib/ldiv.c (ldiv): Likewise.
20932         * stdlib/lldiv.c (lldiv): Likewise.
20933
20934 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20935
20936         [BZ #16071]
20937         * nss/nss_files/files-XXX.c (get_contents_ret): New
20938         enumerator.
20939         (get_contents): New function.
20940         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20941
20942 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20943
20944         * configure.in: Moved to ...
20945         * configure.ac: ... here. Change reference to configure.in
20946         to configure.ac.
20947         * sysdeps/arm/preconfigure.ac: ... here.
20948         configure.in to configure.ac.
20949         * sysdeps/gnu/configure.in: Moved to ...
20950         * sysdeps/gnu/configure.ac: ... here.
20951         * sysdeps/i386/configure.in: Moved to ...
20952         * sysdeps/i386/configure.ac: ... here.
20953         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20954         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20955         * sysdeps/mach/configure.in: Moved to ...
20956         * sysdeps/mach/configure.ac: ... here.
20957         * sysdeps/mach/hurd/configure.in: Moved to ...
20958         * sysdeps/mach/hurd/configure.ac: ... here.
20959         * sysdeps/powerpc/configure.in: Moved to ...
20960         * sysdeps/powerpc/configure.ac: ... here.
20961         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20962         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20963         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20964         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20965         * sysdeps/s390/s390-32/configure.in: Moved to ...
20966         * sysdeps/s390/s390-32/configure.ac: ... here.
20967         * sysdeps/s390/s390-64/configure.in: Moved to ...
20968         * sysdeps/s390/s390-64/configure.ac: ... here.
20969         * sysdeps/sh/configure.in: Moved to ...
20970         * sysdeps/sh/configure.ac: ... here.
20971         * sysdeps/sparc/configure.in: Moved to ...
20972         * sysdeps/sparc/configure.ac: ... here.
20973         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20974         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20975         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20976         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20977         * sysdeps/x86_64/configure.in: Moved to ...
20978         * sysdeps/x86_64/configure.ac: ... here.
20979         * sysdeps/x86_64/preconfigure.in: Moved to ...
20980         * sysdeps/x86_64/preconfigure.ac: ... here.
20981         * aclocal.m4: Change reference to configure.in to configure.ac.
20982         * config.h.in: Likewise.
20983         * manual/install.texi: Likewise.
20984         * manual/maint.texi: Likewise.
20985         * Makefile: Likewise.
20986         * malloc/Makefile: Likewise.
20987         * nscd/Makefile: Likewise.
20988         * Makeconfig: Change reference to configure.in and
20989         preconfigure.in to configure.ac and preconfigure.ac
20990         respectively.
20991         * INSTALL: Regenerated.
20992         * configure: Likewise.
20993         * sysdeps/gnu/configure: Likewise.
20994         * sysdeps/i386/configure: Likewise.
20995         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20996         * sysdeps/mach/configure: Likewise.
20997         * sysdeps/mach/hurd/configure: Likewise.
20998         * sysdeps/powerpc/configure: Likewise.
20999         * sysdeps/powerpc/powerpc32/configure: Likewise.
21000         * sysdeps/powerpc/powerpc64/configure: Likewise.
21001         * sysdeps/s390/s390-32/configure: Likewise.
21002         * sysdeps/s390/s390-64/configure: Likewise.
21003         * sysdeps/sh/configure: Likewise.
21004         * sysdeps/sparc/configure: Likewise.
21005         * sysdeps/unix/sysv/linux/configure: Likewise.
21006         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21007         * sysdeps/x86_64/configure: Likewise.
21008         * sysdeps/x86_64/preconfigure: Likewise.
21009
21010 2013-10-29  Andreas Schwab  <schwab@suse.de>
21011
21012         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21013
21014 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21015
21016         * benchtests/pow-inputs: Add new inputs.
21017
21018         * benchtests/exp-inputs: Add new inputs.
21019
21020         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21021         conditional check for return value.
21022         (__cos32): Likewise.
21023
21024 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21025
21026         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21027         to provide a boost for large inputs with word alignment.
21028         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21029         implementation based on optimized PPC64 strcpy.
21030         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21031         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21032         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21033         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21034
21035 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21036
21037         [BZ #2801]
21038         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21039
21040 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21041
21042         [BZ #14876]
21043         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21044         * time/tst-strptime.c (day_tests): Add testcase.
21045
21046 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21047
21048         [BZ #14029]
21049         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21050
21051 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21052
21053         [BZ #16074]
21054         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21055         MAP_FAILED on error.
21056
21057 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21058
21059         [BZ #16072]
21060         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21061         heap for large requests.
21062
21063 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21064
21065         [BZ #9954]
21066         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21067         result if the result has no associated interface.
21068         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21069         interface for all 127.X.Y.Z addresses.
21070
21071 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21072
21073         * locale/iso-639.def: Add Ligurian (lij)
21074
21075 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21076
21077         [BZ #15825]
21078         * sunrpc/rpc_main.c: Document rpcgen -5.
21079
21080 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21081
21082         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21083
21084 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21085
21086         [BZ #10278]
21087         * posix/glob.c: Match only directories when trailing slash is present.
21088         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21089         (main): Add testcase.
21090
21091 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21092
21093         [BZ #15670]
21094         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21095
21096 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21097
21098         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21099         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21100         AUTH_DES and cindex for FIPS 140-2.
21101         (DES Encryption): Add cindex FIPS 46-3.
21102
21103         * locale/locarchive.h (struct locarhandle): Add fname.
21104         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21105         if an optional argument was specified to --list-archive,
21106         otherwise NULL.
21107         * locale/programs/locarchive.c (show_archive_content): Take new
21108         argument fname and pass it via ah.fname to open_archive.
21109         * locale/programs/localedef.h: Update decl.
21110         (open_archive): If AH->fname is non-null, open that file
21111         rather than the default file name, and don't ignore ENOENT.
21112         (create_archive): Set AH.fname to NULL.
21113         (delete_locales_from_archive): Likewise.
21114         (add_locales_to_archive): Likewise.
21115         * locale/programs/locfile.c (write_all_categories): Likewise.
21116
21117 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21118             Aldy Hernandez  <aldyh@redhat.com>
21119
21120         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21121         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21122         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21123         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21124         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21125         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21126         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21128         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21129         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21130         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21131         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21132         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21133         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21134         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21135         Likewise.
21136         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21137         Likewise.
21138         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21139         Likewise.
21140         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21141         Likewise.
21142         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21143         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21144         Likewise.
21145         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21146         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21147         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21148         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21149         Likewise.
21150         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21151         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21152         * sysdeps/powerpc/preconfigure: Likewise.
21153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21154         Likewise.
21155         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21156         Replace contents of file by #include of <fenv_libc.h>.
21157         * sysdeps/powerpc/soft-fp/sfp-machine.h
21158         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21159         and <sys/prctl.h>.
21160         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21161         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21171         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21173         Allow copysignl PLT reference to be missing.
21174
21175 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21176             Joseph Myers  <joseph@codesourcery.com
21177
21178         [BZ #15948]
21179         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21180         single character.
21181         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21182
21183 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21184
21185         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21186         * elf/tst-tls1.c: Likewise.
21187         * elf/tst-tls10.h: Likewise.
21188         * elf/tst-tls14.c: Likewise.
21189         * elf/tst-tls2.c: Likewise.
21190         * elf/tst-tls3.c: Likewise.
21191         * elf/tst-tls4.c: Likewise.
21192         * elf/tst-tls5.c: Likewise.
21193         * elf/tst-tls6.c: Likewise.
21194         * elf/tst-tls7.c: Likewise.
21195         * elf/tst-tls8.c: Likewise.
21196         * elf/tst-tls9.c: Likewise.
21197         * elf/tst-tlsmod1.c: Likewise.
21198         * elf/tst-tlsmod13.c: Likewise.
21199         * elf/tst-tlsmod13a.c: Likewise.
21200         * elf/tst-tlsmod14a.c: Likewise.
21201         * elf/tst-tlsmod16a.c: Likewise.
21202         * elf/tst-tlsmod16b.c: Likewise.
21203         * elf/tst-tlsmod2.c: Likewise.
21204         * elf/tst-tlsmod3.c: Likewise.
21205         * elf/tst-tlsmod4.c: Likewise.
21206         * elf/tst-tlsmod5.c: Likewise.
21207         * elf/tst-tlsmod6.c: Likewise.
21208
21209 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21210
21211         [BZ #12486]
21212         * malloc/malloc.c: remove checks for statistics.
21213
21214 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21215
21216         [BZ #15277]
21217         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21218         * inet/tst-network.c: Add testcase.
21219
21220 2013-10-17  Andreas Schwab  <schwab@suse.de>
21221
21222         [BZ #15218]
21223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21224         to determine canonical name.
21225
21226 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21227
21228         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21229         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21230         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21231         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21232         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21233         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21234         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21235         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21236         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21237         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21238         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21239         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21240         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21241         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21242         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21243         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21245         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21246         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21247         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21248         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21251         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21252         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21253         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21254         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21255         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21256         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21257         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21258         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21259         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21260         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21261         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21262         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21263         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21264         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21265         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21266         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21267         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21268         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21269         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21270         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21271         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21272         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21273         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21274         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21275         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21276         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21277         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21278         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21279         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21280         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21281         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21282         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21283         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21284         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21285         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21286
21287 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21288
21289         [BZ #16041]
21290         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21291         make result into a quiet NaN.
21292
21293 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21294
21295         * soft-fp/adddf3.c: Fix horizontal whitespace.
21296         * soft-fp/addsf3.c: Likewise.
21297         * soft-fp/addtf3.c: Likewise.
21298         * soft-fp/divdf3.c: Likewise.
21299         * soft-fp/divsf3.c: Likewise.
21300         * soft-fp/divtf3.c: Likewise.
21301         * soft-fp/double.h: Likewise.
21302         * soft-fp/eqdf2.c: Likewise.
21303         * soft-fp/eqsf2.c: Likewise.
21304         * soft-fp/eqtf2.c: Likewise.
21305         * soft-fp/extenddftf2.c: Likewise.
21306         * soft-fp/extended.h: Likewise.
21307         * soft-fp/extendsfdf2.c: Likewise.
21308         * soft-fp/extendsftf2.c: Likewise.
21309         * soft-fp/extendxftf2.c: Likewise.
21310         * soft-fp/fixdfdi.c: Likewise.
21311         * soft-fp/fixdfsi.c: Likewise.
21312         * soft-fp/fixdfti.c: Likewise.
21313         * soft-fp/fixsfdi.c: Likewise.
21314         * soft-fp/fixsfsi.c: Likewise.
21315         * soft-fp/fixsfti.c: Likewise.
21316         * soft-fp/fixtfdi.c: Likewise.
21317         * soft-fp/fixtfsi.c: Likewise.
21318         * soft-fp/fixtfti.c: Likewise.
21319         * soft-fp/fixunsdfdi.c: Likewise.
21320         * soft-fp/fixunsdfsi.c: Likewise.
21321         * soft-fp/fixunsdfti.c: Likewise.
21322         * soft-fp/fixunssfdi.c: Likewise.
21323         * soft-fp/fixunssfsi.c: Likewise.
21324         * soft-fp/fixunssfti.c: Likewise.
21325         * soft-fp/fixunstfdi.c: Likewise.
21326         * soft-fp/fixunstfsi.c: Likewise.
21327         * soft-fp/fixunstfti.c: Likewise.
21328         * soft-fp/floatdidf.c: Likewise.
21329         * soft-fp/floatdisf.c: Likewise.
21330         * soft-fp/floatditf.c: Likewise.
21331         * soft-fp/floatsidf.c: Likewise.
21332         * soft-fp/floatsisf.c: Likewise.
21333         * soft-fp/floatsitf.c: Likewise.
21334         * soft-fp/floattidf.c: Likewise.
21335         * soft-fp/floattisf.c: Likewise.
21336         * soft-fp/floattitf.c: Likewise.
21337         * soft-fp/floatundidf.c: Likewise.
21338         * soft-fp/floatundisf.c: Likewise.
21339         * soft-fp/floatunditf.c: Likewise.
21340         * soft-fp/floatunsidf.c: Likewise.
21341         * soft-fp/floatunsisf.c: Likewise.
21342         * soft-fp/floatunsitf.c: Likewise.
21343         * soft-fp/floatuntidf.c: Likewise.
21344         * soft-fp/floatuntisf.c: Likewise.
21345         * soft-fp/floatuntitf.c: Likewise.
21346         * soft-fp/fmadf4.c: Likewise.
21347         * soft-fp/fmasf4.c: Likewise.
21348         * soft-fp/fmatf4.c: Likewise.
21349         * soft-fp/gedf2.c: Likewise.
21350         * soft-fp/gesf2.c: Likewise.
21351         * soft-fp/getf2.c: Likewise.
21352         * soft-fp/ledf2.c: Likewise.
21353         * soft-fp/lesf2.c: Likewise.
21354         * soft-fp/letf2.c: Likewise.
21355         * soft-fp/muldf3.c: Likewise.
21356         * soft-fp/mulsf3.c: Likewise.
21357         * soft-fp/multf3.c: Likewise.
21358         * soft-fp/negdf2.c: Likewise.
21359         * soft-fp/negsf2.c: Likewise.
21360         * soft-fp/negtf2.c: Likewise.
21361         * soft-fp/op-1.h: Likewise.
21362         * soft-fp/op-2.h: Likewise.
21363         * soft-fp/op-4.h: Likewise.
21364         * soft-fp/op-8.h: Likewise.
21365         * soft-fp/op-common.h: Likewise.
21366         * soft-fp/quad.h: Likewise.
21367         * soft-fp/single.h: Likewise.
21368         * soft-fp/soft-fp.h: Likewise.
21369         * soft-fp/sqrtdf2.c: Likewise.
21370         * soft-fp/sqrtsf2.c: Likewise.
21371         * soft-fp/sqrttf2.c: Likewise.
21372         * soft-fp/subdf3.c: Likewise.
21373         * soft-fp/subsf3.c: Likewise.
21374         * soft-fp/subtf3.c: Likewise.
21375         * soft-fp/truncdfsf2.c: Likewise.
21376         * soft-fp/trunctfdf2.c: Likewise.
21377         * soft-fp/trunctfsf2.c: Likewise.
21378         * soft-fp/trunctfxf2.c: Likewise.
21379         * soft-fp/unorddf2.c: Likewise.
21380         * soft-fp/unordsf2.c: Likewise.
21381         * soft-fp/unordtf2.c: Likewise.
21382
21383 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21384
21385         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21386         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21387
21388 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21389
21390         * elf/dl-libc.c: Clear initfini list after freeing.
21391
21392 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21393
21394         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21395         * soft-fp/addsf3.c: Likewise.
21396         * soft-fp/addtf3.c: Likewise.
21397         * soft-fp/divdf3.c: Likewise.
21398         * soft-fp/divsf3.c: Likewise.
21399         * soft-fp/divtf3.c: Likewise.
21400         * soft-fp/double.h: Likewise.
21401         * soft-fp/eqdf2.c: Likewise.
21402         * soft-fp/eqsf2.c: Likewise.
21403         * soft-fp/eqtf2.c: Likewise.
21404         * soft-fp/extenddftf2.c: Likewise.
21405         * soft-fp/extended.h: Likewise.
21406         * soft-fp/extendsfdf2.c: Likewise.
21407         * soft-fp/extendsftf2.c: Likewise.
21408         * soft-fp/extendxftf2.c: Likewise.
21409         * soft-fp/fixdfdi.c: Likewise.
21410         * soft-fp/fixdfsi.c: Likewise.
21411         * soft-fp/fixdfti.c: Likewise.
21412         * soft-fp/fixsfdi.c: Likewise.
21413         * soft-fp/fixsfsi.c: Likewise.
21414         * soft-fp/fixsfti.c: Likewise.
21415         * soft-fp/fixtfdi.c: Likewise.
21416         * soft-fp/fixtfsi.c: Likewise.
21417         * soft-fp/fixtfti.c: Likewise.
21418         * soft-fp/fixunsdfdi.c: Likewise.
21419         * soft-fp/fixunsdfsi.c: Likewise.
21420         * soft-fp/fixunsdfti.c: Likewise.
21421         * soft-fp/fixunssfdi.c: Likewise.
21422         * soft-fp/fixunssfsi.c: Likewise.
21423         * soft-fp/fixunssfti.c: Likewise.
21424         * soft-fp/fixunstfdi.c: Likewise.
21425         * soft-fp/fixunstfsi.c: Likewise.
21426         * soft-fp/fixunstfti.c: Likewise.
21427         * soft-fp/floatdidf.c: Likewise.
21428         * soft-fp/floatdisf.c: Likewise.
21429         * soft-fp/floatditf.c: Likewise.
21430         * soft-fp/floatsidf.c: Likewise.
21431         * soft-fp/floatsisf.c: Likewise.
21432         * soft-fp/floatsitf.c: Likewise.
21433         * soft-fp/floattidf.c: Likewise.
21434         * soft-fp/floattisf.c: Likewise.
21435         * soft-fp/floattitf.c: Likewise.
21436         * soft-fp/floatundidf.c: Likewise.
21437         * soft-fp/floatundisf.c: Likewise.
21438         * soft-fp/floatunsidf.c: Likewise.
21439         * soft-fp/floatunsisf.c: Likewise.
21440         * soft-fp/floatuntidf.c: Likewise.
21441         * soft-fp/floatuntisf.c: Likewise.
21442         * soft-fp/floatuntitf.c: Likewise.
21443         * soft-fp/fmadf4.c: Likewise.
21444         * soft-fp/fmasf4.c: Likewise.
21445         * soft-fp/fmatf4.c: Likewise.
21446         * soft-fp/gedf2.c: Likewise.
21447         * soft-fp/gesf2.c: Likewise.
21448         * soft-fp/getf2.c: Likewise.
21449         * soft-fp/ledf2.c: Likewise.
21450         * soft-fp/lesf2.c: Likewise.
21451         * soft-fp/letf2.c: Likewise.
21452         * soft-fp/muldf3.c: Likewise.
21453         * soft-fp/mulsf3.c: Likewise.
21454         * soft-fp/multf3.c: Likewise.
21455         * soft-fp/negdf2.c: Likewise.
21456         * soft-fp/negsf2.c: Likewise.
21457         * soft-fp/negtf2.c: Likewise.
21458         * soft-fp/op-1.h: Likewise.
21459         * soft-fp/op-2.h: Likewise.
21460         * soft-fp/op-4.h: Likewise.
21461         * soft-fp/op-8.h: Likewise.
21462         * soft-fp/op-common.h: Likewise.
21463         * soft-fp/quad.h: Likewise.
21464         * soft-fp/single.h: Likewise.
21465         * soft-fp/soft-fp.h: Likewise.
21466         * soft-fp/sqrtdf2.c: Likewise.
21467         * soft-fp/sqrtsf2.c: Likewise.
21468         * soft-fp/sqrttf2.c: Likewise.
21469         * soft-fp/subdf3.c: Likewise.
21470         * soft-fp/subsf3.c: Likewise.
21471         * soft-fp/subtf3.c: Likewise.
21472         * soft-fp/truncdfsf2.c: Likewise.
21473         * soft-fp/trunctfdf2.c: Likewise.
21474         * soft-fp/trunctfsf2.c: Likewise.
21475         * soft-fp/trunctfxf2.c: Likewise.
21476         * soft-fp/unorddf2.c: Likewise.
21477         * soft-fp/unordsf2.c: Likewise.
21478         * soft-fp/unordtf2.c: Likewise.
21479
21480 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21481
21482         [BZ #15672]
21483         * misc/error.c (error_tail): Fix possible buffer overflow.
21484
21485 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21486
21487         [BZ #13028]
21488         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21489         address.
21490
21491 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21492
21493         [BZ #832]
21494         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21495         testing pipefail option.
21496
21497 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21498
21499         * soft-fp/double.h: Indent preprocessor directives inside #if.
21500         * soft-fp/extended.h: Likewise.
21501         * soft-fp/op-2.h: Likewise.
21502         * soft-fp/op-4.h: Likewise.
21503         * soft-fp/op-common.h: Likewise.
21504         * soft-fp/quad.h: Likewise.
21505         * soft-fp/single.h: Likewise.
21506         * soft-fp/soft-fp.h: Likewise.
21507
21508 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21509
21510         * iconv/iconv_prog.c: Fix typos.
21511         * stdio-common/psiginfo-data.h: Likewise.
21512
21513 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21514
21515         [BZ #15764]
21516         * locale/setlocale.c: Fix typo.
21517
21518 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21519
21520         [BZ #16036]
21521         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21522         signaling NaN arguments.
21523         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21524         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21525
21526         [BZ #14910]
21527         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21528         unordered operands.
21529         * soft-fp/gesf2.c (__gesf2): Likewise.
21530         * soft-fp/getf2.c (__getf2): Likewise.
21531         * soft-fp/ledf2.c (__ledf2): Likewise.
21532         * soft-fp/lesf2.c (__lesf2): Likewise.
21533         * soft-fp/letf2.c (__letf2): Likewise.
21534
21535         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21536         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21537         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21538         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21539         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21540         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21541         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21542         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21543         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21544         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21545         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21546         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21547         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21548         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21549         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21550         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21551         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21552         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21553         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21554         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21555         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21556         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21557         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21558         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21559         * soft-fp/floattidf.c (__floattidf): Likewise.
21560         * soft-fp/floattisf.c (__floattisf): Likewise.
21561         * soft-fp/floattitf.c (__floattitf): Likewise.
21562         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21563         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21564         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21565         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21566         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21567         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21568         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21569         * soft-fp/gesf2.c (__gesf2): Likewise.
21570         * soft-fp/getf2.c (__getf2): Likewise.
21571         * soft-fp/ledf2.c (__ledf2): Likewise.
21572         * soft-fp/lesf2.c (__lesf2): Likewise.
21573         * soft-fp/letf2.c (__letf2): Likewise.
21574
21575         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21576         Undefine and redefine.
21577         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21578         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21579         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21580         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21581         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21582         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21583         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21584         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21585         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21586         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21587         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21588         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21589         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21590         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21591         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21592
21593         [BZ #16032]
21594         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21595         without decrementing exponent if mantissa >= that for the
21596         denominator, not >.
21597         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21598         denominator, not >.  Decrement exponent in < case instead of
21599         incrementing in >= case.
21600         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21601         without decrementing exponent if mantissa >= that for the
21602         denominator, not >.
21603
21604         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21605         computing saturated result for unsigned overflow.
21606
21607 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21608             Jeff Law  <law@redhat.com>
21609
21610         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21611         (atan2Mp): Add systemtap probe marker.
21612         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21613         (__ieee754_log): Add systemtap probe marker.
21614         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21615         (atanMp): Add systemtap probe marker.
21616         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21617         (tanMp): Add systemtap probe marker.
21618         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21619         (__slowexp): Add systemtap probe marker.
21620         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21621         (__slowpow): Add systemtap probe marker.
21622         * manual/probes.texi: Document probes.
21623
21624 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21625
21626         [BZ #15362]
21627         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21628         written.
21629         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21630         written.
21631         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21632         written to buffer but not flushed.
21633         * libio/iofwrite_u.c:  Likewise.
21634         * libio/iopadn.c:  Return bytes returned even if EOF was
21635         encountered.
21636         * libio/iowpadn.c:  Likewise.
21637         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21638         if _IO_padn does not write the whole buffer.
21639         [!COMPILE_WPRINTF] (PAD): Likewise.
21640
21641 2013-10-10  David S. Miller  <davem@davemloft.net>
21642
21643         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21644         directory block.
21645
21646 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21647
21648         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21649         instead of FSF address.
21650         * soft-fp/fixdfti.c: Likewise.
21651         * soft-fp/fixsfti.c: Likewise.
21652         * soft-fp/fixtfti.c: Likewise.
21653         * soft-fp/fixunsdfti.c: Likewise.
21654         * soft-fp/fixunssfti.c: Likewise.
21655         * soft-fp/fixunstfti.c: Likewise.
21656         * soft-fp/floattidf.c: Likewise.
21657         * soft-fp/floattisf.c: Likewise.
21658         * soft-fp/floattitf.c: Likewise.
21659         * soft-fp/floatuntidf.c: Likewise.
21660         * soft-fp/floatuntisf.c: Likewise.
21661         * soft-fp/floatuntitf.c: Likewise.
21662         * soft-fp/trunctfxf2.c: Likewise.
21663
21664         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21665         * soft-fp/fixdfti.c: Likewise.
21666         * soft-fp/fixsfti.c: Likewise.
21667         * soft-fp/fixtfti.c: Likewise.
21668         * soft-fp/fixunsdfti.c: Likewise.
21669         * soft-fp/fixunssfti.c: Likewise.
21670         * soft-fp/fixunstfti.c: Likewise.
21671         * soft-fp/floattidf.c: Likewise.
21672         * soft-fp/floattisf.c: Likewise.
21673         * soft-fp/floattitf.c: Likewise.
21674         * soft-fp/floatuntidf.c: Likewise.
21675         * soft-fp/floatuntisf.c: Likewise.
21676         * soft-fp/floatuntitf.c: Likewise.
21677         * soft-fp/trunctfxf2.c: Likewise.
21678
21679 2013-10-10  David S. Miller  <davem@davemloft.net>
21680
21681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21682
21683 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21684
21685         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21686         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21687         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21688         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21689         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21690         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21691         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21692
21693         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21694         for NaNs before doing comparisons on argument.
21695         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21696         Likewise.
21697
21698 2013-10-10  Will Newton  <will.newton@linaro.org>
21699
21700         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21701         passed to _int_memalign does not overflow.
21702
21703 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21704
21705         * scripts/bench.pl: Add include-sources directive.
21706         * benchtests/README: Update documentation.
21707
21708 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21709
21710         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21711         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21712         instead of FP_INIT_ROUNDMODE.
21713         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21714         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21715
21716         [BZ #16034]
21717         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21718         copy class of input value.
21719         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21720         not handle exceptions.
21721         * soft-fp/negsf2.c (__negsf2): Likewise.
21722         * soft-fp/negtf2.c (__negtf2): Likewise.
21723         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21724
21725 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21726
21727         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21728         semicolon.  From Linux kernel.
21729
21730 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21731
21732         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21733
21734 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21735
21736         [BZ #156]
21737         * manual/socket.texi: Added statement about buffer
21738         for gethostbyname2_r.
21739
21740 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21741
21742         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21743         Use .p2align directive instead, throughout.
21744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21745         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21746         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21747         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21748         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21749         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21750         * sysdeps/x86_64/strchr.S: Likewise.
21751         * sysdeps/x86_64/strrchr.S: Likewise.
21752
21753 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21754
21755         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21756
21757         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21758
21759         * sysdeps/generic/math_private.h (__mpsin1): Remove
21760         declaration.
21761         (__mpcos1): Likewise.
21762         (__mpsin): New argument __range_reduce.
21763         (__mpcos): Likewise.
21764         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21765         (slow): Use __mpsin and __mpcos.
21766         (slow1): Likewise.
21767         (slow2): Likewise.
21768         (sloww): Likewise.
21769         (sloww1): Likewise.
21770         (sloww2): Likewise.
21771         (bsloww): Likewise.
21772         (bsloww1): Likewise.
21773         (bsloww2): Likewise.
21774         (cslow2): Likewise.
21775         (csloww): Likewise.
21776         (csloww1): Likewise.
21777         (csloww2): Likewise.
21778         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21779         range_reduce.  Merge in __mpsin1.
21780         (__mpcos): Likewise.
21781         (__mpsin1): Remove.
21782         (__mpcos1): Likewise.
21783
21784 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21785
21786         * locale/loadlocale.c (_nl_intern_locale_data): Use
21787         LOCFILE_ALIGNED_P.
21788         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21789         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21790         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21791         obstack data is appropriately aligned.
21792         (obstack_int32_grow_fast): Likewise.
21793         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21794         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21795         (add_locale_uint32_array): Likewise.
21796
21797 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21798
21799         * benchtests/Makefile: Remove ARGLIST and RET variables.
21800         ($(objpfx)bench-%.c): Pass only function name to the script.
21801         * benchtests/README: Update documentation.
21802         * benchtests/acos-inputs: Add new directives.
21803         * benchtests/acosh-inputs: Likewise.
21804         * benchtests/asin-inputs: Likewise.
21805         * benchtests/asinh-inputs: Likewise.
21806         * benchtests/atan-inputs: Likewise.
21807         * benchtests/atanh-inputs: Likewise.
21808         * benchtests/cos-inputs: Likewise.
21809         * benchtests/cosh-inputs: Likewise.
21810         * benchtests/exp-inputs: Likewise.
21811         * benchtests/log-inputs: Likewise.
21812         * benchtests/pow-inputs: Likewise.
21813         * benchtests/rint-inputs: Likewise.
21814         * benchtests/sin-inputs: Likewise.
21815         * benchtests/sinh-inputs: Likewise.
21816         * benchtests/tan-inputs: Likewise.
21817         * benchtests/tanh-inputs: Likewise.
21818         * scripts/bench.pl: Add support for new directives.
21819
21820 2013-10-07  Alan Modra  <amodra@gmail.com>
21821
21822         * README: Fix careless merge.
21823
21824 2013-10-05  Alan Modra  <amodra@gmail.com>
21825
21826         * NEWS: Mention powerpc64le support and bugs fixed.
21827         * README: Both big-endian and little-endian powerpc64 supported.
21828
21829 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21830
21831         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21832         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21833         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21834         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21835
21836 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21837
21838         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21839         match prototype.
21840
21841 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21842
21843         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21844         Move -mhard-float appending from
21845         ports/sysdeps/powerpc/powerpc32/Makefile.
21846         [$(with-fp) = yes] (ASFLAGS): Likewise.
21847         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21848         * sysdeps/powerpc/nofpu: Move directory from
21849         ports/sysdeps/powerpc/nofpu.
21850         * sysdeps/powerpc/soft-fp: Move directory from
21851         ports/sysdeps/powerpc/soft-fp.
21852         * sysdeps/powerpc/powerpc32/405: Move directory from
21853         ports/sysdeps/powerpc/powerpc32/405.
21854         * sysdeps/powerpc/powerpc32/440: Move directory from
21855         ports/sysdeps/powerpc/powerpc32/440.
21856         * sysdeps/powerpc/powerpc32/464: Move directory from
21857         ports/sysdeps/powerpc/powerpc32/464.
21858         * sysdeps/powerpc/powerpc32/476: Move directory from
21859         ports/sysdeps/powerpc/powerpc32/476.
21860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21861         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21863         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21865         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21867         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21869         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21870         * README: Update for powerpc-*-linux-gnu software floating point
21871         support in libc.
21872
21873         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21874         case to powerpc/powerpc32*.
21875         * sysdeps/unix/sysv/linux/configure: Regenerated.
21876
21877         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21878         (_FPU_MASK_OM): Define as 0x04.
21879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21881         0x00c10080.
21882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21883         0x0000003c.
21884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21885
21886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21887         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21888         getcontext_e500.
21889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21890         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21891         setcontext_e500.
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21893         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21894         and setcontext_e500.
21895
21896 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21897
21898         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21899
21900 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21901
21902         * manual/threads.texi (Default Thread Attributes): Fix typo.
21903
21904 2013-10-04  Will Newton  <will.newton@linaro.org>
21905
21906         * malloc/Makefile: Add tst-memalign.
21907         * malloc/tst-memalign.c: New file.
21908
21909         * malloc/tst-posix_memalign.c: Add comments.
21910         (do_test): Add comments and call free on all potentially
21911         allocated pointers. Add space after cast.
21912
21913         * malloc/tst-pvalloc.c: Add comments.
21914         (do_test): Add comments and call free on all potentially
21915         allocated pointers. Remove duplicate check for NULL pointer.
21916         Add space after cast.
21917
21918         * malloc/tst-valloc.c: Add comments.
21919         (do_test): Add comments and call free on all potentially
21920         allocated pointers. Remove duplicate check for NULL pointer.
21921         Add space after cast.
21922
21923 2013-10-04  Alan Modra  <amodra@gmail.com>
21924
21925         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21926         Use stdint types in rather than __attribute__((mode())).
21927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21928
21929 2013-10-04  Alan Modra  <amodra@gmail.com>
21930
21931         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21932         Correct handling of unaligned relocs for little-endian.
21933         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21934
21935 2013-10-04  Alan Modra  <amodra@gmail.com>
21936
21937         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21938         * configure: Regenerate.
21939         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21940         * shlib-versions: Likewise.
21941
21942 2013-10-04  Alan Modra  <amodra@gmail.com>
21943
21944         * string/tester.c (test_memrchr): Increment reported test cycle.
21945
21946 2013-10-04  Alan Modra  <amodra@gmail.com>
21947
21948         * string/test-memcpy.c (do_one_test): When reporting errors, print
21949         string address and don't overrun end of string.
21950
21951 2013-10-04  Alan Modra  <amodra@gmail.com>
21952
21953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21954         insrdi.  Make better use of reg selection to speed exit slightly.
21955         Schedule entry path a little better.  Remove useless "are we done"
21956         checks on entry to main loop.  Handle wrapping around zero address.
21957         Correct main loop count.  Handle single left-over word from main
21958         loop inline rather than by using loop_small.  Remove extra word
21959         case in loop_small caused by wrong loop count.  Add little-endian
21960         support.
21961         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21962         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21963         cache hint.
21964         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21965         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21966         support.  Avoid rlwimi.
21967         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21968
21969 2013-10-04  Alan Modra  <amodra@gmail.com>
21970
21971         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21972         insrdi.  Formatting.
21973         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21974         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21975         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21976         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21977         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21978         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21979
21980 2013-10-04  Alan Modra  <amodra@gmail.com>
21981
21982         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21983         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21984         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21985         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21986         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21987         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21988         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21990         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21991         use of regs.  Use power7 mtocrf.  Tidy function tails.
21992
21993 2013-10-04  Alan Modra  <amodra@gmail.com>
21994
21995         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21996         Formatting.  Consistently use rXXX register defines or rN defines.
21997         Use early exit labels that avoid restoring unused non-volatile regs.
21998         Make cr field use more consistent with rWORDn compares.  Rename
21999         regs used as shift registers for unaligned loop, using rN defines
22000         for short lifetime/multiple use regs.
22001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22002         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22003         addi 1,1,64 to pop stack frame.  Simplify return value code.
22004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22005
22006 2013-10-04  Alan Modra  <amodra@gmail.com>
22007
22008         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22009         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22010         rather than rlwimi.
22011         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22012         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22013         little-endian support.  Correct typos.
22014         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22015         rather than rlwimi.
22016         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22017         in loop and entry code to keep "and." results.
22018         (strchr): Add little-endian support.  Comment.  Move cntlzd
22019         earlier in tail.
22020         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22021
22022 2013-10-04  Alan Modra  <amodra@gmail.com>
22023
22024         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22025         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22026         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22027         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22028
22029 2013-10-04  Alan Modra  <amodra@gmail.com>
22030
22031         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22032         (rTMP): Define as r11.
22033         (strcmp): Add little-endian support.  Optimise tail.
22034         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22035         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22036         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22037         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22038         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22040         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22041
22042 2013-10-04  Alan Modra  <amodra@gmail.com>
22043
22044         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22045         little-endian support.  Remove unnecessary "are we done" tests.
22046         Handle "s" wrapping around zero and extremely large "size".
22047         Correct main loop count.  Handle single left-over word from main
22048         loop inline rather than by using small_loop.  Correct comments.
22049         Delete "zero" tail, use "end_max" instead.
22050         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22051
22052 2013-10-04  Alan Modra  <amodra@gmail.com>
22053
22054         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22055         support.  Don't branch over align.
22056         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22057         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22058         support.  Rearrange tmp reg use to suit.  Comment.
22059         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22060
22061 2013-10-04  Alan Modra  <amodra@gmail.com>
22062
22063         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22064
22065 2013-10-04  Alan Modra  <amodra@gmail.com>
22066
22067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22068         conditional form of branch and link when obtaining pc.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22070
22071 2013-10-04  Alan Modra  <amodra@gmail.com>
22072
22073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22074         HIWORD/LOWORD.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22077
22078 2013-10-04  Alan Modra  <amodra@gmail.com>
22079
22080         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22081         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22082         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22083         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22084         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22085         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22086         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22087         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22088         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22089         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22090
22091 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22092             Alistair Popple <alistair@ozlabs.au.ibm.com>
22093             Alan Modra <amodra@gmail.com>
22094
22095         [BZ #15723]
22096         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22097         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22098         _dl_hwcap access for little-endian.
22099         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22100         destroy vmx regs when saving unaligned.
22101         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22102         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22103         destroy vmx regs when saving unaligned.
22104
22105 2013-10-04  Alan Modra  <amodra@gmail.com>
22106
22107         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22108         Don't use a union to pack hi/low value.
22109
22110 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22111
22112         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22113         for little-endian.
22114         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22116         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22117         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22118         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22119
22120 2013-10-04  Alan Modra  <amodra@gmail.com>
22121
22122         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22123         constants to usual value for .cst8 section, and remove redundant
22124         high address load.
22125         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22126         constant for 0x1p52.  Load little-endian words of double from
22127         correct stack offsets.
22128
22129 2013-10-04  Alan Modra  <amodra@gmail.com>
22130
22131         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22132         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22133         words of double from correct stack offsets.
22134         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22135         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22136         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22137         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22138         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22139         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22140         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22141         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22142         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22143         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22144         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22145         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22146         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22147         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22148         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22149         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22150         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22151
22152 2013-10-04  Alan Modra  <amodra@gmail.com>
22153
22154         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22155         64-bit int/double union.
22156         (_FPU_SETCW): Likewise.
22157         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22158         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22159
22160 2013-10-04  Alan Modra  <amodra@gmail.com>
22161
22162         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22163         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22164
22165 2013-10-04  Alan Modra  <amodra@gmail.com>
22166
22167         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22168         use vector int constants.
22169         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22170
22171 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22172
22173         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22174         array with long long.
22175         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22176         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22177         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22178         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22179         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22180         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22181         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22184         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22185         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22186         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22187         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22188
22189 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22190
22191         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22192         (__signbit): Likewise.  Correct for little-endian.
22193         (__signbitl): Call __signbit.
22194         (lrint): Correct for little-endian.
22195         (lrintf): Call lrint.
22196
22197 2013-10-04  Alan Modra  <amodra@gmail.com>
22198
22199         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22200         union 32-bit int array member with 64-bit int array.
22201         (t515, tm256): Double rather than long double.
22202         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22203
22204 2013-10-04  Alan Modra  <amodra@gmail.com>
22205
22206         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22207         Delete.
22208         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22210         version of math_ldbl.h.
22211
22212 2013-10-04  Alan Modra  <amodra@gmail.com>
22213
22214         [BZ #15734], [BZ #15735]
22215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22216         all uses of ieee875 long double macros and unions.  Simplify test
22217         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22218         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22219         normalize after ldbl_extract_mantissa, and don't add hidden bit
22220         already handled.  Don't treat low word of ieee854 mantissa like
22221         low word of IBM long double and mask off bit when testing for
22222         zero.
22223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22224         all uses of ieee875 long double macros and unions.  Simplify tests
22225         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22226         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22227         two1022, instead use their values.  Recognise that tests for large
22228         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22229         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22230         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22231         test for 0.0L and nan.  Correct negation.
22232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22233         ieee875 long double macros and unions.  Correct output for large
22234         magnitude x.  Correct absolute value calculation.
22235         (__erfcl): Likewise.
22236         * math/libm-test.inc: Add tests for errors discovered in IBM long
22237         double versions of fmodl, remainderl, erfl and erfcl.
22238
22239 2013-10-04  Alan Modra  <amodra@gmail.com>
22240
22241         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22242         all uses of ieee854 long double macros and unions.  Simplify tests
22243         for long doubles that are fully specified by the high double.
22244         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22245         Likewise.
22246         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22247         Remove dead code too.
22248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22249         (__ieee754_ynl): Likewise.
22250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22253         Remove dead code too.
22254         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22255         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22256         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22257         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22258         Simplify.
22259         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22260         Simplify.
22261         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22262         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22263         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22264         Comment on variable precision.
22265         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22266         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22267         Likewise.
22268         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22269         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22271         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22272         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22273
22274 2013-10-04  Alan Modra  <amodra@gmail.com>
22275
22276         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22277         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22278         all uses of ieee854 long double macros and unions.
22279         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22281         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22283         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22284         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22285         Likewise.
22286         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22287         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22288         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22289         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22290         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22291         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22292         Simplify sign and nan test too.
22293         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22294         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22295         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22296         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22297         Likewise.
22298         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22299         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22300         Likewise.
22301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22302         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22303         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22304         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22305         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22306         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22307
22308 2013-10-04  Alan Modra  <amodra@gmail.com>
22309
22310         * stdio-common/printf_size.c (__printf_size): Don't use
22311         union ieee854_long_double in fpnum union.
22312         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22313         signbit macro to retrieve sign from long double.
22314         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22315         retrieve sign from long double.
22316         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22317         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22318         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22319         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22320         * math/test-misc.c (main): Don't use union ieee854_long_double.
22321
22322 2013-10-04  Alan Modra  <amodra@gmail.com>
22323
22324         [BZ #15680]
22325         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22326         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22327         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22328         calculation.  Remove unnecessary test for denormal exponent.
22329         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22330         Correct handling of denormals.  Avoid undefined shift behaviour.
22331         Correct normalisation of low mantissa when low double is denormal.
22332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22333         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22334         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22335         Correct normalisation of low mantissa.  Test for overflow of high
22336         mantissa and normalise.
22337         (ldbl_nearbyint): Use more readable constant for two52.
22338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22339         (__mpn_construct_long_double): Fix test for overflow of high
22340         mantissa and correct normalisation.  Avoid undefined shift.
22341
22342 2013-10-04  Alan Modra  <amodra@gmail.com>
22343
22344         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22345         (union ibm_extended_long_double): Define as an array of ieee754_double.
22346         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22347         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22348         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22352         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22353         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22354         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22356         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22357
22358 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22359
22360         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22361         page size instead of calling getpagesize.
22362
22363         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22364         (LOCFILE_ALIGN_MASK): Likewise.
22365         (LOCFILE_ALIGN_UP): Likewise.
22366         (LOCFILE_ALIGNED_P): Likewise.
22367         * locale/programs/ld-collate.c (collate_output): Use the new
22368         macros instead of __alignof__ (int32_t).
22369         * locale/weight.h (findidx): Likewise.
22370
22371 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22372
22373         [BZ #431]
22374         * manual/string.texi: Fix strncat and wcsncat.
22375
22376 2013-10-03  Brooks Moses  <bmoses@google.com>
22377
22378         [BZ #15915]
22379         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22380         * Makerules: ...here, and adjust associated comments.
22381
22382 2013-10-02  Will Newton  <will.newton@linaro.org>
22383
22384         * malloc/Makefile: Add tst-pvalloc.
22385         * malloc/tst-pvalloc.c: New file.
22386
22387 2013-10-02  Will Newton  <will.newton@linaro.org>
22388
22389         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22390         improve test coverage.
22391
22392 2013-10-02  Will Newton  <will.newton@linaro.org>
22393
22394         * malloc/Makefile: Add tst-posix_memalign.
22395         * malloc/tst-posix_memalign.c: New file.
22396
22397 2013-10-01  Eric Blake  <eblake@redhat.com>
22398
22399         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22400         Use __THROWNL rather than __THROW on static functions.
22401
22402 2013-09-30  Petr Machata  <pmachata@redhat.com>
22403
22404         * elf/elf.h (R_AARCH64_ABS16): New macro.
22405         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22406         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22407         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22408         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22409         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22410         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22411         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22412         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22413         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22414         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22415         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22416         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22417         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22418         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22419         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22420         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22421         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22422         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22423         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22424         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22425         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22426         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22427         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22428         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22429         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22430         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22431         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22432         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22433         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22434         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22435         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22436         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22437         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22438         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22439         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22440         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22441         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22442         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22443         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22444         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22445         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22446         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22447         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22448         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22449         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22450         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22451         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22452         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22453         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22454         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22455         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22456         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22457         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22458         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22459         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22460         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22461         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22462         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22463         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22464         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22465         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22466         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22467         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22468         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22469         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22470         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22471         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22472         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22473         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22474         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22475         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22476         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22477         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22478         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22479         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22480         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22481         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22482         (R_AARCH64_TLSDESC_LDR): Likewise.
22483         (R_AARCH64_TLSDESC_ADD): Likewise.
22484         (R_AARCH64_TLSDESC_CALL): Likewise.
22485
22486 2013-09-30  Andreas Schwab  <schwab@suse.de>
22487
22488         [BZ #15048]
22489         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22490         the nss database lookup.
22491         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22493
22494 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22495
22496         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22497
22498 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22499
22500         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22501         ${Bash-specific parameter/pattern/string} parameter expansion.
22502         * sysdeps/unix/make-syscalls.sh: Likewise.
22503
22504 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22505
22506         * sysdeps/sh/stackguard-macros.h: New file.
22507
22508 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22509
22510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22512         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22513         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22514         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22515         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22516
22517 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22518
22519         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22520         Fix thread ID register.
22521
22522 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22523
22524         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22525         [POSIX || UNIX98]: Require rather than permitting all symbols from
22526         <time.h>.
22527         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22528         element of struct sched_param.
22529         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22530         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22531         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22532         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22533         constant.
22534
22535 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22536
22537         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22538         argument calculation.
22539
22540 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22541
22542         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22543         Expect macro.
22544         [POSIX] (pthread_attr_t): Do not require type.
22545         [POSIX] (pthread_cond_t): Likewise.
22546         [POSIX] (pthread_condattr_t): Likewise.
22547         [POSIX] (pthread_key_t): Likewise.
22548         [POSIX] (pthread_mutex_t): Likewise.
22549         [POSIX] (pthread_mutexattr_t): Likewise.
22550         [POSIX] (pthread_once_t): Likewise.
22551         [POSIX] (pthread_t): Likewise.
22552         [POSIX-based standards] (pthread_atfork): Expect function.
22553
22554 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22555             Richard Sandiford  <richard@codesourcery.com>
22556
22557         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22558         (swap_endianness_p): New extern variable.
22559         (set_big_endian): New inline function.
22560         (maybe_swap_uint32): Likewise.
22561         (maybe_swap_uint32_array): Likewise.
22562         (maybe_swap_uint32_obstack): Likewise.
22563         * locale/programs/locfile.c: Include <stdbool.h>.
22564         (swap_endianness_p): New variable.
22565         (add_locale_uint32): Call maybe_swap_uint32.
22566         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22567         (write_locale_data): Call maybe_swap_uint32_array.
22568         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22569         maybe_swap_uint32.
22570         (obstack_int32_grow_fast): Likewise.
22571         (output_weightwc): Call maybe_swap_uint32_obstack.
22572         (collate_output): Likewise.
22573         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22574         (OPT_LITTLE_ENDIAN): Likewise.
22575         (options): Add --little-endian and --big-endian options.
22576         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22577         * locale/programs/locarchive.c: Include "locfile.h".
22578         (GET): New macro.
22579         (SET): Likewise.
22580         (INC): Likewise.
22581         (create_archive): Use the new macros to access fields of
22582         structures directly mapped from or written to locale archives.
22583         (oldlocrecentcmp): Likewise.
22584         (enlarge_archive): Likewise.
22585         (insert_name): Likewise.
22586         (add_alias): Likewise.
22587         (add_locale): Likewise.
22588         (delete_locales_from_archive): Likewise.
22589         (show_archive_content): Likewise.
22590         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22591         locale data.
22592
22593 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22594
22595         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22596         http://www.gnu.org/doc/freemanuals.texi.
22597         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22598
22599 2013-09-24  Will Newton  <will.newton@linaro.org>
22600
22601         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22602         macro.
22603
22604 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22605
22606         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22607         unsigned char.
22608
22609 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22610
22611         * manual/threads.texi (POSIX Threads): Fix a typo.
22612
22613 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22614
22615         [BZ #14547]
22616         * string/tst-strcoll-overflow.c: New test case.
22617         * string/Makefile (xtests): Add tst-strcoll-overflow.
22618         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22619         cache if string sizes may cause integer overflow.
22620
22621         [BZ #14547]
22622         * string/strcoll_l.c (coll_seq): New members rule, idx,
22623         save_idx and back_us.
22624         (get_next_seq_nocache): New function.
22625         (do_compare_nocache): New function.
22626         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22627         when malloc fails.
22628
22629 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22630
22631         [BZ #15754]
22632         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22633         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22634         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22635
22636         [BZ #15754]
22637         * elf/Makefile (tests): Add tst-ptrguard1.
22638         (tests-static): Add tst-ptrguard1-static.
22639         (tst-ptrguard1-ARGS): Define.
22640         (tst-ptrguard1-static-ARGS): Define.
22641         * elf/tst-ptrguard1.c: New file.
22642         * elf/tst-ptrguard1-static.c: New file.
22643         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22644         * sysdeps/i386/stackguard-macros.h: Likewise.
22645         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22646         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22647         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22648         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22649         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22650         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22651
22652 2013-09-23  Hector Marco  <hecmargi@upv.es>
22653             Ismael Ripoll  <iripoll@disca.upv.es>
22654             Carlos O'Donell  <carlos@redhat.com>
22655
22656         [BZ #15754]
22657         * sysdeps/generic/stackguard-macros.h: Define
22658         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22659         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22660         Define __pointer_chk_guard_local.
22661         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22662         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22663
22664 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22665
22666         [BZ #15859]
22667         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22668
22669 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22670
22671         * include/string.h (__ffs): Declare as hidden.
22672         * string/ffs.c (__ffs): Define as hidden.
22673         * sysdeps/i386/ffs.c (__ffs): Likewise.
22674         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22675         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22676         * sysdeps/s390/ffs.c (__ffs): Likewise.
22677         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22678
22679 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22680
22681         * NEWS: Mention malloc probes.
22682
22683         * malloc/arena.c (new_heap): New memory_heap_new probe.
22684         (grow_heap): New memory_heap_more probe.
22685         (shrink_heap): New memory_heap_less probe.
22686         (heap_trim): New memory_heap_free probe.
22687         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22688         (systrim): New memory_sbrk_less probe.
22689         * manual/probes.texi: Document them.
22690
22691         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22692         * manual/probes.texi: Document it.
22693
22694         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22695         (__libc_realloc): Add memory_realloc_retry probe.
22696         (__libc_memalign): Add memory_memalign_retry probe.
22697         (__libc_valloc): Add memory_valloc_retry probe.
22698         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22699         (__libc_calloc): Add memory_calloc_retry probe.
22700         * manual/probes.texi: Document them.
22701
22702         * malloc/arena.c (get_free_list): Add probe
22703         memory_arena_reuse_free_list.
22704         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22705         and memory_arena_reuse.
22706         (arena_get2) [!PER_THREAD]: Likewise.
22707         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22708         memory_arena_reuse_realloc.
22709         * manual/probes.texi: Document them.
22710
22711         * malloc/malloc.c (__libc_free): Add
22712         memory_mallopt_free_dyn_thresholds probe.
22713         (__libc_mallopt): Add multiple memory_mallopt probes.
22714         * manual/probes.texi: Document them.
22715
22716         * malloc/malloc.c: Include stap-probe.h.
22717         (__libc_mallopt): Add memory_mallopt probe.
22718         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22719         * manual/probes.texi: New.
22720         * manual/Makefile (chapters): Add probes.
22721         * manual/threads.texi: Set next node.
22722
22723 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22724
22725         [BZ #15963, #13985]
22726         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22727         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22728         Add `Chinese' to `nan' entry name.
22729
22730 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22731
22732         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22733         (POLYNOMIAL): Likewise.
22734         (TAYLOR_SINCOS): Likewise.
22735         (TAYLOR_SLOW): Likewise.
22736         (__sin): Use TAYLOR_SINCOS.
22737         (__cos): Likewise.
22738         (slow): Use TAYLOR_SLOW.
22739         (sloww): Likewise.
22740         (bsloww): Likewise.
22741         (csloww): Likewise.
22742
22743 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22744
22745         * stdlib/strtod_l.c: Fix buffer overrun.
22746
22747 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22748
22749         * benchtests/Makefile (bench): Add sincos.
22750         * benchtests/bench-sincos.c: New file.
22751
22752         * math/libm-test.inc (cos_test_data): New test inputs.
22753         (sin_test_data): Likewise.
22754
22755         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22756         macro.
22757         (__sin): Use it.
22758         (__cos): Likewise.
22759         (slow1): Likewise.
22760         (slow2): Likewise.
22761         (sloww1): Likewise.
22762         (sloww2): Likewise.
22763         (bsloww1): Likewise.
22764         (bsloww2): Likewise.
22765         (cslow2): Likewise.
22766         (csloww1): Likewise.
22767         (csloww2): Likewise.
22768
22769         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22770         function.
22771         (__sin): Use it.
22772         (__cos): Likewise.
22773
22774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22775         gotos.
22776         (__cos): Likewise.
22777
22778 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22779
22780         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22781         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22782         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22783         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22784         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22785         * elf/cache.c (print_entry): Handle the new cache flags.
22786
22787 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22788             Aldy Hernandez  <aldyh@redhat.com>
22789
22790         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22791         Change condition to [_SOFT_FLOAT].
22792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22804         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22807         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22808         declaration.
22809
22810 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22811
22812         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22813         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22814         (__longjmp): Use LOAD_GP to load saved GPRs.
22815         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22816         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22817         (__sigsetjmp): Use SAVE_GP to save GPRs.
22818
22819         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22820         Do not append -msoft-float.
22821         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22822
22823 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22824
22825         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22826
22827 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22828
22829         [BZ #15966]
22830         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22831         (_FPU_GETCW): Use initial "__" on variable and field names but not
22832         on macro parameter name.
22833         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22834         parentheses around reference to macro parameter.
22835
22836 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22837
22838         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22839         prototype.
22840         (ctype_startup): Use uint32_t in cast and sizeof for
22841         ctype->charnames.
22842
22843 2013-09-11  Jia Liu  <proljc@gmail.com>
22844
22845         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22846         __daddr_t_defined.
22847         [__FreeBSD__]: Likewise.
22848
22849 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22850
22851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22852         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22853         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22854         (strchr): Remove __strchr_sse42 ifunc selection.
22855         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22856         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22857
22858 2013-09-11  Will Newton  <will.newton@linaro.org>
22859
22860         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22861         parameter to RES. Remove hardcoded 1000 value.
22862         * benchtests/bench-skeleton.c (main): Pass RES parameter
22863         to TIMING_INIT and multiply result by 1000.
22864
22865 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22866
22867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22868
22869 2013-09-11  Andreas Schwab  <schwab@suse.de>
22870
22871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22872         if not defined.
22873         (O_TMPFILE) [__USE_GNU]: Define.
22874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22875         Define.
22876
22877 2013-09-11  Will Newton  <will.newton@linaro.org>
22878
22879         [BZ #15857]
22880         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22881         does not overflow.
22882
22883 2013-09-11  Will Newton  <will.newton@linaro.org>
22884
22885         [BZ #15856]
22886         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22887         does not overflow.
22888
22889 2013-09-11  Will Newton  <will.newton@linaro.org>
22890
22891         [BZ #15855]
22892         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22893         does not overflow.
22894
22895 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22896
22897         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22898         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22899         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22900         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22901         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22902
22903 2013-09-10  Allan McRae  <allan@archlinux.org>
22904
22905         [BZ #15748]
22906         * manual/arith.texi (Parsing of Floats): Clarify
22907         cross-reference.
22908
22909         [BZ #15849]
22910         * manual/install.texi (Running make install): Mention
22911         --enable-pt-chown.
22912         * INSTALL: Regenerated.
22913
22914 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22915
22916         * csu/init-first.c (_init): Remove the !SHARED condition around
22917         FPU control word initialization.
22918         * elf/dl-support.c (_dl_fpu_control): New variable.
22919         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22920         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22921         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22922         * math/test-fpucw-static.c: New file.
22923         * math/test-fpucw-ieee.c: New file.
22924         * math/test-fpucw-ieee-static.c: New file.
22925         * math/Makefile (tests): Add `test-fpucw-ieee' and
22926         `$(tests-static)'.
22927         (tests-static): New variable.
22928         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22929         dependency to...
22930         [($(build-shared),yes)]
22931         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22932         ... this.
22933         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22934         New dependency.
22935
22936 2013-09-09  Allan McRae  <allan@archlinux.org>
22937
22938         [BZ #15939]
22939         * manual/string.texi (Collation Functions): Fix typo in
22940         strcoll example.
22941         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22942
22943         [BZ #15893]
22944         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22945
22946         [BZ #15892]
22947         * libio/memstream.c (open_memstream): Fix memory leak.
22948         * libio/wmemstream.c (open_wmemstream): Likewise.
22949
22950         [BZ #15895]
22951         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22952
22953 2013-09-09  Will Newton  <will.newton@linaro.org>
22954
22955         * malloc/Makefile: Add tst-realloc to tests.
22956         * malloc/tst-realloc.c: New file.
22957
22958 2013-09-09  Allan McRae  <allan@archlinux.org>
22959
22960         [BZ #15844]
22961         * COPYING: Update from GNU website to fix FSF address.
22962         * COPYING.LIB: Likewise.
22963
22964 2013-09-06  David S. Miller  <davem@davemloft.net>
22965
22966         * po/zh_TW.po: Update Chinese (traditional) translation from
22967         translation project.
22968
22969 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22970             Joseph Myers  <joseph@codesourcery.com>
22971
22972         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22973         "localeinfo.h".
22974         (obstack_chunk_alloc): New macro.
22975         (obstack_chunk_free): Likewise.
22976         (record_offset): New function.
22977         (init_locale_data): Likewise.
22978         (align_locale_data): Likewise.
22979         (add_locale_empty): Likewise.
22980         (add_locale_raw_data): Likewise.
22981         (add_locale_raw_obstack): Likewise.
22982         (add_locale_string): Likewise.
22983         (add_locale_wstring): Likewise.
22984         (add_locale_uint32): Likewise.
22985         (add_locale_uint32_array): Likewise.
22986         (add_locale_char): Likewise.
22987         (start_locale_structure): Likewise.
22988         (end_locale_structure): Likewise.
22989         (start_locale_prelude): Likewise.
22990         (end_locale_prelude): Likewise.
22991         (write_locale_data): Take locale_file structure rather than an
22992         iovec.
22993         * locale/programs/locfile.h: Include "obstack.h".
22994         (struct locale_file): Change to store locale file contents instead
22995         of header.
22996         (init_locale_data): New prototype.
22997         (align_locale_data): Likewise.
22998         (add_locale_empty): Likewise.
22999         (add_locale_raw_data): Likewise.
23000         (add_locale_raw_obstack): Likewise.
23001         (add_locale_string): Likewise.
23002         (add_locale_wstring): Likewise.
23003         (add_locale_uint32): Likewise.
23004         (add_locale_uint32_array): Likewise.
23005         (add_locale_char): Likewise.
23006         (start_locale_structure): Likewise.
23007         (end_locale_structure): Likewise.
23008         (start_locale_prelude): Likewise.
23009         (end_locale_prelude): Likewise.
23010         (write_locale_data): Update prototype.
23011         * locale/programs/3level.h (struct TABLE): Remove result field.
23012         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23013         Use new locale_file interface.
23014         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23015         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23016         * locale/programs/ld-address.c (address_output): Use new
23017         locale_file interface.
23018         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23019         NO_ADD_LOCALE.
23020         (collate_finish): Don't call collseq_table_finalize.
23021         (collate_output): Use new locale_file interface.
23022         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23023         in file.
23024         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23025         (TABLE): Move defines earlier in file.
23026         (ELEMENT): Likewise.
23027         (DEFAULT): Likewise.
23028         (wctrans_table_add): Move macro and inline function earlier in
23029         file.
23030         (struct wctype_table): Move type earlier in file.
23031         (add_locale_wctype_table): New static prototype.
23032         (struct locale_ctype_t): Use logical types instead of struct iovec
23033         pointers for members.
23034         (ctype_output): Use new locale_file interface.
23035         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23036         new locale_file interface.
23037         (allocate_arrays): Update for use of new locale_file interface.
23038         * locale/programs/ld-identification.c (identification_output): Use
23039         new locale_file interface.
23040         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23041         * locale/programs/ld-messages.c (messages_output): Likewise.
23042         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23043         * locale/programs/ld-name.c (name_output): Likewise.
23044         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23045         * locale/programs/ld-paper.c (paper_output): Likewise.
23046         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23047         * locale/programs/ld-time.c (time_output): Likewise.
23048
23049 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23050
23051         * benchtests/Makefile: Add memrchr benchmark.
23052         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23053         benchmark as memrchr.
23054         * benchtests/bench-memrchr-ifunc.c: New file.
23055         * benchtests/bench-memrchr.c: New file.
23056
23057 2013-09-06   Will Newton  <will.newton@linaro.org>
23058
23059         * benchtests/Makefile (string-bench): Add memcpy.
23060
23061 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23062             Cong Wang  <amwang@redhat.com>
23063
23064         [BZ #15850]
23065         * sysdeps/unix/sysv/linux/bits/in.h
23066         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23067         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23068         before __USE_KERNEL_IPV6_DEFS uses.
23069         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23070         IPPROTO_BEETPH.
23071         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23072         sockaddr_in6, or ipv6_mreq.
23073
23074 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23075
23076         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23077         memory access for final bytes in some large inputs.
23078         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23079
23080 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23081
23082         * string/test-memrchr.c: New file.
23083         * string/test-memrchr-ifunc.c: New file.
23084         * string/Makefile: Add new memrchr testcase.
23085
23086 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23087
23088         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23089         fanotify_init returns EPERM.
23090
23091 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23092
23093         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23094         errors.
23095         (top level): Treat second token from macro or constant entries for
23096         allowed headers as allowed.
23097         * include/complex.h: Condition internal declarations on
23098         [!_ISOMAC].
23099         * include/fenv.h: Condition include of <stdbool.h> and internal
23100         declarations on [!_ISOMAC].
23101
23102 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23103
23104         [BZ #15923]
23105         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23106
23107 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23108
23109         * configure.in (--enable-versioning): Remove configure option.
23110         (libc_cv_asm_symver_directive): Remove configure test.
23111         (libc_cv_ld_version_script_option): Likewise.
23112         (VERSIONING): Remove variable and AC_SUBST.
23113         (DO_VERSIONING): Remove AC_DEFINE.
23114         * configure: Regenerated.
23115         * config.h.in (DO_VERSIONING): Remove macro.
23116         * Makerules [$(versioning) = yes]: Change conditionals to
23117         [$(build-shared) = yes].
23118         * config.make.in (versioning): Remove variable.
23119         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23120         [$(build-shared) = yes].
23121         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23122         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23123         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23124         [$(build-shared) = yes].
23125         * extra-lib.mk [$(versioning) = yes]: Likewise.
23126         * hurd/Makefile [$(versioning) = yes]: Likewise.
23127         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23128         [SHARED].
23129         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23130         [SHARED].
23131         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23132         [SHARED && !NO_HIDDEN].
23133         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23134         [SHARED].
23135         [SHARED && DO_VERSIONING]: Likewise..
23136         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23137         [$(build-shared) = yes].
23138         * manual/install.texi (--disable-versioning): Remove
23139         documentation.
23140         * INSTALL: Regenerated.
23141         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23142         to [SHARED].
23143         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23144         [$(build-shared) = yes].
23145         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23146         * sysdeps/i386/i686/multiarch/strstr-c.c
23147         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23148         [SHARED && !NO_HIDDEN].
23149         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23150         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23151         * sysdeps/powerpc/powerpc32/dl-machine.c
23152         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23153         * sysdeps/powerpc/powerpc32/sysdep.h
23154         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23155         to [SHARED && PIC && !NO_HIDDEN].
23156         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23157         conditional to [SHARED].
23158
23159 2013-09-04   Will Newton  <will.newton@linaro.org>
23160
23161         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23162         * benchtests/bench-string.h: Include bench-timing.h instead
23163         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23164         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23165         call to HP_TIMING_DIFF_INIT.
23166         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23167         instead of hp-timing.h macros.
23168         * benchtests/bench-memchr.c: Likewise.
23169         * benchtests/bench-memcmp.c: Likewise.
23170         * benchtests/bench-memcpy.c: Likewise.
23171         * benchtests/bench-memmem.c: Likewise.
23172         * benchtests/bench-memmove.c: Likewise.
23173         * benchtests/bench-memset.c: Likewise.
23174         * benchtests/bench-rawmemchr.c: Likewise.
23175         * benchtests/bench-strcasecmp.c: Likewise.
23176         * benchtests/bench-strcasestr.c: Likewise.
23177         * benchtests/bench-strcat.c: Likewise.
23178         * benchtests/bench-strchr.c: Likewise.
23179         * benchtests/bench-strcmp.c: Likewise.
23180         * benchtests/bench-strcpy.c: Likewise.
23181         * benchtests/bench-strcpy_chk.c: Likewise.
23182         * benchtests/bench-strlen.c: Likewise.
23183         * benchtests/bench-strncasecmp.c: Likewise.
23184         * benchtests/bench-strncat.c: Likewise.
23185         * benchtests/bench-strncmp.c: Likewise.
23186         * benchtests/bench-strncpy.c: Likewise.
23187         * benchtests/bench-strnlen.c: Likewise.
23188         * benchtests/bench-strpbrk.c: Likewise.
23189         * benchtests/bench-strrchr.c: Likewise.
23190         * benchtests/bench-strspn.c: Likewise.
23191         * benchtests/bench-strstr.c: Likewise.
23192
23193 2013-09-04  Will Newton  <will.newton@linaro.org>
23194
23195         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23196
23197 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23198
23199         [BZ #15427]
23200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23201         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23202         * math/libm-test.inc (lgamma_test_data): Add more tests.
23203         * sysdeps/i386/fpu/libm-test-ulps: Update.
23204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23205
23206 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23207
23208         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23210         Add ifunc.
23211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23212         Add strcmp-sse2-unaligned
23213         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23214
23215 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23216
23217         * Versions.def (libc): Add GLIBC_2.19.
23218
23219 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23220
23221         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23222         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23223
23224 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23225
23226         [BZ #14155]
23227         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23228         intermediate calculations in recurrence.
23229         (__ieee754_ynf): Likewise.
23230         * math/libm-test.inc (jn_test_data): Do not allow spurious
23231         underflow exception.  Add more tests.
23232         (yn_test_data): Add more tests.
23233         * sysdeps/i386/fpu/libm-test-ulps: Update.
23234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23235
23236 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23237
23238         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23239
23240 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23241
23242         * csu/init-first.c: Fix then/than typos.
23243         * locale/programs/ld-collate.c: Likewise.
23244         * locale/programs/linereader.h: Likewise.
23245         * manual/charset.texi: Likewise.
23246         * manual/filesys.texi: Likewise.
23247         * manual/stdio.texi: Likewise.
23248         * manual/string.texi: Likewise.
23249         * stdlib/fmtmsg.c: Likewise.
23250         * sysdeps/i386/stpncpy.S: Likewise.
23251         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23252         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23253         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23254         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23255
23256 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23257
23258         * elf/dl-open.c: Fix typos.
23259         * iconvdata/gbbig5.c: Likewise.
23260         * iconvdata/iso-2022-jp.c: Likewise.
23261         * iconv/gconv_int.h: Likewise.
23262         * iconv/loop.c: Likewise.
23263         * nis/rpcsvc/nis.h: Likewise.
23264         * resolv/ns_name.c: Likewise.
23265         * stdio-common/vfscanf.c: Likewise.
23266         * streams/stropts.h: Likewise.
23267         * sunrpc/rpc_thread.c: Likewise.
23268         * sysdeps/i386/strpbrk.S: Likewise.
23269         * sysdeps/ieee754/k_standard.c: Likewise.
23270         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23271         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23272         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23273         * sysdeps/mach/hurd/profil.c: Likewise.
23274         * sysdeps/s390/dl-procinfo.h: Likewise.
23275         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23276         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23277         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23278         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23279         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23280
23281 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23282
23283         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23285
23286 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23287
23288         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23289         aix specific files.
23290         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23291         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23292         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23293         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23294         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23295         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23296         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23297         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23298
23299 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23300             Roland McGrath  <roland@hack.frob.com>
23301
23302         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23303         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23304
23305 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23306
23307         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23308         __executable_start symbol instead of _start.
23309
23310 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23311
23312         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23313         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23314         Move macros to...
23315         * sysdeps/gnu/ldsodefs.h: ... this new file.
23316
23317         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23318         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23319         instead of ELFOSABI_LINUX.
23320
23321         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23322         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23323         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23324         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23325         Likewise.
23326         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23327         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23328         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23329         Likewise.
23330         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23331         (ibm_extended_long_double): Add ieee_nan member.
23332         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23333         (do_test): New function.
23334
23335         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23336         TEST_TRUNC.
23337         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23338         functions, renamed from truncdfsf_test, trunctfsf_test,
23339         trunctfdf_test.
23340         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23341         functions.
23342         (do_test): Run all these.
23343
23344 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23345
23346         * argp/argp-help.c: Fix typos.
23347         * argp/argp-parse.c: Likewise.
23348         * debug/backtracesyms.c: Likewise.
23349         * elf/elf.h: Likewise.
23350         * malloc/malloc.c: Likewise.
23351         * nis/nis_print.c: Likewise.
23352         * resolv/res_comp.c: Likewise.
23353         * stdlib/stdlib.h: Likewise.
23354         * sunrpc/clnt_tcp.c: Likewise.
23355         * sunrpc/clnt_udp.c: Likewise.
23356         * sunrpc/clnt_unix.c: Likewise.
23357         * sysdeps/unix/bsd/ptsname.c: Likewise.
23358         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23359         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23361         Likewise.
23362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23363         Likewise.
23364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23365         Likewise.
23366         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23367
23368 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23369
23370         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23372
23373 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23374
23375         [BZ #15897]
23376         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23377         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23378         ($(objpfx)bug-dl-leaf): New rule.
23379         ($(objpfx)bug-dl-leaf.so): Likewise.
23380         ($(objpfx)bug-dl-leaf.out): Likewise.
23381         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23382         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23383         * dlfcn/bug-dl-leaf.c: New test.
23384         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23385         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23386         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23387         (dlclose): Likewise.
23388         (dlmopen): Likewise.
23389
23390 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23391
23392         * include/netdb.h [!_ISOMAC]:
23393         Don't include <tls.h>.
23394         (h_errno, __libc_h_errno): Move declaration and macros out of
23395         [_LIBC_REENTRANT].
23396
23397         * include/resolv.h [_RESOLV_H_]:
23398         Don't include <tls.h>.
23399         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23400         * resolv/res_libc.c: Don't include <tls.h>.
23401         (_res): Use __attribute__ ((nocommon)) in place of
23402         __attribute__ ((section (".bss"))).
23403
23404         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23405         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23406
23407         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23408
23409         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23410         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23411
23412         * resolv/res_mkquery.c: Include <sys/time.h>.
23413
23414         * inet/ifreq.c: Moved to ...
23415         * sysdeps/unix/ifreq.c: ... here.
23416         * inet/ifreq.c: New file, true stub version.
23417
23418         * socket/sa_len.c: New file.
23419         * socket/Makefile (aux): Add it.
23420         * sysdeps/unix/sysv/linux/Makefile
23421         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23422         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23423         and #include <socket/sa_len.c>.
23424         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23425         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23426
23427         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23428         * bits/socket.h: ... here.
23429
23430         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23431         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23432         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23433
23434 2013-08-27  Andreas Schwab  <schwab@suse.de>
23435
23436         [BZ #15736]
23437         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23438         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23439         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23440         * string/test-strcasecmp.c (test_main): Run tests in several
23441         locales.
23442         * string/test-strncasecmp.c (test_main): Likewise.
23443
23444         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23445         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23446         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23448         (__strncasecmp_ssse3) [PIC]: Likewise.
23449
23450 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23451
23452         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23453
23454         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23455         instead of explicitly declaring xdecrypt.
23456         * nis/nss_nis/nis-publickey.c: Likewise.
23457
23458 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23459
23460         [BZ #15890]
23461         * nscd/aicache.c: Include res_hconf.h.
23462         (addhstaiX): Initialize res_hconf.
23463
23464 2013-08-26  Andreas Schwab  <schwab@suse.de>
23465
23466         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23467         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23468
23469 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23470
23471         * nscd/aicache.c (addhstaiX): Fix indentation.
23472
23473 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23474
23475         * configure.ac: Quote $build_pt_chown test.
23476         * configure: Regenerated.
23477
23478 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23479
23480         [BZ #15532]
23481         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23482         * math/s_cexpf.c (__cexpf): Likewise.
23483         * math/s_cexpl.c (__cexpl): Likewise.
23484         * math/libm-test.inc (cexp_test_data): Correct expected return
23485         value for NaN + i0.  Add another test.
23486
23487 2013-08-22  David S. Miller  <davem@davemloft.net>
23488
23489         * po/ca.po: Update Catalan translation from translation project.
23490         * po/uk.po: Add Ukrainian translations from translation project.
23491
23492 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23493
23494         [BZ #15797]
23495         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23496         is infinite, not alongside NaN test.
23497         * math/s_fdimf.c (__fdimf): Likewise.
23498         * math/s_fdiml.c (__fdiml): Likewise.
23499         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23500         errno is unchanged.
23501
23502 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23503
23504         * argp/argp-help.c: Fix typos.
23505         * crypt/speeds.c: Likewise.
23506         * csu/check_fds.c: Likewise.
23507         * elf/dl-load.c: Likewise.
23508         * elf/dl-open.c: Likewise.
23509         * elf/reldep3.c: Likewise.
23510         * elf/reldep.c: Likewise.
23511         * elf/sprof.c: Likewise.
23512         * iconv/iconv_charmap.c: Likewise.
23513         * iconv/skeleton.c: Likewise.
23514         * iconv/strtab.c: Likewise.
23515         * io/lockf64.c: Likewise.
23516         * libio/libioP.h: Likewise.
23517         * resolv/gai_notify.c: Likewise.
23518         * resolv/ns_name.c: Likewise.
23519         * resolv/ns_samedomain.c: Likewise.
23520         * resolv/res_send.c: Likewise.
23521         * stdlib/random.c: Likewise.
23522         * sunrpc/rpc/xdr.h: Likewise.
23523         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23524         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23525         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23526         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23530         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23531         * sysdeps/mach/hurd/check_fds.c: Likewise.
23532         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23533         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23536         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23537         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23538         * sysdeps/pthread/aio_notify.c: Likewise.
23539         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23540         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23541         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23542         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23543         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23544
23545 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23546
23547         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23548         version if bit_Slow_SSE4_2 is set.
23549         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23550         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23551
23552 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23553
23554         [BZ #15867]
23555         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23556         trampoline stack frame information.
23557         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23559         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23560         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23561         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23562         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23563         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23564         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23565         sa_flags value.
23566         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23567         interrupting a syscall and set with option SA_SIGINFO.
23568
23569 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23570
23571         [BZ #15531]
23572         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23573         argument is infinite.
23574         * math/s_cprojf.c (__cprojf): Likewise.
23575         * math/s_cprojl.c (__cprojl): Likewise.
23576         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23577         * math/libm-test.inc (cproj_test_data): Add more tests.
23578
23579         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23580
23581         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23582         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23583         size.  Use __ffs to determine corresponding shift.
23584
23585 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23586             Roland McGrath  <roland@hack.frob.com>
23587
23588         * Makefile (INSTALL): Remove trailing blank lines from output of
23589         makeinfo.
23590
23591 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23592
23593         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23594         Align 32 bit compat elf_greg to 8 bytes.
23595
23596 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23597
23598         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23599
23600 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23601
23602         * string/strcoll_l.c (coll_seq): New structure.
23603         (get_next_seq_cached): New function.
23604         (get_next_seq): New function.
23605         (do_compare): New function.
23606         (STRCOLL): Use GNU style definition.  Simplify implementation
23607         by using get_next_seq, get_next_seq_cached and do_compare.
23608
23609 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23610
23611         [BZ #14699]
23612         CVE-2013-4237
23613         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23614         member.
23615         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23616         member.
23617         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23618         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23619         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23620         conditional.
23621         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23622         GETDENTS_64BIT_ALIGNED.
23623         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23624         * manual/filesys.texi (Reading/Closing Directory): Document
23625         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23626         strongly.
23627         * manual/conf.texi (Limits for Files): Add portability note to
23628         NAME_MAX, PATH_MAX.
23629         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23630
23631 2013-08-13  Andreas Schwab  <schwab@suse.de>
23632
23633         [BZ #15749]
23634         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23635         of fabs.
23636         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23637         LDBL_MAX_EXP >= 16384]: Add tests for it.
23638
23639 2013-08-12  David S. Miller  <davem@davemloft.net>
23640
23641         * version.h (RELEASE): Set to "development".
23642         (VERSION): Set to "2.18.90".
23643         * NEWS: Add 2.19 section.
23644
23645 2013-08-03  David S. Miller  <davem@davemloft.net>
23646
23647         * po/ko.po: Update Korean translation from translation project.
23648
23649 2013-08-01  David S. Miller  <davem@davemloft.net>
23650
23651         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23652         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23653         Bilka.
23654
23655 2013-07-30  David S. Miller  <davem@davemloft.net>
23656
23657         * po/fr.po: Update French translation from translation project.
23658
23659 2013-07-28  David S. Miller  <davem@davemloft.net>
23660
23661         * po/cs.po: Update Czech translation from translation project.
23662
23663         * po/sv.po: Update Swedish translation from translation project.
23664
23665 2013-07-27  David S. Miller  <davem@davemloft.net>
23666
23667         * po/eo.po: Update Esperanto translation from translation project.
23668
23669         * po/vi.po: Update Vietnamese translation from translation project.
23670
23671         * po/de.po: Update German translation from translation project.
23672
23673 2013-07-26  David S. Miller  <davem@davemloft.net>
23674
23675         * po/bg.po: Update Bulgarian translation from translation project.
23676
23677         * po/nl.po: Update Dutch translation from translation project.
23678         * po/pl.po: Update Polish translation from translation project.
23679         * po/ru.po: Update Russian translation from translation project.
23680
23681 2013-07-24  David S. Miller  <davem@davemloft.net>
23682
23683         * po/libc.pot: Update.
23684
23685 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23686
23687         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23688         variable page size.
23689         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23690         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23691         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23692
23693 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23694
23695         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23696
23697 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23698             Andreas Schwab  <schwab@suse.de>
23699             Roland McGrath  <roland@hack.frob.com>
23700             Joseph Myers  <joseph@codesourcery.com>
23701             Carlos O'Donell  <carlos@redhat.com>
23702
23703         [BZ #15755]
23704         * config.h.in: Define HAVE_PT_CHOWN.
23705         * config.make.in (build-pt-chown): New variable.
23706         * configure.in (--enable-pt_chown): New configure option.
23707         * configure: Regenerate.
23708         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23709         build-pt-chown is enabled.
23710         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23711         pt_chown to fix pty ownership.
23712         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23713         CLOSE_ALL_FDS.
23714         * manual/install.texi (Configuring and compiling): Mention
23715         --enable-pt_chown. Add @findex for grantpt.
23716         * INSTALL: Regenerate.
23717
23718 2013-07-20  David S. Miller  <davem@davemloft.net>
23719
23720         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23721         difference between 32-bit and 64-bit.
23722
23723 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23724
23725         [BZ #15711]
23726         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23727         Avoid system header dependency with -ffreestanding.
23728         ($(objpfx)bits/syscall%d): Likewise.
23729
23730 2013-07-13  David S. Miller  <davem@davemloft.net>
23731
23732         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23733         underflows from atanl/atan2l due to bug 15319.
23734         (casinh_test_data): Likewise.
23735
23736 2013-07-07  David S. Miller  <davem@davemloft.net>
23737
23738         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23739
23740 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23741
23742         * sysdeps/i386/fpu/libm-test-ulps: Update.
23743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23744
23745 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23746
23747         * configure.in (--enable-lock-elision): Fix message text.
23748         * INSTALL: Regenerate.
23749         * configure: Regenerate.
23750
23751 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23752
23753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23754
23755 2013-07-03  Andreas Jaeger  <aj@suse.de>
23756
23757         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23758         define.
23759         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23760         (ptrace_peeksiginfo_args): Add.
23761         (__ptrace_peeksiginfo_flags): Add.
23762         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23763         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23765
23766 2013-07-03  Allan McRae  <allan@archlinux.org>
23767
23768         * sysdeps/i386/fpu/libm-test-ulps: Update.
23769
23770 2013-07-02  David S. Miller  <davem@davemloft.net>
23771
23772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23773
23774 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23775
23776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23777
23778 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23779
23780         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23782
23783 2013-07-02  Andi Kleen <ak@linux.intel.com>
23784
23785         * config.h.in (ENABLE_LOCK_ELISION): Add.
23786         * configure.in (--enable-lock-elision): Add option.
23787         * manual/install.texi: Document --enable lock elision.
23788         * configure: Regenerate
23789         * INSTALL: Regenerate.
23790
23791 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23792
23793         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23794         SSE4.2 strcasecmp for libc.a.
23795         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23796
23797 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23798
23799         [BZ #13304]
23800         * soft-fp/op-common.h (_FP_FMA): New macro.
23801         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23802         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23803         (_FP_MUL_MEAT_1_imm): ... here.
23804         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23805         (_FP_MUL_MEAT_1_wide): ... here.
23806         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23807         (_FP_MUL_MEAT_1_hard): ... here.
23808         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23809         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23810         (_FP_MUL_MEAT_2_wide): ... here.
23811         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23812         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23813         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23814         (_FP_MUL_MEAT_2_gmp): ... here.
23815         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23816         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23817         (_FP_MUL_MEAT_4_wide): ... here.
23818         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23819         (_FP_MUL_MEAT_4_gmp): ... here.
23820         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23821         (_FP_WFRACBITS_DW_S): Likewise.
23822         (_FP_WFRACXBITS_DW_S): Likewise.
23823         (_FP_HIGHBIT_DW_S): Likewise.
23824         (FP_FMA_S): Likewise.
23825         (_FP_FRAC_HIGH_DW_S): Likewise.
23826         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23827         (_FP_WFRACBITS_DW_D): Likewise.
23828         (_FP_WFRACXBITS_DW_D): Likewise.
23829         (_FP_HIGHBIT_DW_D): Likewise.
23830         (FP_FMA_D): Likewise.
23831         (_FP_FRAC_HIGH_DW_D): Likewise.
23832         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23833         (_FP_WFRACBITS_DW_E): Likewise.
23834         (_FP_WFRACXBITS_DW_E): Likewise.
23835         (_FP_HIGHBIT_DW_E): Likewise.
23836         (FP_FMA_E): Likewise.
23837         (_FP_FRAC_HIGH_DW_E): Likewise.
23838         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23839         (_FP_WFRACBITS_DW_Q): Likewise.
23840         (_FP_WFRACXBITS_DW_Q): Likewise.
23841         (_FP_HIGHBIT_DW_Q): Likewise.
23842         (FP_FMA_Q): Likewise.
23843         (_FP_FRAC_HIGH_DW_Q): Likewise.
23844         * soft-fp/fmasf4.c: New file.
23845         * soft-fp/fmadf4.c: Likewise.
23846         * soft-fp/fmatf4.c: Likewise.
23847
23848 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23849
23850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23851         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23852         Silvermont.
23853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23854         macro.
23855         (index_Slow_SSE4_2): Likewise.
23856         (index_Prefer_PMINUB_for_stringop): Likewise.
23857         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23858         bit_Slow_SSE4_2 is set.
23859         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23860         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23861
23862 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23863
23864         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23865         rtld_global._dl_hwcap2.
23866         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23867         POWER8.
23868         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23869         POWER8 feature descriptions defined in _dl_hwcap2.
23870         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23871         string handling for POWER8 feature bits.
23872         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23873         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23874         _dl_powerpc_cap_flags.
23875         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23876         * sysdeps/powerpc/rtld-global-offsets.sym
23877         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23878         _dl_hwcap2 in the rtld_global_ro structure.
23879
23880 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23881
23882         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23883         hardware capabilities in support of AT_HWCAP2.
23884         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23885         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23886         GLRO(dl_hwcap2).
23887         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23888         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23889         explicitly the unknown a_type display mechanism is used.
23890         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23891         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23892         struct member.
23893         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23894         to macro prototype for AT_HWCAP2 support.
23895         * sysdeps/i386/dl-procinfo.h: Likewise.
23896         * sysdeps/s390/dl-procinfo.h: Likewise.
23897         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23898         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23899         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23900         return -1 for unknown a_type display fallback.
23901         * sysdeps/sparc/dl-procinfo.h: Likewise.
23902         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23903         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23904
23905 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23906
23907         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23908         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23909
23910 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23911
23912         [BZ #12492]
23913         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23914         mprotect making __stack_prot writable.
23915
23916 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23917             Joseph Myers  <joseph@codesourcery.com>
23918
23919         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23920         as being properly aligned.
23921
23922 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23923
23924         * dlfcn/modstatic5.c: New file.
23925         * dlfcn/tststatic5.c: New file.
23926         * dlfcn/Makefile (tests): Add tststatic5.
23927         (tests-static): Likewise.
23928         (modules-names): Add modstatic5.
23929         (tststatic5-ENV): New variable.
23930         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23931
23932         [BZ #15022]
23933         * elf/dl-support.c (_dl_main_map): New variable.
23934         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23935         (_dl_nns, _dl_load_adds): Set to 1.
23936         (_dl_initial_searchlist): Refer to _dl_main_map.
23937         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23938         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23939         call to _dl_get_origin.
23940         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23941         around call_map.
23942         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23943         * dlfcn/modstatic3.c: New file.
23944         * dlfcn/tststatic3.c: New file.
23945         * dlfcn/tststatic4.c: New file.
23946         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23947         (tests-static): Likewise.
23948         (modules-names): Add modstatic3.
23949         (tststatic3-ENV, tststatic4-ENV): New variables.
23950         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23951         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23952
23953 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23954
23955         * configure.in (CC): Require GCC version 4.4 or later.
23956         * configure: Regenerated.
23957         * manual/install.texi (Tools for Compilation): Update GCC version
23958         requirement.
23959         * INSTALL: Regenerated.
23960
23961 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23962
23963         [BZ #15674]
23964         * string/test-memcmp.c (check2): New.
23965         (main): Call check2.
23966
23967         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23968
23969 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23970
23971         [BZ #15022]
23972         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23973         over to...
23974         (dl_open_worker) [!SHARED]: ... here.
23975
23976 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23977
23978         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23979
23980 2013-06-25  Richard Henderson  <rth@redhat.com>
23981
23982         * locale/programs/locarchive.c: Include <libc-internal.h>
23983
23984 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23985
23986         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23987         trailing whitespace removed.
23988
23989 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23990
23991         [BZ #10283]
23992         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23993         * locale/programs/locarchive.c: Include libc-mmap.h.
23994         (prepare_address_space): Take two new outputs (the mmap base and len).
23995         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23996         values.
23997         (create_archive): Declare new mmap base and len values for
23998         prepare_address_space, and store the result in ah.
23999         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24000         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24001         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24002         Declare new mmap base and len values for
24003         prepare_address_space, and store the result in new_ah.
24004         (open_archive): Declare new mmap base and len values for
24005         prepare_address_space, and store the result in ah.
24006         (close_archive): If ah->mmap_base is not NULL, use that and
24007         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24008         * sysdeps/generic/libc-mmap.h: New file.
24009
24010 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24011
24012         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24013         (ALIGN_UP): Likewise.
24014         (PTR_ALIGN_DOWN): Likewise.
24015         (PTR_ALIGN_UP): Likewise.
24016
24017 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24018
24019         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24020         entry mapped to PPC_PLATFORM_POWER8.
24021         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24022         POWER8.
24023         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24024         (_dl_string_platform): Add case for exporting platform position for
24025         POWER8.
24026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24027         search path to sysdeps/powerpc/powerpc32/power8 directory.
24028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24029         search path to sysdeps/powerpc/powerpc64/power8 directory.
24030         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24031         power7 directories.
24032         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24033         power7 directories.
24034
24035 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24036
24037         * INSTALL: Regenerate.
24038
24039         * nscd/connections.c (nscd_init): Fix comment.
24040
24041 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24042
24043         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24044
24045         [BZ #15667]
24046         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24047         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24048
24049 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24050
24051         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24052         DL_DST_REQ_STATIC.
24053         (DL_DST_REQ_STATIC): Remove macro.
24054
24055 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24056
24057         [BZ #7006]
24058         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24059         with a shift of 0 bits.
24060
24061 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24062
24063         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24064         $(tststatic-ENV).
24065
24066 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24067
24068         [BZ #15655]
24069         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24070
24071 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24072
24073         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24074         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24075         accepts -fno-tree-loop-distribute-patterns.
24076         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24077         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24078         recursive call.
24079         * string/memset.c (memset): Likewise.
24080         * string/test-memmove.c (simple_memmove): Disable loop transformation
24081         to library calls.
24082         * string/test-memset.c (simple_memset): Likewise.
24083         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24084         * benchtests/bench-memset.c (simple_memset): Likewise.
24085         * configure: Regenerated.
24086
24087 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24088
24089         * math/test-misc.c (main): Ignore fesetround failure when failures
24090         of subsequent rounding tests would be ignored.
24091
24092         [BZ #15654]
24093         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24094         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24095         * math/fegetenv.c (__fegetenv): Return 0.
24096         * math/fegetexcept.c (fegetexcept): Return 0.
24097         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24098         FE_TONEAREST.
24099         * math/feholdexcpt.c (feholdexcept): Return 0.
24100         * math/fesetenv.c (__fesetenv): Return 0.
24101         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24102         argument FE_TONEAREST.
24103         * math/feupdateenv.c (__feupdateenv): Return 0.
24104         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24105
24106 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24107
24108         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24109         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24110         ($(objpfx)rtld-%.os rules): Use them.
24111
24112 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24113
24114         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24115         fields.
24116
24117 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24118
24119         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24120         length of target pattern, then descending length of dependency pattern.
24121         * configure.in (AWK): Require gawk 3.1.2 or newer.
24122         * manual/install.texi (Tools for Compilation): Say that we do.
24123         * configure: Regenerated.
24124
24125         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24126         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24127         * scripts/sysd-rules.awk: ... this new script.
24128         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24129         than a glob-style pattern.
24130
24131 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24132
24133         * math/test-misc.c (main): Do not treat incorrectly rounded
24134         conversions as failure unless ROUNDING_TESTS passes.
24135
24136 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24137
24138         [BZ #15631]
24139         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24140         restore exception state around main square root computation, then
24141         check for inexactness explicitly.
24142
24143         * math/libm-test.inc (fma_test_data): Add another test.
24144
24145 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146
24147         * manual/threads.texi (Non-POSIX Extensions): New document
24148         node.  Document pthread_getattr_default_np and
24149         pthread_setattr_default_np.
24150
24151         * Versions.def (libpthread): Add GLIBC_2.18.
24152         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24154         Likewise.
24155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24156         Likewise.
24157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24158         Likewise.
24159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24160         Likewise.
24161         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24162         Likewise.
24163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24164         Likewise.
24165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24166         Likewise.
24167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24168         Likewise.
24169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24170         Likewise.
24171
24172 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24173
24174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24175         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24176
24177 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178             H.J. Lu  <hjl.tools@gmail.com>
24179
24180         [BZ #15627]
24181         * sysdeps/x86_64/rtld-memset.c: Remove file.
24182         * sysdeps/x86_64/rtld-memset.S: New file.
24183
24184 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24185
24186         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24187         (test_in_one_mode): Take arguments for whether the rounding mode
24188         is supported for each floating-point type.
24189         (do_test): Pass new arguments to test_in_one_mode using
24190         ROUNDING_TESTS.
24191
24192 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24193
24194         * posix/tst-waitid.c (do_test): Distinguish different instances of
24195         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24196         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24197         before entering the kernel for waitpid.
24198
24199 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24200
24201         * NEWS: Fix note on clock function precision.  Text by Roland
24202         McGrath.
24203
24204 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24205
24206         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24207         it into place only when and if the sanity check passes.
24208
24209 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24210
24211         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24212         output for whether conversion result is exact.  Take argument
24213         indicating whether type is IBM long double.
24214         (round_for_all): Change need_exact field to ibm_ld.
24215         * stdlib/tst-strtod-round.c (struct exactness): New type.
24216         (struct test): Change bool ld_ok field to struct exactness exact.
24217         (TEST): Update all definitions for change to field.
24218         (tests): Regenerate array contents.
24219         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24220         field value.  Check for IBM long double here.
24221         (do_test): Update calls to test_in_one_mode.
24222
24223 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24224
24225         [BZ #12515]
24226         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24227         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24228
24229 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24230
24231         [BZ #15605]
24232         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24233         generated by the compiler on loop optimizations.
24234         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24235         general definitions.
24236
24237 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24238
24239         * math/bug-nextafter.c: Include <math-tests.h>.
24240         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24241         the relevant type.
24242         * math/bug-nexttoward.c: Include <math-tests.h>.
24243         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24244         the relevant type.
24245         * math/test-misc.c: Include <math-tests.h>.
24246         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24247         the relevant type.
24248
24249 2013-06-12  Andreas Jaeger  <aj@suse.de>
24250
24251         * po/ia.po: Update Interlingua translation from translation
24252         project.
24253
24254 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24255
24256         * include/fenv.h: Include stdbool.h.
24257         (struct rm_ctx): New structure.
24258         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24259         Define macro.
24260         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24261         (SET_RESTORE_ROUNDF): Likewise.
24262         (SET_RESTORE_ROUNDL): Likewise.
24263         (SET_RESTORE_ROUND_NOEX): Likewise.
24264         (SET_RESTORE_ROUND_NOEXF): Likewise.
24265         (SET_RESTORE_ROUND_NOEXL): Likewise.
24266         (SET_RESTORE_ROUND_53BIT): Likewise.
24267         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24268         (libc_feresetround_noexf_ctx): Likewise.
24269         (libc_feresetround_noexl_ctx): Likewise.
24270         (libc_feholdsetround_53bit_ctx): Likewise.
24271         (libc_feresetround_53bit_ctx): Likewise.
24272         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24273         (libc_feholdexcept_setround_sse_ctx): New function.
24274         (libc_fesetenv_sse_ctx): Likewise.
24275         (libc_feupdateenv_sse_ctx): Likewise.
24276         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24277         (libc_feholdexcept_setround_387_ctx): Likewise.
24278         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24279         (libc_feholdsetround_387_prec_ctx): Likewise.
24280         (libc_feholdsetround_387_ctx): Likewise.
24281         (libc_feholdsetround_387_53bit_ctx): Likewise.
24282         (libc_feholdsetround_sse_ctx): Likewise.
24283         (libc_feresetround_sse_ctx): Likewise.
24284         (libc_feresetround_387_ctx): Likewise.
24285         (libc_feupdateenv_387_ctx): Likewise.
24286         (libc_feholdexcept_setroundf_ctx): Define macro.
24287         (libc_fesetenvf_ctx): Likewise.
24288         (libc_feupdateenvf_ctx): Likewise.
24289         (libc_feholdsetroundf_ctx): Likewise.
24290         (libc_feresetroundf_ctx): Likewise.
24291         (libc_feholdexcept_setround_ctx): Likewise.
24292         (libc_fesetenv_ctx): Likewise.
24293         (libc_feupdateenv_ctx): Likewise.
24294         (libc_feholdsetround_ctx): Likewise.
24295         (libc_feresetround_ctx): Likewise.
24296         (libc_feholdexcept_setroundl_ctx): Likewise.
24297         (libc_feupdateenvl_ctx): Likewise.
24298         (libc_feholdsetroundl_ctx): Likewise.
24299         (libc_feresetroundl_ctx): Likewise.
24300         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24301         (libc_feresetround_53bit_ctx): Likewise.
24302
24303 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24304
24305         * locale/iso-639.def: Convert to UTF-8.
24306
24307 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24308
24309         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24310         (EXCEPTION_TESTS_double): Likewise.
24311         (EXCEPTION_TESTS_long_double): Likewise.
24312         (EXCEPTION_TESTS): Likewise.
24313         * math/libm-test.inc (test_exceptions): Only test exceptions if
24314         EXCEPTION_TESTS (FLOAT).
24315
24316 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24317
24318         * benchtests/Makefile (string-bench): Add strcpy_chk and
24319         stpcpy_chk.
24320         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24321         * benchtests/bench-stpcpy_chk.c: New file.
24322         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24323         * benchtests/bench-strcpy_chk.c: New file.
24324         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24325         code.
24326         (do_test): Likewise.
24327
24328 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24329
24330         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24331         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24332         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24333         with tabs where appropriate.
24334         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24335         dl-procinfo.h.
24336         [PPC_PLATFORM_PPC440]: Likewise.
24337         [PPC_PLATFORM_PPC464]: Likewise.
24338         [PPC_PLATFORM_PPC476]: Likewise.
24339         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24340         ppc464, and ppc476 platform strings merging from ports/
24341         dl-procinfo.h.
24342
24343 2013-06-11  Andreas Schwab  <schwab@suse.de>
24344
24345         [BZ #14991]
24346         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24347         (from_ucs4_idx): Regenerate.
24348         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24349         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24350         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24351         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24352         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24353         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24354         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24355         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24356         from FROM_LOOP and TO_LOOP specific macros.
24357         (BODY): Handle combining characters.
24358         * iconvdata/BIG5HKSCS.irreversible: Update.
24359         * iconvdata/BIG5HKSCS.precomposed: New file.
24360         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24361         characters.
24362         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24363
24364 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24365
24366         * include/sys/time.h: Fix indentation and add copyright header.
24367
24368         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24369         (do_test): Likewise.
24370         * string/test-memchr.c (do_one_test): Likewise.
24371         (do_test): Likewise.
24372         * string/test-memcmp.c (do_one_test): Likewise.
24373         (do_test): Likewise.
24374         * string/test-memcpy.c (do_one_test): Likewise.
24375         (do_test): Likewise.
24376         * string/test-memmem.c (do_one_test): Likewise.
24377         (do_test): Likewise.
24378         (do_random_tests): Likewise.
24379         * string/test-memmove.c (do_one_test): Likewise.
24380         (do_test): Likewise.
24381         * string/test-memset.c (do_one_test): Likewise.
24382         (do_test): Likewise.
24383         * string/test-rawmemchr.c (do_one_test): Likewise.
24384         (do_test): Likewise.
24385         * string/test-strcasecmp.c (do_one_test): Likewise.
24386         (do_test): Likewise.
24387         * string/test-strcasestr.c (do_one_test): Likewise.
24388         (do_test): Likewise.
24389         * string/test-strcat.c (do_one_test): Likewise.
24390         (do_test): Likewise.
24391         * string/test-strchr.c (do_one_test): Likewise.
24392         (do_test): Likewise.
24393         * string/test-strcmp.c (do_one_test): Likewise.
24394         (do_test): Likewise.
24395         * string/test-strcpy.c (do_one_test): Likewise.
24396         (do_test): Likewise.
24397         * string/test-string.h: Likewise.
24398         (test_init): Likewise.
24399         * string/test-strlen.c (do_one_test): Likewise.
24400         (do_test): Likewise.
24401         * string/test-strncasecmp.c (do_one_test): Likewise.
24402         (do_test): Likewise.
24403         * string/test-strncat.c (do_one_test): Likewise.
24404         (do_test): Likewise.
24405         * string/test-strncmp.c (do_one_test): Likewise.
24406         (do_test_limit): Likewise.
24407         (do_test): Likewise.
24408         * string/test-strncpy.c (do_one_test): Likewise.
24409         (do_test): Likewise.
24410         * string/test-strnlen.c (do_one_test): Likewise.
24411         (do_test): Likewise.
24412         * string/test-strpbrk.c (do_one_test): Likewise.
24413         (do_test): Likewise.
24414         * string/test-strrchr.c (do_one_test): Likewise.
24415         (do_test): Likewise.
24416         * string/test-strspn.c (do_one_test): Likewise.
24417         (do_test): Likewise.
24418         * string/test-strstr.c (do_one_test): Likewise.
24419         (do_test): Likewise.
24420
24421         * benchtests/Makefile (string-bench): Add string benchmarks.
24422         * benchtests/bench-bcopy-ifunc.c: New file.
24423         * benchtests/bench-bcopy.c: New file.
24424         * benchtests/bench-bzero-ifunc.c: New file.
24425         * benchtests/bench-bzero.c: New file.
24426         * benchtests/bench-memccpy-ifunc.c: New file.
24427         * benchtests/bench-memccpy.c: New file.
24428         * benchtests/bench-memchr-ifunc.c: New file.
24429         * benchtests/bench-memchr.c: New file.
24430         * benchtests/bench-memcmp-ifunc.c: New file.
24431         * benchtests/bench-memcmp.c: New file.
24432         * benchtests/bench-memmem-ifunc.c: New file.
24433         * benchtests/bench-memmem.c: New file.
24434         * benchtests/bench-memmove-ifunc.c: New file.
24435         * benchtests/bench-memmove.c: New file.
24436         * benchtests/bench-mempcpy-ifunc.c: New file.
24437         * benchtests/bench-mempcpy.c: New file.
24438         * benchtests/bench-memset-ifunc.c: New file.
24439         * benchtests/bench-memset.c: New file.
24440         * benchtests/bench-rawmemchr-ifunc.c: New file.
24441         * benchtests/bench-rawmemchr.c: New file.
24442         * benchtests/bench-stpcpy-ifunc.c: New file.
24443         * benchtests/bench-stpcpy.c: New file.
24444         * benchtests/bench-stpncpy-ifunc.c: New file.
24445         * benchtests/bench-stpncpy.c: New file.
24446         * benchtests/bench-strcasecmp-ifunc.c: New file.
24447         * benchtests/bench-strcasecmp.c: New file.
24448         * benchtests/bench-strcasestr-ifunc.c: New file.
24449         * benchtests/bench-strcasestr.c: New file.
24450         * benchtests/bench-strcat-ifunc.c: New file.
24451         * benchtests/bench-strcat.c: New file.
24452         * benchtests/bench-strchr-ifunc.c: New file.
24453         * benchtests/bench-strchr.c: New file.
24454         * benchtests/bench-strchrnul-ifunc.c: New file.
24455         * benchtests/bench-strchrnul.c: New file.
24456         * benchtests/bench-strcmp-ifunc.c: New file.
24457         * benchtests/bench-strcmp.c: New file.
24458         * benchtests/bench-strcpy-ifunc.c: New file.
24459         * benchtests/bench-strcpy.c: New file.
24460         * benchtests/bench-strcspn-ifunc.c: New file.
24461         * benchtests/bench-strcspn.c: New file.
24462         * benchtests/bench-strlen-ifunc.c: New file.
24463         * benchtests/bench-strlen.c: New file.
24464         * benchtests/bench-strncasecmp-ifunc.c: New file.
24465         * benchtests/bench-strncasecmp.c: New file.
24466         * benchtests/bench-strncat-ifunc.c: New file.
24467         * benchtests/bench-strncat.c: New file.
24468         * benchtests/bench-strncmp-ifunc.c: New file.
24469         * benchtests/bench-strncmp.c: New file.
24470         * benchtests/bench-strncpy-ifunc.c: New file.
24471         * benchtests/bench-strncpy.c: New file.
24472         * benchtests/bench-strnlen-ifunc.c: New file.
24473         * benchtests/bench-strnlen.c: New file.
24474         * benchtests/bench-strpbrk-ifunc.c: New file.
24475         * benchtests/bench-strpbrk.c: New file.
24476         * benchtests/bench-strrchr-ifunc.c: New file.
24477         * benchtests/bench-strrchr.c: New file.
24478         * benchtests/bench-strspn-ifunc.c: New file.
24479         * benchtests/bench-strspn.c: New file.
24480         * benchtests/bench-strstr-ifunc.c: New file.
24481         * benchtests/bench-strstr.c: New file.
24482
24483         * benchtests/Makefile: Disable parallel execution of targets.
24484         (string-bench): Add memcpy.
24485         (benchset): New variable to store a list of benchmark sets.
24486         (bench-func): Renamed from bench.
24487         (bench-set): New target.
24488         (bench): Depend on bench-func and bench-set.
24489         * benchtests/README: Add section on benchmark sets.
24490         * benchtests/bench-memcpy-ifunc.c: New file.
24491         * benchtests/bench-memcpy.c: New file.
24492         * benchtests/bench-string.h: New file.
24493
24494 2013-06-11  Andreas Schwab  <schwab@suse.de>
24495
24496         [BZ #15577]
24497         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24498         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24499         values in the triple.
24500         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24501         terminator in the group key.
24502
24503 2013-06-11  Andreas Jaeger  <aj@suse.de>
24504
24505         * po/zh_TW.po: Update Chinese (traditional) translation from
24506         translation project.
24507
24508 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24509
24510         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24511         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24512         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24514         (clock_getcpuclockid): Likewise.
24515         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24516         Add weak_alias and libc_hidden_def.
24517         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24518         * rt/clock_gettime.c (clock_gettime): Rename to
24519         __clock_gettime.  Add weak_alias and libc_hidden_def.
24520         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24521         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24522         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24523         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24524         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24525         Likewise.
24526         * rt/clock_settime.c (clock_settime): Rename to
24527         __clock_settime.  Add weak_alias and libc_hidden_def.
24528         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24529
24530 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24531
24532         * mach/err_boot.sub: Remove trailing whitespace.
24533         * mach/err_ipc.sub: Likewise.
24534         * mach/err_mach.sub: Likewise.
24535
24536         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24537         (ROUNDING_TESTS_double): Likewise.
24538         (ROUNDING_TESTS_long_double): Likewise.
24539         (ROUNDING_TESTS): Likewise.
24540         * math/libm-test.inc: Include <math-tests.h>.
24541         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24542         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24543         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24544         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24545
24546 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24547
24548         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24549         of assigning.
24550
24551 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24552
24553         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24554         otherwise empty TRANS lines.
24555         * sysdeps/gnu/errlist.c: Regenerated.
24556
24557         * catgets/gencat.c (error_print): Use (void) in function
24558         definition.
24559         * crypt/crypt_util.c (__init_des): Likewise.
24560         * crypt/speeds.c (Stop): Likewise.
24561         (main): Likewise.
24562         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24563         * inet/ruserpass.c (token): Likewise.
24564         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24565         * intl/localealias.c (extend_alias_table): Likewise.
24566         * intl/plural-exp.c (init_germanic_plural): Likewise.
24567         * libio/fcloseall.c (__fcloseall): Likewise.
24568         * libio/genops.c (_IO_flush_all): Likewise.
24569         (_IO_flush_all_linebuffered): Likewise.
24570         (_IO_cleanup): Likewise.
24571         (_IO_iter_begin): Likewise.
24572         (_IO_iter_end): Likewise.
24573         (_IO_list_lock): Likewise.
24574         (_IO_list_unlock): Likewise.
24575         (_IO_list_resetlock): Likewise.
24576         * libio/getchar.c (getchar): Likewise.
24577         * libio/getchar_u.c (getchar_unlocked): Likewise.
24578         * libio/getwchar.c (getwchar): Likewise.
24579         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24580         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24581         * login/getpt.c (__getpt): Likewise.
24582         * login/tst-utmp.c (main): Likewise.
24583         * malloc/hooks.c (__malloc_check_init): Likewise.
24584         * malloc/malloc.c (__malloc_stats): Likewise.
24585         * malloc/mtrace.c (tr_break): Likewise.
24586         (mtrace): Likewise.
24587         (muntrace): Likewise.
24588         * misc/fstab.c (endfsent): Likewise.
24589         * misc/getclktck.c (__getclktck): Likewise.
24590         * misc/getdtsz.c (__getdtablesize): Likewise.
24591         * misc/gethostid.c (gethostid): Likewise.
24592         * misc/getpagesize.c (__getpagesize): Likewise.
24593         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24594         (__get_nprocs): Likewise.
24595         (__get_phys_pages): Likewise.
24596         (__get_avphys_pages): Likewise.
24597         * misc/getttyent.c (getttyent): Likewise.
24598         (setttyent): Likewise.
24599         (endttyent): Likewise.
24600         * misc/getusershell.c (getusershell): Likewise.
24601         (endusershell): Likewise.
24602         (setusershell): Likewise.
24603         (initshells): Likewise.
24604         * misc/hsearch.c (__hdestroy): Likewise.
24605         * misc/sync.c (sync): Likewise.
24606         * misc/syslog.c (closelog_internal): Likewise.
24607         (closelog): Likewise.
24608         * misc/ttyslot.c (ttyslot): Likewise.
24609         * misc/vhangup.c (vhangup): Likewise.
24610         * posix/fork.c (__fork): Likewise.
24611         * posix/getegid.c (__getegid): Likewise.
24612         * posix/geteuid.c (__geteuid): Likewise.
24613         * posix/getgid.c (__getgid): Likewise.
24614         * posix/getpid.c (__getpid): Likewise.
24615         * posix/getppid.c (__getppid): Likewise.
24616         * posix/getuid.c (__getuid): Likewise.
24617         * posix/pause.c (pause): Likewise.
24618         * posix/setpgrp.c (setpgrp): Likewise.
24619         * posix/setsid.c (__setsid): Likewise.
24620         * posix/test-vfork.c (noop): Likewise.
24621         * resolv/gethnamaddr.c (_endhtent): Likewise.
24622         (_gethtent): Likewise.
24623         (ht_endhostent): Likewise.
24624         (gethostent): Likewise.
24625         (dns_service): Likewise.
24626         * stdlib/drand48.c (drand48): Likewise.
24627         * stdlib/lrand48.c (lrand48): Likewise.
24628         * stdlib/mrand48.c (mrand48): Likewise.
24629         * stdlib/rand.c (rand): Likewise.
24630         * stdlib/random.c (__random): Likewise.
24631         * stdlib/setenv.c (clearenv): Likewise.
24632         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24633         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24634         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24635         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24636         (__get_nprocs): Likewise.
24637         (__get_phys_pages): Likewise.
24638         (__get_avphys_pages): Likewise.
24639         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24640         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24641         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24642         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24643         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24644         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24645         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24646         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24647         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24648         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24649         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24650         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24651         * sysdeps/posix/clock.c (clock): Likewise.
24652         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24653         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24654         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24655         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24656         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24657         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24658         (__get_nprocs_conf): Likewise.
24659         (__get_phys_pages): Likewise.
24660         (__get_avphys_pages): Likewise.
24661         * time/clock.c (clock): Likewise.
24662         * time/tzset.c (__tzname_max): Likewise.
24663
24664 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24665
24666         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24667         (__bswap_32): Do not use "register".
24668         * crypt/crypt.c (_ufc_doit_r): Likewise.
24669         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24670         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24671         * gmon/gmon.c (__monstartup): Likewise.
24672         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24673         * hurd/hurdmalloc.c (more_memory): Likewise.
24674         (malloc): Likewise.
24675         (free): Likewise.
24676         (realloc): Likewise.
24677         (malloc_fork_prepare): Likewise.
24678         (malloc_fork_parent): Likewise.
24679         (malloc_fork_child): Likewise.
24680         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24681         (_svcauth_des): Likewise.
24682         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24683         * inet/inet_net.c (inet_network): Likewise.
24684         * inet/inet_netof.c (inet_netof): Likewise.
24685         * inet/rcmd.c (__validuser2_sa): Likewise.
24686         * io/fts.c (fts_open): Likewise.
24687         (fts_load): Likewise.
24688         (fts_close): Likewise.
24689         (fts_read): Likewise.
24690         (fts_children): Likewise.
24691         (fts_build): Likewise.
24692         (fts_stat): Likewise.
24693         (fts_sort): Likewise.
24694         (fts_alloc): Likewise.
24695         (fts_lfree): Likewise.
24696         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24697         (_IO_file_xsgetn): Likewise.
24698         (_IO_file_xsgetn_mmap): Likewise.
24699         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24700         (_IO_cookie_write): Likewise.
24701         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24702         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24703         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24704         * malloc/obstack.c (_obstack_begin): Likewise.
24705         (_obstack_begin_1): Likewise.
24706         (_obstack_newchunk): Likewise.
24707         (_obstack_allocated_p): Likewise.
24708         (obstack_free): Likewise.
24709         (_obstack_memory_used): Likewise.
24710         * misc/getttyent.c (getttynam): Likewise.
24711         (getttyent): Likewise.
24712         (skip): Likewise.
24713         (value): Likewise.
24714         * misc/getusershell.c (initshells): Likewise.
24715         * misc/syslog.c (__vsyslog_chk): Likewise.
24716         * misc/ttyslot.c (ttyslot): Likewise.
24717         * nis/nis_hash.c (__nis_hash): Likewise.
24718         * posix/fnmatch_loop.c (FCT): Likewise.
24719         * posix/getconf.c (print_all): Likewise.
24720         (main): Likewise.
24721         * posix/getopt.c (exchange): Likewise.
24722         * posix/glob.c (globfree): Likewise.
24723         (prefix_array): Likewise.
24724         (__glob_pattern_type): Likewise.
24725         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24726         (NS_GET32): Likewise.
24727         (NS_PUT16): Likewise.
24728         (NS_PUT32): Likewise.
24729         * resolv/gethnamaddr.c (getanswer): Likewise.
24730         (gethostbyname2): Likewise.
24731         (gethostbyaddr): Likewise.
24732         (_gethtent): Likewise.
24733         (_gethtbyname2): Likewise.
24734         (_gethtbyaddr): Likewise.
24735         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24736         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24737         * resolv/res_init.c (__res_vinit): Likewise.
24738         (net_mask): Likewise.
24739         * resolv/res_mkquery.c (outchar): Likewise.
24740         (PRINT): Likewise.
24741         * stdio-common/printf_fp.c (outchar): Likewise.
24742         (PRINT): Likewise.
24743         * stdio-common/printf_fphex.c (outchar): Likewise.
24744         (PRINT): Likewise.
24745         * stdio-common/printf_size.c (outchar): Likewise.
24746         (PRINT): Likewise.
24747         * stdio-common/test_rdwr.c (main): Likewise.
24748         * stdio-common/tfformat.c (matches): Likewise.
24749         * stdio-common/vfprintf.c (outchar): Likewise.
24750         (printf_unknown): Likewise.
24751         (buffered_vfprintf): Likewise.
24752         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24753         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24754         (ReadFile): Likewise.
24755         * stdlib/qsort.c (SWAP): Likewise.
24756         (_quicksort): Likewise.
24757         * stdlib/setenv.c (__add_to_environ): Likewise.
24758         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24759         * stdlib/strtol_l.c (__strtol_l): Likewise.
24760         * stdlib/tst-strtod.c (main): Likewise.
24761         * stdlib/tst-strtol.c (main): Likewise.
24762         * stdlib/tst-strtoll.c (main): Likewise.
24763         * string/bits/string2.h (__strcmp_cc): Likewise.
24764         (__strcmp_cg): Likewise.
24765         (__strcspn_c1): Likewise.
24766         (__strcspn_c2): Likewise.
24767         (__strcspn_c3): Likewise.
24768         (__strspn_c1): Likewise.
24769         (__strspn_c2): Likewise.
24770         (__strspn_c3): Likewise.
24771         (__strsep_1c): Likewise.
24772         (__strsep_2c): Likewise.
24773         (__strsep_3c): Likewise.
24774         * string/memccpy.c (__memccpy): Likewise.
24775         * string/stpcpy.c (__stpcpy): Likewise.
24776         * string/strcmp.c (strcmp): Likewise.
24777         * string/strrchr.c (strrchr): Likewise.
24778         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24779         Likewise.
24780         * sysdeps/mach/hurd/getcwd.c
24781         (_hurd_canonicalize_directory_name_internal): Likewise.
24782         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24783         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24784         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24785         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24786         Likewise, in both definitions.
24787         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24788         definitions.
24789         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24790         64] (__bswap_64): Likewise.
24791         * time/test_time.c (main): Likewise.
24792         * time/tzfile.c (__tzfile_read): Likewise.
24793         (__tzfile_compute): Likewise.
24794         * time/tzset.c (__tzset_parse_tz): Likewise.
24795         (tzset_internal): Likewise.
24796         (compute_change): Likewise.
24797         * wcsmbs/wcscat.c (__wcscat): Likewise.
24798         * wcsmbs/wcschr.c (wcschr): Likewise.
24799         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24800         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24801         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24802         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24803         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24804         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24805         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24806         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24807         * wcsmbs/wmemset.c (wmemset): Likewise.
24808
24809 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24810
24811         * scripts/config.guess: Update to version 2013-05-16.
24812         * scripts/config.sub: Update to version 2013-04-24.
24813         * scripts/install-sh: Update to version 2011-11-20.07.
24814         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24815         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24816
24817 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24818
24819         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24820         * elf/sln.c: Likewise.
24821         * hurd/hurd/ioctl.h: Likewise.
24822         * hurd/hurdmalloc.c: Likewise.
24823         * hurd/xattr.c: Likewise.
24824         * include/shlib-compat.h: Likewise.
24825         * inet/ruserpass.c: Likewise.
24826         * libio/iofgets_u.c: Likewise.
24827         * libio/iofgetws_u.c: Likewise.
24828         * locale/programs/ld-identification.c: Likewise.
24829         * locale/programs/ld-time.c: Likewise.
24830         * mach/msg-destroy.c: Likewise.
24831         * nss/nss_files/files-netgrp.c: Likewise.
24832         * resolv/res_data.c: Likewise.
24833         * soft-fp/op-1.h: Likewise.
24834         * soft-fp/op-2.h: Likewise.
24835         * soft-fp/op-4.h: Likewise.
24836         * soft-fp/op-common.h: Likewise.
24837         * stdio-common/printf_fphex.c: Likewise.
24838         * stdlib/strtod_l.c: Likewise.
24839         * sunrpc/rpc/clnt.h: Likewise.
24840         * sysdeps/generic/framestate.c: Likewise.
24841         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24842         * sysdeps/i386/bsd-setjmp.S: Likewise.
24843         * sysdeps/i386/__longjmp.S: Likewise.
24844         * sysdeps/i386/setjmp.S: Likewise.
24845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24846         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24847         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24848         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24849         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24850         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24852         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24853         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24854         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24855         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24856         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24858         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24859         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24860         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24861         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24862         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24863         * sysdeps/ieee754/support.c: Likewise.
24864         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24865         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24866         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24867         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24868         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24869         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24870         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24871         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24872         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24873         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24874         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24875         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24876         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24877         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24878         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24879         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24880         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24882
24883 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24884
24885         * posix/transbug.c: Remove executable mode.
24886
24887 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24888
24889         * crypt/speeds.c: Remove trailing whitespace.
24890         * dlfcn/default.c: Likewise.
24891         * elf/ifuncdep2.c: Likewise.
24892         * elf/ifuncmain1.c: Likewise.
24893         * elf/ifuncmain1vis.c: Likewise.
24894         * elf/testobj.h: Likewise.
24895         * elf/tst-stackguard1.c: Likewise.
24896         * gmon/sys/gmon.h: Likewise.
24897         * hurd/hurdmsg.c: Likewise.
24898         * hurd/new-fd.c: Likewise.
24899         * hurd/ports-get.c: Likewise.
24900         * iconvdata/ibm1008_420.c: Likewise.
24901         * inet/tst-getni1.c: Likewise.
24902         * inet/tst-getni2.c: Likewise.
24903         * libio/ioungetc.c: Likewise.
24904         * libio/wfiledoalloc.c: Likewise.
24905         * manual/libm-err-tab.pl: Likewise.
24906         * math/w_dremf.c: Likewise.
24907         * misc/ftruncate.c: Likewise.
24908         * posix/bug-glob2.c: Likewise.
24909         * posix/tst-pcre.c: Likewise.
24910         * posix/wait4.c: Likewise.
24911         * resolv/README: Likewise.
24912         * resolv/res_debug.h: Likewise.
24913         * resolv/tst-inet_ntop.c: Likewise.
24914         * setjmp/bug269-setjmp.c: Likewise.
24915         * soft-fp/extended.h: Likewise.
24916         * soft-fp/op-1.h: Likewise.
24917         * soft-fp/op-2.h: Likewise.
24918         * soft-fp/op-4.h: Likewise.
24919         * soft-fp/op-8.h: Likewise.
24920         * soft-fp/testit.c: Likewise.
24921         * stdio-common/bug16.c: Likewise.
24922         * stdlib/random.c: Likewise.
24923         * sunrpc/rpcsvc/rquota.x: Likewise.
24924         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24925         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24926         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24927         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24928         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24929         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24930         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24931         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24932         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24933         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24934         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24935         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24936         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24937         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24938         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24939         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24940         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24941         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24942         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24943         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24944         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24945         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24946         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24947         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24948         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24951         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24952         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24953         * sysdeps/ieee754/s_lib_version.c: Likewise.
24954         * sysdeps/mach/hurd/check_fds.c: Likewise.
24955         * sysdeps/mach/hurd/getsockname.c: Likewise.
24956         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24957         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24958         * sysdeps/powerpc/bits/link.h: Likewise.
24959         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24960         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24961         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24962         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24963         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24964         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24965         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24966         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24967         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24968         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24969         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24970         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24971         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24972         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24973         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24974         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24975         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24976         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24977         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24978         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24979         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24980         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24982         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24983         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24984         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24985         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24986         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24987         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24988         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24989         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24990         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24991         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24993         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24994         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24995         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24996         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24997         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24998         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24999         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25000         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25001         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25002         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25003         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25004         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25005         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25006         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25007         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25008         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25009         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25011         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25012         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25013         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25014         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25015         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25016         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25017         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25018         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25019         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25020         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25021         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25022         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25023         * sysdeps/powerpc/sysdep.h: Likewise.
25024         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25025         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25026         * sysdeps/sh/dl-trampoline.S: Likewise.
25027         * sysdeps/sh/memset.S: Likewise.
25028         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25029         * sysdeps/sh/strlen.S: Likewise.
25030         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25031         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25032         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25033         * sysdeps/sparc/sparc32/rem.S: Likewise.
25034         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25035         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25036         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25037         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25038         * sysdeps/sparc/sparc32/urem.S: Likewise.
25039         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25040         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25041         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25042         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25043         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25044         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25045         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25046         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25047         * sysdeps/unix/bsd/times.c: Likewise.
25048         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25049         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25053         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25054         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25055         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25056         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25057         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25058         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25059         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25060         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25061         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25062         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25063         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25064         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25065         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25066         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25067         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25068         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25069         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25070         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25071         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25072         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25073         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25074         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25075         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25076         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25077         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25078         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25079         * sysdeps/x86_64/strcspn.S: Likewise.
25080
25081 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25082
25083         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25084         generated file.  Regenerate properly from gen-translit.pl.
25085         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25086         locale/C-translit.h.
25087
25088 2013-06-05  Andreas Schwab  <schwab@suse.de>
25089
25090         [BZ #15100]
25091         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25092         week as 6 instead of -1.
25093         * time/tst-strptime.c (day_tests): Add test case.
25094
25095 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25096
25097         * sysdeps/generic/math_private.h
25098         (libc_feholdexcept_setround_53bit): Replace with
25099         libc_feholdsetround_53bit.
25100         (libc_feupdateenv_53bit): Replace with
25101         libc_feresetround_53bit.
25102         (SET_RESTORE_ROUND_53BIT): Adjust.
25103
25104 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25105
25106         * string/test-strchrnul.c: Add copyright header.
25107
25108         * posix/tst-getaddrinfo4.c: Increase test timeout.
25109
25110 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25111
25112         [BZ #15536]
25113         * math/libm-test.inc (MAX_EXP): Remove
25114         (MIN_EXP): Define.
25115         (ulp): Use MIN_EXP - MANT_DIG.
25116         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25117
25118 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25119
25120         * po/be.po: Revert last change.
25121         * po/zh_CN.po: Likewise.
25122         * po/header.pot: Likewise.
25123
25124 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25125
25126         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25127         link-libc-deps to empty as target-specific variable.
25128         * Makerules (link-libc-args): New variable.
25129         (libc-for-link): Likewise.
25130         (link-libc-deps): Likewise.
25131         (lib%.so): Depend on $(link-libc-deps).  Link with
25132         $(link-libc-args).
25133         (build-module): Link with $(link-libc-args).
25134         (build-module-asneeded): Likewise.
25135         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25136         list of objects.
25137         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25138         target-specific variable.
25139         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25140         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25141         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25142         libc.
25143         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25144         libc and ld.so.
25145         ($(objpfx)libpcprofile.so): Likewise.
25146         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25147         libc_nonshared.a.
25148         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25149         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25150         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25151         $(link-libc-deps).
25152         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25153         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25154         * login/Makefile ($(objpfx)libutil.so): Likewise.
25155         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25156         * math/Makefile ($(objpfx)libm.so): Likewise.
25157         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25158         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25159         variable instead of depending directly on libc.
25160         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25161         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25162         $(link-libc-deps).
25163         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25164         libc.
25165         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25166         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25167         ($(objpfx)libanl.so): Likewise.
25168         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25169         ld.so.
25170         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25171         $(link-libc-deps).
25172         * sysdeps/i386/fpu/Makefile: Remove file.
25173         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25174         ($(objpfx)libm.so): Remove dependency on ld.so.
25175
25176 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25177
25178         [BZ # 15553]
25179         * nis/yp_xdr.c (XDRMAXNAME): Define.
25180         (XDRMAXRECORD): Define.
25181         (xdr_domainname): Use XDRMAXNAME.
25182         (xdr_mapname): Likewise.
25183         (xdr_peername): Likewise.
25184         (xdr_keydat): Use XDRMAXRECORD.
25185         (xdr_valdat): Likewise.
25186
25187 2013-05-30  Jeff Law  <law@redhat.com>
25188
25189         [BZ #14256]
25190         * manual/errno.texi (ESTALE): Update to account for more than
25191         just NFS file systems.
25192         * sysdeps/gnu/errlist.c: Regenerated.
25193
25194 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25195
25196         [BZ #15465]
25197         * elf/Makefile (tests): Add tst-null-argv.
25198         (modules-names):  Add tst-null-argv-lib.
25199         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25200         (tst-null-argv-ENV): Set environment for tst-null-argv.
25201         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25202         (RTLD_PROGNAME): New macro.
25203         * elf/tst-null-argv.c: New test case.
25204         * elf/tst-null-argv-lib.c: Library for test case.
25205         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25206         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25207         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25208         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25209         * elf/dl-init.c (call_init): Likewise.
25210         (_dl_init): Likewise.
25211         * elf/dl-load.c (print_search_path): Likewise.
25212         (_dl_map_object): Likewise.
25213         * elf/dl-lookup.c (do_lookup_x): Likewise.
25214         (add_dependency): Likewise.
25215         (_dl_lookup_symbol_x): Likewise.
25216         (_dl_debug_bindings): Likewise.
25217         * elf/dl-open.c (_dl_show_scope): Likewise.
25218         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25219         * elf/dl-version.c (match_symbol): Likewise.
25220         (_dl_check_map_versions): Likewise.
25221         * elf/rtld.c (dl_main): Likewise.
25222         (print_unresolved): Use RTLD_PROGNAME.
25223         (print_missing_version): Likewise.
25224         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25225         (elf_machine_rela): Likewise.
25226         * sysdeps/powerpc/powerpc32/dl-machine.c
25227         (__process_machine_rela): Likewise.
25228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25229         Likewise.
25230         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25231         Likewise.
25232         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25233         Likewise.
25234         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25236         Likewise.
25237         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25238         Likewise.
25239         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25240
25241 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25242
25243         * po/be.po: Add descriptive title.
25244         * po/zh_CN.po: Likewise.
25245         * po/header.pot: Likewise.
25246
25247 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25248
25249         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25250         error message.
25251         (enlarge_archive): Likewise.
25252
25253 2013-05-28  Ben North  <ben@redfrontdoor.org>
25254
25255         * manual/arith.texi (frexp): It is the magnitude of the return
25256         value which lies in [0.5, 1), not the return value itself.
25257
25258 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25259
25260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25261
25262 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25263
25264         * stdio-common/bug26.c (main): Correct fscanf template.
25265
25266         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25267         declare _dl_skip_args.
25268
25269         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25270         Don't declare.
25271
25272         * manual/platform.texi: Add missing @end deftypefun.
25273
25274 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25275
25276         [BZ #15529]
25277         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25278         bit of mantissa of 2^16382.
25279         * math/libm-test.inc (hypot_test_data): Add more tests.
25280
25281         * math/libm-test.inc: Add drem and pow10 to list of tested
25282         functions.
25283         (pow10_test): New function.
25284         (drem_test): Likewise.
25285         (drem_test_tonearest): Likewise.
25286         (drem_test_towardzero): Likewise.
25287         (drem_test_downward): Likewise.
25288         (drem_test_upward): Likewise.
25289         (main): Call the new functions.
25290
25291         * math/libm-test.inc (finite_test_data): Remove.
25292         (finite_test): Run tests from isfinite_test_data.
25293         (gamma_test_data): Remove.
25294         (gamma_test): Run tests from lgamma_test_data.
25295         * sysdeps/i386/fpu/libm-test-ulps: Update.
25296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25297
25298 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25299
25300         * manual/platform.texi: Add PowerPC PPR function set documentation.
25301         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25302         implementation.
25303
25304 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25305
25306         * math/libm-test.inc (MAX_EXP): Define.
25307         (ULPDIFF): Define.
25308         (ulp): New function.
25309         (check_float_internal): Use ULPDIFF.
25310         (cpow_test): Disable failing test.
25311         (check_ulp): Test ulp() implemetnation.
25312         (main): Call check_ulp before starting tests.
25313
25314 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25315
25316         * math/gen-libm-test.pl (generate_testfile): Do not handle
25317         START_DATA and END_DATA.
25318         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25319         END_DATA.
25320         (acos_tonearest_test_data): Likewise.
25321         (acos_towardzero_test_data): Likewise.
25322         (acos_downward_test_data): Likewise.
25323         (acos_upward_test_data): Likewise.
25324         (acosh_test_data): Likewise.
25325         (asin_test_data): Likewise.
25326         (asin_tonearest_test_data): Likewise.
25327         (asin_towardzero_test_data): Likewise.
25328         (asin_downward_test_data): Likewise.
25329         (asin_upward_test_data): Likewise.
25330         (asinh_test_data): Likewise.
25331         (atan_test_data): Likewise.
25332         (atanh_test_data): Likewise.
25333         (atan2_test_data): Likewise.
25334         (cabs_test_data): Likewise.
25335         (cacos_test_data): Likewise.
25336         (cacosh_test_data): Likewise.
25337         (carg_test_data): Likewise.
25338         (casin_test_data): Likewise.
25339         (casinh_test_data): Likewise.
25340         (catan_test_data): Likewise.
25341         (catanh_test_data): Likewise.
25342         (cbrt_test_data): Likewise.
25343         (ccos_test_data): Likewise.
25344         (ccosh_test_data): Likewise.
25345         (ceil_test_data): Likewise.
25346         (cexp_test_data): Likewise.
25347         (cimag_test_data): Likewise.
25348         (clog_test_data): Likewise.
25349         (clog10_test_data): Likewise.
25350         (conj_test_data): Likewise.
25351         (copysign_test_data): Likewise.
25352         (cos_test_data): Likewise.
25353         (cos_tonearest_test_data): Likewise.
25354         (cos_towardzero_test_data): Likewise.
25355         (cos_downward_test_data): Likewise.
25356         (cos_upward_test_data): Likewise.
25357         (cosh_test_data): Likewise.
25358         (cosh_tonearest_test_data): Likewise.
25359         (cosh_towardzero_test_data): Likewise.
25360         (cosh_downward_test_data): Likewise.
25361         (cosh_upward_test_data): Likewise.
25362         (cpow_test_data): Likewise.
25363         (cproj_test_data): Likewise.
25364         (creal_test_data): Likewise.
25365         (csin_test_data): Likewise.
25366         (csinh_test_data): Likewise.
25367         (csqrt_test_data): Likewise.
25368         (ctan_test_data): Likewise.
25369         (ctan_tonearest_test_data): Likewise.
25370         (ctan_towardzero_test_data): Likewise.
25371         (ctan_downward_test_data): Likewise.
25372         (ctan_upward_test_data): Likewise.
25373         (ctanh_test_data): Likewise.
25374         (ctanh_tonearest_test_data): Likewise.
25375         (ctanh_towardzero_test_data): Likewise.
25376         (ctanh_downward_test_data): Likewise.
25377         (ctanh_upward_test_data): Likewise.
25378         (erf_test_data): Likewise.
25379         (erfc_test_data): Likewise.
25380         (exp_test_data): Likewise.
25381         (exp_tonearest_test_data): Likewise.
25382         (exp_towardzero_test_data): Likewise.
25383         (exp_downward_test_data): Likewise.
25384         (exp_upward_test_data): Likewise.
25385         (exp10_test_data): Likewise.
25386         (exp2_test_data): Likewise.
25387         (expm1_test_data): Likewise.
25388         (fabs_test_data): Likewise.
25389         (fdim_test_data): Likewise.
25390         (finite_test_data): Likewise.
25391         (floor_test_data): Likewise.
25392         (fma_test_data): Likewise.
25393         (fma_towardzero_test_data): Likewise.
25394         (fma_downward_test_data): Likewise.
25395         (fma_upward_test_data): Likewise.
25396         (fmax_test_data): Likewise.
25397         (fmin_test_data): Likewise.
25398         (fmod_test_data): Likewise.
25399         (fpclassify_test_data): Likewise.
25400         (frexp_test_data): Likewise.
25401         (gamma_test_data): Likewise.
25402         (hypot_test_data): Likewise.
25403         (ilogb_test_data): Likewise.
25404         (isfinite_test_data): Likewise.
25405         (isgreater_test_data): Likewise.
25406         (isgreaterequal_test_data): Likewise.
25407         (isinf_test_data): Likewise.
25408         (isless_test_data): Likewise.
25409         (islessequal_test_data): Likewise.
25410         (islessgreater_test_data): Likewise.
25411         (isnan_test_data): Likewise.
25412         (isnormal_test_data): Likewise.
25413         (issignaling_test_data): Likewise.
25414         (isunordered_test_data): Likewise.
25415         (j0_test_data): Likewise.
25416         (j1_test_data): Likewise.
25417         (jn_test_data): Likewise.
25418         (ldexp_test_data): Likewise.
25419         (lgamma_test_data): Likewise.
25420         (lrint_test_data): Likewise.
25421         (lrint_tonearest_test_data): Likewise.
25422         (lrint_towardzero_test_data): Likewise.
25423         (lrint_downward_test_data): Likewise.
25424         (lrint_upward_test_data): Likewise.
25425         (llrint_test_data): Likewise.
25426         (llrint_tonearest_test_data): Likewise.
25427         (llrint_towardzero_test_data): Likewise.
25428         (llrint_downward_test_data): Likewise.
25429         (llrint_upward_test_data): Likewise.
25430         (log_test_data): Likewise.
25431         (log10_test_data): Likewise.
25432         (log1p_test_data): Likewise.
25433         (log2_test_data): Likewise.
25434         (logb_test_data): Likewise.
25435         (logb_downward_test_data): Likewise.
25436         (lround_test_data): Likewise.
25437         (llround_test_data): Likewise.
25438         (modf_test_data): Likewise.
25439         (nearbyint_test_data): Likewise.
25440         (nextafter_test_data): Likewise.
25441         (nexttoward_test_data): Likewise.
25442         (pow_test_data): Likewise.
25443         (pow_tonearest_test_data): Likewise.
25444         (pow_towardzero_test_data): Likewise.
25445         (pow_downward_test_data): Likewise.
25446         (pow_upward_test_data): Likewise.
25447         (remainder_test_data): Likewise.
25448         (remainder_tonearest_test_data): Likewise.
25449         (remainder_towardzero_test_data): Likewise.
25450         (remainder_downward_test_data): Likewise.
25451         (remainder_upward_test_data): Likewise.
25452         (remquo_test_data): Likewise.
25453         (rint_test_data): Likewise.
25454         (rint_tonearest_test_data): Likewise.
25455         (rint_towardzero_test_data): Likewise.
25456         (rint_downward_test_data): Likewise.
25457         (rint_upward_test_data): Likewise.
25458         (round_test_data): Likewise.
25459         (scalb_test_data): Likewise.
25460         (scalbn_test_data): Likewise.
25461         (scalbln_test_data): Likewise.
25462         (signbit_test_data): Likewise.
25463         (sin_test_data): Likewise.
25464         (sin_tonearest_test_data): Likewise.
25465         (sin_towardzero_test_data): Likewise.
25466         (sin_downward_test_data): Likewise.
25467         (sin_upward_test_data): Likewise.
25468         (sincos_test_data): Likewise.
25469         (sinh_test_data): Likewise.
25470         (sinh_tonearest_test_data): Likewise.
25471         (sinh_towardzero_test_data): Likewise.
25472         (sinh_downward_test_data): Likewise.
25473         (sinh_upward_test_data): Likewise.
25474         (sqrt_test_data): Likewise.
25475         (tan_test_data): Likewise.
25476         (tan_tonearest_test_data): Likewise.
25477         (tan_towardzero_test_data): Likewise.
25478         (tan_downward_test_data): Likewise.
25479         (tan_upward_test_data): Likewise.
25480         (tanh_test_data): Likewise.
25481         (tgamma_test_data): Likewise.
25482         (trunc_test_data): Likewise.
25483         (y0_test_data): Likewise.
25484         (y1_test_data): Likewise.
25485         (yn_test_data): Likewise.
25486         (significand_test_data): Likewise.
25487
25488         * math/gen-libm-test.pl (@functions): Remove variable.
25489         (generate_testfile): Don't handle START and END lines.
25490         * math/libm-test.inc (START): New macro.
25491         (END): Likewise.
25492         (END_COMPLEX): Likewise.
25493         (acos_test): Use END macro without arguments.
25494         (acos_test_tonearest): Likewise.
25495         (acos_test_towardzero): Likewise.
25496         (acos_test_downward): Likewise.
25497         (acos_test_upward): Likewise.
25498         (acosh_test): Likewise.
25499         (asin_test): Likewise.
25500         (asin_test_tonearest): Likewise.
25501         (asin_test_towardzero): Likewise.
25502         (asin_test_downward): Likewise.
25503         (asin_test_upward): Likewise.
25504         (asinh_test): Likewise.
25505         (atan_test): Likewise.
25506         (atanh_test): Likewise.
25507         (atan2_test): Likewise.
25508         (cabs_test): Likewise.
25509         (cacos_test): Use END_COMPLEX macro without arguments.
25510         (cacosh_test): Likewise.
25511         (carg_test): Use END macro without arguments.
25512         (casin_test): Use END_COMPLEX macro without arguments.
25513         (casinh_test): Likewise.
25514         (catan_test): Likewise.
25515         (catanh_test): Likewise.
25516         (cbrt_test): Use END macro without arguments.
25517         (ccos_test): Use END_COMPLEX macro without arguments.
25518         (ccosh_test): Likewise.
25519         (ceil_test): Use END macro without arguments.
25520         (cexp_test): Use END_COMPLEX macro without arguments.
25521         (cimag_test): Use END macro without arguments.
25522         (clog_test): Use END_COMPLEX macro without arguments.
25523         (clog10_test): Likewise.
25524         (conj_test): Likewise.
25525         (copysign_test): Use END macro without arguments.
25526         (cos_test): Likewise.
25527         (cos_test_tonearest): Likewise.
25528         (cos_test_towardzero): Likewise.
25529         (cos_test_downward): Likewise.
25530         (cos_test_upward): Likewise.
25531         (cosh_test): Likewise.
25532         (cosh_test_tonearest): Likewise.
25533         (cosh_test_towardzero): Likewise.
25534         (cosh_test_downward): Likewise.
25535         (cosh_test_upward): Likewise.
25536         (cpow_test): Use END_COMPLEX macro without arguments.
25537         (cproj_test): Likewise.
25538         (creal_test): Use END macro without arguments.
25539         (csin_test): Use END_COMPLEX macro without arguments.
25540         (csinh_test): Likewise.
25541         (csqrt_test): Likewise.
25542         (ctan_test): Likewise.
25543         (ctan_test_tonearest): Likewise.
25544         (ctan_test_towardzero): Likewise.
25545         (ctan_test_downward): Likewise.
25546         (ctan_test_upward): Likewise.
25547         (ctanh_test): Likewise.
25548         (ctanh_test_tonearest): Likewise.
25549         (ctanh_test_towardzero): Likewise.
25550         (ctanh_test_downward): Likewise.
25551         (ctanh_test_upward): Likewise.
25552         (erf_test): Use END macro without arguments.
25553         (erfc_test): Likewise.
25554         (exp_test): Likewise.
25555         (exp_test_tonearest): Likewise.
25556         (exp_test_towardzero): Likewise.
25557         (exp_test_downward): Likewise.
25558         (exp_test_upward): Likewise.
25559         (exp10_test): Likewise.
25560         (exp2_test): Likewise.
25561         (expm1_test): Likewise.
25562         (fabs_test): Likewise.
25563         (fdim_test): Likewise.
25564         (finite_test): Likewise.
25565         (floor_test): Likewise.
25566         (fma_test): Likewise.
25567         (fma_test_towardzero): Likewise.
25568         (fma_test_downward): Likewise.
25569         (fma_test_upward): Likewise.
25570         (fmax_test): Likewise.
25571         (fmin_test): Likewise.
25572         (fmod_test): Likewise.
25573         (fpclassify_test): Likewise.
25574         (frexp_test): Likewise.
25575         (gamma_test): Likewise.
25576         (hypot_test): Likewise.
25577         (ilogb_test): Likewise.
25578         (isfinite_test): Likewise.
25579         (isgreater_test): Likewise.
25580         (isgreaterequal_test): Likewise.
25581         (isinf_test): Likewise.
25582         (isless_test): Likewise.
25583         (islessequal_test): Likewise.
25584         (islessgreater_test): Likewise.
25585         (isnan_test): Likewise.
25586         (isnormal_test): Likewise.
25587         (issignaling_test): Likewise.
25588         (isunordered_test): Likewise.
25589         (j0_test): Likewise.
25590         (j1_test): Likewise.
25591         (jn_test): Likewise.
25592         (ldexp_test): Likewise.
25593         (lgamma_test): Likewise.
25594         (lrint_test): Likewise.
25595         (lrint_test_tonearest): Likewise.
25596         (lrint_test_towardzero): Likewise.
25597         (lrint_test_downward): Likewise.
25598         (lrint_test_upward): Likewise.
25599         (llrint_test): Likewise.
25600         (llrint_test_tonearest): Likewise.
25601         (llrint_test_towardzero): Likewise.
25602         (llrint_test_downward): Likewise.
25603         (llrint_test_upward): Likewise.
25604         (log_test): Likewise.
25605         (log10_test): Likewise.
25606         (log1p_test): Likewise.
25607         (log2_test): Likewise.
25608         (logb_test): Likewise.
25609         (logb_test_downward): Likewise.
25610         (lround_test): Likewise.
25611         (llround_test): Likewise.
25612         (modf_test): Likewise.
25613         (nearbyint_test): Likewise.
25614         (nextafter_test): Likewise.
25615         (nexttoward_test): Likewise.
25616         (pow_test): Likewise.
25617         (pow_test_tonearest): Likewise.
25618         (pow_test_towardzero): Likewise.
25619         (pow_test_downward): Likewise.
25620         (pow_test_upward): Likewise.
25621         (remainder_test): Likewise.
25622         (remainder_test_tonearest): Likewise.
25623         (remainder_test_towardzero): Likewise.
25624         (remainder_test_downward): Likewise.
25625         (remainder_test_upward): Likewise.
25626         (remquo_test): Likewise.
25627         (rint_test): Likewise.
25628         (rint_test_tonearest): Likewise.
25629         (rint_test_towardzero): Likewise.
25630         (rint_test_downward): Likewise.
25631         (rint_test_upward): Likewise.
25632         (round_test): Likewise.
25633         (scalb_test): Likewise.
25634         (scalbn_test): Likewise.
25635         (scalbln_test): Likewise.
25636         (signbit_test): Likewise.
25637         (sin_test): Likewise.
25638         (sin_test_tonearest): Likewise.
25639         (sin_test_towardzero): Likewise.
25640         (sin_test_downward): Likewise.
25641         (sin_test_upward): Likewise.
25642         (sincos_test): Likewise.
25643         (sinh_test): Likewise.
25644         (sinh_test_tonearest): Likewise.
25645         (sinh_test_towardzero): Likewise.
25646         (sinh_test_downward): Likewise.
25647         (sinh_test_upward): Likewise.
25648         (sqrt_test): Likewise.
25649         (tan_test): Likewise.
25650         (tan_test_tonearest): Likewise.
25651         (tan_test_towardzero): Likewise.
25652         (tan_test_downward): Likewise.
25653         (tan_test_upward): Likewise.
25654         (tanh_test): Likewise.
25655         (tgamma_test): Likewise.
25656         (trunc_test): Likewise.
25657         (y0_test): Likewise.
25658         (y1_test): Likewise.
25659         (yn_test): Likewise.
25660         (significand_test): Likewise.
25661
25662 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25663
25664         [BZ #15381]
25665         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25666
25667 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25668
25669         [BZ #14894]
25670         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25671         __ppc_mdoio and __ppc_mdoom.
25672         * manual/platform.texi: Document new functions __ppc_yield,
25673         __ppc_mdoio and __ppc_mdoom.
25674
25675 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25676
25677         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25678         (main): Mention "tls" pseudo-hwcap is legacy.
25679         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25680
25681 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25682
25683         * math/gen-libm-test.pl (parse_args): Output only string of
25684         arguments as text for test name, not full call or descriptions of
25685         tests for extra outputs.
25686         (generate_testfile): Do not pass function name to parse_args.
25687         Generate this_func variable from START.
25688         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25689         field to arg_str.
25690         (struct test_ff_f_data): Likewise.
25691         (test_ff_f_data_nexttoward): Likewise.
25692         (struct test_fi_f_data): Likewise.
25693         (struct test_fl_f_data): Likewise.
25694         (struct test_if_f_data): Likewise.
25695         (struct test_fff_f_data): Likewise.
25696         (struct test_c_f_data): Likewise.
25697         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25698         (struct test_fF_f1_data): Likewise.
25699         (struct test_ffI_f1_data): Likewise.
25700         (struct test_c_c_data): Rename test_name field to arg_str.
25701         (struct test_cc_c_data): Likewise.
25702         (struct test_f_i_data): Likewise.
25703         (struct test_ff_i_data): Likewise.
25704         (struct test_f_l_data): Likewise.
25705         (struct test_f_L_data): Likewise.
25706         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25707         and extra2_name.
25708         (COMMON_TEST_SETUP): New macro.
25709         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25710         (COMMON_TEST_CLEANUP): Likewise.
25711         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25712         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25713         macros.
25714         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25715         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25716         macros.
25717         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25718         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25719         cleanup macros.
25720         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25721         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25722         macros.
25723         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25724         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25725         macros.
25726         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25727         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25728         cleanup macros.
25729         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25730         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25731         cleanup macros.
25732         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25733         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25734         cleanup macros.
25735         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25736         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25737         macros.
25738         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25739         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25740         macros.
25741         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25742         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25743         macros.
25744         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25745         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25746         cleanup macros.
25747         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25748         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25749         cleanup macros.
25750         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25751         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25752         macros.
25753         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25754         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25755         cleanup macros.
25756         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25757         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25758         macros.
25759         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25760         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25761         macros.
25762         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25763         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25764         cleanup macros.
25765         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25766
25767 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25768
25769         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25770         to _sifields.sigfault.
25771         (si_addr_lsb): Define new macro.
25772         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25773         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25774         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25775
25776 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25777
25778         [BZ #15441]
25779         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25780         returns -1.
25781         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25782         null return -1.
25783         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25784         loading the domain.
25785
25786 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25787
25788         * math/gen-libm-test.pl (parse_args): Do not include expected
25789         result in test name.
25790         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25791         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25792         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25793         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25794         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25796
25797 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25798
25799         * benchtests/Makefile: Sort function entries.
25800
25801         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25802         tanh, asinh, acosh, atanh.
25803         * benchtests/acos-inputs: New file.
25804         * benchtests/acosh-inputs: New file.
25805         * benchtests/asin-inputs: New file.
25806         * benchtests/asinh-inputs: New file.
25807         * benchtests/atanh-inputs: New file.
25808         * benchtests/cosh-inputs: New file.
25809         * benchtests/log-inputs: New file.
25810         * benchtests/sinh-inputs: New file.
25811         * benchtests/tanh-inputs: New file.
25812
25813 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25814
25815         [BZ #15339]
25816         * posix/tst-getaddrinfo4.c: New test.
25817         * posix/Makefile (tests): Add it.
25818
25819 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25820
25821         [BZ #15339]
25822         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25823         when no services were used.
25824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25825         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25826
25827 2013-05-21  Andreas Schwab  <schwab@suse.de>
25828
25829         [BZ #15014]
25830         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25831         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25832         successful.
25833         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25834         redundant variable declarations and reallocation of buffer when
25835         parsing as IPv6 address.  Always set NSS status when called from
25836         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25837         buffer too small.  Correct computation of needed size.
25838         * nss/Makefile (tests): Add test-digits-dots.
25839         * nss/test-digits-dots.c: New test.
25840
25841 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25842
25843         * benchtests/Makefile: Remove instructions for adding
25844         benchmark tests.
25845         * benchtests/README: New file to explain how to execute and
25846         enhance the benchmark tests.
25847
25848 2013-05-21  Andreas Schwab  <schwab@suse.de>
25849
25850         [BZ #15493]
25851         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25852         * setjmp/tst-sigsetjmp.c: New test.
25853
25854 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25855
25856         * sysdeps/x86_64/memset.S (memset): New implementation.
25857         (__bzero): Likewise.
25858         (__memset_tail): New function.
25859
25860 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25861
25862         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25863         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25864         __memcpy_sse2_unaligned ifunc selection.
25865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25866         Add memcpy-sse2-unaligned.S.
25867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25868         Add: __memcpy_sse2_unaligned.
25869
25870 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25871
25872         [BZ #15490]
25873         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25874         math_force_eval before restoring floating-point envrionment.
25875         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25876         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25877         Likewise.
25878         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25879         <math_private.h>.
25880         (__nearbyintl): Use math_force_eval before restoring
25881         floating-point environment.
25882         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25883
25884         * math/gen-libm-test.pl (special_functions): Remove.
25885         (parse_args): Don't handle TEST_extra.  Handle functions with no
25886         return value.
25887         * math/libm-test.inc (struct test_sincos_data): Replace with
25888         struct test_fFF_11_data.
25889         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25890         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25891         (sincos_test_data): Change element type to struct
25892         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25893         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25894         RUN_TEST_LOOP_sincos.
25895         * math/README.libm-test: Don't mention special handling of
25896         individual functions.
25897         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25898         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25899         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25900         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25901         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25903
25904         * math/gen-libm-test.pl (get_variable): Remove function.
25905         (parse_args): Don't show pointer parameters to call in test
25906         names.  Use "extra output N" in test names for extra outputs
25907         rather than naming variables.
25908
25909 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25910
25911         [BZ #15488]
25912         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25913         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25914         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25915         double tests.
25916         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25917         disable.
25918         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25919         check_long_double.
25920
25921         * math/gen-libm-test.pl (@tests): Remove variable.
25922         ($count): Likewise.
25923         (new_test): Remove function.
25924         (show_exceptions): New function.
25925         (special_functions): Use show_exceptions instead of new_test.
25926         (parse_args): Likewise.
25927         (generate_testfile): Pass only function name in generated call to
25928         print_max_error or print_complex_max_error.
25929         (get_ulps): Do not handle complex tests specially.
25930         (output_test): Rename to ...
25931         (get_all_ulps_for_test): ... this.  Return a string rather than
25932         printing to a file.  Require ulps to be present.
25933         (output_ulps): Generate arrays rather than #defines.
25934         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25935         (struct ulp_data): New type.
25936         (BUILD_COMPLEX_ULP): Remove macro.
25937         (compare_ulp_data): New function.
25938         (find_ulps): Likewise.
25939         (find_test_ulps): Likewise.
25940         (find_function_ulps): Likewise.
25941         (find_complex_function_ulps): Likewise.
25942         (print_max_error): Determine allowed ulps using
25943         find_function_ulps.
25944         (print_complex_max_error): Determine allowed ulps using
25945         find_complex_function_ulps.
25946         (check_float_internal): Determine max ulps using find_test_ulps.
25947         (check_float): Do not take max_ulp parameter.  Update call to
25948         check_float_internal.
25949         (check_complex): Likewise.
25950         (check_int): Do not take max_ulp parameter.
25951         (check_long): Likewise.
25952         (check_bool): Likewise.
25953         (check_longlong): Likewise.
25954         (struct test_f_f_data): Remove max_ulp field.
25955         (struct test_ff_f_data): Likewise.
25956         (struct test_ff_f_data_nexttoward): Likewise.
25957         (struct test_fi_f_data): Likewise.
25958         (struct test_fl_f_data): Likewise.
25959         (struct test_if_f_data): Likewise.
25960         (struct test_fff_f_data): Likewise.
25961         (struct test_c_f_data): Likewise.
25962         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25963         (struct test_fF_f1_data): Likewise.
25964         (struct test_ffI_f1_data): Likewise.
25965         (struct test_c_c_data): Remove max_ulp field.
25966         (struct test_cc_c_data): Likewise.
25967         (struct test_f_i_data): Likewise.
25968         (struct test_ff_i_data): Likewise.
25969         (struct test_f_l_data): Likewise.
25970         (struct test_f_L_data): Likewise.
25971         (struct test_sincos_data): Likewise.
25972         (RUN_TEST_f_f): Do not handle ulps.
25973         (RUN_TEST_LOOP_f_f): Likewise.
25974         (RUN_TEST_2_f): Likewise.
25975         (RUN_TEST_LOOP_2_f): Likewise.
25976         (RUN_TEST_fff_f): Likewise.
25977         (RUN_TEST_LOOP_fff_f): Likewise.
25978         (RUN_TEST_c_f): Likewise.
25979         (RUN_TEST_LOOP_c_f): Likewise.
25980         (RUN_TEST_f_f1): Likewise.
25981         (RUN_TEST_LOOP_f_f1): Likewise.
25982         (RUN_TEST_fF_f1): Likewise.
25983         (RUN_TEST_LOOP_fF_f1): Likewise.
25984         (RUN_TEST_fI_f1): Likewise.
25985         (RUN_TEST_LOOP_fI_f1): Likewise.
25986         (RUN_TEST_ffI_f1): Likewise.
25987         (RUN_TEST_LOOP_ffI_f1): Likewise.
25988         (RUN_TEST_c_c): Likewise.
25989         (RUN_TEST_LOOP_c_c): Likewise.
25990         (RUN_TEST_cc_c): Likewise.
25991         (RUN_TEST_LOOP_cc_c): Likewise.
25992         (RUN_TEST_f_i): Likewise.
25993         (RUN_TEST_LOOP_f_i): Likewise.
25994         (RUN_TEST_f_i_tg): Likewise.
25995         (RUN_TEST_LOOP_f_i_tg): Likewise.
25996         (RUN_TEST_ff_i_tg): Likewise.
25997         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25998         (RUN_TEST_f_b): Likewise.
25999         (RUN_TEST_LOOP_f_b): Likewise.
26000         (RUN_TEST_f_b_tg): Likewise.
26001         (RUN_TEST_LOOP_f_b_tg): Likewise.
26002         (RUN_TEST_f_l): Likewise.
26003         (RUN_TEST_LOOP_f_l): Likewise.
26004         (RUN_TEST_f_L): Likewise.
26005         (RUN_TEST_LOOP_f_L): Likewise.
26006         (RUN_TEST_sincos): Likewise.
26007         (RUN_TEST_LOOP_sincos): Likewise.
26008
26009 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26010
26011         [BZ #15480]
26012         [BZ #15485]
26013         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26014         main case of finite arguments, set rounding mode to FE_TONEAREST
26015         and discard exceptions.
26016         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26017         exceptions.
26018         (remainder_tonearest_test_data): New variable.
26019         (remainder_test_tonearest): New function.
26020         (remainder_towardzero_test_data): New variable.
26021         (remainder_test_towardzero): New function.
26022         (remainder_downward_test_data): New variable.
26023         (remainder_test_downward): New function.
26024         (remainder_upward_test_data): New variable.
26025         (remainder_test_upward): New function.
26026         (main): Call the new test functions.
26027
26028         * math/libm-test.inc (struct test_f_f1_data): Remove field
26029         extra_init.
26030         (struct test_fF_f1_data): Likewise.
26031         (struct test_ffI_f1_data): Likewise.
26032         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26033         based on value of EXTRA_EXPECTED.
26034         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26035         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26036         EXTRA_VAR based on value of EXTRA_EXPECTED.
26037         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26038         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26039         EXTRA_VAR based on value of EXTRA_EXPECTED.
26040         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26041         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26042         EXTRA_VAR based on value of EXTRA_EXPECTED.
26043         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26044         * math/gen-libm-test.pl (parse_args): Don't output initializers
26045         for extra output values.
26046
26047         * math/libm-test.inc (check_int): Expect result to be exactly
26048         equal to expected value and do not handle ulps.
26049         (check_long): Likewise.
26050         (check_longlong): Likewise.
26051
26052         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26053         exceptions.
26054         (cimag_test_data): Likewise.
26055         (conj_test_data): Likewise.
26056         (copysign_test_data): Likewise.
26057         (cproj_test_data): Likewise.
26058         (creal_test_data): Likewise.
26059         (fabs_test_data): Likewise.
26060         (fdim_test_data): Likewise.
26061         (finite_test_data): Likewise.
26062         (floor_test_data): Likewise.
26063         (fmax_test_data): Likewise.
26064         (fmin_test_data): Likewise.
26065         (fmod_test_data): Likewise.
26066         (fpclassify_test_data): Likewise.
26067         (frexp_test_data): Likewise.
26068         (ilogb_test_data): Likewise.
26069         (isfinite_test_data): Likewise.
26070         (isgreater_test_data): Likewise.
26071         (isgreaterequal_test_data): Likewise.
26072         (isinf_test_data): Likewise.
26073         (isless_test_data): Likewise.
26074         (islessequal_test_data): Likewise.
26075         (islessgreater_test_data): Likewise.
26076         (isnan_test_data): Likewise.
26077         (isnormal_test_data): Likewise.
26078         (issignaling_test_data): Likewise.
26079         (isunordered_test_data): Likewise.
26080         (ldexp_test_data): Likewise.
26081         (lrint_test_data): Likewise.
26082         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26083         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26084         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26085         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26086         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26087         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26088         test input.
26089         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26090         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26091         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26092         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26093         that test input.
26094         (lrint_downward_test_data): Test for "inexact" exceptions.
26095         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26096         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26097         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26098         test input.
26099         (lrint_upward_test_data): Test for "inexact" exceptions.
26100         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26101         test input.
26102         (llrint_test_data): Test for "inexact" exceptions.
26103         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26104         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26105         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26106         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26107         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26108         (llrint_downward_test_data): Test for "inexact" exceptions.
26109         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26110         (llrint_upward_test_data): Test for "inexact" exceptions.
26111         (logb_test_data): Likewise.
26112         (logb_downward_test_data): Likewise.
26113         (nextafter_test_data): Likewise.
26114         (nexttoward_test_data): Likewise.
26115         (remainder_test_data): Likewise.
26116         (remquo_test_data): Likewise.
26117         (scalbn_test_data): Likewise.
26118         (scalbln_test_data): Likewise.
26119         (signbit_test_data): Likewise.
26120         (sqrt_test_data): Likewise.
26121         (significand_test_data): Likewise.
26122
26123 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26124
26125         [BZ #15424]
26126         * benchtests/bench-modf.c (struct args): Mark arg0 as
26127         volatile.
26128         * scripts/bench.pl: Mark members of struct args as volatile.
26129
26130 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26131
26132         [BZ # 15497]
26133         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26134         negative infinity on POWER6 or lower.
26135         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26136
26137 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26138
26139         [BZ #15442]
26140         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26141         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26142         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26143         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26144         (_FP_SETQNAN): New macro.
26145         (_FP_SETQNAN_SEMIRAW): Likewise.
26146         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26147         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26148         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26149         (FP_EXTEND): Use _FP_FRAC_SNANP.
26150         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26151         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26152         into account.
26153         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26154         New macro.
26155         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26156         Likewise.
26157
26158 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26159
26160         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26161         with DIVIDE_BY_ZERO_EXCEPTION.
26162         (gamma_test_data): Likewise.
26163         (lgamma_test_data): Likewise.
26164         (log_test_data): Likewise.
26165         (log10_test_data): Likewise.
26166         (log2_test_data): Likewise.
26167         (tgamma_test_data): Likewise.
26168
26169         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26170         (acos_test_tonearest): Likewise.
26171         (acos_test_towardzero): Likewise.
26172         (acos_test_downward): Likewise.
26173         (acos_test_upward): Likewise.
26174         (acosh_test): Likewise.
26175         (asin_test): Likewise.
26176         (asin_test_tonearest): Likewise.
26177         (asin_test_towardzero): Likewise.
26178         (asin_test_downward): Likewise.
26179         (asin_test_upward): Likewise.
26180         (asinh_test): Likewise.
26181         (atan_test): Likewise.
26182         (atanh_test): Likewise.
26183         (atan2_test): Likewise.
26184         (cabs_test): Likewise.
26185         (cacos_test): Likewise.
26186         (cacosh_test): Likewise.
26187         (casin_test): Likewise.
26188         (casinh_test): Likewise.
26189         (catan_test): Likewise.
26190         (catanh_test): Likewise.
26191         (cbrt_test): Likewise.
26192         (ccos_test): Likewise.
26193         (ccosh_test): Likewise.
26194         (cexp_test): Likewise.
26195         (clog_test): Likewise.
26196         (clog10_test): Likewise.
26197         (cos_test): Likewise.
26198         (cos_test_tonearest): Likewise.
26199         (cos_test_towardzero): Likewise.
26200         (cos_test_downward): Likewise.
26201         (cos_test_upward): Likewise.
26202         (cosh_test): Likewise.
26203         (cosh_test_tonearest): Likewise.
26204         (cosh_test_towardzero): Likewise.
26205         (cosh_test_downward): Likewise.
26206         (cosh_test_upward): Likewise.
26207         (cpow_test): Likewise.
26208         (csin_test): Likewise.
26209         (csinh_test): Likewise.
26210         (csqrt_test): Likewise.
26211         (ctan_test): Likewise.
26212         (ctan_test_tonearest): Likewise.
26213         (ctan_test_towardzero): Likewise.
26214         (ctan_test_downward): Likewise.
26215         (ctan_test_upward): Likewise.
26216         (ctanh_test): Likewise.
26217         (ctanh_test_tonearest): Likewise.
26218         (ctanh_test_towardzero): Likewise.
26219         (ctanh_test_downward): Likewise.
26220         (ctanh_test_upward): Likewise.
26221         (erf_test): Likewise.
26222         (erfc_test): Likewise.
26223         (exp_test): Likewise.
26224         (exp_test_tonearest): Likewise.
26225         (exp_test_towardzero): Likewise.
26226         (exp_test_downward): Likewise.
26227         (exp_test_upward): Likewise.
26228         (exp10_test): Likewise.
26229         (exp2_test): Likewise.
26230         (expm1_test): Likewise.
26231         (fmod_test): Likewise.
26232         (gamma_test): Likewise.
26233         (hypot_test): Likewise.
26234         (j0_test): Likewise.
26235         (j1_test): Likewise.
26236         (jn_test): Likewise.
26237         (lgamma_test): Likewise.
26238         (log_test): Likewise.
26239         (log10_test): Likewise.
26240         (log1p_test): Likewise.
26241         (log2_test): Likewise.
26242         (logb_test_downward): Likewise.
26243         (pow_test): Likewise.
26244         (pow_test_tonearest): Likewise.
26245         (pow_test_towardzero): Likewise.
26246         (pow_test_downward): Likewise.
26247         (pow_test_upward): Likewise.
26248         (remainder_test): Likewise.
26249         (remquo_test): Likewise.
26250         (sin_test): Likewise.
26251         (sin_test_tonearest): Likewise.
26252         (sin_test_towardzero): Likewise.
26253         (sin_test_downward): Likewise.
26254         (sin_test_upward): Likewise.
26255         (sincos_test): Likewise.
26256         (sinh_test): Likewise.
26257         (sinh_test_tonearest): Likewise.
26258         (sinh_test_towardzero): Likewise.
26259         (sinh_test_downward): Likewise.
26260         (sinh_test_upward): Likewise.
26261         (sqrt_test): Likewise.
26262         (tan_test): Likewise.
26263         (tan_test_tonearest): Likewise.
26264         (tan_test_towardzero): Likewise.
26265         (tan_test_downward): Likewise.
26266         (tan_test_upward): Likewise.
26267         (tanh_test): Likewise.
26268         (tgamma_test): Likewise.
26269         (y0_test): Likewise.
26270         (y1_test): Likewise.
26271         (yn_test): Likewise.
26272
26273         * math/gen-libm-test.pl (adjust_arg): Remove function.
26274         (special_function): Remove argument $in_func.  Only handle
26275         generating output for tables of tests, not inside functions.
26276         (parse_args): Likewise.
26277         (generate_testfile): Remove variable $in_func.  Update call to
26278         parse_args.
26279         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26280         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26281         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26282         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26283         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26284         (MAX_VALUE_INIT): Rename macro to max_value.
26285         (MIN_VALUE_INIT): Rename macro to min_value.
26286         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26287         (plus_zero): Remove variable.
26288         (minus_zero): Likewise.
26289         (plus_infty): Likewise.
26290         (minus_infty): Likewise.
26291         (qnan_value): Likewise.
26292         (max_value): Likewise.
26293         (min_value): Likewise.
26294         (min_subnorm_value): Likewise.
26295
26296 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26297
26298         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26299         uint64_t or uint32_t usage.
26300         * crypt/sha256-block.c: Likewise.
26301         * crypt/sha256-crypt.c: Likewise.
26302         * crypt/sha256.c: Likewise.
26303         * crypt/sha512-block.c: Likewise.
26304         * crypt/sha512-crypt.c: Likewise.
26305         * crypt/sha512.c: Likewise.
26306         * debug/backtrace-tst.c: Likewise.
26307         * debug/pcprofiledump.c: Likewise.
26308         * elf/cache.c: Likewise.
26309         * elf/dl-cache.c: Likewise.
26310         * elf/dl-misc.c: Likewise.
26311         * elf/dl-profile.c: Likewise.
26312         * elf/dl-support.c: Likewise.
26313         * elf/ldconfig.c: Likewise.
26314         * elf/sprof.c: Likewise.
26315         * iconv/dummy-repertoire.c: Likewise.
26316         * iconv/iconv_charmap.c: Likewise.
26317         * iconv/skeleton.c: Likewise.
26318         * iconvdata/8bit-generic.c: Likewise.
26319         * iconvdata/cp737.h: Likewise.
26320         * iconvdata/cp775.h: Likewise.
26321         * iconvdata/ibm1008.h: Likewise.
26322         * iconvdata/ibm1025.h: Likewise.
26323         * iconvdata/ibm1046.h: Likewise.
26324         * iconvdata/ibm1097.h: Likewise.
26325         * iconvdata/ibm1112.h: Likewise.
26326         * iconvdata/ibm1122.h: Likewise.
26327         * iconvdata/ibm1123.h: Likewise.
26328         * iconvdata/ibm1124.h: Likewise.
26329         * iconvdata/ibm1129.h: Likewise.
26330         * iconvdata/ibm1130.h: Likewise.
26331         * iconvdata/ibm1132.h: Likewise.
26332         * iconvdata/ibm1133.h: Likewise.
26333         * iconvdata/ibm1137.h: Likewise.
26334         * iconvdata/ibm1140.h: Likewise.
26335         * iconvdata/ibm1141.h: Likewise.
26336         * iconvdata/ibm1142.h: Likewise.
26337         * iconvdata/ibm1143.h: Likewise.
26338         * iconvdata/ibm1144.h: Likewise.
26339         * iconvdata/ibm1145.h: Likewise.
26340         * iconvdata/ibm1146.h: Likewise.
26341         * iconvdata/ibm1147.h: Likewise.
26342         * iconvdata/ibm1148.h: Likewise.
26343         * iconvdata/ibm1149.h: Likewise.
26344         * iconvdata/ibm1153.h: Likewise.
26345         * iconvdata/ibm1154.h: Likewise.
26346         * iconvdata/ibm1155.h: Likewise.
26347         * iconvdata/ibm1156.h: Likewise.
26348         * iconvdata/ibm1157.h: Likewise.
26349         * iconvdata/ibm1158.h: Likewise.
26350         * iconvdata/ibm1160.h: Likewise.
26351         * iconvdata/ibm1161.h: Likewise.
26352         * iconvdata/ibm1162.h: Likewise.
26353         * iconvdata/ibm1163.h: Likewise.
26354         * iconvdata/ibm1164.h: Likewise.
26355         * iconvdata/ibm1166.h: Likewise.
26356         * iconvdata/ibm1167.h: Likewise.
26357         * iconvdata/ibm12712.h: Likewise.
26358         * iconvdata/ibm1390.h: Likewise.
26359         * iconvdata/ibm1399.h: Likewise.
26360         * iconvdata/ibm16804.h: Likewise.
26361         * iconvdata/ibm4517.h: Likewise.
26362         * iconvdata/ibm4899.h: Likewise.
26363         * iconvdata/ibm4909.h: Likewise.
26364         * iconvdata/ibm4971.h: Likewise.
26365         * iconvdata/ibm5347.h: Likewise.
26366         * iconvdata/ibm803.h: Likewise.
26367         * iconvdata/ibm856.h: Likewise.
26368         * iconvdata/ibm901.h: Likewise.
26369         * iconvdata/ibm902.h: Likewise.
26370         * iconvdata/ibm9030.h: Likewise.
26371         * iconvdata/ibm9066.h: Likewise.
26372         * iconvdata/ibm921.h: Likewise.
26373         * iconvdata/ibm922.h: Likewise.
26374         * iconvdata/ibm9448.h: Likewise.
26375         * iconvdata/isiri-3342.h: Likewise.
26376         * iconvdata/jis0201.h: Likewise.
26377         * include/link.h: Likewise.
26378         * include/netdb.h: Likewise.
26379         * inet/check_native.c: Likewise.
26380         * inet/check_pf.c: Likewise.
26381         * inet/getipv4sourcefilter.c: Likewise.
26382         * inet/getnameinfo.c: Likewise.
26383         * inet/getsourcefilter.c: Likewise.
26384         * inet/htonl.c: Likewise.
26385         * inet/setipv4sourcefilter.c: Likewise.
26386         * inet/setsourcefilter.c: Likewise.
26387         * inet/test-inet6_opt.c: Likewise.
26388         * inet/tst-network.c: Likewise.
26389         * locale/C-collate.c: Likewise.
26390         * locale/C-ctype.c: Likewise.
26391         * locale/C-time.c: Likewise.
26392         * locale/C-translit.h: Likewise.
26393         * locale/loadarchive.c: Likewise.
26394         * locale/programs/3level.h: Likewise.
26395         * locale/programs/charmap.c: Likewise.
26396         * locale/programs/charmap.h: Likewise.
26397         * locale/programs/ld-address.c: Likewise.
26398         * locale/programs/ld-collate.c: Likewise.
26399         * locale/programs/ld-ctype.c: Likewise.
26400         * locale/programs/ld-identification.c: Likewise.
26401         * locale/programs/ld-measurement.c: Likewise.
26402         * locale/programs/ld-messages.c: Likewise.
26403         * locale/programs/ld-monetary.c: Likewise.
26404         * locale/programs/ld-name.c: Likewise.
26405         * locale/programs/ld-numeric.c: Likewise.
26406         * locale/programs/ld-paper.c: Likewise.
26407         * locale/programs/ld-telephone.c: Likewise.
26408         * locale/programs/ld-time.c: Likewise.
26409         * locale/programs/linereader.c: Likewise.
26410         * locale/programs/locale.c: Likewise.
26411         * locale/programs/locarchive.c: Likewise.
26412         * locale/programs/locfile.h: Likewise.
26413         * locale/programs/repertoire.c: Likewise.
26414         * locale/programs/simple-hash.c: Likewise.
26415         * locale/programs/simple-hash.h: Likewise.
26416         * malloc/memusage.c: Likewise.
26417         * malloc/memusagestat.c: Likewise.
26418         * nis/nis_defaults.c: Likewise.
26419         * nis/nis_hash.c: Likewise.
26420         * nis/nis_print.c: Likewise.
26421         * nis/nis_xdr.c: Likewise.
26422         * nscd/connections.c: Likewise.
26423         * nscd/hstcache.c: Likewise.
26424         * nscd/nscd_gethst_r.c: Likewise.
26425         * nscd/nscd_getserv_r.c: Likewise.
26426         * nscd/nscd_helper.c: Likewise.
26427         * nscd/servicescache.c: Likewise.
26428         * nss/makedb.c: Likewise.
26429         * nss/nss_db/db-XXX.c: Likewise.
26430         * nss/nss_db/db-initgroups.c: Likewise.
26431         * nss/nss_db/db-netgrp.c: Likewise.
26432         * nss/nss_files/files-network.c: Likewise.
26433         * nss/nss_files/files-parse.c: Likewise.
26434         * posix/bug-regex5.c: Likewise.
26435         * posix/fnmatch_loop.c: Likewise.
26436         * posix/regcomp.c: Likewise.
26437         * posix/regexec.c: Likewise.
26438         * posix/tst-rfc3484-2.c: Likewise.
26439         * posix/tst-rfc3484-3.c: Likewise.
26440         * posix/tst-rfc3484.c: Likewise.
26441         * resolv/nss_dns/dns-canon.c: Likewise.
26442         * resolv/nss_dns/dns-network.c: Likewise.
26443         * resolv/res_init.c: Likewise.
26444         * resolv/res_mkquery.c: Likewise.
26445         * resolv/tst-aton.c: Likewise.
26446         * stdlib/cxa_atexit.c: Likewise.
26447         * stdlib/cxa_finalize.c: Likewise.
26448         * stdlib/gen-fpioconst.c: Likewise.
26449         * stdlib/strtol_l.c: Likewise.
26450         * string/tst-endian.c: Likewise.
26451         * sunrpc/auth_des.c: Likewise.
26452         * sunrpc/clnt_udp.c: Likewise.
26453         * sunrpc/rtime.c: Likewise.
26454         * sunrpc/svcauth_des.c: Likewise.
26455         * sunrpc/xdr.c: Likewise.
26456         * sunrpc/xdr_intXX_t.c: Likewise.
26457         * sunrpc/xdr_rec.c: Likewise.
26458         * sysdeps/generic/ldconfig.h: Likewise.
26459         * sysdeps/generic/ldsodefs.h: Likewise.
26460         * sysdeps/generic/memusage.h: Likewise.
26461         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26462         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26463         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26464         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26465         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26466         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26467         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26468         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26469         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26471         * sysdeps/posix/getaddrinfo.c: Likewise.
26472         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26473         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26474         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26475         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26476         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26477         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26478         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26479         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26480         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26481         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26482         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26483         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26484         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26485         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26486         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26487         * sysdeps/x86_64/dl-tls.h: Likewise.
26488         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26489         * time/alt_digit.c: Likewise.
26490         * time/era.c: Likewise.
26491         * wcsmbs/tst-c16c32-1.c: Likewise.
26492
26493 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26494
26495         * math/libm-test.inc (struct test_sincos_data): New type.
26496         (RUN_TEST_LOOP_sincos): New macro.
26497         (sincos_test_data): New variable.
26498         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26499
26500 2013-05-16  Richard Henderson  <rth@redhat.com>
26501
26502         * math/atest-exp2.c (LIMB64): New macro.
26503         (CONSTSZ): New macro.
26504         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26505         (hexdig): Move ...
26506         (print_mpn_fp): ... to function scope.
26507         (read_mpn_hex): Remove.
26508         (get_log2): Remove.
26509         (exp2_mpn): Use mp_log2.
26510         (main): Use mp_exp1.
26511
26512 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26513
26514         * math/libm-test.inc: Remove comment about not testing "inexact"
26515         exceptions.
26516         (INEXACT_EXCEPTION): New macro.
26517         (NO_INEXACT_EXCEPTION): Likewise.
26518         (INVALID_EXCEPTION_OK): Update value.
26519         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26520         (OVERFLOW_EXCEPTION_OK): Likewise.
26521         (UNDERFLOW_EXCEPTION_OK): Likewise.
26522         (IGNORE_ZERO_INF_SIGN): Likewise.
26523         (ERRNO_UNCHANGED): Likewise.
26524         (ERRNO_EDOM): Likewise.
26525         (ERRNO_ERANGE): Likewise.
26526         (test_exceptions): Handle testing "inexact" exceptions.
26527         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26528         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26529         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26530         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26531         INEXACT_EXCEPTION.
26532         (rint_towardzero_test_data): Likewise.
26533         (rint_downward_test_data): Likewise.
26534         (rint_upward_test_data): Likewise.
26535
26536         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26537         with OVERFLOW_EXCEPTION.
26538         (exp10_test_data): Likewise.
26539         (exp2_test_data): Likewise.
26540         (expm1_test_data): Likewise.
26541         (lgamma_test_data): Likewise.
26542         (pow_test_data): Likewise.
26543         (tgamma_test_data): Likewise.
26544         (yn_test_data): Remove duplicate test of overflow.
26545
26546         * math/libm-test.inc (struct test_cc_c_data): New type.
26547         (RUN_TEST_LOOP_cc_c): New macro.
26548         (cpow_test_data): New variable.
26549         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26550
26551         * math/libm-test.inc (struct test_f_L_data): New type.
26552         (RUN_TEST_LOOP_f_L): New macro.
26553         (llrint_test_data): New variable.
26554         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26555         (llrint_tonearest_test_data): New variable.
26556         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26557         (llrint_towardzero_test_data): New variable.
26558         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26559         (llrint_downward_test_data): New variable.
26560         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26561         (llrint_upward_test_data): New variable.
26562         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26563         (llround_test_data): New variable.
26564         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26565
26566 2013-05-13  Peter Collingbourne  <pcc@google.com>
26567
26568         * math/atest-exp2.c (get_log2): Remove const attribute.
26569
26570 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26571
26572         * math/libm-test.inc (struct test_f_l_data): New type.
26573         (RUN_TEST_LOOP_f_l): New macro.
26574         (lrint_test_data): New variable.
26575         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26576         (lrint_tonearest_test_data): New variable.
26577         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26578         (lrint_towardzero_test_data): New variable.
26579         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26580         (lrint_downward_test_data): New variable.
26581         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26582         (lrint_upward_test_data): New variable.
26583         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26584         (lround_test_data): New variable.
26585         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26586
26587 2013-05-15  Peter Collingbourne  <pcc@google.com>
26588
26589         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26590         (EXTRACT_WORDS64) Use where appropriate.
26591         (INSERT_WORDS64) Likewise.
26592
26593         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26594         constraints with x constraints.
26595         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26596
26597         * malloc/obstack.c (_obstack_compat): Add initializer.
26598
26599 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26600
26601         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26602         si_trapno and add si_addr_lsb to _sifields.sigfault.
26603         (si_trapno): Remove macro.
26604         (si_addr_lsb): Define new macro.
26605         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26606
26607 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26608
26609         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26610         instead of TEST_f_l.
26611         (llrint_test_tonearest): Likewise.
26612         (llrint_test_towardzero): Likewise.
26613         (llrint_test_downward): Likewise.
26614         (llrint_test_upward): Likewise.
26615         (llround_test): Likewise.
26616
26617         * math/libm-test.inc (struct test_f_i_data): Add comment.
26618         (RUN_TEST_LOOP_f_b): New macro.
26619         (RUN_TEST_LOOP_f_b_tg): Likewise.
26620         (finite_test_data): New variable.
26621         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26622         (isfinite_test_data): New variable.
26623         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26624         (isinf_test_data): New variable.
26625         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26626         (isnan_test_data): New variable.
26627         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26628         (isnormal_test_data): New variable.
26629         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26630         (issignaling_test_data): New variable.
26631         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26632         (signbit_test_data): New variable.
26633         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26634
26635         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26636         with INVALID_EXCEPTION.
26637         (acosh_test_data): Likewise.
26638         (asin_test_data): Likewise.
26639         (atanh_test_data): Likewise.
26640         (fmod_test_data): Likewise.
26641         (log_test_data): Likewise.
26642         (log10_test_data): Likewise.
26643         (log2_test_data): Likewise.
26644         (pow_test_data): Likewise.
26645         (sqrt_test_data): Likewise.
26646         (y0_test_data): Likewise.
26647         (y1_test_data): Likewise.
26648         (yn_test_data): Likewise.
26649
26650         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26651         function contents.
26652
26653         * math/libm-test.inc (struct test_ff_i_data): New type.
26654         (RUN_TEST_LOOP_ff_i_tg): New macro.
26655         (isgreater_test_data): New variable.
26656         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26657         (isgreaterequal_test_data): New variable.
26658         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26659         (isless_test_data): New variable.
26660         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26661         (islessequal_test_data): New variable.
26662         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26663         (islessgreater_test_data): New variable.
26664         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26665         (isunordered_test_data): New variable.
26666         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26667
26668 2013-05-14  David S. Miller  <davem@davemloft.net>
26669
26670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26671
26672 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26673
26674         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26675
26676         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26677         extra_test to int.
26678         (struct test_f_i_data): Change type of max_ulp to int.
26679
26680         * math/libm-test.inc (test_ffI_f1_data): New type.
26681         (RUN_TEST_LOOP_ffI_f1): New macro.
26682         (remquo_test_data): New variable.
26683         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26684
26685         * setjmp/tst-setjmp-fp.c: New file.
26686         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26687         (link-libm): New variable.
26688         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26689
26690         * math/libm-test.inc (struct test_f_i_data): New type.
26691         (RUN_TEST_LOOP_f_i): New macro.
26692         (RUN_TEST_LOOP_f_i_tg): Likewise.
26693         (fpclassify_test_data): New variable.
26694         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26695         (ilogb_test_data): New variable.
26696         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26697
26698         * math/libm-test.inc (scalbln_test): Correct function name in END
26699         call.
26700
26701         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26702         (RUN_TEST_LOOP_fI_f1): New macro.
26703         (frexp_test_data): New variable.
26704         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26705
26706         * math/libm-test.inc (struct test_fF_f1_data): New type.
26707         (RUN_TEST_LOOP_fF_f1): New macro.
26708         (modf_test_data): New variable.
26709         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26710
26711         * math/libm-test.inc (struct test_f_f1_data): New type.
26712         (RUN_TEST_LOOP_f_f1): New macro.
26713         (gamma_test_data): New variable.
26714         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26715         (lgamma_test_data): New variable.
26716         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26717
26718 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26719
26720         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26721         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26722         (main): Comment "tls" pseudo-hwcap.
26723
26724 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26725
26726         * math/libm-test.inc (struct test_fl_f_data): New type.
26727         (RUN_TEST_LOOP_fl_f): New variable.
26728         (scalbln_test_data): New variable.
26729         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26730
26731         * math/libm-test.inc (struct test_fi_f_data): New type.
26732         (RUN_TEST_LOOP_fi_f): New macro.
26733         (ldexp_test_data): New variable.
26734         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26735         (scalbn_test_data): New variable.
26736         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26737
26738         * math/libm-test.inc (struct test_c_f_data): New type.
26739         (RUN_TEST_LOOP_c_f): New macro.
26740         (cabs_test_data): New variable.
26741         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26742         (carg_test_data): New variable.
26743         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26744         (cimag_test_data): New variable.
26745         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26746         (creal_test_data): New variable.
26747         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26748
26749         * math/libm-test.inc (struct test_if_f_data): New type.
26750         (RUN_TEST_LOOP_if_f): New macro.
26751         (jn_test_data): New variable.
26752         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26753         (yn_test_data): New variable.
26754         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26755
26756         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26757
26758 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26759
26760         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26761         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26762
26763 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26764
26765         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26766         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26767         (bench-deps): Add bench-timing.h.
26768         * benchtests-bench-skeleton.c: Include bench-timing.h.
26769         (main): Use TIMING_* macros instead of clock_gettime.
26770         * benchtests/bench-timing.h: New file.
26771
26772         [BZ #14582]
26773         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26774         Renamed from _LIB_VERSION.
26775         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26776
26777 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26778
26779         * math/libm-test.inc (struct test_fff_f_data): New type.
26780         (RUN_TEST_LOOP_fff_f): New macro.
26781         (fma_test_data): New variable.
26782         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26783         (fma_towardzero_test_data): New variable.
26784         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26785         (fma_downward_test_data): New variable.
26786         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26787         (fma_upward_test_data): New variable.
26788         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26789
26790         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26791         (struct test_c_c_data): New type.
26792         (RUN_TEST_LOOP_c_c): New macro.
26793         (cacos_test_data): New variable.
26794         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26795         (cacosh_test_data): New variable.
26796         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26797         (casin_test_data): New variable.
26798         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26799         (casinh_test_data): New variable.
26800         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26801         (catan_test_data): New variable.
26802         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26803         (catanh_test_data): New variable.
26804         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26805         (ccos_test_data): New variable.
26806         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26807         (ccosh_test_data): New variable.
26808         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26809         (cexp_test_data): New variable.
26810         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26811         (clog_test_data): New variable.
26812         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26813         (clog10_test_data): New variable.
26814         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26815         (conj_test_data): New variable.
26816         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26817         (cproj_test_data): New variable.
26818         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26819         (csin_test_data): New variable.
26820         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26821         (csinh_test_data): New variable.
26822         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26823         (csqrt_test_data): New variable.
26824         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26825         (ctan_test_data): New variable.
26826         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26827         (ctan_tonearest_test_data): New variable.
26828         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26829         (ctan_towardzero_test_data): New variable.
26830         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26831         (ctan_downward_test_data): New variable.
26832         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26833         (ctan_upward_test_data): New variable.
26834         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26835         (ctanh_test_data): New variable.
26836         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26837         (ctanh_tonearest_test_data): New variable.
26838         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26839         (ctanh_towardzero_test_data): New variable.
26840         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26841         (ctanh_downward_test_data): New variable.
26842         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26843         (ctanh_upward_test_data): New variable.
26844         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26845         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26846         of BUILD_COMPLEX.
26847
26848         * math/libm-test.inc (struct test_ff_f_data): New type.
26849         (struct test_ff_f_data_nexttoward): Likewise.
26850         (RUN_TEST_LOOP_2_f): New macro.
26851         (RUN_TEST_LOOP_ff_f): Likewise.
26852         (atan2_test_data): New variable.
26853         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26854         (copysign_test_data): New variable.
26855         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26856         (fdim_test_data): New variable.
26857         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26858         (fmax_test_data): New variable.
26859         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26860         (fmin_test_data): New variable.
26861         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26862         (fmod_test_data): New variable.
26863         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26864         (hypot_test_data): New variable.
26865         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26866         (nextafter_test_data): New variable.
26867         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26868         (nexttoward_test_data): New variable.
26869         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26870         (pow_test_data): New variable.
26871         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26872         (pow_tonearest_test_data): New variable.
26873         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26874         (pow_towardzero_test_data): New variable.
26875         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26876         (pow_downward_test_data): New variable.
26877         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26878         (pow_upward_test_data): New variable.
26879         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26880         (remainder_test_data): New variable.
26881         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26882         (scalb_test_data): New variable.
26883         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26884         * sysdeps/i386/fpu/libm-test-ulps: Update.
26885
26886 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26887
26888         * math/libm-test.inc (fma_test): Use max_value instead of local
26889         variable fltmax.
26890         (nextafter_test): Likewise.
26891
26892         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26893         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26894         (acos_downward_test_data): New variable.
26895         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26896         (acos_upward_test_data): New variable.
26897         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26898         (acosh_test_data): New variable.
26899         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26900         (asin_test_data): New variable.
26901         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26902         (asin_tonearest_test_data): New variable.
26903         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26904         (asin_towardzero_test_data): New variable.
26905         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26906         (asin_downward_test_data): New variable.
26907         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26908         (asin_upward_test_data): New variable.
26909         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26910         (asinh_test_data): New variable.
26911         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26912         (atan_test_data): New variable.
26913         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26914         (atanh_test_data): New variable.
26915         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26916         (cbrt_test_data): New variable.
26917         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26918         (ceil_test_data): New variable.
26919         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26920         (cos_test_data): New variable.
26921         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26922         (cos_tonearest_test_data): New variable.
26923         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26924         (cos_towardzero_test_data): New variable.
26925         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26926         (cos_downward_test_data): New variable.
26927         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26928         (cos_upward_test_data): New variable.
26929         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26930         (cosh_test_data): New variable.
26931         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26932         (cosh_tonearest_test_data): New variable.
26933         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26934         (cosh_towardzero_test_data): New variable.
26935         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26936         (cosh_downward_test_data): New variable.
26937         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26938         (cosh_upward_test_data): New variable.
26939         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26940         (erf_test_data): New variable.
26941         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26942         (erfc_test_data): New variable.
26943         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26944         (exp_test_data): New variable.
26945         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26946         (exp_tonearest_test_data): New variable.
26947         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26948         (exp_towardzero_test_data): New variable.
26949         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26950         (exp_downward_test_data): New variable.
26951         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26952         (exp_upward_test_data): New variable.
26953         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26954         (exp10_test_data): New variable.
26955         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26956         (exp2_test_data): New variable.
26957         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26958         (expm1_test_data): New variable.
26959         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26960         (fabs_test_data): New variable.
26961         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26962         (floor_test_data): New variable.
26963         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26964         (j0_test_data): New variable.
26965         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26966         (j1_test_data): New variable.
26967         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26968         (log_test_data): New variable.
26969         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26970         (log10_test_data): New variable.
26971         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26972         (log1p_test_data): New variable.
26973         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26974         (log2_test_data): New variable.
26975         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26976         (logb_test_data): New variable.
26977         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26978         (logb_downward_test_data): New variable.
26979         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26980         (nearbyint_test_data): New variable.
26981         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26982         (rint_test_data): New variable.
26983         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26984         (rint_tonearest_test_data): New variable.
26985         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26986         (rint_towardzero_test_data): New variable.
26987         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26988         (rint_downward_test_data): New variable.
26989         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26990         (rint_upward_test_data): New variable.
26991         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26992         (round_test_data): New variable.
26993         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26994         (sin_test_data): New variable.
26995         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26996         (sin_tonearest_test_data): New variable.
26997         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26998         (sin_towardzero_test_data): New variable.
26999         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27000         (sin_downward_test_data): New variable.
27001         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27002         (sin_upward_test_data): New variable.
27003         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27004         (sinh_test_data): New variable.
27005         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27006         (sinh_tonearest_test_data): New variable.
27007         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27008         (sinh_towardzero_test_data): New variable.
27009         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27010         (sinh_downward_test_data): New variable.
27011         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27012         (sinh_upward_test_data): New variable.
27013         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27014         (sqrt_test_data): New variable.
27015         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27016         (tan_test_data): New variable.
27017         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27018         (tan_tonearest_test_data): New variable.
27019         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27020         (tan_towardzero_test_data): New variable.
27021         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27022         (tan_downward_test_data): New variable.
27023         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27024         (tan_upward_test_data): New variable.
27025         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27026         (tanh_test_data): New variable.
27027         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27028         (tgamma_test_data): New variable.
27029         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27030         (trunc_test_data): New variable.
27031         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27032         (y0_test_data): New variable.
27033         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27034         (y1_test_data): New variable.
27035         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27036         (significand_test_data): New variable.
27037         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27038
27039 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27040
27041         [BZ #12387]
27042         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27043
27044 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27045
27046         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27047
27048 2013-05-10  Andreas Jaeger  <aj@suse.de>
27049
27050         [BZ #15448]
27051         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27052         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27053
27054 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27055
27056         * math/gen-libm-test.pl (adjust_arg): New function.
27057         (special_functions): Handle generating output in both functions
27058         and arrays.
27059         (parse_args): Likewise.
27060         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27061         $in_func argument to parse_args.
27062         * math/libm-test.inc (struct test_f_f_data): New type.
27063         (IF_ROUND_INIT_): New macro.
27064         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27065         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27066         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27067         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27068         (ROUND_RESTORE_): Likewise.
27069         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27070         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27071         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27072         (ROUND_RESTORE_FE_UPWARD): Likewise.
27073         (RUN_TEST_LOOP_f_f): New macro.
27074         (acos_test_data): New variable.
27075         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27076         (acos_tonearest_test_data): New variable.
27077         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27078
27079 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27080
27081         * benchtests/bench-skeleton.c (startup): Fix coding style.
27082
27083 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27084
27085         [BZ #6809]
27086         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27087         negative infinity argument.
27088         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27089         negative infinity argument.
27090         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27091         negative infinity argument.
27092         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27093         domain errors.
27094
27095 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27096
27097         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27098         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27099         * iconv/iconv_prog.c (main): Likewise.
27100         * locale/programs/charmap-dir.c (charmap_readdir)
27101         (fopen_uncompressed): Likewise.
27102         * locale/programs/locfile.c (siblings_uncached)
27103         (write_locale_data): Use lstat64 instead of lstat.
27104         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27105         stat.
27106
27107 2013-05-10  Andreas Jaeger  <aj@suse.de>
27108
27109         [BZ #15395]
27110         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27111         localization.
27112         Include <locale.h>.
27113
27114 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27115
27116         * elf/dl-close.c (_dl_close_worker): Add comments.
27117
27118 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27119
27120         [BZ #15359]
27121         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27122         high part of pi/2.
27123         (__ieee754_rem_pio2l): Update comments.
27124
27125         [BZ #15429]
27126         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27127         high part of pi/2.
27128         (__ieee754_rem_pio2l): Update comments.
27129
27130         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27131         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27132
27133         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27134         M_PI_4l.
27135
27136         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27137         (M_PI_34_LOG10El): Likewise.
27138         (M_PI2_LOG10El): Likewise.
27139         (M_PI4_LOG10El): Likewise.
27140         (M_PI_LOG10El): Likewise.
27141
27142 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27143
27144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27145
27146 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27147
27148         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27149         (MINUS_ZERO_INIT): Likewise.
27150         (PLUS_INFTY_INIT): Likewise.
27151         (MINUS_INFTY_INIT): Likewise.
27152         (QNAN_VALUE_INIT): Likewise.
27153         (MAX_VALUE_INIT): Likewise.
27154         (MIN_VALUE_INIT): Likewise.
27155         (MIN_SUBNORM_VALUE_INIT): Likewise.
27156         (plus_zero): Initialize with PLUS_ZERO_INIT.
27157         (minus_zero): Initialize with MINUS_ZERO_INIT.
27158         (plus_infty): Initialize with PLUS_INFTY_INIT.
27159         (minus_infty): Initialize with MINUS_INFTY_INIT.
27160         (qnan_value): Initialize with QNAN_VALUE_INIT.
27161         (max_value): Initialize with MAX_VALUE_INIT.
27162         (min_value): Initialize with MIN_VALUE_INIT.
27163         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27164
27165         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27166         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27167         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27168         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27169
27170         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27171         (RUN_TEST_2_f): Likewise.
27172         (RUN_TEST_ff_f): Likewise.
27173         (RUN_TEST_fi_f): Likewise.
27174         (RUN_TEST_fl_f): Likewise.
27175         (RUN_TEST_fff_f): Likewise.
27176         (RUN_TEST_c_f): Likewise.
27177         (RUN_TEST_f_f1): Likewise.
27178         (RUN_TEST_fF_f1): Likewise.
27179         (RUN_TEST_fI_f1): Likewise.
27180         (RUN_TEST_ffI_f1): Likewise.
27181         (RUN_TEST_c_c): Likewise.
27182         (RUN_TEST_cc_c): Likewise.
27183         (RUN_TEST_f_i): Likewise.
27184         (RUN_TEST_f_i_tg): Likewise.
27185         (RUN_TEST_ff_i_tg): Likewise.
27186         (RUN_TEST_f_b): Likewise.
27187         (RUN_TEST_f_b_tg): Likewise.
27188         (RUN_TEST_f_l): Likewise.
27189         (RUN_TEST_f_L): Likewise.
27190         (RUN_TEST_sincos): Likewise.
27191         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27192         whether to show exceptions.  Do not include ");\n" in return
27193         value.
27194         (special_functions): Output call to RUN_TEST_sincos instead of
27195         check_float calls.  Update calls to new_test.
27196         (parse_args): Output call to single RUN_TEST_* macro instead of
27197         check_* calls and other assignments.  Update calls to new_test.
27198
27199         [BZ #2546]
27200         [BZ #2560]
27201         [BZ #5159]
27202         [BZ #15426]
27203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27204         input to result for tgamma overflow.
27205         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27206         (gamma_coeff): New variable.
27207         (NCOEFF): New macro.
27208         (gamma_positive): New function.
27209         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27210         underflow here.  Use gamma_positive instead of exp (lgamma) for
27211         other arguments.
27212         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27213         (gamma_coeff): New variable.
27214         (NCOEFF): New macro.
27215         (gammaf_positive): New function.
27216         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27217         underflow here.  Use gamma_positive instead of exp (lgamma) for
27218         other arguments.
27219         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27220         (gamma_coeff): New variable.
27221         (NCOEFF): New macro.
27222         (gammal_positive): New function.
27223         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27224         underflow here.  Use gamma_positive instead of exp (lgamma) for
27225         other arguments.
27226         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27227         (gamma_coeff): New variable.
27228         (NCOEFF): New macro.
27229         (gammal_positive): New function.
27230         (__ieee754_gammal_r): Handle positive infinity, overflow and
27231         underflow here.  Handle NaN the same as positive infinity.  Remove
27232         check x < 0xffffffff for negative integers.  Use gamma_positive
27233         instead of exp (lgamma) for other arguments.
27234         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27235         (gamma_coeff): New variable.
27236         (NCOEFF): New macro.
27237         (gammal_positive): New function.
27238         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27239         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27240         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27242         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27243         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27244         * sysdeps/generic/math_private.h (__gamma_productf): New
27245         prototype.
27246         (__gamma_product): Likewise.
27247         (__gamma_productl): Likewise.
27248         * math/Makefile (libm-calls): Add gamma_product.
27249         * math/libm-test.inc (tgamma_test): Add more tests.
27250         * sysdeps/i386/fpu/libm-test-ulps: Update.
27251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27252
27253 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27254
27255         * benchtests/bench-skeleton.c (main): Preheat CPU.
27256
27257 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27258
27259         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27260
27261 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27262
27263         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27264         and _dl_skip_args_internal.
27265
27266 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27267
27268         * manual/message.texi (Message Translation): Talk about users.
27269         Message to key mapping impacts design.
27270
27271 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27272
27273         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27274
27275         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27276
27277         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27278         * sysdeps/wordsize-64/glob64.c: ... here.
27279
27280         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27281         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27282         New macros.
27283
27284         * debug/getlogin_r_chk.c: Moved to ...
27285         * login/getlogin_r_chk.c: ... here.
27286         * debug/Makefile (routines): Move getlogin_r_chk to ...
27287         * login/Makefile (routines): ... here.
27288         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27289         * login/Versions (libc: GLIBC_2.4): ... here.
27290
27291         * io/poll.c (__poll): Renamed from poll.
27292         Add libc_hidden_def.
27293         (poll): Define as weak alias.
27294
27295         * debug/ptsname_r_chk.c: Moved to ...
27296         * login/ptsname_r_chk.c: ... here.
27297         * debug/Makefile (routines): Move ptsname_r_chk to ...
27298         * login/Makefile (routines): ... here.
27299         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27300         * login/Versions (libc: GLIBC_2.4): ... here.
27301
27302         * posix/getlogin.c: Moved to ...
27303         * login/getlogin.c: ... here.
27304         * posix/getlogin_r.c: Moved to ...
27305         * login/getlogin_r.c: ... here.
27306         * posix/getlogin_r.c: Moved to ...
27307         * login/getlogin_r.c: ... here.
27308         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27309         * login/Makefile (routines): ... here.
27310         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27311         * login/Versions (libc: GLIBC_2.0): ... here.
27312
27313         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27314         (setrlimit): Define as weak alias.
27315
27316         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27317         Call __ names for open, ftruncate, and close.
27318         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27319         (truncate): Define as weak alias.
27320
27321 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27322
27323         * math/gen-libm-test.pl (parse_args): Initialize x before each
27324         test of frexp, modf and remquo.
27325
27326         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27327         test signgam value.
27328
27329 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27330
27331         [BZ #15418]
27332         [BZ #15419]
27333         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27334         internal tests.
27335         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27336
27337 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27338
27339         * elf/dl-writev.h: New file.
27340         * elf/dl-misc.c: Include it.
27341         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27342         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27343
27344 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27345
27346         * math/libm-test.inc (noXFails): Remove variable.
27347         (noXPasses): Likewise.
27348         (BUILD_COMPLEX_INT): Remove macro.
27349         (print_screen): Remove xfail argument.
27350         (print_screen_max_error): Likewise.
27351         (update_stats): Likewise.
27352         (print_max_error): Likewise.  Update calls to other affected
27353         functions.
27354         (print_complex_max_error): Likewise.
27355         (test_single_exception): Update calls to print_screen.
27356         (test_single_errno): Likewise.
27357         (check_float_internal): Remove xfail argument.  Update calls to
27358         other affected functions.
27359         (check_float): Likewise.
27360         (check_complex): Likewise.
27361         (check_int): Likewise.
27362         (check_long): Likewise.
27363         (check_bool): Likewise.
27364         (check_longlong): Likewise.
27365         (main): Don't print noXFails and noXPasses.
27366         * math/gen-libm-test.pl (top level): Don't mention expected
27367         failure handling in comment.
27368         (new_test): Don't handle expected failures.
27369         (parse_args): Don't mention expected failure handling in comment.
27370         (generate_testfile): Don't handle expected failures.
27371         (parse_ulps): Likewise.
27372         (print_ulps_file): Likewise.
27373         (get_failure): Remove function.
27374         (output_test): Don't handle expected failures.
27375         * make/README.libm-test: Don't mention expected failure handling.
27376
27377         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27378         (minus_zero): Likewise.
27379         (plus_infty): Likewise.
27380         (minus_infty): Likewise.
27381         (qnan_value): Likewise.
27382         (max_value): Likewise.
27383         (min_value): Likewise.
27384         (min_subnorm_value): Likewise.
27385         (initialize): Do not initialize those variables dynamically.
27386
27387 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27388
27389         * io/open.c (__open_2): Moved to ...
27390         * io/open_2.c: ... this new file.
27391         * io/open64.c (__open64_2): Moved to ...
27392         * io/open64_2.c: ... this new file.
27393         * io/openat.c (__openat_2): Moved to ...
27394         * io/openat_2.c: ... this new file.
27395         * io/openat64.c (__openat64_2): Moved to ...
27396         * io/openat64_2.c: ... this new file.
27397         * io/Makefile (routines): Add them.
27398         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27399         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27400         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27401         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27402         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27403         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27404         (__openat64): Add hidden_ver.
27405         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27406         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27407
27408         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27409         Separately conditionalize setting of GLRO(dl_sysinfo) so
27410         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27411         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27412
27413 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27414
27415         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27417         definition.
27418         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27419         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27420         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27421         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27422         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27423
27424 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27425
27426         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27427         test signgam value.
27428
27429         * math/libm-test.inc (hypot_test): Do not use
27430         IGNORE_ZERO_INF_SIGN.
27431
27432 2013-05-03  Andreas Jaeger  <aj@suse.de>
27433
27434         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27435         Linux 3.9.
27436         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27437         (PF_MAX): Adjust for VSOCK change.
27438
27439 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27440
27441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27442
27443 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27444
27445         [BZ #15264]
27446         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27447         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27448         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27449
27450 2013-05-02  David S. Miller  <davem@davemloft.net>
27451
27452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27453
27454 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27455
27456         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27457
27458 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27459
27460         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27461
27462 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27463
27464         [BZ #14952]
27465         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27466         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27467         Use __attribute__ ((__gnu_inline__)).
27468         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27469         Don't use __attribute__ ((__gnu_inline__)).
27470
27471 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27472
27473         [BZ #15423]
27474         * math/s_catan.c (__catan): Handle small real or imaginary part of
27475         input specially to avoid spurious underflow.
27476         * math/s_catanf.c (__catanf): Likewise.
27477         * math/s_catanh.c (__catanh): Likewise.
27478         * math/s_catanhf.c (__catanhf): Likewise.
27479         * math/s_catanhl.c (__catanhl): Likewise.
27480         * math/s_catanl.c (__catanl): Likewise.
27481         * math/libm-test.inc (catan_test): Add more tests.
27482         (catanh_test): Likewise.
27483         * sysdeps/i386/fpu/libm-test-ulps: Update.
27484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27485
27486 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27487
27488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27489
27490 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27491
27492         [BZ #15416]
27493         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27494         accurately for denominator in atan2.
27495         * math/s_catanf.c (__catanf): Likewise.
27496         * math/s_catanh.c (__catanh): Likewise.
27497         * math/s_catanhf.c (__catanhf): Likewise.
27498         * math/s_catanhl.c (__catanhl): Likewise.
27499         * math/s_catanl.c (__catanl): Likewise.
27500         * math/libm-test.inc (catan_test): Add more tests.
27501         (catanh_test): Likewise.
27502         * sysdeps/i386/fpu/libm-test-ulps: Update.
27503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27504
27505 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27506
27507         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27508
27509         * benchtests/Makefile (bench): Remove slow benchmarks.
27510         * benchtests/atan-inputs: Add slow benchmark inputs.
27511         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27512         (BENCH_FUNC): Accept variant offset.
27513         (VARIANT): Define.
27514         * benchtests/bench-skeleton.c (main): Run benchmark for each
27515         variant.
27516         * benchtests/cos-inputs: Add slow benchmark inputs.
27517         * benchtests/exp-inputs: Likewise.
27518         * benchtests/pow-inputs: Likewise.
27519         * benchtests/sin-inputs: Likewise.
27520         * benchtests/slowatan-inputs: Remove.
27521         * benchtests/slowatan.c: Remove.
27522         * benchtests/slowcos-inputs: Remove.
27523         * benchtests/slowcos.c: Remove.
27524         * benchtests/slowexp-inputs: Remove.
27525         * benchtests/slowexp.c: Remove.
27526         * benchtests/slowpow-inputs: Remove.
27527         * benchtests/slowpow.c: Remove.
27528         * benchtests/slowsin-inputs: Remove.
27529         * benchtests/slowsin.c: Remove.
27530         * benchtests/slowtan-inputs: Remove.
27531         * benchtests/slowtan.c: Remove.
27532         * benchtests/tan-inputs: Add slow benchmark inputs.
27533         * scripts/bench.pl: Parse comments and directives.
27534
27535         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27536         in CPPFLAGS.
27537         ($(objpfx)bench-%.c): Remove *-ITER.
27538         * benchtests/bench-modf.c: Remove definition of ITER.
27539         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27540         (main): Loop for DURATION seconds instead of fixed number of
27541         iterations.
27542         * scripts/bench.pl: Don't expect iterations in parameters.
27543
27544 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27545
27546         * io/fchdir.c (__fchdir): Renamed from fchdir.
27547         (fchdir): Define as weak alias.
27548
27549 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27550
27551         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27552         (ERRNO_EDOM): Likewise.
27553         (ERRNO_ERANGE): Likewise.
27554         (noErrnoTests): New variable.
27555         (init_max_error): Set errno to 0.
27556         (test_single_errno): New function.
27557         (test_errno): Likewise.
27558         (check_float_internal): Call test_errno.  Set errno to 0.
27559         (check_complex): Refer to errno tests in comment.
27560         (check_int): Call test_errno.  Set errno to 0.
27561         (check_long): Likewise.
27562         (check_bool): Likewise.
27563         (check_longlong): Likewise.
27564         (cos_test): Use ERRNO_* flags for errno tests instead of
27565         check_int.
27566         (expm1_test): Likewise.
27567         (fmod_test): Likewise.
27568         (ilogb_test): Likewise.
27569         (lgamma_test): Likewise.
27570         (pow_test): Likewise.
27571         (remainder_test): Likewise.
27572         (sin_test): Likewise.
27573         (tan_test): Likewise.
27574         (yn_test): Likewise.
27575         (initialize): Set errno to 0.
27576         (main): Print number of errno tests.
27577         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27578
27579 2013-04-29  Andreas Jaeger  <aj@suse.de>
27580
27581         [BZ #15084]
27582         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27583         and RES_USEVC.
27584
27585         [BZ #15085]
27586         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27587         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27588         unimplemented.
27589
27590         [BZ #15380]
27591         * stdlib/random.c (__initstate): Return NULL if
27592         __initstate fails.
27593
27594         [BZ #15086]
27595         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27596         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27597         RES_SNGLKUPREOP.
27598
27599 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27600
27601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27602
27603 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27604
27605         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27606         of individual tests.
27607         (casin_test): Likewise.
27608         (casinh_test): Likewise.
27609
27610 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27611
27612         [BZ #15409]
27613         * math/s_catan.c (__catan): Handle arguments with large real or
27614         imaginary part separately without squaring.
27615         * math/s_catanf.c (__catanf): Likewise.
27616         * math/s_catanh.c (__catanh): Likewise.
27617         * math/s_catanhf.c (__catanhf): Likewise.
27618         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27619         and redefine.
27620         (__catanhl): Handle arguments with large real or imaginary part
27621         separately without squaring.
27622         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27623         and redefine.
27624         (__catanl): Handle arguments with large real or imaginary part
27625         separately without squaring.
27626         * math/libm-test.inc (catan_test): Add more tests.
27627         (catanh_test): Likewise.
27628         * sysdeps/i386/fpu/libm-test-ulps: Update.
27629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27630
27631 2013-04-27  Andreas Jaeger  <aj@suse.de>
27632
27633         [BZ #15007]
27634         * stdlib/stdlib.h: Update guards for qecvt.
27635         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27636         <stdlib.h>.
27637
27638 2013-04-27  Allan McRae  <allan@archlinux.org>
27639
27640         * sysdeps/i386/fpu/libm-test-ulps: Update.
27641
27642 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27643
27644         [BZ #15406]
27645         * math/s_catan.c: Include <float.h>.
27646         (__catan): Ensure underflow exception occurs for underflowed
27647         result.
27648         * math/s_catanf.c: Include <float.h>.
27649         (__catanf): Ensure underflow exception occurs for underflowed
27650         result.
27651         * math/s_catanh.c: Include <float.h>.
27652         (__catanh): Ensure underflow exception occurs for underflowed
27653         result.
27654         * math/s_catanhf.c: Include <float.h>.
27655         (__catanhf): Ensure underflow exception occurs for underflowed
27656         result.
27657         * math/s_catanhl.c: Include <float.h>.
27658         (__catanhl): Ensure underflow exception occurs for underflowed
27659         result.
27660         * math/s_catanl.c: Include <float.h>.
27661         (__catanl): Ensure underflow exception occurs for underflowed
27662         result.
27663         * math/libm-test.inc (catan_test): Add more tests.
27664         (catanh_test): Likewise.
27665
27666         [BZ #15405]
27667         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27668         underflowed result.
27669         * math/s_ccoshf.c (__ccoshf): Likewise.
27670         * math/s_ccoshl.c (__ccoshl): Likewise.
27671         * math/s_csin.c (__csin): Likewise.
27672         * math/s_csinf.c (__csinf): Likewise.
27673         * math/s_csinh.c (__csinh): Likewise.
27674         * math/s_csinhf.c (__csinhf): Likewise.
27675         * math/s_csinhl.c (__csinhl): Likewise.
27676         * math/s_csinl.c (__csinl): Likewise.
27677         * math/libm-test.inc (ccos_test): Add more tests.
27678         (ccosh_test): Likewise.
27679         (csin_test): Likewise.
27680         (csinh_test): Likewise.
27681
27682 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27683
27684         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27685         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27686         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27687         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27688         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27689         powerpc/power5+/fpu folders.
27690         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27691
27692
27693 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27694
27695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27696
27697 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27698
27699         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27700         additions to variable.
27701         [$(config-machine) = x86_64] (modules-names): Likewise.
27702         ($(objpfx)tst-audit3): Remove dependency.
27703         ($(objpfx)tst-audit3.out): Likewise.
27704         ($(objpfx)tst-audit4): Likewise.
27705         ($(objpfx)tst-audit4.out): Likewise.
27706         ($(objpfx)tst-audit5): Likewise.
27707         ($(objpfx)tst-audit5.out): Likewise.
27708         ($(objpfx)tst-audit6): Likewise.
27709         ($(objpfx)tst-audit6.out): Likewise.
27710         ($(objpfx)tst-audit7): Likewise.
27711         ($(objpfx)tst-audit7.out): Likewise.
27712         (tst-audit3-ENV): Remove variable.
27713         (tst-audit4-ENV): Likewise.
27714         (tst-audit5-ENV): Likewise.
27715         (tst-audit6-ENV): Likewise.
27716         (tst-audit7-ENV): Likewise.
27717         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27718         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27719         addition to variable.
27720         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27721         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27722         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27723         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27724         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27725         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27726         tst-audit3, tst-audit4 and tst-audit5.
27727         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27728         tst-audit6 and tst-audit7.
27729         [$(subdir) = elf] (modules-names): Add audit modules for those
27730         tests.
27731         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27732         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27733         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27734         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27735         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27736         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27737         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27738         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27739         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27740         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27741         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27742         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27743         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27744         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27745         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27746         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27747         Likewise.
27748         [$(subdir) = elf && $(config-cflags-avx) = yes]
27749         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27750         [$(subdir) = elf && $(config-cflags-avx) = yes]
27751         (CFLAGS-tst-auditmod4a.c): Likewise.
27752         [$(subdir) = elf && $(config-cflags-avx) = yes]
27753         (CFLAGS-tst-auditmod4b.c): Likewise.
27754         [$(subdir) = elf && $(config-cflags-avx) = yes]
27755         (CFLAGS-tst-auditmod6b.c): Likewise.
27756         [$(subdir) = elf && $(config-cflags-avx) = yes]
27757         (CFLAGS-tst-auditmod6c.c): Likewise.
27758         [$(subdir) = elf && $(config-cflags-avx) = yes]
27759         (CFLAGS-tst-auditmod7b.c): Likewise.
27760         * elf/tst-audit3.c: Move to ...
27761         * sysdeps/x86_64/tst-audit3.c: ... here.
27762         * elf/tst-audit4.c: Move to ...
27763         * sysdeps/x86_64/tst-audit4.c: ... here.
27764         * elf/tst-audit5.c: Move to ...
27765         * sysdeps/x86_64/tst-audit5.c: ... here.
27766         * elf/tst-audit6.c: Move to ...
27767         * sysdeps/x86_64/tst-audit6.c: ... here.
27768         * elf/tst-audit7.c: Move to ...
27769         * sysdeps/x86_64/tst-audit7.c: ... here.
27770         * elf/tst-auditmod3a.c: Move to ...
27771         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27772         * elf/tst-auditmod3b.c: Move to ...
27773         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27774         * elf/tst-auditmod4a.c: Move to ...
27775         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27776         * elf/tst-auditmod4b.c: Move to ...
27777         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27778         * elf/tst-auditmod5a.c: Move to ...
27779         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27780         * elf/tst-auditmod5b.c: Move to ...
27781         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27782         * elf/tst-auditmod6a.c: Move to ...
27783         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27784         * elf/tst-auditmod6b.c: Move to ...
27785         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27786         * elf/tst-auditmod6c.c: Move to ...
27787         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27788         * elf/tst-auditmod7a.c: Move to ...
27789         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27790         * elf/tst-auditmod7b.c: Move to ...
27791         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27792
27793 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27794
27795         [BZ #15366]
27796         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27797         define unconditionally.
27798         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27799         define unconditionally.
27800         (INT8_C, INT16_C, etc.): Likewise.
27801
27802 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27803
27804         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27805         __ehdr_start with hidden visibility.
27806
27807         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27808
27809 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27810
27811         * math/libm-test.inc (cos_test): Use accurate hex constants.
27812         (sincost_test): Likewise.
27813
27814 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27815
27816         * math/libm-test.inc (catan_test): Add more tests.
27817         (catanh_test): Likewise.
27818
27819         * math/s_catanf.c (__catanf): Use suffixed floating-point
27820         constants.
27821         * math/s_catanhf.c (__catanhf): Likewise.
27822         * math/s_catanhl.c (__catanhl): Likewise.
27823         * math/s_catanl.c (__catanl): Likewise.
27824
27825         [BZ #15394]
27826         * math/s_catan.c (__catan): Calculate imaginary part of result
27827         with log1p not log unless computing log of number close to 0.
27828         * math/s_catanf.c (__catanf): Likewise.
27829         * math/s_catanl.c (__catanl): Likewise.
27830         * math/s_catanh.c (__catanh): Calculate real part of result with
27831         log1p not log unless computing log of number close to 0.
27832         * math/s_catanhf.c (__catanhf): Likewise.
27833         * math/s_catanhl.c (__catanhl): Likewise.
27834         * math/libm-test.inc (catan_test): Add more tests.
27835         (catanh_test): Likewise.
27836         * sysdeps/i386/fpu/libm-test-ulps: Update.
27837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27838
27839 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27840
27841         * benchtests/Makefile: Mention files in which fast and slow
27842         paths of math functions are implemented.
27843
27844 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27845
27846         * sysdeps/posix/timespec_get.c: New file.
27847
27848 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27849
27850         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27851         POWER.
27852         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27853         for POWER.
27854         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27855         powerpc/power5/fpu folders.
27856         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27857         * benchtests/Makefile: Add modf testcase.
27858         * benchtests/bench-modf.c: New file: Benchmark test for mo
27859
27860 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27861
27862         [BZ #14888]
27863         * time/Makefile (tests): Add tst-strptime-whitespace.
27864         * time/strptime_l.c (get_number): Use ISSPACE.
27865         (__strptime_internal): Likewise.
27866         * time/tst-strptime-whitespace.c: New test case.
27867
27868 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27869
27870         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27871         member.
27872         (_nss_files_init): Set it here.
27873
27874 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27875
27876         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27877         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27878         unsigned.
27879
27880 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27881
27882         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27883
27884 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27885
27886         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27887         size just once.
27888
27889 2013-04-21  David S. Miller  <davem@davemloft.net>
27890
27891         * po/ru.po: Update Russion translation from translation project.
27892
27893 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27894
27895         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27896         and setfsgid.
27897
27898 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27899
27900         * configure.in: Remove i386 configure warning. Remove i386 case.
27901         * configure: Regenerate.
27902         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27903         Add example to error message.
27904         * sysdeps/i386/configure: Regenerate.
27905
27906 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27907
27908         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27909         slowtan.
27910         * benchtests/cos-inputs: New file.
27911         * benchtests/slowcos-inputs: New file.
27912         * benchtests/slowcos.c: New file.
27913         * benchtests/slowtan-inputs: New file.
27914         * benchtests/slowtan.c: New file.
27915         * benchtests/tan-inputs: New file.
27916
27917 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27918
27919         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27920         considered kosher.
27921
27922 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27923
27924         * benchtests/Makefile: Include cppflags-iterator.mk to add
27925         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27926
27927         * Makefile.in (bench-clean): New target.
27928         * benchtests/Makefile (bench-clean): Likewise.
27929
27930 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27931
27932         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27933
27934 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27935
27936         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27937
27938 2013-04-15  Andreas Schwab  <schwab@suse.de>
27939
27940         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27941         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27942         * nscd/pwdcache.c (cache_addpw): Likewise.
27943         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27944         more than recsize.
27945
27946 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27947
27948         * benchtests/Makefile (bench): Write all output to
27949         bench-out.tmp together.
27950
27951 2013-04-15  Andreas Schwab  <schwab@suse.de>
27952
27953         * nscd/nscd.c (main): Don't fork again after closing files.
27954
27955 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27956
27957         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27958
27959         * benchtests/Rules (bench-deps): Collect dependencies into a
27960         single variable.  Add Makefile to dependencies.
27961         ($(objpfx)bench-%.c): Depend on bench-deps.
27962
27963 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27964             Xavier Roche  <roche+kml2@exalead.com>
27965
27966         [BZ #15361]
27967         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27968         just that it's a file descriptor.
27969         * manual/llio.texi (Synchronizing AIO Operations): Update description
27970         for EBADF error from aio_fsync.
27971
27972 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27973
27974         * Rules (bench): Move target definition...
27975         * benchtests/Makefile: ... here.
27976
27977 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27978
27979         * math/libm-test.inc (cos_test): Fix PI/2 test.
27980         (sincos_test): Likewise.
27981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27982         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27983
27984 2013-04-11  Andreas Schwab  <schwab@suse.de>
27985
27986         [BZ #13988]
27987         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27988         accept exponent character only when digits were seen.
27989         * stdio-common/Makefile (tests): Add bug26.
27990         * stdio-common/bug26.c: New file.
27991
27992         [BZ #14293]
27993         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27994         non-freeable.
27995
27996 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27997
27998         * Makeconfig (rtld-prefix): Define built linker prefix.
27999         * Rules (run-bench): Use it.
28000         * math/Makefile (run-regen-ulps): Likewise.
28001
28002         * Rules (bench): Remove eval.
28003
28004 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28005             Roland McGrath  <roland@hack.frob.com>
28006             Ondrej Bilka  <neleai@seznam.cz>
28007
28008         [BZ #15346]
28009         * time/getdate.c: Include ctype.h and alloca.h.
28010         (__getdate_r): Trim leading and trailing spaces of input.
28011         * time/tst-getdate.c (tests): Add tests with leading and
28012         trailing spaces.
28013
28014 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28015
28016         [BZ #14280]
28017         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28018         when computing value.
28019
28020 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28021
28022         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28023         Use testrun.sh to run libm tests.
28024
28025         [BZ #15309]
28026         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28027
28028 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28029
28030         [BZ #15264]
28031         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28032
28033 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28034
28035         * Makefile.in (regen-ulps): New target.
28036         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28037         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28038         [ifneq (no,$(PERL)] (regen-ulps): New target.
28039         [ifeq (no,$(PERL)] (regen-ulps): New target.
28040         * math/libm-test.inc (ulps_file_name): Define.
28041         (output_dir): New variable.
28042         (options): Add "output-dir" option.
28043         (parse_opt): Handle 'o' case.
28044         (main): If output_dir is non-NULL use it as a prefix
28045         otherwise use "".
28046         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28047
28048 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28049
28050         [BZ #10060, #10062]
28051         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28052         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28053         fail configure if __sync_val_compare_and_swap is not inlined.
28054         * sysdeps/i386/configure: Regenerate.
28055         * configure.in: Build for i686 when configured for i386.
28056         * configure: Regenerate.
28057         * README: Remove i386 reference.
28058
28059 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28060
28061         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28062         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28063
28064 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28065
28066         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28067         (lmsnanval): New variables.
28068         (F): Add conversion tests.
28069         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28070         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28071
28072         * stdio-common/tstdiomisc.c (F): Properly collect individual
28073         tests' results.
28074
28075         [BZ #14686, #15336]
28076         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28077         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28078         Instead, use input NaN values or generate a qNaN by arithmetic
28079         operation.  Also fix bugs to comply with the standard.
28080         * math/libm-test.inc (remainder_test): Add more tests.
28081
28082         [BZ #15335, #15342]
28083         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28084         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28085         input NaN values or generate a qNaN by arithmetic operation.
28086
28087         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28088         unreachable code.
28089
28090         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28091         definitions.
28092
28093 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28094
28095         [BZ #14478]
28096         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28097         underflowed result.
28098         * math/s_cexpf.c (__cexpf): Likewise.
28099         * math/s_cexpl.c (__cexpl): Likewise.
28100         * math/libm-test.inc (cexp_test): Add more tests.
28101
28102 2013-04-03  Andreas Schwab  <schwab@suse.de>
28103
28104         [BZ #15330]
28105         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28106         order arrays from heap if bigger than alloca cutoff.
28107
28108 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28109
28110         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28111         (SNAN_TESTS_double): Refer to GCC PR56831.
28112         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28113         GCC PR56828.
28114
28115 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28116
28117         * Rules (bench): Move bench.out after the run is complete.
28118
28119         * Rules (bench): Echo currently running benchmark.
28120
28121         * benchtests/Makefile (bench): Add atan and slowatan.
28122         * benchtests/atan-inputs: New file.
28123         * benchtests/slowatan-inputs: New file.
28124         * benchtests/slowatan.c: New file.
28125
28126         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28127         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28128         its value.
28129
28130         [BZ #15305]
28131         * sysdeps/unix/sysv/linux/kernel-features.h
28132         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28133         __ASSUME_XFS_RESTRICTED_CHOWN.
28134         * sysdeps/unix/sysv/linux/pathconf.c
28135         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28136         Save and restore errno.
28137
28138 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28139
28140         [BZ #15327]
28141         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28142         arguments using __kernel_casinh.
28143         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28144         arguments using __kernel_casinhf.
28145         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28146         arguments using __kernel_casinhl.
28147         * math/libm-test.inc (cacosh_test): Add more tests.
28148         * sysdeps/i386/fpu/libm-test-ulps: Update.
28149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150
28151 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28152
28153         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28154         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28155
28156         * bench/Makefile (bench): Add sin and slowsin.
28157         * benchtests/sin-inputs: New file.
28158         * benchtests/slowsin-inputs: New file.
28159         * benchtests/slowsin.c: New file.
28160
28161         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28162         (bench): Add slowexp and slowpow.
28163         (exp-ITER): Increase iterations.
28164         (pow-ITER): Likewise.
28165         * benchtests/exp-inputs: Change input.
28166         * benchtests/pow-inputs: Likewise.
28167         * benchtests/slowexp-inputs: New file.
28168         * benchtests/slowexp.c: New file.
28169         * benchtests/slowpow-inputs: New file.
28170         * benchtests/slowpow.c: New file.
28171
28172 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28173
28174         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28175         instructions.
28176         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28177         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28178         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28179         * benchtests/Makefile: Add rint benchtest.
28180         * benchtests/rint-inputs: Input for rint benchtest.
28181
28182 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28183
28184         * Versions.def (libm): Add GLIBC_2.18.
28185         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28186         hidden libm prototypes.
28187         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28188         * math/Makefile (libm-calls): Add s_issignaling.
28189         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28190         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28191         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28192         declaration.
28193         * math/math.h [__USE_GNU] (issignaling): New macro.
28194         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28195         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28196         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28197         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28198         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28199         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28200         * manual/arith.texi (issignaling): New section.
28201         * manual/libm-err-tab.pl (@all_functions): Update comment.
28202         * math/gen-libm-test.pl (parse_args): Apply special handling for
28203         issignaling.
28204         * math/libm-test.inc (print_float, issignaling_test): New
28205         functions.
28206         (check_float_internal): Add issignaling checks.
28207         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28208         default definition.
28209         * sysdeps/powerpc/math-tests.h: New file.
28210         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28211         tests.
28212         * math/test-snan.c (TEST_FUNC): Likewise.
28213
28214 2013-03-30  David S. Miller  <davem@davemloft.net>
28215
28216         * po/de.po: Update from translation team.
28217
28218 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28219
28220         [BZ #10357]
28221         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28222         imaginary part less than 1.0 and real part less than 0.5
28223         specially.
28224         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28225         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28226         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28227         (cacos_test): Add more tests.
28228         (casin_test): Likewise.
28229         (casinh_test): Likewise.
28230         * sysdeps/i386/fpu/libm-test-ulps: Update.
28231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28232
28233 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28234
28235         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28236         ONE with its value.
28237
28238         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28239         (__pow_mp): Replace ONE and MONE with their values.
28240         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28241         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28242         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28243         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28244         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28245         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28246
28247         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28248
28249         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28250         (__pow_mp): Replace ZERO and MZERO with their values.
28251         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28252         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28253         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28255         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28256         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28257         (__sqr): Likewise.
28258
28259         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28260
28261         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28262
28263 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28264
28265         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28266         Declare with __attribute__ ((weak)).
28267         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28268         Call __call_tls_dtors only if it's not NULL.
28269
28270 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28271
28272         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28273         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28274         magic __ehdr_start linker symbol if it's defined.
28275         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28276         them up here if it was already done.
28277
28278         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28279         (_dl_aux_init): Use const in cast when setting it.
28280         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28281         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28282         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28283
28284         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28285         Declare them here.
28286         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28287         * csu/libc-tls.c: Nor here.
28288         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28289
28290         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28291         (__libc_message): Never call vsyslog.
28292
28293 2013-03-28  Alan Modra  <amodra@gmail.com>
28294
28295         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28296         Define as empty.
28297         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28298         Likewise.
28299
28300 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28301
28302         [BZ #15214]
28303         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28304         underflow.
28305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28306
28307 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28308
28309         [BZ #15304]
28310         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28311         Don't add gid passed as argument.
28312
28313         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28314
28315 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28316
28317         [BZ #15307]
28318         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28319         imaginary part between 1.0 and 1.5 and real part less than 0.5
28320         specially.
28321         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28322         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28323         * math/libm-test.inc (cacos_test): Add more tests.
28324         (casin_test): Likewise.
28325         (casinh_test): Likewise.
28326         * sysdeps/i386/fpu/libm-test-ulps: Update.
28327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28328
28329 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28330
28331         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28332         constants.
28333         (norm): Likewise.
28334         (denorm): Likewise.
28335         (__dbl_mp): Likewise.
28336         (add_magnitudes): Likewise.
28337         (sub_magnitudes): Likewise.
28338         (__add): Likewise.
28339         (__sub): Likewise.
28340         (__mul): Likewise.
28341         (__sqr): Likewise.
28342         (__inv): Likewise.
28343         (__dvd): Likewise.
28344
28345         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28346         commented code.
28347         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28348         (__dubcos): Likewise.
28349         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28350         (__ieee754_acos): Likewise.
28351         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28352         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28353         (__exp1): Likewise.
28354         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28356         (log1): Likewise.
28357         (my_log2): Likewise.
28358         (checkint): Likewise.
28359         * sysdeps/ieee754/dbl-64/e_remainder.c
28360         (__ieee754_remainder): Likewise.
28361         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28363         (bsloww): Likewise.
28364         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28365
28366         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28367         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28368         MANTISSA_STORE_T to store computations on mantissa.  Use
28369         macros for rounding and division.
28370         (denorm): Likewise.
28371         (__dbl_mp): Likewise.
28372         (add_magnitudes): Likewise.
28373         (sub_magnitudes): Likewise.
28374         (__mul): Likewise.
28375         (__sqr): Likewise.
28376         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28377         powers of two in terms of TWOPOW macro.
28378         (mp_no): Make type of mantissa as MANTISSA_T.
28379         [!RADIXI]: Define RADIXI.
28380         [!TWO52]: Define TWO52.
28381         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28382
28383 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28384
28385         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28386         llroundl symbol when building for PPC32.
28387
28388 2013-03-24  Mark H Weaver  <mhw@netris.org>
28389
28390         * manual/arith.texi (Normalization Functions): Fix prototypes for
28391         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28392
28393 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28394
28395         [BZ #13889]
28396         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28397         high value to check if expl overflow.
28398         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28399         to check for underflow and overflow.
28400         * math/libm-test.inc: Add exp test.
28401
28402 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28403
28404         [BZ #11120]
28405         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28406         with NOT_IN_libc.
28407
28408 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28409
28410         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28411         symbol.
28412
28413 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28414
28415         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28416         wrap blocks consisting of several statements.
28417
28418         * sysdeps/generic/math-tests.h: New file.
28419         * sysdeps/i386/fpu/math-tests.h: Likewise.
28420         * math/test-snan.c: Include it.
28421         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28422
28423 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28424
28425         [BZ #15285]
28426         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28427         (__ieee754_j0l): Do not improve calculations using cos of twice
28428         input for inputs above LDBL_MAX / 2.0L.
28429         (__ieee754_y0l): Likewise.
28430         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28431         (__ieee754_j1l): Do not improve calculations using cos of twice
28432         input for inputs above LDBL_MAX / 2.0L.
28433         (__ieee754_y1l): Likewise.
28434         * math/libm-test.inc (j0_test): Add another test.
28435         (j1_test): Likewise.
28436         (y0_test): Likewise.
28437         (y1_test): Likewise.
28438         * sysdeps/i386/fpu/libm-test-ulps: Update.
28439
28440 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441
28442         * Rules ($(objpfx)bench-%.c): Include code from a C source
28443         file.
28444
28445 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28446
28447         [BZ #15287]
28448         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28449         imaginary part 1.0 and real part less than 0.5 specially.
28450         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28451         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28452         * math/libm-test.inc (cacos_test): Add more tests.
28453         (casin_test): Likewise.
28454         (casinh_test): Likewise.
28455         * sysdeps/i386/fpu/libm-test-ulps: Update.
28456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28457
28458 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28459
28460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28461         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28462
28463 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28464
28465         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28466         * config.make.in (config-cflags-sse4): Remove variable.
28467         (config-cflags-avx): Likewise.
28468         (config-cflags-sse2avx): Likewise.
28469         (config-cflags-novzeroupper): Likewise.
28470         (config-asflags-i686): Likewise.
28471         (have-mfma4): Likewise.
28472         (have-as-vis3): Likewise.
28473         (MIG): Likewise.
28474         * configure.in (MIG): Do not AC_SUBST.
28475         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28476         (libc_cv_cc_sse4): Do not AC_SUBST.
28477         (libc_cv_cc_avx): Likewise.
28478         (libc_cv_cc_sse2avx): Likewise.
28479         (libc_cv_cc_novzeroupper): Likewise.
28480         (libc_cv_cc_fma4): Likewise.
28481         (libc_cv_as_i686): Likewise.
28482         (libc_cv_sparc_as_vis3): Likewise.
28483         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28484         LIBC_CONFIG_VAR.
28485         (config-asflags-i686): Likewise.
28486         (config-cflags-avx): Likewise.
28487         (config-cflags-sse2avx): Likewise.
28488         (have-mfma4): Likewise.
28489         (config-cflags-novzeroupper): Likewise.
28490         * sysdeps/mach/configure.in (MIG): Likewise.
28491         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28492         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28493         LIBC_CONFIG_VAR.
28494         (config-cflags-avx): Likewise.
28495         (config-cflags-sse2avx): Likewise.
28496         (have-mfma4): Likewise.
28497         (config-cflags-novzeroupper): Likewise.
28498         * configure: Regenerated.
28499         * sysdeps/i386/configure: Likewise.
28500         * sysdeps/mach/configure: Likewise.
28501         * sysdeps/sparc/configure: Likewise.
28502         * sysdeps/x86_64/configure: Likewise.
28503
28504 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28505
28506         [BZ #14812]
28507         * locale/programs/localedef.c (options): Put N_ translation marker
28508         on argument names, not just descriptions.
28509
28510 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28511
28512         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28513
28514 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28515
28516         [BZ #14176]
28517         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28518
28519 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28520
28521         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28522         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28523         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28524         [!BEFORE_ABORT] (before_abort): New function.
28525         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28526         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28527         (writev_for_fatal): New function.
28528         (WRITEV_FOR_FATAL): New macro; call that.
28529         (backtrace_and_maps): New function.
28530         (BEFORE_ABORT): New macro; call that.
28531         (struct str_list): Type removed.
28532         (__libc_message, __libc_fatal): Functions removed.
28533         Include <sysdeps/posix/libc_fatal.c> instead.
28534
28535 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28536
28537         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28538         constants.
28539         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28540         double constants.
28541
28542 2013-03-19  Andreas Schwab  <schwab@suse.de>
28543
28544         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28545         * sysdeps/gnu/configure: Regenerate.
28546
28547         * configure.in: Substitute libc_cv_rtlddir.
28548         * configure: Regenerate.
28549         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28550         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28551         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28552         * elf/Makefile (install-others, CFLAGS-interp.c)
28553         (ldso_install, common-ldd-rewrite): Likewise.
28554         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28555         $(inst_slibdir)/$(rtld-installed-name).
28556         * scripts/rellns-sh: Add -p option.
28557         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28558         for source.
28559
28560 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28561
28562         * manual/nptl.texi: Renamed to ...
28563         * manual/threads.texi: ... this.
28564         * manual/Makefile (chapters): Update.
28565
28566 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28567
28568         [BZ #14812]
28569         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28570         on argument names, not just descriptions.
28571         * malloc/memusagestat.c (options): Likewise.
28572         * nss/getent.c (options): Likewise.
28573
28574 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28575
28576         [BZ #14812]
28577         * iconv/iconv_prog.c (options): Put N_ translation marker
28578         on argument names, not just descriptions.
28579         * iconv/iconvconfig.c (options): Likewise.
28580
28581 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28582
28583         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28584         implementation which is faster on all x86_64 architectures.
28585         Tested on AMD, Intel Nehalem, SNB, IVB.
28586         * sysdeps/x86_64/strnlen.S: Likewise.
28587
28588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28589         Remove all multiarch strlen and strnlen versions.
28590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28591         Remove strlen and strnlen related parts.
28592
28593         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28594         Inline strlen part.
28595         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28596
28597         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28598         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28599         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28600         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28601         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28602         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28603
28604 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28605
28606         * manual/memory.texi (Malloc Tunable Parameters):
28607         Sort parameters alphabetically. Add comments for missing entries.
28608
28609 2013-03-17  David S. Miller  <davem@davemloft.net>
28610
28611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28612
28613 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28614
28615         [BZ #15283]
28616         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28617         for arguments at most half maximum finite value.
28618         * math/libm-test.inc (j0_test): Add more tests.
28619         (j1_test): Likewise.
28620         (y0_test): Likewise.
28621         (y1_test): Likewise.
28622         * sysdeps/i386/fpu/libm-test-ulps: Update.
28623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28624
28625         [BZ #14155]
28626         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28627         1 / x and functions P and Q for arguments above 0x1p256L.
28628         (__ieee754_y0l): Likewise.
28629         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28630         (__ieee754_y1l): Likewise.
28631         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28632         (j1_test): Likewise.
28633         (y0_test): Likewise.
28634         (y1_test): Likewise.
28635
28636 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28637
28638         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28639         variable.
28640
28641 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28642
28643         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28644         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28645         zero since it's initialized to EXEC_PAGESIZE.
28646
28647         * sysdeps/unix/sysv/linux/ldsodefs.h
28648         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28649         * sysdeps/generic/ldsodefs.h: ... here.
28650
28651 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28652
28653         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28654
28655         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28656         math/test-snan.c.
28657         * math/test-snan.c: Renamed from
28658         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28659         * math/Makefile (tests): Add test-snan.
28660         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28661         test-powerpc-snan.
28662
28663         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28664         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28665         functions.
28666         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28667         __builtin_nan family of functions.
28668         * math/libm-test.inc (initialize): Initialize qnan_value with
28669         __builtin_nan family of functions.
28670         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28671         Remove variables.
28672         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28673         Remove functions.
28674         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28675         storage class.  Initialize qNaN_var and sNaN_var with
28676         __builtin_nan and __builtin_nans families of functions,
28677         respectively.
28678
28679         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28680         (sqrt_test): Remove duplicate test with qNaN input.
28681         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28682         (round_test, signbit_test, significand_test): Note missing +/-Inf
28683         as well as qNaN tests.
28684
28685         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28686         qNaN_var.  Fix a few strings, too.
28687         * math/libm-test.inc (nan_value): Rename to qnan_value.
28688         * math/gen-libm-test.pl (%beautify): Adjust to that.
28689         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28690         * math/test-misc.c (main): Likewise.
28691         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28692         to __qnan_bytes, and __qnan_union, respectively.
28693         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28694         Likewise.
28695         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28696         and lqnanval, respectively.
28697         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28698         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28699         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28700         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28701
28702         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28703         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28704         doubles.
28705
28706         * math/test-misc.c (main): Fix copy'n'pastos.
28707         * misc/tst-efgcvt.c (special): Likewise.
28708
28709         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28710         Remove declarations.
28711
28712 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28713
28714         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28715         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28716         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28717         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28718
28719 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28720
28721         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28722         macro to return vdso values correctly in IFUNC implementations.
28723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28724         Optimization by using IFUNC.
28725
28726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28727             Richard Henderson  <rth@redhat.com>
28728             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28729
28730         * Makefile.in (bench): New target.
28731         * NEWS: Mention the benchmark framework.
28732         * Rules (bench): Likewise.
28733         (binaries-bench): Generate binaries for functions to
28734         benchmark.
28735         * benchtests/Makefile: New makefile for benchmark tests.
28736         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28737         programs.
28738         * benchtests/exp-inputs: New input file for EXP function.
28739         * benchtests/pow-inputs: New input file for POW function.
28740         * scripts/bench.pl: New script to generate source files for
28741         benchmark programs.
28742
28743 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28744
28745         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28746         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28747         computations on mantissa.  Use macros for rounding and
28748         division.
28749         (denorm): Likewise.
28750         (__dbl_mp): Likewise.
28751         (add_magnitudes): Likewise.
28752         (sub_magnitudes): Likewise.
28753         (__mul): Likewise.
28754         (__sqr): Likewise.
28755         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28756         powers of two in terms of TWOPOW macro.
28757         (mp_no): Make type of mantissa as MANTISSA_T.
28758         [!RADIXI]: Define RADIXI.
28759         [!TWO52]: Define TWO52.
28760         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28761
28762         * manual/nptl.texi (cindex): Modify threads to pthreads.
28763
28764 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28765
28766         * sysdeps/x86_64/preconfigure: Regenerated.
28767
28768 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28769
28770         [BZ #14155]
28771         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28772         0x1p28 and above.
28773         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28774         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28775         0x1p28 and above.
28776         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28777         * math/libm-test.inc (j0_test): Do not allow one spurious
28778         underflow exception.
28779         (y1_test): Likewise.
28780
28781 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28782
28783         * manual/Makefile (chapters): Add nptl.
28784         * manual/debug.texi (Debugging Support): Add link to Threads
28785         chapter.
28786         * manual/nptl.texi: New file.
28787
28788         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28789
28790 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28791
28792         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28793         for non-NULL pointer before the memory validity test. Pointed
28794         out by Holger Brunck <holger.brunck@keymile.com>.
28795
28796 2013-03-13  Andreas Schwab  <schwab@suse.de>
28797
28798         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28799         instead of .os.
28800
28801 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28802
28803         * timezone/zic.c: Update from tzcode 2013b.
28804
28805 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28806
28807         * manual/install.texi (Configuring and compiling):
28808         Mention i686 and i586.
28809         * INSTALL: Regenerate.
28810
28811 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28812
28813         * sysdeps/init_array/elf-init.c: New file.
28814         * csu/elf-init.c
28815         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28816         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28817
28818         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28819         __gmon_start__ as global, but as static with a .preinit_array pointer.
28820         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28821         * sysdeps/init_array/crti.S: New file, empty except for comments.
28822         * sysdeps/init_array/crtn.S: Likewise.
28823
28824 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28825
28826         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28827         definining bcopy.
28828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28829         Remove Prefer_SSE_for_memop.
28830         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28831         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28832         HAS_PREFER_SSE_FOR_MEMOP.
28833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28834         memset-x86-64.
28835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28836         Remove bzero, memset ifunc support.
28837         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28838         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28839         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28840         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28841
28842 2013-03-11  Andreas Schwab  <schwab@suse.de>
28843
28844         [BZ #15234]
28845         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28846         by SHLIB_COMPAT.
28847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28848         (GLIBC_2.16): Remove pthread_atfork.
28849
28850 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28851
28852         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28853         (ptestcases.h): Likewise.
28854
28855 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28856
28857         * Makeconfig ($(common-objpfx)config.status): Depend on
28858         sysdeps/*/preconfigure{,.in} too.
28859
28860 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28861
28862         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28863         (__free_hook): Use void * instead of __malloc_ptr_t.
28864         (__malloc_hook): Likewise.
28865         (__realloc_hook): Likewise.
28866         (__memalign_hook): Likewise.
28867         (__after_morecore_hook): Likewise.
28868         * malloc/arena.c (save_malloc_hook): Likewise.
28869         (save_free_hook): Likewise.
28870         * malloc/hooks.c (malloc_hook_ini): Likewise.
28871         (realloc_hook_ini): Likewise.
28872         (memalign_hook_ini): Likewise.
28873         * malloc/malloc.c (malloc_hook_ini): Likewise.
28874         (realloc_hook_ini): Likewise.
28875         (memalign_hook_ini): Likewise.
28876         (__free_hook): Likewise.
28877         (__malloc_hook): Likewise.
28878         (__realloc_hook): Likewise.
28879         (__memalign_hook): Likewise.
28880         (__libc_malloc): Likewise.
28881         (__libc_free): Likewise.
28882         (__libc_realloc): Likewise.
28883         (__libc_memalign): Likewise.
28884         (__libc_valloc): Likewise.
28885         (__libc_pvalloc): Likewise.
28886         (__libc_calloc): Likewise.
28887         (__posix_memalign): Likewise.
28888         * malloc/morecore.c (__sbrk): Likewise.
28889         (__default_morecore): Likewise.
28890
28891         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28892
28893         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28894         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28895         __malloc_ptrdiff_t.
28896
28897         * malloc/malloc.h (__malloc_size_t): Remove macro.
28898         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28899         __malloc_size_t.
28900         (old_memalign_hook): Likewise.
28901         (old_realloc_hook): Likewise.
28902         (struct hdr): Likewise.
28903         (flood): Likewise.
28904         (mallochook): Likewise.
28905         (memalignhook): Likewise.
28906         (reallochook): Likewise.
28907         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28908         (tr_old_realloc_hook): Likewise.
28909         (tr_old_memalign_hook): Likewise.
28910         (tr_mallochook): Likewise.
28911         (tr_reallochook): Likewise.
28912         (tr_memalignhook): Likewise.
28913
28914 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28915
28916         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28917         default_ldbl_pack and using as default implementation.
28918         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28919         implementation.
28920         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28921         redundant definition.
28922         (ldbl_insert_mantissa): Likewise.
28923         (ldbl_canonicalize): Likewise.
28924         (ldbl_nearbyint): Likewise.
28925         (ldbl_pack): Rename to ldbl_pack_ppc.
28926         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28927         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28928         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28929
28930 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28931
28932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28933         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28934         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28935         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28938         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28939         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28940
28941 2013-03-07  Andreas Jaeger  <aj@suse.de>
28942
28943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28944         bits/mman-linux.h.
28945
28946 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28947
28948         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28949         Include mpa.h and declare __MPEXP.
28950         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28951         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28952         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28953         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28954         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28955         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28956         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28957
28958         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28959         (__slowpow): Use long double EXPL and LOGL functions to
28960         compute POW.
28961         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28962         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28963         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28964         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28965         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28966         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28967
28968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28969         intermediate variable to calculate exponent.
28970         (__sqr): Likewise.
28971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28972         Likewise.
28973         (__sqr): Likewise.
28974
28975         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28976         [!NO__SQR]: Define __sqr.
28977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28978         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28979         sysdeps/ieee754/dbl-64/mpa.c.
28980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28981
28982         [BZ #12723]
28983         * posix/Makefile (tests): Add tst-pathconf.
28984         * posix/tst-pathconf.c: New test case.
28985         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28986         _PC_PIPE_BUF.
28987         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28988
28989 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28990
28991         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28992
28993 2013-03-06  Andreas Jaeger  <aj@suse.de>
28994
28995         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28996         definition via __MAP_ANONYMOUS.
28997
28998         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28999         it's not part of Linux headers.
29000
29001         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29002         (MAP_HUGE_MASK): Define.
29003
29004         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29005         Define.
29006         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29007         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29008         Define.
29009         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29010         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29011         Define.
29012         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29014         Define.
29015         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29016
29017         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29018         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29019         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29020         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29021         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29022         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29023
29024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29025         Handle f2fs.
29026
29027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29028         Handle f2fs and efivarfs.
29029
29030         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29031         f2fs.
29032
29033         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29034         (EFIVARFS_MAGIC): Add.
29035         (F2FS_LINK_MAX): Add.
29036
29037 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29038
29039         * stdio-common/vfprintf.c: Replace __builtin_expect with
29040         __glibc_unlikely.
29041
29042 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29043
29044         [BZ #13550]
29045         * sysdeps/generic/bp-sym.h: Remove file.
29046         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29047         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29048         <bp-sym.h> and <bp-asm.h>.
29049         (__longjmp): Don't use BP_SYM.
29050         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29051         and <bp-asm.h>.
29052         (memcpy): Don't use BP_SYM.
29053         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29054         <bp-sym.h> and <bp-asm.h>.
29055         (memcpy): Don't use BP_SYM.
29056         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29057         <bp-asm.h>.
29058         (memcpy): Don't use BP_SYM.
29059         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29060         <bp-asm.h>.
29061         (memset): Don't use BP_SYM.
29062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29064         (__bzero): Don't use BP_SYM.
29065         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29066         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29067         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29068         <bp-sym.h> and <bp-asm.h>.
29069         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29070         pointers.
29071         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29072         <bp-sym.h> and <bp-asm.h>.
29073         (memcpy): Don't use BP_SYM.
29074         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29075         <bp-sym.h> and <bp-asm.h>.
29076         (memset): Don't use BP_SYM.
29077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29079         (__bzero): Don't use BP_SYM.
29080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29082         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29083         <bp-sym.h> and <bp-asm.h>.
29084         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29085         pointers.
29086         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29087         <bp-sym.h> and <bp-asm.h>.
29088         (memcpy): Don't use BP_SYM.
29089         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29090         <bp-sym.h> and <bp-asm.h>.
29091         (memset): Don't use BP_SYM.
29092         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29093         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29094         (__bzero): Don't use BP_SYM.
29095         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29096         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29097         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29098         <bp-sym.h> and <bp-asm.h>.
29099         (__memchr): Don't use BP_SYM.
29100         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29101         <bp-sym.h> and <bp-asm.h>.
29102         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29103         pointers.
29104         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29105         <bp-sym.h> and <bp-asm.h>.
29106         (memcpy): Don't use BP_SYM.
29107         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29108         <bp-sym.h> and <bp-asm.h>.
29109         (__mempcpy): Don't use BP_SYM.
29110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29111         <bp-sym.h> and <bp-asm.h>.
29112         (__memrchr): Don't use BP_SYM.
29113         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29114         <bp-sym.h> and <bp-asm.h>.
29115         (memset): Don't use BP_SYM.
29116         (__bzero): Likewise.
29117         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29118         <bp-sym.h> and <bp-asm.h>.
29119         (__rawmemchr): Don't use BP_SYM.
29120         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29121         <bp-sym.h> and <bp-asm.h>.
29122         (__STRCMP): Don't use BP_SYM.
29123         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29124         <bp-sym.h> and <bp-asm.h>.
29125         (strchr): Don't use BP_SYM.
29126         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29127         <bp-sym.h> and <bp-asm.h>.
29128         (__strchrnul): Don't use BP_SYM.
29129         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29130         <bp-sym.h> and <bp-asm.h>.
29131         (strlen): Don't use BP_SYM.
29132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29133         <bp-sym.h> and <bp-asm.h>.
29134         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29135         pointers.
29136         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29137         <bp-sym.h> and <bp-asm.h>.
29138         (__strnlen): Don't use BP_SYM.
29139         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29140         <bp-sym.h> and <bp-asm.h>.
29141         (__GI__setjmp): Don't use BP_SYM.
29142         (_setjmp): Likewise.
29143         (__sigsetjmp): Likewise.
29144         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29145         (L(start_addresses)): Don't use BP_SYM.
29146         (_start): Likewise.
29147         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29148         <bp-asm.h>.
29149         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29150         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29151         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29152         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29153         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29154         <bp-asm.h>.
29155         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29156         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29157         about bounded pointers.
29158         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29159         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29160         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29161         <bp-asm.h>.
29162         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29163         about bounded pointers.  Remove GKM FIXME comments.
29164         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29165         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29166         <bp-asm.h>.
29167         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29168         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29169         Remove GKM FIXME comments.
29170         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29171         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29172         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29173         <bp-asm.h>.
29174         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29175         about bounded pointers.  Remove GKM FIXME comment.
29176         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29177         and <bp-asm.h>.
29178         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29179         pointers.
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29181         <bp-sym.h> and <bp-asm.h>.
29182         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29184         <bp-sym.h> and <bp-asm.h>.
29185         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29186         comment.
29187
29188 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29189
29190         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29191         call free(NULL).
29192
29193 2013-03-05  David S. Miller  <davem@davemloft.net>
29194
29195         * po/es.po: Update from translation team.
29196
29197 2013-03-05  Andreas Jaeger  <aj@suse.de>
29198
29199         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29200         <bits/mman-linux.h>.
29201         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29202         is fine.
29203         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29204         <bits/mman-linux.h> to end of file.
29205         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29206         is fine.
29207         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29208         <bits/mman-linux.h> to end of file.
29209         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29210         is fine.
29211         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29212         <bits/mman-linux.h> to end of file.
29213
29214         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29215         (MCL_CURRENT, MCL_FUTURE): Define here.
29216
29217 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29218
29219         [BZ #15232]
29220         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29221         attribute_hidden.
29222         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29223
29224 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29225
29226         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29227         fourth parameter needed for rt_sigprocmask syscall.
29228         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29229         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29230         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29231         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29232         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29233         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29234
29235 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29236
29237         [BZ #13550]
29238         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29239         comment about bounded pointers.
29240         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29241         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29242
29243 2013-03-04  Andreas Jaeger  <aj@suse.de>
29244
29245         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29246         common definitions.
29247
29248         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29249         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29250         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29251         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29254
29255 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29256
29257         [BZ #15055]
29258         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29259         __ieee754_sqrl instead of __sqrl.
29260
29261 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29262
29263         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29264         * sysdeps/powerpc/fpu_control.h: ... here.
29265         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29266         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29267         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29268         * sysdeps/powerpc/bits/mathinline.h: ... here.
29269
29270 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29271
29272         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29273         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29274         to just [NEED_DL_SYSINFO_DSO].
29275         * elf/dl-support.c: Likewise.
29276         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29277         * elf/rtld.c (dl_main): Likewise.
29278         * elf/setup-vdso.h (setup_vdso): Likewise.
29279         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29280         * sysdeps/unix/sysv/linux/dl-sysdep.c
29281         (_dl_discover_osversion): Likewise.
29282
29283 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29284
29285         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29286         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29287
29288 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29289
29290         * NEWS: Mention libm performance improvements and non-x86 PI
29291         futex support.
29292
29293         * csu/libc-start.c (__pthread_initialize_minimal): Change
29294         function arguments.
29295         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29296
29297 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29298
29299         [BZ #13550]
29300         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29301         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29302         <bp-sym.h> and <bp-asm.h>.
29303         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29304         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29305         and <bp-asm.h>.
29306         (memcpy): Don't use BP_SYM.
29307         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29308         <bp-asm.h>.
29309         (__mpn_add_n): Don't use BP_SYM.
29310         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29311         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29312         and <bp-asm.h>.
29313         (__mpn_addmul_1): Don't use BP_SYM.
29314         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29315         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29316         <bp-sym.h>.
29317         (_setjmp): Don't use BP_SYM.
29318         (__novmx_setjmp): Likewise.
29319         (__GI__setjmp): Likewise.
29320         (__vmx_setjmp): Likewise.
29321         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29322         <bp-sym.h>.
29323         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29324         (__bzero): Don't use BP_SYM.
29325         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29326         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29327         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29328         <bp-sym.h> and <bp-asm.h>.
29329         (memcpy): Don't use BP_SYM.
29330         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29331         <bp-sym.h> and <bp-asm.h>.
29332         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29333         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29334         <bp-sym.h> and <bp-asm.h>.
29335         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29336         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29337         <bp-asm.h>.
29338         (__mpn_lshift): Don't use BP_SYM.
29339         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29340         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29341         <bp-asm.h>.
29342         (memset): Don't use BP_SYM.
29343         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29344         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29345         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29346         <bp-asm.h>.
29347         (__mpn_mul_1): Don't use BP_SYM.
29348         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29349         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29350         <bp-sym.h> and <bp-asm.h>.
29351         (memcmp): Don't use BP_SYM.
29352         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29353         <bp-sym.h> and <bp-asm.h>.
29354         (memcpy): Don't use BP_SYM.
29355         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29356         <bp-sym.h> and <bp-asm.h>.
29357         (memset): Don't use BP_SYM.
29358         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29359         <bp-sym.h> and <bp-asm.h>.
29360         (strncmp): Don't use BP_SYM.
29361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29362         <bp-sym.h> and <bp-asm.h>.
29363         (memcpy): Don't use BP_SYM.
29364         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29365         <bp-sym.h> and <bp-asm.h>.
29366         (memset): Don't use BP_SYM.
29367         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29368         <bp-sym.h> and <bp-asm.h>.
29369         (__memchr): Don't use BP_SYM.
29370         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29371         <bp-sym.h> and <bp-asm.h>.
29372         (memcmp): Don't use BP_SYM.
29373         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29374         <bp-sym.h> and <bp-asm.h>.
29375         (memcpy): Don't use BP_SYM.
29376         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29377         <bp-sym.h> and <bp-asm.h>.
29378         (__mempcpy): Don't use BP_SYM.
29379         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29380         <bp-sym.h> and <bp-asm.h>.
29381         (__memrchr): Don't use BP_SYM.
29382         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29383         <bp-sym.h> and <bp-asm.h>.
29384         (memset): Don't use BP_SYM.
29385         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29386         <bp-sym.h> and <bp-asm.h>.
29387         (__rawmemchr): Don't use BP_SYM.
29388         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29389         <bp-sym.h> and <bp-asm.h>.
29390         (__STRCMP): Don't use BP_SYM.
29391         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29392         <bp-sym.h> and <bp-asm.h>.
29393         (strchr): Don't use BP_SYM.
29394         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29395         <bp-sym.h> and <bp-asm.h>.
29396         (__strchrnul): Don't use BP_SYM.
29397         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29398         <bp-sym.h> and <bp-asm.h>.
29399         (strlen): Don't use BP_SYM.
29400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29401         <bp-sym.h> and <bp-asm.h>.
29402         (strncmp): Don't use BP_SYM.
29403         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29404         <bp-sym.h> and <bp-asm.h>.
29405         (__strnlen): Don't use BP_SYM.
29406         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29407         <bp-asm.h>.
29408         (__mpn_rshift): Don't use BP_SYM.
29409         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29410         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29411         <bp-sym.h> and <bp-asm.h>.
29412         (__sigsetjmp): Don't use BP_SYM.
29413         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29414         (L(start_addresses)): Don't use BP_SYM.
29415         (_start): Likewise.
29416         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29417         <bp-asm.h>.
29418         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29419         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29420         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29421         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29422         <bp-asm.h>.
29423         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29424         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29425         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29426         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29427         <bp-asm.h>.
29428         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29429         comments.
29430         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29431         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29432         <bp-asm.h>.
29433         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29434         FIXME comments.
29435         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29436         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29437         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29438         <bp-asm.h>.
29439         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29440         comment.
29441         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29442         and <bp-asm.h>.
29443         (strncmp): Don't use BP_SYM,
29444         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29445         <bp-asm.h>.
29446         (__mpn_sub_n): Don't use BP_SYM.
29447         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29448         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29449         and <bp-asm.h>.
29450         (__mpn_submul_1): Don't use BP_SYM.
29451         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29453         <bp-sym.h> and <bp-asm.h>.
29454         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29456         <bp-sym.h> and <bp-asm.h>.
29457         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29458         comment.
29459
29460 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29461
29462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29463         Use ZK to minimize writes to Z.
29464         (sub_magnitudes): Simplify code a bit.
29465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29466         Use ZK to minimize writes to Z.
29467         (sub_magnitudes): Simplify code a bit.
29468
29469 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29470
29471         * csu/gmon-start.c: Add special exception to license text.
29472
29473 2013-02-27  Richard Henderson  <rth@redhat.com>
29474
29475         * scripts/config.guess: Update from config.git.
29476         * scripts/config.sub: Likewise.
29477
29478 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29479
29480         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29481
29482         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29483
29484         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29485
29486         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29487
29488         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29489
29490 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29491
29492         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29493         [$(build-shared = yes].
29494
29495 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29496
29497         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29498         (__mul): Reduce iterations for calculating mantissa.
29499
29500         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29501         MPTWO.
29502         (__mpranred): Likewise.
29503
29504         [BZ #15160]
29505         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29506         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29507
29508 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29509
29510         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29511         Define __attribute__.
29512
29513 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29514
29515         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29516         unused.
29517         * posix/regex_internal.h (__attribute): Remove.
29518         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29519         (re_string_context_at): Likewise.
29520         (bitset_not): Use __attribute__ and mark function as possibly
29521         unused.
29522         (bitset_merge): Likewise.
29523         (bitset_mask): Likewise.
29524         (re_string_char_size_at): Likewise.
29525         (re_string_wchar_at): Likewise.
29526         (re_string_elem_size_at): Likewise.
29527
29528 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29529
29530         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29531         code.
29532         (cc32): Likewise.
29533
29534         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29535         (__acr): Likewise.
29536         (__cpy): Likewise.
29537         (norm): Likewise.
29538         (denorm): Likewise.
29539         (__dbl_mp): Likewise.
29540         (add_magnitudes): Likewise.
29541         (sub_magnitudes): Likewise.
29542         (__mul): Likewise.
29543         (__inv): Likewise.
29544
29545         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29546         style.
29547
29548         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29549         style.
29550
29551         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29552         code.
29553
29554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29555         up changes with default code.
29556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29557         Likewise.
29558
29559 2013-02-24  Allan McRae  <allan@archlinux.org>
29560
29561         * manual/socket.texi (The Internet Namespace): Order menu items
29562         to match that in the file.
29563
29564         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29565         node listing of the info page menu.
29566
29567 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29568
29569         [BZ #13550]
29570         * sysdeps/i386/bp-asm.h: Remove file.
29571         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29572         (PARMS): Do not use macros from bp-asm.h.
29573         (S1): Likewise.
29574         (S2): Likewise.
29575         (SIZE): Likewise.
29576         (__mpn_add_n): Do not use BP_SYM
29577         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29578         "bp-asm.h".
29579         (PARMS): Do not use macros from bp-asm.h.
29580         (S1): Likewise.
29581         (SIZE): Likewise.
29582         (__mpn_addmul_1): Do not use BP_SYM
29583         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29584         "bp-asm.h".
29585         (PARMS): Do not use macros from bp-asm.h.
29586         (SIGMSK): Likewise.
29587         (_setjmp): Likewise.  Do not use BP_SYM.
29588         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29589         "bp-asm.h".
29590         (PARMS): Do not use macros from bp-asm.h.
29591         (SIGMSK): Likewise.
29592         (setjmp): Likewise.  Do not use BP_SYM.
29593         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29594         "bp-asm.h".
29595         (PARMS): Do not use macros from bp-asm.h.
29596         (__frexp): Do not use BP_SYM.
29597         (frexp): Likewise.
29598         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29599         "bp-asm.h".
29600         (PARMS): Do not use macros from bp-asm.h.
29601         (__frexpf): Do not use BP_SYM.
29602         (frexpf): Likewise.
29603         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29604         "bp-asm.h".
29605         (PARMS): Do not use macros from bp-asm.h.
29606         (__frexpl): Do not use BP_SYM.
29607         (frexpl): Likewise.
29608         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29609         "bp-asm.h".
29610         (PARMS): Do not use macros from bp-asm.h.
29611         (__remquo): Do not use BP_SYM.
29612         (remquo): Likewise.
29613         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29614         "bp-asm.h".
29615         (PARMS): Do not use macros from bp-asm.h.
29616         (__remquof): Do not use BP_SYM.
29617         (remquof): Likewise.
29618         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29619         "bp-asm.h".
29620         (PARMS): Do not use macros from bp-asm.h.
29621         (__remquol): Do not use BP_SYM.
29622         (remquol): Likewise.
29623         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29624         "bp-asm.h".
29625         (PARMS): Do not use macros from bp-asm.h.
29626         (DEST): Likewise.
29627         (SRC): Likewise.
29628         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29629         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29630         "bp-asm.h".
29631         (PARMS): Do not use macros from bp-asm.h.
29632         (strlen): Do not use BP_SYM.
29633         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29634         "bp-asm.h".
29635         (PARMS): Do not use macros from bp-asm.h.
29636         (S1): Likewise.
29637         (S2): Likewise.
29638         (SIZE): Likewise.
29639         (__mpn_add_n): Do not use BP_SYM.
29640         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29641         "bp-asm.h".
29642         (PARMS): Do not use macros from bp-asm.h.
29643         (S1): Likewise.
29644         (SIZE): Likewise.
29645         (__mpn_addmul_1): Do not use BP_SYM.
29646         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29647         weak_alias.
29648         (bzero): Likewise.
29649         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29650         "bp-asm.h".
29651         (PARMS): Do not use macros from bp-asm.h.
29652         (S): Likewise.
29653         (SIZE): Likewise.
29654         (__mpn_lshift): Do not use BP_SYM.
29655         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29656         "bp-asm.h".
29657         (PARMS): Do not use macros from bp-asm.h.
29658         (DEST): Likewise.
29659         (SRC): Likewise.
29660         (LEN): Likewise.
29661         (memcpy): Likewise.  Do not use BP_SYM.
29662         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29663         libc_hidden_def and weak_alias.
29664         (mempcpy): Do not use BP_SYM in weak_alias.
29665         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29666         "bp-asm.h".
29667         (PARMS): Do not use macros from bp-asm.h.
29668         (DEST): Likewise.
29669         (LEN): Likewise.
29670         [!BZERO_P] (CHR): Likewise.
29671         (memset): Likewise.  Do not use BP_SYM.
29672         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29673         "bp-asm.h".
29674         (PARMS): Do not use macros from bp-asm.h.
29675         (S1): Likewise.
29676         (SIZE): Likewise.
29677         (__mpn_mul_1): Do not use BP_SYM.
29678         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29679         "bp-asm.h".
29680         (PARMS): Do not use macros from bp-asm.h.
29681         (S): Likewise.
29682         (SIZE): Likewise.
29683         (__mpn_rshift): Do not use BP_SYM.
29684         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29685         "bp-asm.h".
29686         (PARMS): Do not use macros from bp-asm.h.
29687         (STR): Likewise.
29688         (CHR): Likewise.
29689         (strchr): Likewise.  Do not use BP_SYM.
29690         (index): Do not use BP_SYM in weak_alias.
29691         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29692         "bp-asm.h".
29693         (PARMS): Do not use macros from bp-asm.h.
29694         (DEST): Likewise.
29695         (SRC): Likewise.
29696         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29697         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29698         "bp-asm.h".
29699         (PARMS): Do not use macros from bp-asm.h.
29700         (strlen): Do not use BP_SYM.
29701         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29702         "bp-asm.h".
29703         (PARMS): Do not use macros from bp-asm.h.
29704         (S1): Likewise.
29705         (S2): Likewise.
29706         (SIZE): Likewise.
29707         (__mpn_sub_n): Do not use BP_SYM.
29708         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29709         "bp-asm.h".
29710         (PARMS): Do not use macros from bp-asm.h.
29711         (S1): Likewise.
29712         (SIZE): Likewise.
29713         (__mpn_submul_1): Do not use BP_SYM.
29714         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29715         "bp-asm.h".
29716         (PARMS): Do not use macros from bp-asm.h.
29717         (S1): Likewise.
29718         (S2): Likewise.
29719         (SIZE): Likewise.
29720         (__mpn_add_n): Do not use BP_SYM.
29721         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29722         weak_alias.
29723         (bzero): Likewise.
29724         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29725         "bp-asm.h".
29726         (PARMS): Do not use macros from bp-asm.h.
29727         (BLK2): Likewise.
29728         (LEN): Likewise.
29729         (memcmp): Do not use BP_SYM.
29730         (bcmp): Do not use BP_SYM in weak_alias.
29731         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29732         "bp-asm.h".
29733         (PARMS): Do not use macros from bp-asm.h.
29734         (DEST): Likewise.
29735         (SRC): Likewise.
29736         (LEN): Likewise.
29737         (memcpy): Likewise.  Do not use BP_SYM.
29738         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29739         "bp-asm.h".
29740         (PARMS): Do not use macros from bp-asm.h.
29741         (DEST): Likewise.
29742         (SRC): Likewise.
29743         (LEN): Likewise.
29744         (memmove): Likewise.  Do not use BP_SYM.
29745         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29746         "bp-asm.h".
29747         (PARMS): Do not use macros from bp-asm.h.
29748         (DEST): Likewise.
29749         (SRC): Likewise.
29750         (LEN): Likewise.
29751         (__mempcpy): Likewise.  Do not use BP_SYM.
29752         (mempcpy): Do not use BP_SYM in weak_alias.
29753         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29754         "bp-asm.h".
29755         (PARMS): Do not use macros from bp-asm.h.
29756         (DEST): Likewise.
29757         (LEN): Likewise.
29758         [!BZERO_P] (CHR): Likewise.
29759         (memset): Likewise.  Do not use BP_SYM.
29760         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29761         "bp-asm.h".
29762         (PARMS): Do not use macros from bp-asm.h.
29763         (STR2): Likewise.
29764         (strcmp): Do not use BP_SYM.
29765         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29766         "bp-asm.h".
29767         (PARMS): Do not use macros from bp-asm.h.
29768         (STR): Likewise.
29769         (DELIM): Likewise.
29770         [USE_AS_STRTOK_R] (SAVE): Likewise.
29771         (FUNCTION): Likewise.  Do not use BP_SYM.
29772         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29773         aliases.
29774         (strtok_r): Likewise.
29775         (__GI___strtok_r): Likewise.
29776         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29777         (PARMS): Do not use macros from bp-asm.h.
29778         (S): Likewise.
29779         (SIZE): Likewise.
29780         (__mpn_lshift): Do not use BP_SYM.
29781         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29782         (PARMS): Do not use macros from bp-asm.h.
29783         (STR): Likewise.
29784         (CHR): Likewise.
29785         (__memchr): Do not use BP_SYM.
29786         (memchr): Do not use BP_SYM in weak_alias.
29787         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29788         (PARMS): Do not use macros from bp-asm.h.
29789         (BLK2): Likewise.
29790         (LEN): Likewise.
29791         (memcmp): Do not use BP_SYM.
29792         (bcmp): Do not use BP_SYM in weak_alias.
29793         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29794         (PARMS): Do not use macros from bp-asm.h.
29795         (S1): Likewise.
29796         (SIZE): Likewise.
29797         (__mpn_mul_1): Do not use BP_SYM.
29798         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29799         "bp-asm.h".
29800         (PARMS): Do not use macros from bp-asm.h.
29801         (STR): Likewise.
29802         (CHR): Likewise.
29803         (__rawmemchr): Do not use BP_SYM.
29804         (rawmemchr): Do not use BP_SYM in weak_alias.
29805         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29806         (PARMS): Do not use macros from bp-asm.h.
29807         (S): Likewise.
29808         (SIZE): Likewise.
29809         (__mpn_rshift): Do not use BP_SYM.
29810         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29811         (PARMS): Do not use macros from bp-asm.h.
29812         (SIGMSK): Likewise.
29813         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29814         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29815         (_start): Do not use BP_SYM.
29816         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29817         (PARMS): Do not use macros from bp-asm.h.
29818         (DEST): Likewise.
29819         (SRC): Likewise.
29820         (__stpcpy): Likewise.  Do not use BP_SYM.
29821         (stpcpy): Do not use BP_SYM in weak_alias.
29822         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29823         "bp-asm.h".
29824         (PARMS): Do not use macros from bp-asm.h.
29825         (DEST): Likewise.
29826         (SRC): Likewise.
29827         (LEN): Likewise.
29828         (__stpncpy): Likewise.  Do not use BP_SYM.
29829         (stpncpy): Do not use BP_SYM in weak_alias.
29830         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29831         (PARMS): Do not use macros from bp-asm.h.
29832         (STR): Likewise.
29833         (CHR): Likewise.
29834         (strchr): Likewise.  Do not use BP_SYM.
29835         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29836         "bp-asm.h".
29837         (PARMS): Do not use macros from bp-asm.h.
29838         (STR): Likewise.
29839         (CHR): Likewise.
29840         (__strchrnul): Likewise.  Do not use BP_SYM.
29841         (strchrnul): Do not use BP_SYM in weak_alias.
29842         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29843         "bp-asm.h".
29844         (PARMS): Do not use macros from bp-asm.h.
29845         (STOP): Likewise.
29846         (strcspn): Do not use BP_SYM.
29847         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29848         "bp-asm.h".
29849         (PARMS): Do not use macros from bp-asm.h.
29850         (STR): Likewise.
29851         (STOP): Likewise.
29852         (strpbrk): Likewise.  Do not use BP_SYM.
29853         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29854         "bp-asm.h".
29855         (PARMS): Do not use macros from bp-asm.h.
29856         (STR): Likewise.
29857         (CHR): Likewise.
29858         (strrchr): Likewise.  Do not use BP_SYM.
29859         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29860         (PARMS): Do not use macros from bp-asm.h.
29861         (SKIP): Likewise.
29862         (strspn): Do not use BP_SYM.
29863         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29864         (PARMS): Do not use macros from bp-asm.h.
29865         (STR): Likewise.
29866         (DELIM): Likewise.
29867         (SAVE): Likewise.
29868         (FUNCTION): Likewise.  Do not use BP_SYM.
29869         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29870         aliases.
29871         (strtok_r): Likewise.
29872         (__GI___strtok_r): Likewise.
29873         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29874         (PARMS): Do not use macros from bp-asm.h.
29875         (S1): Likewise.
29876         (S2): Likewise.
29877         (SIZE): Likewise.
29878         (__mpn_sub_n): Do not use BP_SYM.
29879         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29880         "bp-asm.h".
29881         (PARMS): Do not use macros from bp-asm.h.
29882         (S1): Likewise.
29883         (SIZE): Likewise.
29884         (__mpn_submul_1): Do not use BP_SYM.
29885         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29886         <bp-sym.h>.
29887         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29888         and <bp-asm.h>.
29889         (PARMS): Do not use macros from bp-asm.h.
29890         (FLAGS): Likewise.
29891         (PTID): Likewise.
29892         (TLS): Likewise.
29893         (CTID): Likewise.
29894         (__clone): Do not use BP_SYM.
29895         (clone): Do not use BP_SYM in weak_alias.
29896         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29897         and <bp-asm.h>.
29898         (PARMS): Do not use macros from bp-asm.h.
29899         (LEN): Likewise.
29900         (__mmap64): Do not use BP_SYM.
29901         (mmap64): Do not use BP_SYM in weak_alias.
29902         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29903         <bp-sym.h> and <bp-asm.h>.
29904         (PARMS): Do not use macros from bp-asm.h.
29905         (__posix_fadvise64_l64): Do not use BP_SYM.
29906         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29907         (PARMS): Do not use macros from bp-asm.h.
29908         (NSOPS): Likewise.
29909         (semtimedop): Do not use BP_SYM.
29910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29911         and <bp-asm.h>.
29912
29913 2013-02-21  Allan McRae  <allan@archlinux.org>
29914
29915         * manual/message.texi (Charset conversion in gettext):
29916         Move @end statement to beginning of line.
29917
29918 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29919
29920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29921         static.
29922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29923         Likewise.
29924
29925         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29926         (denorm): Likewise.
29927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29929
29930 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29931
29932         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29933         tail-call to the resolved function if pltexit isn't needed.
29934
29935 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936
29937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29938         or Y being zero as being unlikely.
29939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29940         Likewise.
29941
29942 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29943
29944         * manual/nss.texi (System Databases and Name Service Switch):
29945         Remove frobnicate @pxref.
29946
29947 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29948
29949         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29950         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29951
29952 2013-02-20  Petr Machata  <pmachata@redhat.com>
29953
29954         * elf/elf.h (R_ARM_TARGET1): New macro.
29955         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29956         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29957         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29958         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29959         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29960         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29961         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29962         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29963         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29964         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29965         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29966         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29967         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29968         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29969         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29970         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29971         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29972         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29973         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29974         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29975         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29976         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29977         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29978         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29979         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29980         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29981         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29982         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29983         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29984         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29985         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29986         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29987         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29988         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29989         (R_ARM_THM_GOT_BREL12): Likewise.
29990         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29991         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29992         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29993         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29994         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29995         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29996         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29997         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29998         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29999
30000 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30001
30002         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30003         __attribute_used__ to __attribute__ ((unused)).
30004
30005 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30006
30007         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30008         powerpc mpa.c.
30009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30010         comment formatting.
30011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30012
30013 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30014
30015         [BZ #13550]
30016         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30017         Remove macro.
30018         (ENTER): Remove both macro definitions.
30019         (LEAVE): Likewise.
30020         (CHECK_BOUNDS_LOW): Likewise.
30021         (CHECK_BOUNDS_HIGH): Likewise.
30022         (CHECK_BOUNDS_BOTH): Likewise.
30023         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30024         (RETURN_BOUNDED_POINTER): Likewise.
30025         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30026         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30027         (POP_ERRNO_LOCATION_RETURN): Likewise.
30028         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30029         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30030         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30031         macros.
30032         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30033         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30034         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30035         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30036         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30037         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30038         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30039         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30040         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30041         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30042         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30043         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30044         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30045         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30046         removed macros.
30047         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30048         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30049         macros.
30050         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30051         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30052         * sysdeps/i386/i586/memset.S (memset): Likewise.
30053         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30054         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30055         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30056         macros.
30057         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30058         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30059         Change uses of L(2) to L(out).
30060         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30061         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30062         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30063         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30064         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30065         removed macros.
30066         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30067         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30068         macros.
30069         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30070         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30071         (RETURN): Do not use macro LEAVE.
30072         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30073         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30074         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30075         * sysdeps/i386/i686/memset.S (memset): Likewise.
30076         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30077         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30078         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30079         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30080         Likewise.
30081         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30082         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30083         L(1_2) and L(1_3) into L(1).
30084         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30085         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30086         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30087         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30088         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30089         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30090         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30091         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30092         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30093         macros.
30094         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30095         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30096         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30097         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30098         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30099         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30100         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30101         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30102         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30103         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30104         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30105         * sysdeps/i386/strspn.S (strspn): Likewise.
30106         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30107         conditional code.
30108         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30109         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30110         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30111         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30112         L(1_3) into L(1_1).
30113         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30114         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30115         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30116         macros.
30117         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30118
30119 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30120
30121         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30122         macro.
30123
30124 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30125
30126         * math/atest-exp.c (exp_mpn): Remove ROUND.
30127         * math/atest-exp2.c (exp_mpn): Likewise.
30128         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30129
30130         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30131         * stdlib/tst-tls-atexit-lib.c: Likewise.
30132         * stdlib/tst-tls-atexit.c: Likewise.
30133
30134 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30135
30136         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30137         and __attribute_alloc_size__.
30138
30139 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30140
30141         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30142         __attribute_alloc_size__.
30143         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30144         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30145
30146 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30147
30148         * include/programs/xmalloc.h: New file.
30149         * catgets/gencat.c: Include it.
30150         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30151         * elf/pldd.c: Likewise.
30152         * iconv/iconv_charmap.c: Likewise.
30153         * iconv/iconvconfig.c: Likewise.
30154         * iconv/strtab.c: Likewise.
30155         * locale/programs/locale.c: Likewise.
30156         * locale/programs/localedef.h: Likewise.
30157         * locale/programs/simple-hash.c: Likewise.
30158         * nscd/nscd.h: Likewise.
30159         * nss/makedb.c: Likewise.
30160         * sysdeps/generic/ldconfig.h: Likewise.
30161
30162 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30163
30164         * Versions.def: Add GLIBC_2.18.
30165         * include/link.h (struct link_map): New member l_tls_dtor_count.
30166         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30167         (__call_tls_dtors): Likewise.
30168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30169         __cxa_thread_atexit_impl.
30170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30171         Likewise.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30173         Likewise.
30174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30175         Likewise.
30176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30177         Likewise.
30178         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30180         Likewise.
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30182         Likewise.
30183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30185         Likewise.
30186         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30187         (tests): Add test case tst-tls-atexit.
30188         (modules-names): Add shared library for tst-tls-atexit.
30189         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30190         (GLIBC_PRIVATE): Add __call_tls_dtors.
30191         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30192         for libstdc++.
30193         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30194         * stdlib/tst-tls-atexit.c: New test case.
30195         * stdlib/tst-tls-atexit-lib.c: New test case.
30196
30197         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30198
30199         * elf/Versions (ld): Add _dl_find_dso_for_object.
30200         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30201         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30202         (dl_open_worker): Use _dl_find_dso_for_object.
30203         * elf/dl-sym.c (do_sym): Likewise.
30204         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30205
30206 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30207
30208         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30209         Syntactic changes only.
30210         (_dl_runtime_profile): Do a tail-call to the resolved function.
30211
30212 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30213
30214         [BZ #13550]
30215         * sysdeps/x86_64/bp-asm.h: Remove file.
30216         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30217         <bp-sym.h> and <bp-asm.h>.
30218         (__clone): Do not use BP_SYM.
30219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30220         <bp-sym.h> and <bp-asm.h>.
30221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30222         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30223         "bp-asm.h".
30224         (_setjmp): Do not use BP_SYM.
30225         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30226         "bp-asm.h".
30227         (setjmp): Do not use BP_SYM.
30228         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30229         libc_hidden_def.
30230         (mempcpy): Do not use BP_SYM in weak_alias.
30231         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30232         "bp-asm.h".
30233         (strchr): Do not use BP_SYM.
30234         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30235         "bp-asm.h".
30236         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30237         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30238         (_start): Do not use BP_SYM.
30239         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30240         "bp-asm.h".
30241         (strcat): Do not use BP_SYM.
30242         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30243         "bp-asm.h".
30244         (STRCMP): Do not use BP_SYM.
30245         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30246         "bp-asm.h".
30247         (STRCPY): Do not use BP_SYM.
30248         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30249         "bp-asm.h".
30250         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30251         "bp-asm.h".
30252         (FUNCTION): Do not use BP_SYM.
30253         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30254         weak_alias.
30255         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30256
30257 2013-02-17  Andreas Jaeger  <aj@suse.de>
30258
30259         * time/Versions: Sort entries.
30260         * string/Versions: Likewise.
30261         * resolv/Versions: Likewise.
30262         * posix/Versions: Likewise.
30263         * iconv/Versions: Likewise.
30264         * elf/Versions: Likewise.
30265         * wcsmbs/Versions: Likewise.
30266
30267 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30268
30269         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30270         loop termination condition.
30271
30272         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30273         variable to calculate EZ.
30274         (__sqr): Likewise.
30275
30276         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30277         the lower precision input.
30278
30279 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30280
30281         [BZ #13550]
30282         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30283         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30284         (run-via-rtld-prefix): Do not handle %-bp tests.
30285         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30286         (all-object-suffixes): Remove .ob.
30287         (bppfx): Remove variable.
30288         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30289         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30290         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30291         [$(build-bounded) = yes] (libtype.ob): Likewise.
30292         * Makerules (elide-routines.ob): Remove variable.
30293         (do-tests-clean): Do not handle *-bp.out.
30294         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30295         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30296         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30297         (tests): Do not include $(tests-bp.out).
30298         (xtests): Do not include $(xtests-bp.out).
30299         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30300         [$(build-bounded) = yes] ($(addprefix
30301         $(objpfx),$(binaries-bounded))): Remove rule.
30302         ($(objpfx)%-bp.out): Remove rule.
30303         * config.make.in (build-bounded): Remove variable.
30304         * crypt/Makefile [$(build-bounded) = yes]
30305         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30306         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30307         append to variable.
30308         [$(build-bounded) = yes] (install-lib): Likewise.
30309         [$(build-bounded) = yes] (generated): Likewise.
30310         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30311         Remove rule.
30312         * intl/Makefile [$(build-bounded) = yes]
30313         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30314         * math/Makefile [$(build-bounded) = yes]
30315         ($(tests:%=$(objpfx)%-bp): Likewise.
30316         * misc/Makefile [$(build-bounded) = yes]
30317         ($(objpfx)tst-tsearch-bp): Likewise.
30318         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30319         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30320         Remove dependency.
30321         * string/Makefile (o-objects.ob): Remove variable.
30322         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30323         (CFLAGS-.ob): Remove variable.
30324         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30325         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30326         both definitions of variable.
30327         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30328         (ASFLAGS-.ob): Remove variable.
30329
30330 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30331
30332         [BZ #13550]
30333         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30334         Remove __BOUNDED_POINTERS__ from condition.
30335         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30336         * string/bits/string2.h [!__NO_STRING_INLINES &&
30337         !__BOUNDED_POINTERS__]: Likewise.
30338         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30339         Likewise.
30340         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30341         Remove conditional code.
30342         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30343         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30344         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30345         condition.
30346
30347         [BZ #13550]
30348         * csu/libc-start.c: Do not include <bp-sym.h>.
30349         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30350         * elf/dl-open.c: Do not include <bp-sym.h>.
30351         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30352         * math/fegetenv.c: Do not include <bp-sym.h>.
30353         (fegetenv): Do not use BP_SYM in versioned symbols.
30354         * nptl/sysdeps/pthread/bits/libc-lockP.h
30355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30356         <bp-sym.h>.
30357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30358         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30360         (__pthread_mutex_destroy): Likewise.
30361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30362         (__pthread_mutex_lock): Likewise.
30363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30364         (__pthread_mutex_trylock): Likewise.
30365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30366         (__pthread_mutex_unlock): Likewise.
30367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30368         (__pthread_mutexattr_init): Likewise.
30369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30370         (__pthread_mutexattr_destroy): Likewise.
30371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30372         (__pthread_mutexattr_settype): Likewise.
30373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30374         (__pthread_rwlock_init): Likewise.
30375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30376         (__pthread_rwlock_destroy): Likewise.
30377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30378         (__pthread_rwlock_rdlock): Likewise.
30379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30380         (__pthread_rwlock_tryrdlock): Likewise.
30381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30382         (__pthread_rwlock_wrlock): Likewise.
30383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30384         (__pthread_rwlock_trywrlock): Likewise.
30385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30386         (__pthread_rwlock_unlock): Likewise.
30387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30388         (__pthread_key_create): Likewise.
30389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30390         (__pthread_setspecific): Likewise.
30391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30392         (__pthread_getspecific): Likewise.
30393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30394         Likewise.
30395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30396         (_pthread_cleanup_push_defer): Likewise.
30397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30398         (_pthread_cleanup_pop_restore): Likewise.
30399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30400         (pthread_setcancelstate): Likewise.
30401         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30402         <bp-sym.h>.
30403         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30404         (memchr): Do not use BP_SYM in weak_alias.
30405         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30406         (fegetenv): Do not use BP_SYM in versioned symbols.
30407         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30408         (fesetenv): Do not use BP_SYM in versioned symbols.
30409         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30410         (feupdateenv): Do not use BP_SYM in versioned symbols.
30411         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30412         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30413         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30414         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30415         (open64): Do not use BP_SYM in weak_alias.
30416         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30417         (fegetenv): Do not use BP_SYM in versioned symbols.
30418         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30419         (fesetenv): Do not use BP_SYM in versioned symbols.
30420         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30421         (feupdateenv): Do not use BP_SYM in versioned symbols.
30422         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30423         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30424         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30425         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30426         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30427         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30428         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30429         <bp-sym.h>.
30430         (__libc_start_main): Do not use BP_SYM.
30431
30432 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30433
30434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30435         redundant return line.
30436         (norm): Likewise.
30437         (denorm): Likewise.
30438         (dbl_mp): Likewise.
30439         (sub_magnitudes): Likewise.
30440         (__add): Likewise.
30441         (__sub): Likewise.
30442         (__mul): Likewise.
30443         (__inv): Likewise.
30444         (__dvd): Likewise.
30445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30446         (norm): Likewise.
30447         (denorm): Likewise.
30448         (dbl_mp): Likewise.
30449         (sub_magnitudes): Likewise.
30450         (__add): Likewise.
30451         (__sub): Likewise.
30452         (__mul): Likewise.
30453         (__inv): Likewise.
30454         (__dvd): Likewise.
30455
30456         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30457         instead of __mul.
30458         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30459         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30460         (cc32): Likewise.
30461
30462         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30463         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30465         of __mul for squares.
30466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30467         function
30468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30469         Likewise.
30470         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30472
30473 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30474
30475         [BZ #13550]
30476         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30477         code.
30478         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30479         prototype or function definition.  Rename ubp_* variables and
30480         parameters.  Remove argv definitions conditional on
30481         [__BOUNDED_POINTERS__].
30482         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30483         * elf/dl-runtime.c (_dl_fixup): Likewise.
30484         * include/set-hooks.h (RUN_HOOK): Likewise.
30485         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30486         definition.
30487         * string/strcpy.c (strcpy): Do not use __unbounded.
30488         * sysdeps/generic/frame.h (struct layout): Likewise.
30489         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30490         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30491         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30492         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30493         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30494         (__backtrace): Likewise.
30495         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30496         use __ptrvalue.
30497         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30498         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30499         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30500         Likewise.
30501         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30502         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30503         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30504         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30505         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30506         Do not use __unbounded.
30507         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30508         Rename __unboundedrlimits parameter to rlimits in prototype.
30509         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30510         Do not use __unbounded.
30511         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30512         not use __ptrvalue.
30513         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30514         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30515         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30516         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30517         __ptrvalue or __unbounded.
30518         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30519         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30520         use __unbounded.
30521         (__new_msgctl): Do not use __ptrvalue.
30522         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30523         __unbounded.
30524         (__libc_msgrcv): Do not use __ptrvalue.
30525         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30526         startup_info): Do not use __unbounded.
30527         (__libc_start_main): Likewise.  Rename ubp_* variables and
30528         parameters.  Remove argv definitions conditional on
30529         [__BOUNDED_POINTERS__].
30530         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30531         __ptrvalue.
30532         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30533         use __unbounded.
30534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30535         or __ptrvalue.
30536         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30537         use __unbounded.
30538         (__new_shmctl): Do not use __ptrvalue.
30539         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30540         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30541         Likewise.
30542         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30543         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30544         (__libc_sigaction): Likewise.
30545         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30546         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30547         Likewise.
30548         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30549
30550 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30551
30552         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30553
30554         * string/mempcpy.c: Implement by calling memcpy.
30555
30556 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557
30558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30559
30560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30561         evaluation.
30562
30563         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30564         values in the mantissa.
30565
30566         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30567         minimize writes to Z.
30568         (sub_magnitudes): Simplify code a bit.
30569
30570 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30571
30572         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30573         from the message.  The linker prefixes all warnings with that already.
30574
30575 2013-02-12  Andreas Schwab  <schwab@suse.de>
30576
30577         [BZ #15078]
30578         * posix/regexec.c (extend_buffers): Add parameter min_len.
30579         (check_matching): Pass minimum needed length.
30580         (clean_state_log_if_needed): Likewise.
30581         (get_subexp): Likewise.
30582         * posix/Makefile (tests): Add bug-regex34.
30583         (bug-regex34-ENV): Define.
30584         * posix/bug-regex34.c: New file.
30585
30586         [BZ #11561]
30587         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30588         elements compare against the byte sequence of it, not its name.
30589         * posix/Makefile (tests): Add bug-regex35.
30590         (bug-regex35-ENV): Define.
30591         * posix/bug-regex35.c: New file.
30592
30593 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30594
30595         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30596         comment.
30597         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30598         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30599         (CHECK_EOL): Add undef.
30600
30601 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30602
30603         * bits/stdlib-bsearch.h: New file.
30604         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30605         * stdlib/stdlib.h: Likewise.
30606
30607 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30608
30609         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30610         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30611         declaration.
30612         * manual/search.texi (Array Search Function): Add missing const in
30613         lfind prototype.
30614         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30615         declaration to use rlim_t.
30616         (Basic Scheduling Functions): Remove erroneous const from
30617         sched_getparam prototype.  Remove erroneous * from
30618         sched_get_priority_max and sched_get_priority_min prototypes.
30619         (Resource Usage): Fix summary @comment on vtimes to refer to
30620         sys/vtimes.h rather than vtimes.h.
30621         Add missing *s in vtimes prototype.
30622         (Limits on Resources): Fix ulimit prototype to return long int.
30623         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30624         prototypes to use long int rather than double.
30625         (BSD Random): Fix initstate and setstate to use char *, not void *.
30626         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30627         prototype to make second argument 'struct aiocb64 *const[]'.
30628         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30629         (Status of AIO Operations): Remove erroneous const in aio_return and
30630         aio_return64 prototypes.
30631         (Synchronizing I/O): Fix sync prototype to return void.
30632         * manual/startup.texi (Suboptions): Remove an erroneous const in
30633         getsubopt prototype.
30634         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30635         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30636         use size_t rather than int.
30637         (Scanning All Users): Likewise for getpwent_r.
30638         (Setting Groups): Add missing const to setgroups prototype.
30639         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30640         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30641         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30642         'const void *' rather than 'const char *'.
30643         (Host Address Functions): Likewise for inet_ntop.
30644         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30645         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30646         ssize_t for return value.
30647         (Sending Data): Likewise for send, sendto, sendmsg.
30648         (Socket Option Functions): Add a missing const in setsockopt prototype.
30649         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30650         use wchar_t for the argument.
30651         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30652         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30653         take no arguments.
30654         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30655         double/float/long double for second argument.
30656         Fix return types of significand, significandf, significandl.
30657         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30658         argument in fchmod prototype.
30659         (File Owner): Use uid_t and gid_t in fchown prototype.
30660         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30661         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30662         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30663         use 'const struct dirent **' as argument types to CMP function pointer
30664         argument.
30665         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30666         (File Times): Fix summary magic @comment for struct utimbuf and utime
30667         to refer to utime.h, not time.h.
30668         * manual/string.texi (Argz Functions): Add missing const in
30669         argz_extract and argz_next prototypes.
30670         (Finding Tokens in a String): Likewise for basename.
30671         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30672         (Copying and Concatenation): Fix typo in wmemmove prototype.
30673         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30674         (Signal Stack): Remove erroneous const in sigstack prototype.
30675         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30676         prototype.
30677         (Simple Calendar Time): Likewise for stime.
30678         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30679         prototype.
30680         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30681         say sys/sysctl.h instead.
30682         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30683         and vsyslog prototypes.
30684
30685 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30686
30687         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30688         Remove.
30689
30690 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30691
30692         * misc/sys/mman.h: Fix typo in mremap comment.
30693
30694 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30695
30696         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30697         the '\0' terminator.
30698
30699 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30700
30701         [BZ #13550]
30702         * debug/segfault.c: Don't include <bp-checks.h>.
30703         * sysdeps/generic/bp-checks.h: Remove file.
30704         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30705         (__GETDENTS): Don't use CHECK_N.
30706         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30707         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30708         (__getgroups): Don't use CHECK_N.
30709         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30710         (setgroups): Don't use CHECK_N.
30711         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30712         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30713         (__libc_msgrcv): Don't use CHECK_N.
30714         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30715         (__libc_msgsnd): Don't use CHECK_N.
30716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30717         <bp-checks.h>.
30718         (__libc_pread): Don't use CHECK_N.
30719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30720         include <bp-checks.h>.
30721         (__libc_pread64): Don't use CHECK_N.
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30723         include <bp-checks.h>.
30724         (__libc_pwrite): Don't use CHECK_N.
30725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30726         include <bp-checks.h>.
30727         (__libc_pwrite64): Don't use CHECK_N.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30729         <bp-checks.h>.
30730         (__libc_pread): Don't use CHECK_N.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30732         include <bp-checks.h>.
30733         (__libc_pread64): Don't use CHECK_N.
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30735         include <bp-checks.h>.
30736         (__libc_pwrite): Don't use CHECK_N.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30738         include <bp-checks.h>.
30739         (__libc_pwrite64): Don't use CHECK_N.
30740         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30741         (do_pread): Don't use CHECK_N.
30742         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30743         (do_pread64): Don't use CHECK_N.
30744         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30745         (do_pwrite): Don't use CHECK_N.
30746         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30747         (do_pwrite64): Don't use CHECK_N.
30748         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30749         (__libc_readv): Don't use CHECK_N.
30750         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30751         (semop): Don't use CHECK_N.
30752         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30753         <bp-checks.h>.
30754         (semtimedop): Don't use CHECK_N.
30755         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30756         (__libc_pread): Don't use CHECK_N.
30757         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30758         <bp-checks.h>.
30759         (__libc_pread64): Don't use CHECK_N.
30760         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30761         <bp-checks.h>.
30762         (__libc_pwrite): Don't use CHECK_N.
30763         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30764         <bp-checks.h>.
30765         (__libc_pwrite64): Don't use CHECK_N.
30766         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30767         <bp-checks.h>.
30768         (__libc_msgrcv): Don't use CHECK_N.
30769         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30770         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30771         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30772         (__libc_writev): Don't use CHECK_N.
30773
30774 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30775
30776         * string/strcpy.c: Removed unused variable.
30777
30778         * Makeconfig (+sysdep-includes): Define with := rather than =.
30779         Use an existing include/ subdir of each sysdeps dir before it.
30780
30781 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30782
30783         * nscd/connection.c (register_traced_file): Comment function.
30784         [HAVE_INOTIFY] (union __inev): Define.
30785         [HAVE_INOTIFY] (inotify_check_files): New function.
30786         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30787         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30788         clear_db_cache.
30789         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30790
30791 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30792
30793         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30794         loaded if not already and that a failure is permanent.
30795
30796 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30797
30798         [BZ #15006]
30799         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30800         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30801
30802 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30803
30804         [BZ #13550]
30805         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30806         (CHECK_1_NULL_OK): Likewise.
30807         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30808         (__fxstat): Do not use CHECK_1.
30809         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30810         <bp-checks.h>.
30811         (___fxstat64): Do not use CHECK_1.
30812         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30813         <bp-checks.h>.
30814         (__fxstatat): Do not use CHECK_1.
30815         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30816         <bp-checks.h>.
30817         (__fxstatat64): Do not use CHECK_1.
30818         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30819         <bp-checks.h>.
30820         (__fxstat): Do not use CHECK_1.
30821         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30822         <bp-checks.h>.
30823         (__fxstatat): Do not use CHECK_1.
30824         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30825         <bp-checks.h>.
30826         (__getresgid): Do not use CHECK_1.
30827         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30828         <bp-checks.h>.
30829         (__getresuid): Do not use CHECK_1.
30830         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30831         <bp-checks.h>.
30832         (__lxstat): Do not use CHECK_1.
30833         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30834         <bp-checks.h>.
30835         (__old_msgctl): Do not use CHECK_1.
30836         (__new_msgctl): Likewise.
30837         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30838         <bp-checks.h>.
30839         (__new_setrlimit): Do not use CHECK_1.
30840         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30841         <bp-checks.h>.
30842         (__old_shmctl): Do not use CHECK_1.
30843         (__new_shmctl): Likewise.
30844         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30845         <bp-checks.h>.
30846         (__xstat): Do not use CHECK_1.
30847         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30848         (__lxstat): Do not use CHECK_1.
30849         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30850         <bp-checks.h>.
30851         (___lxstat64): Do not use CHECK_1.
30852         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30853         (__old_msgctl): Do not use CHECK_1.
30854         (__new_msgctl): Likewise.
30855         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30856         <bp-checks.h>.
30857         (__gettimeofday): Do not use CHECK_1.
30858         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30859         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30860         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30861         <bp-checks.h>.
30862         (__gettimeofday): Do not use CHECK_1.
30863         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30864         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30865         (__new_shmctl): Do not use CHECK_1.
30866         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30867         <bp-checks.h>.
30868         (do_sigtimedwait): Do not use CHECK_1.
30869         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30870         <bp-checks.h>.
30871         (do_sigwaitinfo): Do not use CHECK_1.
30872         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30873         <bp-checks.h>.
30874         (msgctl): Do not use CHECK_1.
30875         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30876         <bp-checks.h>.
30877         (shmctl): Do not use CHECK_1.
30878         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30879         (ustat): Do not use CHECK_1.
30880         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30881         <bp-checks.h>.
30882         (__fxstat): Do not use CHECK_1.
30883         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30884         <bp-checks.h>.
30885         (__fxstatat): Do not use CHECK_1.
30886         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30887         <bp-checks.h>.
30888         (__lxstat): Do not use CHECK_1.
30889         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30890         <bp-checks.h>.
30891         (__xstat): Do not use CHECK_1.
30892         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30893         (__xstat): Do not use CHECK_1.
30894         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30895         (___xstat64): Do not use CHECK_1.
30896
30897         [BZ #13550]
30898         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30899         definitions.
30900         (CHECK_BOUNDS_HIGH): Likewise.
30901         * string/strcpy.c: Do not include <bp-checks.h>.
30902         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30903
30904 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30905
30906         * nscd/nscd-client.h (__nscd_drop_map_ref):
30907         Add __attribute__ ((unused)).
30908         * nis/nss-nisplus.h (niserr2nss): Likewise.
30909
30910         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30911         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30912
30913         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30914         Remove inline keyword.
30915         * include/rounding-mode.h (round_away): Likewise.
30916         * libio/wfileops.c (adjust_wide_data): Likewise.
30917         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30918         (__m128i_strloadu_tolower): Likewise.
30919         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30920         (__m128i_strloadu_tolower): Likewise.
30921         * time/mktime.c (ydhms_diff): Likewise.
30922         * locale/elem-hash.h (elem_hash): Likewise.
30923         * locale/setlocale.c (setdata): Likewise.
30924         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30925         (re_string_wchar_at): Likewise.
30926         (bitset_not, bitset_merge, bitset_mask): Likewise.
30927         [!(__GNUC__ > 3)] (inline): Remove macro.
30928         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30929         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30930         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30931         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30932         * string/memcmp.c (memcmp_bytes): Likewise.
30933         * locale/programs/locarchive.c (compute_hashval): Likewise.
30934         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30935         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30936         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30937         * nss/getent.c (print_rpc, print_protocols): Likewise.
30938         (print_passwd, print_group, print_aliases): Likewise.
30939         * nis/nss-nisplus.h (niserr2nss): Likewise.
30940         * nscd/connections.c (restart_p): Likewise.
30941         Change return type to bool.
30942
30943 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30944
30945         * Makeconfig (all-Depend-files): Add existing
30946         $(sorted-subdirs:=/Depend) files.
30947         (all-subdirs): Remove nss.
30948         * sysdeps/unix/inet/Subdirs: Add it here instead.
30949         * hesiod/Depend: New file.
30950
30951         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30952         instead of calling alloca.
30953
30954         * io/lseek.c (__lseek): Rename to __libc_lseek.
30955         Define __lseek as an alias.
30956
30957         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30958
30959 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30960
30961         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30962         else clause and remove check for non-standard endianness.
30963
30964 2013-02-04  David S. Miller  <davem@davemloft.net>
30965
30966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30967
30968 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30969
30970         [BZ #13550]
30971         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30972         (__ubp_memchr): Remove prototype.
30973         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30974         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30975         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30976         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30977         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30978         Remove alias.
30979         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30980         (__ubp_memchr): Likewise.
30981         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30982         (__ubp_memchr): Likewise.
30983         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30984         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30985         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30986         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30987         CHECK_STRING.
30988         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30989         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30990         (__getcwd): Do not use CHECK_STRING.
30991         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30992         <bp-checks.h>.
30993         (__real_chown): Do not use CHECK_STRING.
30994         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30995         <bp-checks.h>.
30996         (fchownat): Do not use CHECK_STRING.
30997         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30998         CHECK_STRING.
30999         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31000         <bp-checks.h>.
31001         (__lchown): Do not use CHECK_STRING.
31002         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31003         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31004         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31005         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31007         include <bp-checks.h>.
31008         (truncate64): Do not use CHECK_STRING.
31009         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31010         <bp-checks.h>.
31011         (__real_chown): Do not use CHECK_STRING.
31012         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31013         <bp-checks.h>.
31014         (__lchown): Do not use CHECK_STRING.
31015         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31016         <bp-checks.h>.
31017         (__chown): Do not use CHECK_STRING.
31018         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31019         <bp-checks.h>.
31020         (truncate64): Do not use CHECK_STRING.
31021         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31022         Likewise.
31023         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31024         (__xmknod): Do not use CHECK_STRING.
31025         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31026         <bp-checks.h>.
31027         (__xmknodat): Do not use CHECK_STRING.
31028         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31029         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31030
31031 2013-02-04  Andreas Schwab  <schwab@suse.de>
31032
31033         [BZ #14142]
31034         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31035         * include/netdb.h: Likewise for h_errno.
31036         * elf/tst-stackguard1.c: Include <tls.h>.
31037
31038 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31039
31040         * elf/link.h (struct link_map): Extend the l_addr comment.
31041         * include/link.h (struct link_map): Likewise.
31042
31043 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31044
31045         [BZ #13550]
31046         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31047         (BOUNDED_1): Remove macro.
31048         * debug/backtrace.c: Don't include <bp-checks.h>.
31049         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31050         (__backtrace): Likewise.
31051         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31052         <bp-checks.h>.
31053         (__backtrace): Don't use BOUNDED_1.
31054         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31055         <bp-checks.h>.
31056         (__backtrace): Don't use BOUNDED_1.
31057         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31058         (__backtrace): Don't use BOUNDED_1.
31059         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31060         (shmat): Don't use BOUNDED_N.
31061
31062 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31063
31064         [BZ #13550]
31065         * sysdeps/generic/bp-start.h: Remove file.
31066         * csu/libc-start.c: Don't include <bp-start.h>.
31067         (LIBC_START_MAIN): Set up __environ directly instead of using
31068         INIT_ARGV_and_ENVIRON.
31069         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31070         <bp-start.h>.
31071
31072         [BZ #13550]
31073         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31074         definitions.
31075         (CHECK_FCNTL): Likewise.
31076         (CHECK_N_PAGES): Likewise.
31077
31078         [BZ #13550]
31079         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31080         definitions.
31081         (CHECK_SIGSET_NULL_OK): Likewise.
31082         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31083         <bp-checks.h>.
31084         (sigpending): Don't use CHECK_SIGSET.
31085         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31086         <bp-checks.h>.
31087         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31088         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31089         <bp-checks.h>.
31090         (do_sigsuspend): Don't use CHECK_SIGSET.
31091         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31092         use CHECK_SIGSET.
31093         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31094         (do_sigwait): Don't use CHECK_SIGSET.
31095         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31096         use CHECK_SIGSET.
31097         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31098         include <bp-checks.h>.
31099         (sigpending): Don't use CHECK_SIGSET.
31100         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31101         include <bp-checks.h>.
31102         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31103         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31104         <bp-checks.h>.
31105         (sigpending): Don't use CHECK_SIGSET.
31106         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31107         <bp-checks.h>.
31108         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31109
31110         [BZ #13550]
31111         * sysdeps/generic/bp-semctl.h: Remove file.
31112         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31113         <bp-checks.h> and <bp-semctl.h>.
31114         (__old_semctl): Don't use CHECK_SEMCTL.
31115         (__new_semctl): Likewise.
31116         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31117         and <bp-semctl.h>.
31118         (__old_semctl): Don't use CHECK_SEMCTL.
31119         (__new_semctl): Likewise.
31120         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31121         <bp-checks.h> and <bp-semctl.h>.
31122         (__old_semctl): Don't use CHECK_SEMCTL.
31123         (__new_semctl): Likewise.
31124         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31125         <bp-checks.h> and <bp-semctl.h>.
31126         (semctl): Don't use CHECK_SEMCTL.
31127
31128         [BZ #13550]
31129         * Makerules (elide-bp-thunks): Remove variable.
31130         (elide-routines.oS): Don't use $(elide-bp-thunks).
31131         (elide-routines.os): Likewise.
31132         (elide-routines.o): Likewise.
31133         (elide-routines.op): Likewise.
31134         (elide-routines.og): Likewise.
31135         (objects): Don't use $(bp-thunks).
31136         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31137         include.
31138         (common-generated): Do not add s-proto-bp.d.
31139         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31140         (int): Likewise.
31141         (typ): Likewise.
31142         Do not generate makefile rules for bounded-pointer thunks.
31143         * sysdeps/generic/bp-thunks.h: Remove file.
31144         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31145         * sysdeps/unix/s-proto-bp.S: Likewise.
31146
31147         [BZ #15062]
31148         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31149         parts of result separately when argument is not close to line from
31150         -i to i and one part of argument is small.
31151         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31152         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31153         * math/libm-test.inc (cacos_test): Add more tests.
31154         (casin_test): Likewise.
31155         (casinh_test): Likewise.
31156         * sysdeps/i386/fpu/libm-test-ulps: Update.
31157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158
31159 2013-01-31  David S. Miller  <davem@davemloft.net>
31160
31161         * po/de.po: Update from translation team.
31162
31163 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31164
31165         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31166
31167 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31168
31169         * configure.in (_AC_PROG_CC_C89): New definition.
31170         * configure: Regenerate.
31171
31172         * configure.in (AC_PROG_CPP): New definition.
31173         * configure: Regenerate.
31174
31175 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31176
31177         * debug/tst-backtrace.h: New file.
31178         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31179         (ret): Remove variable.
31180         (x): Likewise.
31181         (FAIL): Remove macro.
31182         (NO_INLINE): Likewise.
31183         (fn1): Use match function instead of strstr.
31184         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31185         (ret): Remove variable.
31186         (x): Likewise.
31187         (FAIL): Remove macro.
31188         (NO_INLINE): Likewise.
31189         (fn): Use match function instead of strstr.
31190         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31191         (ret): Remove variable.
31192         (x): Likewise.
31193         (FAIL): Remove macro.
31194         (NO_INLINE): Likewise.
31195         (handle_signal): Use match function instead of strstr.
31196         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31197         (ret): Remove variable.
31198         (x): Likewise.
31199         (FAIL): Remove macro.
31200         (NO_INLINE): Likewise.
31201         (handle_signal): Use match function instead of strstr.
31202
31203 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31204
31205         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31206
31207 2013-01-23  David S. Miller  <davem@davemloft.net>
31208
31209         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31210         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31211         argument of CAS if possible.
31212         * sysdeps/sparc/sparc64/bits/atomic.h
31213         (__arch_compare_and_exchange_val_32_acq): Likewise.
31214         (__arch_compare_and_exchange_val_64_acq): Likewise.
31215
31216 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31217
31218         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31219         * sysdeps/posix/ulimit.c: ... this.
31220         Include <limits.h>.
31221         * sysdeps/unix/bsd/ulimit.c: Remove file.
31222
31223 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31224
31225         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31226         (LDFLAGS-tst-array5): Likewise.
31227
31228 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31229
31230         [BZ #15036]
31231         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31232         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31233         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31234         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31235
31236 2013-01-21  David S. Miller  <davem@davemloft.net>
31237
31238         * sysdeps/sparc/backtrace.c: New file.
31239         * sysdeps/sparc/sparc32/backtrace.h: New file.
31240         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31241         * sysdeps/sparc/sparc64/backtrace.h: New file.
31242         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31243         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31244         -funwind-tables.
31245
31246 2013-01-21  Andreas Schwab  <schwab@suse.de>
31247
31248         [BZ #15020]
31249         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31250         closed its stdout.
31251
31252 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31253
31254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31255         "mpa2.h".
31256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31257
31258 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31259             Mark Mitchell  <mark@codesourcery.com>
31260             Tom de Vries  <tom@codesourcery.com>
31261             Paul Pluzhnikov  <ppluzhnikov@google.com>
31262
31263         * debug/tst-backtrace2.c: New file.
31264         * debug/tst-backtrace3.c: Likewise.
31265         * debug/tst-backtrace4.c: Likewise.
31266         * debug/tst-backtrace5.c: Likewise.
31267         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31268         (CFLAGS-tst-backtrace3.c): Likewise.
31269         (CFLAGS-tst-backtrace4.c): Likewise.
31270         (CFLAGS-tst-backtrace5.c): Likewise.
31271         (LDFLAGS-tst-backtrace2): Likewise.
31272         (LDFLAGS-tst-backtrace3): Likewise.
31273         (LDFLAGS-tst-backtrace4): Likewise.
31274         (LDFLAGS-tst-backtrace5): Likewise.
31275         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31276         tst-backtrace4 and tst-backtrace5.
31277
31278 2013-01-18  Anton Blanchard  <anton@samba.org>
31279             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31280
31281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31282         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31283         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31284         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31286         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31287         "+r" and remove output regs list as redundant.  Add explicit inline
31288         asm to specify register of return val to work around compiler codegen
31289         bug.  Remove (int) cast on return value.  Add return type parameter to
31290         use in macro so that this macro does not truncate return value for
31291         64-bit values.
31292         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31293         pass to INTERNAL_VSYSCALL_NCS.
31294         (INLINE_VSYSCALL): Add 'long int' as return type to
31295         INTERNAL_VSYSCALL_NCS macro invocation.
31296         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31297         INTERNAL_VSYSCALL_NCS macro invocation.
31298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31299
31300 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31301
31302         [BZ #14496]
31303         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31304         Fix application of SIMD FP exception mask.
31305
31306         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31307         mp_no from a power of two.
31308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31309         __mpexp_twomm1.  Use __pow_mp.
31310
31311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31312         multiplication.
31313
31314 2013-01-17  David S. Miller  <davem@davemloft.net>
31315
31316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31317
31318 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31319
31320         [BZ #15023]
31321         * include/complex.h: Condition contents on [!_COMPLEX_H].
31322         (__kernel_casinhf): New prototype.
31323         (__kernel_casinh): Likewise.
31324         (__kernel_casinhl): Likewise.
31325         * math/Makefile (libm_calls): Add k_casinh.
31326         * math/k_casinh.c: New file.
31327         * math/k_casinhf.c: Likewise.
31328         * math/k_casinhl.c: Likewise.
31329         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31330         finite nonzero arguments.
31331         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31332         finite nonzero arguments.
31333         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31334         finite nonzero arguments.
31335         * math/s_casinh.c: Do not include <float.h>.
31336         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31337         * math/s_casinhf.c: Do not include <float.h>.
31338         (__casinhf): Move code for finite nonzero arguments to
31339         k_casinhf.c.
31340         * math/s_casinhl.c: Do not include <float.h>.
31341         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31342         redefine.
31343         (__casinhl): Move code for finite nonzero arguments to
31344         k_casinhl.c.
31345         * math/libm-test.inc (cacos_test): Add more tests.
31346         * sysdeps/i386/fpu/libm-test-ulps: Update.
31347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31348
31349 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31350
31351         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31352         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31353         [!HAVE_MREMAP]: Remove [defined linux] case.
31354         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31355
31356 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31357
31358         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31359
31360 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31361
31362         * elf/elf.h (R_386_SIZE32): New relocation.
31363         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31364         R_386_SIZE32.
31365         (elf_machine_rela): Likewise.
31366         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31367         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31368
31369 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31370
31371         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31372         (FP_FAST_FMA): Do not define.
31373         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31374         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31375         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31376         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31377         !_SOFT_FLOAT]: Likewise.
31378         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31379         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31380         value.
31381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31382         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31383         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31384         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31385         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31386         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31387         file.
31388
31389 2013-01-16  Andreas Schwab  <schwab@suse.de>
31390
31391         [BZ #14327]
31392         * include/stdlib.h (__mktemp): Add declaration.
31393         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31394         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31395
31396 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31397
31398         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31399         definitions.
31400         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31401         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31402         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31403         definitions here.
31404         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31405         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31406         definitions.
31407         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31408         and ONE.
31409         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31410         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31411         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31412         definitions.
31413         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31414         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31415         definitions.
31416         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31417
31418         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31419
31420 2013-01-15  David S. Miller  <davem@davemloft.net>
31421
31422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31423         trunc{,f} to libm-sysdep_routes.
31424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31426         file.
31427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31429         file.
31430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31431         file.
31432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31434         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31435         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31436         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31437         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31438         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31439         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31440
31441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31442         nearbyint{,f} to libm-sysdep_routes.
31443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31445         New file.
31446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31447         file.
31448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31449         New file.
31450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31451         file.
31452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31454         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31455         file.
31456         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31457         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31458         file.
31459         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31460         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31461         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31462
31463         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31464         libc_feholdexcept and libc_fesetenv.
31465
31466 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31467
31468         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31469
31470 2013-01-14  David S. Miller  <davem@davemloft.net>
31471
31472         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31473         (SPARC_ASM_VIS2_IFUNC): Likewise.
31474         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31476         use of 'siam' instruction.
31477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31478         Likewise.
31479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31480         Likewise.
31481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31482         Likewise.
31483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31488         file.
31489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31490         file.
31491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31492         file.
31493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31494         file.
31495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31496         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31500         new VIS2 routines.
31501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31504         Likewise.
31505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31510         routines to libm-sysdep_routines.
31511         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31512
31513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31514         fdim/fdimf to libm-sysdep_routines.
31515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31516         file.
31517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31519         file.
31520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31523         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31524         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31525         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31526         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31527
31528 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31529
31530         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31531         to optimize copies.
31532
31533         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31536
31537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31538         local variable MPTWO.
31539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31540         Likewise.
31541
31542 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31543
31544         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31545         GLOB_NOESCAPE.
31546
31547 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31548
31549         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31550
31551 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31552
31553         * manual/pattern.texi (glob_t): Document gl_flags.
31554         (glob64_t): Likewise.
31555
31556 2013-01-11  David S. Miller  <davem@davemloft.net>
31557
31558         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31559         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31560         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31561         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31562         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31563         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31564         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31565         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31566         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31567         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31568         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31569         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31570         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31571
31572         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31573         sparc V9 rather than using V8 code.
31574         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31575         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31576
31577         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31578         Move to...
31579         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31580         Here.
31581
31582 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31583
31584         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31585         not in the main loop.
31586         * configure: Regenerated.
31587
31588 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31589
31590         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31591         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31592         to just #else.
31593         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31594         [!__GLIBC_HAVE_LONG_LONG] case.
31595         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31596         condition to just #else.
31597         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31598         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31599         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31600         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31601         unconditional.
31602         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31603         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31604         #elif condition to just #else.
31605         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31606         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31607         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31608         #elif condition to just #else.
31609
31610 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31611
31612         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31613         (EF_MIPS_ARCH_64): Fix value.
31614         (EF_MIPS_ARCH_32R2): New.
31615         (EF_MIPS_ARCH_64R2): New.
31616
31617 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31618
31619         * Makeconfig (+link-pie-before-libc): New.
31620         (+link-pie-after-libc): Likewise.
31621         (+link-pie-tests): Likewise.
31622         (+link-pie): Rewritten.
31623         (link-before-libc): Remove $(config-LDFLAGS).
31624         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31625         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31626         (config-LDFLAGS): Renamed to ...
31627         (rtld-LDFLAGS): This.
31628         (rtld-tests-LDFLAGS): New macro.
31629         (link-libc-rpath-link): Likewise.
31630         (link-libc-tests-rpath-link): Likewise.
31631         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31632         (link-libc): Prepand $(link-libc-rpath-link).
31633         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31634         (test-program-prefix): New macro.
31635         (test-via-rtld-prefix): Likewise.
31636         (test-program-cmd): Likewise.
31637         (host-test-program-cmd): Likewise.
31638         * Makefile ($(common-objpfx)testrun.sh): Replace
31639         $(run-program-prefix) with $(test-program-prefix).
31640         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31641         $(rtld-LDFLAGS).
31642         ($(common-objpfx)shlib.lds): Likewise.
31643         (build-module-helper): Likewise.
31644         ($(common-objpfx)format.lds): Likewise.
31645         * Rules (binaries-pie-tests): New.
31646         (binaries-pie-notests): Likewise.
31647         (binaries-pie): Rewritten.
31648         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31649         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31650         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31651         (make-test-out): Replace $(host-built-program-cmd) with
31652         $(host-test-program-cmd).
31653         * config.make.in (build-hardcoded-path-in-tests): New variable.
31654         * configure.in (--enable-hardcoded-path-in-tests): New configure
31655         option.
31656         (hardcoded_path_in_tests): New AC_SUBST.
31657         * configure: Regenerated.
31658         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31659         $(built-program-cmd) with $(test-program-cmd).
31660         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31661         (test_program_cmd): This.
31662         * elf/Makefile ($(objpfx)order.out): Run test with
31663         $(test-program-prefix).
31664         ($(objpfx)order2.out): Likewise.
31665         ($(objpfx)tst-initorder.out): Likewise.
31666         ($(objpfx)tst-initorder2.out): Likewise.
31667         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31668         $(test-program-cmd).
31669         ($(objpfx)tst-array1-static.out): Likewise.
31670         ($(objpfx)tst-array2.out): Likewise.
31671         ($(objpfx)tst-array3.out): Likewise.
31672         ($(objpfx)tst-array4.out): Likewise.
31673         ($(objpfx)tst-array5.out): Likewise.
31674         ($(objpfx)tst-array5-static.out): Likewise.
31675         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31676         $(test-program-cmd).
31677         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31678         $(run-program-prefix) with $(test-program-prefix).
31679         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31680         (test_program_prefix): This.
31681         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31682         $(run-program-prefix) with $(test-program-prefix).
31683         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31684         (test_program_prefix): This.
31685         * iconvdata/tst-tables.sh: Likewise.
31686         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31687         $(run-program-prefix) with $(test-program-prefix).
31688         ($(objpfx)tst-translit.out): Likewise.
31689         ($(objpfx)tst-gettext2.out): Likewise.
31690         ($(objpfx)tst-gettext4.out): Likewise.
31691         ($(objpfx)tst-gettext6.out): Likewise.
31692         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31693         (test_program_prefix): This.
31694         * intl/tst-gettext2.sh: Likewise.
31695         * intl/tst-gettext4.sh  Likewise.
31696         * intl/tst-gettext6.sh: Likewise.
31697         * intl/tst-translit.sh: Likewise.
31698         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31699         with $(test-program-cmd).
31700         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31701         $(run-program-prefix) with $(test-program-prefix).
31702         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31703         (test_program_prefix): This.
31704         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31705         $(run-program-prefix) with $(test-program-prefix).
31706         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31707         (test_program_prefix): This.
31708         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31709         * posix/Makefile ($(objpfx)globtest.out): Replace
31710         $(run-via-rtld-prefix) and $(test-wrapper) with
31711         $(test-program-prefix) and $(test-via-rtld-prefix).
31712         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31713         $(test-program-prefix).
31714         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31715         $(host-test-program-cmd).
31716         (tst-spawn-ARGS): Likewise.
31717         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31718         $(test-program-prefix).
31719         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31720         (test_via_rtld_prefix): This.
31721         (test_wrapper): Renamed to ...
31722         (test_program_prefix): This.
31723         (run_program_prefix): Replaced by test_program_prefix.
31724         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31725         (test_program_prefix): This.
31726         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31727         with $(host-test-program-cmd).
31728         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31729         $(run-program-prefix) with $(test-program-prefix).
31730         ($(objpfx)tst-printf.out): Likewise.
31731         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31732         $(test-program-cmd).
31733         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31734         (test_program_prefix): This.
31735         * stdio-common/tst-unbputc.sh: Likewise.
31736         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31737         $(run-program-prefix) with $(test-program-prefix).
31738         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31739         (test_program_prefix): This.
31740         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31741         $(built-program-cmd) with $(test-program-cmd).
31742
31743 2013-01-11  Andreas Jaeger  <aj@suse.de>
31744
31745         [BZ #15003]
31746         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31747         value. Sync with Linux 3.7.
31748
31749 2013-01-10  David S. Miller  <davem@davemloft.net>
31750
31751         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31752         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31753         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31754
31755 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31756
31757         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31758         never set.
31759         * configure: Regenerated.
31760
31761 2013-01-10  David S. Miller  <davem@davemloft.net>
31762
31763         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31764         sparc V9 rather than using V8 code.
31765         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31766         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31767
31768 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31769
31770         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31771         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31772         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31773         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31774         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31775         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31776         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31777         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31778         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31779         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31780         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31781         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31782         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31783         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31784         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31785         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31786         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31787         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31788         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31789         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31790         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31791         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31792         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31793         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31794         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31795         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31796         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31797
31798 2013-01-10  David S. Miller  <davem@davemloft.net>
31799
31800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31801
31802 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31803
31804         * posix/Makefile (tests-static): New variable.
31805         (tests): Add $(tests-static).
31806         (tst-exec-static-ARGS): New variable.
31807         (tst-spawn-static-ARGS): Likewise.
31808         * posix/tst-exec-static.c: New file.
31809         * posix/tst-spawn-static.c: Likewise.
31810         * posix/tst-exec.c: Support run directly.
31811         * posix/tst-spawn.c: Likewise.
31812
31813 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31814
31815         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31816         long.
31817         * math/bits/mathcalls.h (llrint): Likewise.
31818         (llround): Likewise.
31819         * stdlib/stdlib.h (struct drand48_data): Likewise.
31820         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31821         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31822         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31823         Likewise.
31824         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31825         Likewise.
31826         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31827         (elf_greg_t): Likewise.
31828         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31829         (__jmp_buf): Likewise.
31830         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31831         definitions.
31832         (llrint): Likewise, for all definitions.
31833         (llrintl): Likewise.
31834
31835         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31836         Remove [__GNUC__] condition.
31837         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31838         condition to just [__USE_ISOC99].
31839         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31840
31841 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31842
31843         [BZ #14200]
31844         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31845         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31846         defined.
31847         (_POSIX_V6_ILP32_OFF32): Likewise.
31848         (_XBS5_ILP32_OFF32): Likewise.
31849         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31850         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31851
31852 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31853
31854         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31855
31856         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31857         doubles __mpexp_twomm1.  Adjust usage.
31858         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31859         Remove.
31860
31861 2013-01-10  Andreas Schwab  <schwab@suse.de>
31862
31863         [BZ #14964]
31864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31865         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31866
31867 2013-01-09  David S. Miller  <davem@davemloft.net>
31868
31869         [BZ #15003]
31870         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31871         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31872         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31873         (TCP_FASTOPEN): Define.
31874         (tcp_repair_opt): New structure.
31875         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31876         enum values.
31877         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31878         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31879         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31880         (tcp_cookie_transactions): New structure.
31881
31882 2013-01-09  Anton Blanchard  <anton@samba.org>
31883
31884         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31885         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31887         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31888
31889 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31890
31891         * include/features.h (__USE_ANSI): Remove.
31892
31893 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31894
31895         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31896
31897         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31898
31899 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31900
31901         * sysdeps/s390/fpu/libm-test-ulps: Update.
31902
31903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31904
31905         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31906         (__acr): Likewise.
31907         (__cpy): Likewise.
31908         (norm): Likewise.
31909         (denorm): Likewise.
31910         (__mp_dbl): Likewise.
31911         (__dbl_mp): Likewise.
31912         (add_magnitudes): Likewise.
31913         (sub_magnitudes): Likewise.
31914         (__add): Likewise.
31915         (__sub): Likewise.
31916         (__mul): Likewise.
31917         (__inv): Likewise.
31918         (__dvd): Likewise.
31919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31920         (__acr): Likewise.
31921         (__cpy): Likewise.
31922         (norm): Likewise.
31923         (denorm): Likewise.
31924         (__mp_dbl): Likewise.
31925         (__dbl_mp): Likewise.
31926         (add_magnitudes): Likewise.
31927         (sub_magnitudes): Likewise.
31928         (__add): Likewise.
31929         (__sub): Likewise.
31930         (__mul): Likewise.
31931         (__inv): Likewise.
31932         (__dvd): Likewise.
31933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31934         (__acr): Likewise.
31935         (__cpy): Likewise.
31936         (norm): Likewise.
31937         (denorm): Likewise.
31938         (__mp_dbl): Likewise.
31939         (__dbl_mp): Likewise.
31940         (add_magnitudes): Likewise.
31941         (sub_magnitudes): Likewise.
31942         (__add): Likewise.
31943         (__sub): Likewise.
31944         (__mul): Likewise.
31945         (__inv): Likewise.
31946         (__dvd): Likewise.
31947
31948 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31949
31950         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31951         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31952         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31953         2 && __USE_EXTERN_INLINES]: Likewise.
31954
31955 2013-01-08  Andreas Jaeger  <aj@suse.de>
31956
31957         [BZ# 14985]
31958         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31959         Remove.
31960         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31961         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31962
31963 2013-01-07  Anton Blanchard  <anton@samba.org>
31964
31965         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31966         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31967         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31968         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31969         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31970         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31971         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31972         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31974         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31975         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31976         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31979         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31980         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31981         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31982         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31983         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31984         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31985         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31986         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31987         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31988         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31989         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31990         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31991         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31992         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31994         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31995         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31998         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31999         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32000         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32001         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32002         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32003         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32004         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32006         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32007         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32008
32009 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32010
32011         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32012         (__MALLOC_PMT): Likewise.
32013         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32014         [__GNUC__], only on [_LIBC].
32015         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32016         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32017         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32018         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32019         forward declaration.
32020         (realloc_hook_ini): Likewise.
32021         (memalign_hook_ini): Likewise.
32022         (__libc_memalign): Do not use __MALLOC_PMT in variable
32023         declaration.
32024         (__libc_valloc): Likewise.
32025         (__libc_pvalloc): Likewise.
32026         (__libc_calloc): Likewise.
32027         (__posix_memalign): Likewise.
32028
32029         [BZ #14996]
32030         * math/s_casinh.c: Include <float.h>.
32031         (__casinh): Do not do computation with squaring and square root
32032         for large arguments.
32033         * math/s_casinhf.c: Include <float.h>.
32034         (__casinhf): Do not do computation with squaring and square root
32035         for large arguments.
32036         * math/s_casinhl.c: Include <float.h>.
32037         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32038         (__casinhl): Do not do computation with squaring and square root
32039         for large arguments.
32040         * math/libm-test.inc (casin_test): Add more tests.
32041         (casinh_test): Likewise.
32042         * sysdeps/i386/fpu/libm-test-ulps: Update.
32043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32044
32045 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32046
32047         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32048         (__x86_64_raw_data_cache_size): Likewise.
32049         (__x86_64_data_cache_size_half): Likewise.
32050         (__x86_64_raw_data_cache_size_half): Likewise.
32051         (__x86_64_shared_cache_size): Likewise.
32052         (__x86_64_raw_shared_cache_size): Likewise.
32053         (__x86_64_shared_cache_size_half): Likewise.
32054         (__x86_64_raw_shared_cache_size_half): Likewise.
32055         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32056         to ...
32057         (__x86_data_cache_size): This.
32058         (__x86_64_raw_data_cache_size): Renamed to ...
32059         (__x86_raw_data_cache_size): This.
32060         (__x86_64_data_cache_size_half): Renamed to ...
32061         (__x86_data_cache_size_half): This.
32062         (__x86_64_raw_data_cache_size_half): Renamed to ...
32063         (__x86_raw_data_cache_size_half): This.
32064         (__x86_64_shared_cache_size): Renamed to ...
32065         (__x86_shared_cache_size): This.
32066         (__x86_64_raw_shared_cache_size): Renamed to ...
32067         (__x86_raw_shared_cache_size): This.
32068         (__x86_64_shared_cache_size_half): Renamed to ...
32069         (__x86_shared_cache_size_half): This.
32070         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32071         (__x86_raw_shared_cache_size_half): This.
32072         * sysdeps/x86_64/memcpy.S: Updated.
32073         * sysdeps/x86_64/memset.S: Likewise.
32074         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32077
32078 2013-01-04  David S. Miller  <davem@davemloft.net>
32079
32080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32081
32082 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32083
32084         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32085         1 to avoid redefinition warning.
32086         (__USE_GNU): Don't define.
32087         (init_signaling_nan): Protoize.
32088
32089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32090
32091 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092
32093         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32095         (__cpymn): Likewise.
32096         (norm): Remove commented code.
32097         (denorm): Likewise.
32098         (__mp_dbl): Likewise.
32099         (__inv): Likewise.
32100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32101         (__cpymn): Likewise.
32102         (norm): Remove commented code.
32103         (denorm): Likewise.
32104         (__mp_dbl): Likewise.
32105         (__inv): Likewise.
32106
32107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32108         mp_no value for 1.0 and 2.0.
32109         (norm): Use RADIXI instead of radixi.d.
32110         (denorm): Likewise.
32111         (__mul): Use 0.0 instead of zero.d.
32112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32113         mp_no value for 1.0 and 2.0.
32114         (norm): Use RADIXI instead of radixi.d.
32115         (denorm): Likewise.
32116         (__mul): Use 0.0 instead of zero.d.
32117
32118 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32119
32120         [BZ #14994]
32121         * math/s_casinh.c (__casinh): Reduce finite argument to first
32122         quadrant then set signs of results at the end.
32123         * math/s_casinhf.c (__casinhf): Likewise.
32124         * math/s_casinhl.c (__casinhl): Likewise.
32125         * math/libm-test.inc (casin_test): Add more tests.
32126         (casinh_test): Likewise.
32127         * sysdeps/i386/fpu/libm-test-ulps: Update.
32128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32129
32130 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131
32132         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32133
32134         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32135
32136         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32137         declarations.
32138         (denorm): Likewise.
32139         (__mp_dbl): Likewise.
32140         (__inv): Likewise.
32141
32142         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32143         and adjust the header comment.
32144
32145         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32146         variable name from declaration.
32147
32148 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32149
32150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32151         Initialize COMMON_CPUID_INDEX_7 element.
32152         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32153         (CPUID_RTM): Likewise.
32154         (HAS_RTM): Likewise.
32155         (COMMON_CPUID_INDEX_7): New enum.
32156
32157 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32158
32159         [BZ #14981]
32160         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32161         size is zero, record memory as freed.
32162
32163 2013-01-03  Andreas Jaeger  <aj@suse.de>
32164
32165         * po/ia.po: Add new Interlingua translation.
32166
32167 2012-01-03  Allan McRae  <allan@archlinux.org>
32168
32169         * locale/programs/localedef.c: Fix description of '--posix' flag.
32170
32171 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32172
32173         * NEWS: Update dates in second copyright notice.
32174         * README: Update copyright dates in example.
32175         * manual/libc.texinfo: Update copyright dates.
32176         * scripts/test-installation.pl: Update copyright date in --version
32177         output.
32178
32179         * hurd/ctty-input.c: Fix copyright notice formatting.
32180         * hurd/ctty-output.c: Likewise.
32181         * hurd/dtable.c: Likewise.
32182         * hurd/hurd-raise.c: Likewise.
32183         * hurd/hurdprio.c: Likewise.
32184         * hurd/msgportdemux.c: Likewise.
32185         * misc/sys/file.h: Likewise.
32186         * misc/sys/ioctl.h: Likewise.
32187         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32188         * sysdeps/mach/hurd/chdir.c: Likewise.
32189         * sysdeps/mach/hurd/fchdir.c: Likewise.
32190         * sysdeps/mach/hurd/rename.c: Likewise.
32191         * sysdeps/mach/hurd/rmdir.c: Likewise.
32192         * sysdeps/mach/hurd/seekdir.c: Likewise.
32193         * sysdeps/mach/hurd/setsid.c: Likewise.
32194         * sysdeps/posix/wait3.c: Likewise.
32195
32196         * All files with FSF copyright notices: Update copyright dates
32197         using scripts/update-copyrights.
32198         * intl/plural.c: Regenerated.
32199         * locale/programs/charmap-kw.h: Likewise.
32200         * locale/programs/locfile-kw.h: Likewise.
32201
32202 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203
32204         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32205         four values.
32206
32207         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32208         calculation loop and add branch prediction.
32209
32210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32211         check access beyond bounds of m1np.
32212
32213         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32214         MPTWO.
32215         (__inv): Remove local variable MPTWO to use the global
32216         constant.
32217         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32219         variable MPTWO.
32220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32221         MP3HALFS static const.
32222
32223 2013-01-01  David S. Miller  <davem@davemloft.net>
32224
32225         * po/ca.po: Update from translation team.
32226
32227 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32228
32229         * scripts/update-copyrights: New file.
32230         * Makeconfig: Reformat copyright notice.
32231         * ctype/ctype.h: Likewise.
32232         * debug/swprintf_chk.c: Likewise.
32233         * elf/dl-cache.c: Likewise.
32234         * elf/dl-debug.c: Likewise.
32235         * elf/dl-object.c: Likewise.
32236         * grp/initgroups.c: Likewise.
32237         * hurd/Makefile: Likewise.
32238         * hurd/hurd/signal.h: Likewise.
32239         * hurd/hurdfault.c: Likewise.
32240         * hurd/hurdioctl.c: Likewise.
32241         * hurd/hurdlookup.c: Likewise.
32242         * hurd/intr-msg.c: Likewise.
32243         * iconv/gconv_open.c: Likewise.
32244         * libio/swprintf.c: Likewise.
32245         * locale/lc-ctype.c: Likewise.
32246         * locale/nl_langinfo.c: Likewise.
32247         * mach/Machrules: Likewise.
32248         * mach/Makefile: Likewise.
32249         * malloc/obstack.h: Likewise.
32250         * manual/Makefile: Likewise.
32251         * manual/tsort.awk: Likewise.
32252         * misc/bits/stab.def: Likewise.
32253         * nis/nis_print_group_entry.c: Likewise.
32254         * nis/nis_table.c: Likewise.
32255         * nis/nss_compat/compat-pwd.c: Likewise.
32256         * nis/nss_compat/compat-spwd.c: Likewise.
32257         * po/Makefile: Likewise.
32258         * posix/fnmatch.c: Likewise.
32259         * posix/regex.h: Likewise.
32260         * resolv/Makefile: Likewise.
32261         * resolv/nss_dns/dns-network.c: Likewise.
32262         * resolv/res_hconf.c: Likewise.
32263         * scripts/gen-sorted.awk: Likewise.
32264         * soft-fp/soft-fp.h: Likewise.
32265         * stdio-common/printf.h: Likewise.
32266         * stdlib/monetary.h: Likewise.
32267         * stdlib/random.c: Likewise.
32268         * stdlib/random_r.c: Likewise.
32269         * sysdeps/generic/Makefile: Likewise.
32270         * sysdeps/gnu/Makefile: Likewise.
32271         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32275         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32276         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32277         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32281         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32282         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32283         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32285         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32286         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32287         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32288         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32289         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32290         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32291         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32294         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32295         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32296         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32297         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32298         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32299         * sysdeps/mach/hurd/errnos.awk: Likewise.
32300         * sysdeps/mach/hurd/fork.c: Likewise.
32301         * sysdeps/mach/hurd/getcwd.c: Likewise.
32302         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32303         * sysdeps/mach/hurd/mmap.c: Likewise.
32304         * sysdeps/mach/hurd/utimes.c: Likewise.
32305         * sysdeps/mach/hurd/xmknod.c: Likewise.
32306         * sysdeps/posix/profil.c: Likewise.
32307         * sysdeps/posix/readdir_r.c: Likewise.
32308         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32309         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32310         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32311         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32313         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32314         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32315         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32317         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32318         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32319         * sysdeps/pthread/lio_listio.c: Likewise.
32320         * sysdeps/sparc/dl-procinfo.h: Likewise.
32321         * sysdeps/unix/i386/sysdep.S: Likewise.
32322         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32323         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32324         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32325         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32327         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32328         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32329         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32330         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32331         * sysdeps/wordsize-32/divdi3.c: Likewise.
32332         * time/sys/time.h: Likewise.
32333         * wcsmbs/Makefile: Likewise.
32334
32335 2013-01-01  David S. Miller  <davem@davemloft.net>
32336
32337         * po/fr.po: Update from translation team.
32338
32339         * catgets/gencat.c: Update copyright year.
32340         * csu/version.c: Likewise.
32341         * debug/catchsegv.sh: Likewise.
32342         * debug/pcprofiledump.c: Likewise.
32343         * debug/xtrace.sh: Likewise.
32344         * elf/ldconfig.c: Likewise.
32345         * elf/ldd.bash.in: Likewise.
32346         * elf/pldd.c: Likewise.
32347         * elf/sotruss.ksh: Likewise.
32348         * elf/sprof.c: Likewise.
32349         * iconv/iconv_prog.c: Likewise.
32350         * iconv/iconvconfig.c: Likewise.
32351         * locale/programs/locale.c: Likewise.
32352         * locale/programs/localedef.c: Likewise.
32353         * login/programs/pt_chown.c: Likewise.
32354         * malloc/memusage.sh: Likewise.
32355         * malloc/memusagestat.c: Likewise.
32356         * malloc/mtrace.pl: Likewise.
32357         * nscd/nscd.c: Likewise.
32358         * nss/getent.c: Likewise.
32359         * nss/makedb.c: Likewise.
32360         * posix/getconf.c: Likewise.
32361
32362 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32363
32364         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32365         numbers.
32366
32367 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32368
32369         * math/bits/mathcalls.h (modf): Use __nonnull.
32370
32371 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32372
32373         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32374         (split): Use macro CN instead of the bare value.
32375         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32376         could be used.
32377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32378         instead of the bare value.
32379         (power1): Likewise.
32380
32381 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32382
32383         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32384         __ATAN_TWOM.
32385         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32386
32387         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32388         their values.
32389         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32390         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32391         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32392         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32393
32394 2012-12-28  Andreas Jaeger  <aj@suse.de>
32395
32396         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32397         values are from Linux 3.7.
32398
32399         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32400         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32401
32402 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32403
32404         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32405         TRUE case.
32406
32407         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32408         (norm): Likewise.
32409         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32410         variables with preprocessor constants.
32411         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32412         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32413         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32414
32415 2012-12-27  Bruno Haible  <bruno@clisp.org>
32416
32417         [BZ #14317]
32418         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32419         only if needed.
32420
32421 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32422
32423         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32424         and use variable directly.
32425         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32426
32427         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32428         MPONE.
32429         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32431         variable MPONE.
32432         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32434         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32435         include directive.  Remove local variable MPONE.
32436         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32437         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32438         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32439
32440 2012-12-25  David S. Miller  <davem@davemloft.net>
32441
32442         * version.h (RELEASE): Set to "development".
32443         (VERSION): Set to "2.17.90".
32444         * NEWS: Add 2.18 section.
32445
32446 2012-12-21  David S. Miller  <davem@davemloft.net>
32447
32448         * po/hr.po: Update from translation team.
32449
32450 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32451
32452         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32453
32454 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32455
32456         * NEWS:  Mention new memcpy for MIPS.
32457
32458 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32459
32460         * manual/contrib.texi (Contributors): Spelling correction.
32461
32462 2012-12-15  David S. Miller  <davem@davemloft.net>
32463
32464         * po/ru.po: Update from translation team.
32465
32466 2012-12-13  David S. Miller  <davem@davemloft.net>
32467
32468         * NEWS: Mention IFUNC testsuite enhancements.
32469
32470         * po/pl.po: Update from translation team.
32471         * po/bg.po: Likewise.
32472
32473         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32474         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32475
32476 2012-12-11  David S. Miller  <davem@davemloft.net>
32477
32478         * po/sv.po: Update from translation team.
32479
32480         * po/vi.po: Update from translation team.
32481
32482         * po/cs.po: Update from translation team.
32483
32484         * po/de.po: Update from translation team.
32485         * po/eo.po: Likewise.
32486         * po/nl.po: Likewise.
32487
32488 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32489
32490         [BZ #14246]
32491         * manual/argp.texi (Argp Helper Functions): Move node to follow
32492         Argp Parsing State.
32493
32494         [BZ #14872]
32495         * manual/conf.texi (Limits on File System Capacity): Mention if
32496         terminating null is included in the max size.
32497
32498 2012-12-10  Andreas Jaeger  <aj@suse.de>
32499
32500         * po/cs.po: Update from translation team.
32501
32502 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32503
32504         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32505         void pointer and cast to uintptr_t.
32506         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32507         path.
32508         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32509         * sysdeps/s390/s390-64/memset.S: Likewise.
32510
32511 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32512
32513         [BZ #14833]
32514         * menual/message.texi (Message Translation): Fix typos.
32515         (Helper programs for gettext): Likewise.
32516
32517 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32518
32519         [BZ #14898]
32520         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32521         Change to -1.
32522
32523 2012-12-07  David S. Miller  <davem@davemloft.net>
32524
32525         * po/libc.pot: Update.
32526
32527 2012-12-07  Richard Henderson  <rth@redhat.com>
32528
32529         [BZ #10114]
32530         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32531         normal/normal case to before the switch.
32532         (_FP_DIV): Likewise.
32533
32534 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32535             Mike Frysinger  <vapier@gentoo.org>
32536
32537         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32538         check for __NR_fadvise64_64.
32539
32540 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32541
32542         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32543         0, not just to plain "0" as a statement.
32544         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32545         with cw.
32546
32547 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32548
32549         * NEWS: Use sourceware.org in Bugzilla URL.
32550
32551 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32552
32553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32554         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32555
32556         * stdio-common/tst-put-error.c (do_test): Add newline to the
32557         padded test to ensure flush.
32558
32559 2012-12-05  Jeff Law  <law@redhat.com>
32560
32561         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32562
32563 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32564
32565         * README: Don't refer to ports add-on as distributed separately.
32566         Mention AArch64 in list of systems supported in the ports add-on.
32567
32568         * LICENSES: Add more non-FSF copyright and license notices.
32569
32570         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32571         ((unused)).
32572
32573         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32574
32575         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32576         10000 as width of padded output.
32577
32578 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32579
32580         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32581
32582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32583         variable LX with __attribute__ ((unused)).
32584         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32585         Likewise.
32586         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32588         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32589         with __attribute__ ((unused)).
32590
32591 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32592
32593         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32594
32595 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32596
32597         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32598         (CFLAGS-nldbl-acos.c): New variable.
32599         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32600         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32601         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32602         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32603         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32604         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32605         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32606         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32607         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32608         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32609         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32610         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32611         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32612         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32613         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32614         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32615         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32616         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32617         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32618         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32619         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32620         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32621         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32622         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32623         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32624         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32625         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32626         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32627         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32628         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32629         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32630         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32631         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32632         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32633         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32634         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32635         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32636         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32637         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32638         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32639         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32640         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32641         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32642         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32643         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32644         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32645         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32646         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32647         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32648         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32649         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32650         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32651         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32652         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32653         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32654         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32655         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32656         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32657         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32658         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32659         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32660         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32661         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32662         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32663         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32664         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32665         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32666         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32667         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32668         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32669         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32670         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32671         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32672         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32673         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32674         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32675         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32676         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32677         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32678         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32679         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32680         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32681         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32682         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32683         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32684         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32685         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32686         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32687         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32688         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32689         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32690         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32691         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32692         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32693         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32694         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32695         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32696
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32698         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32699
32700         [BZ #14914]
32701         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32702         whole low double instead of just low 47 bits when splitting values
32703         into two parts.
32704
32705 2012-12-03  Allan McRae  <allan@archlinux.org>
32706
32707         * manual/stdio.texi (Predefined Printf Handlers): Remove
32708         @hsep and @vsep usage.
32709
32710 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32711
32712         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32713         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32714
32715 2012-12-03  Jeff Law  <law@redhat.com>
32716
32717         * time/sys/time.h (settimeofday): Do not mark TV argument
32718         as __nonnull.
32719
32720 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32721
32722         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32723         when currently writing and seek to current position when not.
32724         * libio/Makefile (tests): Remove bug-fclose1.
32725         * libio/bug-fclose1.c: Delete.
32726
32727 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32728
32729         * manual/arith.texi (feenableexcept): Fix typo.
32730         (fedisableexcept): Likewise.
32731
32732 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32733
32734         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32735         second, differently-typed declaration, rather than a cast.
32736
32737 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32738
32739         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32740         * include/rpc/svc.h: ... here.
32741
32742 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32743
32744         [BZ #13013]
32745         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32746         depending n and resplen2 to catch cases where answer
32747         equals answerp2.
32748
32749 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32750
32751         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32752         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32753
32754 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32755
32756         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32757
32758 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32759
32760         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32761
32762 2012-11-28  Jeff Law  <law@redhat.com>
32763
32764         [BZ #13761]
32765         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32766         dataset_temporary.  Track alloca usage into alloca_used.
32767         If dataset is large allocate and release it via malloc/free.
32768
32769 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32770
32771         [BZ #14197]
32772         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32773
32774 2012-11-28  David S. Miller  <davem@davemloft.net>
32775
32776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32777
32778 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32779
32780         [BZ #14803]
32781         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32782         of pi/2 rounded to nearest to 64 bits.
32783         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32784         nearest to 64 bits.
32785         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32786         bits.
32787
32788 2012-11-28  Jeff Law <law@redhat.com>
32789             Martin Osvald <mosvald@redhat.com>
32790
32791         [BZ #14889]
32792         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32793         * sunrpc/svc.c: Include time.h.
32794         (__svc_accept_failed): New function.
32795         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32796         any reason other than EINTR, call __svc_accept_failed.
32797         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32798         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32799
32800 2012-11-28  Andreas Schwab  <schwab@suse.de>
32801
32802         * scripts/abilist.awk: Also handle indirect functions in .opd
32803         section.
32804
32805 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32806
32807         [BZ #13881]
32808         * sysdeps/x86/fpu/powl_helper.c: New file.
32809         * sysdeps/x86/fpu/Makefile: Likewise.
32810         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32811         (p3): New object.
32812         (__ieee754_powl): Use __powl_helper for finite arguments except
32813         integer exponents below 8.
32814         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32815         (p3): New object.
32816         (__ieee754_powl): Use __powl_helper for finite arguments except
32817         integer exponents below 8.
32818         * math/libm-test.inc (pow_test): Add more tests and enable some
32819         previously disabled tests.
32820         * sysdeps/i386/fpu/libm-test-ulps: Update.
32821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32822
32823 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32824             Carlos O'Donell  <carlos_odonell@mentor.com>
32825
32826         * nss/makedb.c (is_prime): Assert that input is odd and greater
32827         than 4.  Note that fact in a comment too.
32828         (next_prime): Add 4 to input.
32829
32830 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831
32832         [BZ #11741]
32833         * libio/Makefile (tests): Add test case tst-fwrite-error.
32834         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32835         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32836         * libio/tst-fwrite-error.c: New test case.
32837
32838 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32839
32840         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32841         before casting to void *.
32842         * include/libc-internal.h (__pointer_type): New macro.
32843         (__integer_if_pointer_type_sub): Likewise.
32844         (__integer_if_pointer_type): Likewise.
32845         (cast_to_integer): Likewise.
32846         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32847         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32848         before casting to atomic64_t.
32849         (atomic_exchange_acq): Likewise.
32850         (__arch_exchange_and_add_body): Likewise.
32851         (__arch_add_body): Likewise.
32852         (atomic_add_negative): Likewise.
32853         (atomic_add_zero): Likewise.
32854
32855 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32856
32857         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32858         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32859         (add_fdes): Likewise.
32860         (linear_search_fdes): Likewise.
32861         (binary_search_unencoded_fdes): Likewise.
32862
32863 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32864
32865         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32866
32867 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32868
32869         * configure.in: Autodetect C++ header directories.
32870         * configure: Regenerated.
32871
32872 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32873
32874         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32875
32876 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32877
32878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32879
32880 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32881
32882         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32883         LDBL_MANT_DIG == 106]: Disable some tests.
32884         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32885         Likewise.
32886         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32887         Likewise.
32888
32889         [BZ #14871]
32890         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32891         input for small inputs.  Return +/- pi/2 for large inputs.
32892         * math/libm-test.inc (atan_test): Add more tests.
32893
32894         * sysdeps/generic/unwind-dw2-fde-glibc.c
32895         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32896         __attribute__ ((unused)).
32897
32898         [BZ #14645]
32899         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32900         x * y if x and y are nonzero and z is zero.
32901
32902         [BZ #14811]
32903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32904         nonzero exponents with absolute value below 0x1p-117 to +/-
32905         0x1p-117.
32906
32907         [BZ #14869]
32908         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32909         up arguments below 2**-450, not just those below 2**-500.
32910         * math/libm-test.inc (hypot_test): Add another test.
32911
32912         [BZ #14868]
32913         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32914         Return a+b for ratio over 2**120, not 2**60.
32915         * math/libm-test.inc (hypot_test): Add another test.
32916
32917         * math/libm-test.inc (clog_test): Use
32918         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32919         (clog10_test): Likewise.
32920
32921         [BZ #6778]
32922         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32923
32924 2012-11-22  Andreas Schwab  <schwab@suse.de>
32925
32926         * sysdeps/i386/fpu/libm-test-ulps: Update.
32927
32928 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32929
32930         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32931         printf output with newline.
32932
32933 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32934
32935         [BZ #14865]
32936         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32937         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32938         -z nodlopen, -z initfirst and -z execstack support.
32939         * configure: Regenerated.
32940
32941         * elf/elf.h (DF_1_NODIRECT): New macro.
32942         (DF_1_IGNMULDEF): Likewise.
32943         (DF_1_NOKSYMS): Likewise.
32944         (DF_1_NOHDR): Likewise.
32945         (DF_1_EDITED): Likewise.
32946         (DF_1_NORELOC): Likewise.
32947         (DF_1_SYMINTPOSE): Likewise.
32948         (DF_1_GLOBAUDIT): Likewise.
32949         (DF_1_SINGLETON): Likewise.
32950         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32951         DT_1_SUPPORTED_MASK bits.
32952         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32953
32954 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32955
32956         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32957
32958 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32959
32960         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32961         macro.
32962
32963         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32964         (sendmmsg): Move declarations...
32965         * socket/sys/socket.h: ... here.
32966         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32967         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32968         include it from...
32969         * socket/recvmmsg.c: ... this new file.
32970         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32971         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32972         definition of __sendmmsg hidden.
32973         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32974         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32975         Move ENOSYS stub into and include it from...
32976         * socket/sendmmsg.c: ... this new file.
32977         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32978         (sysdep_routines): Move recvmmsg and sendmmsg...
32979         * socket/Makefile (routines): ... here.
32980         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32981         (GLIBC_PRIVATE): Add __sendmmsg.
32982         * include/sys/socket.h (__sendmmsg): Add declarations.
32983         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32984         sendmmsg.
32985
32986 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32987
32988         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32989         variable I1 with __attribute__ ((unused)).
32990         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32991
32992 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32993
32994         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32995         DUMMY variables with __attribute__ ((unused)).
32996
32997         * bits/byteswap.h: Include <bits/types.h>.
32998         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32999
33000 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33001
33002         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33003         string_t.  Do not manually set errno.
33004         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33005         length with __strnlen.  Make sure to both set errno and return it on
33006         failure.
33007
33008 2012-11-19  David S. Miller  <davem@davemloft.net>
33009
33010         With help from Joseph Myers.
33011         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33012         very large arguments properly.
33013         * math/libm-test.inc (atan_test): New tests.
33014         (atan2_test): New tests.
33015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33017
33018 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33019
33020         [BZ #14856]
33021         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33022         Define to 3.
33023
33024         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33025         [POSIX] (EADDRNOTAVAIL): Likewise.
33026         [POSIX] (EAFNOSUPPORT): Likewise.
33027         [POSIX] (EALREADY): Likewise.
33028         [POSIX] (ECONNABORTED): Likewise.
33029         [POSIX] (ECONNREFUSED): Likewise.
33030         [POSIX] (ECONNRESET): Likewise.
33031         [POSIX] (EDESTADDRREQ): Likewise.
33032         [POSIX] (EDQUOT): Likewise.
33033         [POSIX] (EHOSTUNREACH): Likewise.
33034         [POSIX] (EIDRM): Likewise.
33035         [POSIX] (EISCONN): Likewise.
33036         [POSIX] (ELOOP): Likewise.
33037         [POSIX] (EMULTIHOP): Likewise.
33038         [POSIX] (ENETDOWN): Likewise.
33039         [POSIX] (ENETUNREACH): Likewise.
33040         [POSIX] (ENOBUFS): Likewise.
33041         [POSIX] (ENODATA): Likewise.
33042         [POSIX] (ENOLINK): Likewise.
33043         [POSIX] (ENOMSG): Likewise.
33044         [POSIX] (ENOPROTOOPT): Likewise.
33045         [POSIX] (ENOSR): Likewise.
33046         [POSIX] (ENOSTR): Likewise.
33047         [POSIX] (ENOTCONN): Likewise.
33048         [POSIX] (ENOTSOCK): Likewise.
33049         [POSIX] (EOPNOTSUPP): Likewise.
33050         [POSIX] (EOVERFLOW): Likewise.
33051         [POSIX] (EPROTO): Likewise.
33052         [POSIX] (EPROTONOSUPPORT): Likewise.
33053         [POSIX] (EPROTOTYPE): Likewise.
33054         [POSIX] (ESTALE): Likewise.
33055         [POSIX] (ETIME): Likewise.
33056         [POSIX] (ETXTBSY): Likewise.
33057         [POSIX] (EWOULDBLOCK): Likewise.
33058         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33059         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33060         [POSIX] (SEEK_CUR): Likewise.
33061         [POSIX] (SEEK_END): Likewise.
33062         [POSIX || UNIX98] (mode_t): Do not require.
33063         [POSIX] (off_t): Likewise.
33064         [POSIX] (pid_t): Likewise.
33065         [POSIX] (sys/stat.h): Do not allow header.
33066         [POSIX] (unistd.h): Likewise.
33067         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33068         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33069         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33070         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33071         require.
33072         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33073         sigevent): Specify elements.
33074         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33075         entry.
33076         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33077         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33078
33079         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33080         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33081         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33082         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33083         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33084         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33085         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33086         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33087         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33088         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33089         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33090         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33091         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33092         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33093         Likewise.
33094         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33095         Likewise.
33096         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33097         Likewise.
33098         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33099         Likewise.
33100         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33101         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33102         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33103         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33104         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33105         Specify lower bound on value.
33106         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33107         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33108         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33109         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33110         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33111         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33112         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33113         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33114         value.
33115         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33116         as optional.
33117         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33118         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33119         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33120         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33121         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33122         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33123         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33124         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33125         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33126         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33127         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33128         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33129         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33130         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33131         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33132         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33133         entry.
33134         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33135         optional.
33136         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33137         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33138         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33139         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33140         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33141         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33142         Likewise.
33143         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33144         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33145         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33146         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33147         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33148         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33149         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33150         as optional.
33151         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33152         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33153         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33154         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33155         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33156         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33157         specify as optional.
33158         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33159         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33160         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33161         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33162         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33163         [XPG3] (NL_LANGMAX): Likewise.
33164         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33165         [POSIX || XPG3] (NL_NMAX): Likewise.
33166         [POSIX || XPG3] (NL_SETMAX): Likewise.
33167         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33168         [XPG3] (NZERO): Likewise.
33169         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33170         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33171         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33172         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33173         (REG_ERANGE): Expect.
33174         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33175         optional-constant.
33176         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33177         Use (void) in prototype.
33178         [POSIX] (*_t): Allow.
33179         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33180         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33181         (WRDE_BADVAL): Expect.
33182
33183         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33184         expect.
33185         [XPG3 || XPG4] (O_RSYNC): Likewise.
33186         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33187         Likewise.
33188         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33189         [XPG3 || XPG4] (sigqueue): Likewise.
33190         [XPG3 || XPG4] (sigtimedwait): Likewise.
33191         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33192         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33193         [XPG3 || XPG4] (vsnprintf): Likewise.
33194         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33195         Likewise.
33196         [XPG3 || XPG4] (blksize_t): Likewise.
33197         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33198         Likewise.
33199         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33200         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33201         [XPG3 || XPG4] (struct itimerspec): Likewise.
33202         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33203         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33204         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33205         [XPG3 || XPG4] (clockid_t): Likewise.
33206         [XPG3 || XPG4] (timer_t): Likewise.
33207         [XPG3 || XPG4] (clock_getres): Likewise.
33208         [XPG3 || XPG4] (clock_gettime): Likewise.
33209         [XPG3 || XPG4] (clock_settime): Likewise.
33210         [XPG3 || XPG4] (nanosleep): Likewise.
33211         [XPG3 || XPG4] (timer_create): Likewise.
33212         [XPG3 || XPG4] (timer_delete): Likewise.
33213         [XPG3 || XPG4] (timer_gettime): Likewise.
33214         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33215         [XPG3 || XPG4] (timer_settime): Likewise.
33216         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33217         [XPG3 || XPG4] (getlogin_r): Likewise.
33218         [XPG3 || XPG4] (pread): Likewise.
33219         [XPG3 || XPG4] (pthread_atfork): Likewise.
33220         [XPG3 || XPG4] (pwrite): Likewise.
33221
33222         [BZ #14835]
33223         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33224         <bits/siginfo.h>.
33225
33226 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33227
33228         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33229         finalizing MALLSTREAM.
33230
33231         * sysdeps/mach/hurd/syncfs.c: New file.
33232
33233 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33234
33235         [BZ #14719]
33236         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33237         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33239         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33240         (_nss_dns_gethostbyname4_r): Likewise.
33241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33242         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33243
33244 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33245
33246         [BZ #13763]
33247         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33248
33249 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33250
33251         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33252         * elf/cache.c (print_entry): Print ",AArch64" for
33253         FLAG_AARCH64_LIB64
33254
33255         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33256         * elf/cache.c (print_entry): Print ",hard-float" for
33257         FLAG_ARM_LIBHF.
33258
33259 2012-11-18  David S. Miller  <davem@davemloft.net>
33260
33261         With help from Joseph Myers.
33262         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33263         cutoff to 2**-13.
33264         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33265         cutoff to 2**-25.
33266         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33267         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33268         small.
33269         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33270         * math/libm-test.inc (y0_test): New tests.
33271         (y1_test): New tests.
33272         * sysdeps/i386/fpu/libm-test-ulps: Update.
33273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33275
33276 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33277
33278         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33279         64-bit targets.
33280         * configure: Regenerated.
33281
33282 2012-11-17  David S. Miller  <davem@davemloft.net>
33283
33284         [BZ #14811]
33285         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33286         nonzero exponents with absolute value below 0x1p-128 to +/-
33287         0x1p-128.
33288
33289 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33290
33291         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33292
33293         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33294
33295         * posix/getconf-speclist.c: New file.
33296         * posix/posix-envs.def: Likewise.
33297         * posix/confstr.c (START_ENV_GROUP): New macro.
33298         (END_ENV_GROUP): Likewise.
33299         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33300         (KNOWN_PRESENT_ENV_STRING): Likewise.
33301         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33302         (UNKNOWN_ENVIRONMENT): Likewise.
33303         (confstr): Include posix-envs.def instead of handling
33304         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33305         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33306         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33307         (END_ENV_GROUP): Likewise.
33308         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33309         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33310         (UNKNOWN_ENVIRONMENT): Likewise.
33311         (__sysconf): Include posix-envs.def instead of handling associated
33312         cases directly here.
33313         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33314         preprocessing getconf-speclist.c rather than running getconf or
33315         generating empty file.
33316
33317 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33318
33319         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33320
33321 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33322
33323         [BZ #14672]
33324         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33325
33326 2012-11-16  David S. Miller  <davem@davemloft.net>
33327
33328         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33329         smaller than LDBL_EPSILON/2.0L, just return xm1.
33330
33331 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33332
33333         * elf/tst-array1.c (init): Set constructor priority to 1000.
33334         (fini): Set destructor priority to 1000.
33335         * elf/tst-array2dep.c: Likewise.
33336
33337 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33338
33339         [BZ #11741]
33340         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33341         (_IO_new_file_xsputn): Also return EOF if none of the input
33342         data was written when overflow failed.
33343         * libio/iopadn.c (_IO_padn): Likewise.
33344         * libio/iowpadn.c (_IO_wpadn): Likewise.
33345         * stdio-common/tst-put-error.c: Add copyright notice.
33346         (do_test): Add case for printing padded string.
33347         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33348         _IO_padn returned error.
33349         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33350         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33351         return EOF.
33352
33353 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33354
33355         * libio/libioP.h: Add comment note that the references to C++
33356         bits are now obsolete.
33357
33358 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33359
33360         * math/libm-test.inc (check_complex): Use asprintf.
33361
33362 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33363
33364         * debug/pcprofiledump.c (print_version): Update copyright year.
33365         * malloc/memusagestat.c (print_version): Likewise.
33366
33367 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33368
33369         [BZ #14831]
33370         * elf/Makefile (tests): Add tst-audit8.
33371         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33372         ($(objpfx)tst-audit8.out): New target.
33373         (tst-audit8-ENV): New variable.
33374         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33375         audit if l_reloc_result is NULL.
33376         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33377         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33378         * elf/tst-audit8.c: New file.
33379
33380 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33381
33382         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33383         * misc/Makefile (CFLAGS-select.c): Define.
33384         * posix/Makefile (CFLAGS-pause.c): Define.
33385
33386 2012-11-13  David S. Miller  <davem@davemloft.net>
33387
33388         * crypt/Makefile: Move test targets after toplevel Rules
33389         inclusion.  Grab any necessary sysdep routines when linking.
33390         * crypt/md5.c (md5_process_block): Remove define, we will always
33391         name it __md5_process_block.
33392         (md5_finish_ctx): Update md5_process_block call.
33393         (md5_stream): Likewise.
33394         (md5_process_bytes): Likewise.
33395         (md5_process_block): Rename to __md5_process_block and move to ...
33396         * crypt/md5-block.c: ... here.
33397         * crypt/sha256.c (sha256_process_block): Move to ...
33398         * crypt/sha256-block.c: ... here.
33399         * crypt/sha512.c (sha512_process_block): Move to ...
33400         * crypt/sha512-block.c: ... here.
33401         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33402         path.
33403         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33404         * sysdeps/sparc/sparc64/multiarch/Makefile
33405         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33406         crypt subdir.
33407         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33408         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33409         multiarch changes.
33410         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33411         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33412         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33413         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33414         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33415         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33416         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33417         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33418         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33419         file.
33420         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33421         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33422         file.
33423         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33424
33425 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33426
33427         * timezone/tzselect.ksh: Update from tzcode git revision
33428         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33429         * timezone/zdump.c: Likewise.
33430         * timezone/zic.c: Likewise.
33431         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33432         in TZVERSION setting, not $(PKGVERSION).
33433         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33434         REPORT_BUGS_TO settings.
33435
33436         [BZ #14838]
33437         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33438         macro.
33439
33440 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33441
33442         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33443         detection to immediately after _FP_ROUND().
33444         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33445         bits are 0.
33446
33447 2012-11-11  David S. Miller  <davem@davemloft.net>
33448
33449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33450         inttypes.h
33451         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33452         __close rather than their public counterparts.
33453
33454 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33455
33456         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33457         file.
33458         [UNIX98] (sem_timedwait): Do not expect.
33459         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33460         [XPG4 || UNIX98] (sockatmark): Do not expect.
33461         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33462         (clock_getcpuclockid): Do not expect.
33463         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33464         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33465         Do not expect.
33466         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33467         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33468         [UNIX98] (vwscanf): Likewise.
33469         [UNIX98] (vswscanf): Likewise.
33470
33471 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33472
33473         * timezone/version.h: Remove file.
33474         * timezone/README: Do not refer to version.h.
33475         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33476         $(objpfx)version.h.
33477         ($(objpfx)zdump.o): Likewise.
33478         ($(objpfx)version.h): New target.
33479
33480         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33481         2012i.
33482         * timezone/README: Don't mention modification to tzselect.ksh.
33483         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33484         work on unmodified tzselect.ksh.  Substitute version numbers in
33485         tzselect.ksh.
33486
33487         * Makefile (format-me): Remove.
33488         (INSTALL): Adjust indentation.  Use commands directly instead of
33489         using $(format-me).
33490
33491         * aclocal.m4 (ACX_PKGVERSION): New macro.
33492         (ACX_BUGURL): Likewise.
33493         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33494         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33495         (REPORT_BUGS_TO): Likewise.
33496         * configure: Regenerated.
33497         * config.h.in (PKGVERSION): New macro.
33498         (REPORT_BUGS_TO): Likewise.
33499         * config.make.in (PKGVERSION): New variable.
33500         (PKGVERSION_TEXI): Likewise.
33501         (REPORT_BUGS_TO): Likewise.
33502         (REPORT_BUGS_TEXI): Likewise.
33503         * Makefile (format-me): Use -I$(common-objpfx)manual.
33504         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33505         ($(common-objpfx)manual/%): New target.
33506         (manual/%): Remove target.
33507         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33508         (print_version): Use PKGVERSION.
33509         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33510         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33511         and REPORT_BUGS_TO.
33512         ($(objpfx)xtrace): Likewise.
33513         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33514         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33515         (print_version): Use PKGVERSION.
33516         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33517         (do_version): Use PKGVERSION.
33518         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33519         REPORT_BUGS_TO.
33520         (common-ldd-rewrite): Likewise.
33521         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33522         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33523         (print_version): Use PKGVERSION.
33524         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33525         * elf/pldd.c (argp_program_bug_address): Remove variable.
33526         (more_help): New function.
33527         (argp): Use more_help.
33528         (print_version): Use PKGVERSION.
33529         * elf/sln.c (main): Use PKGVERSION.
33530         (usage): Use REPORT_BUGS_TO.
33531         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33532         (top level): Use PKGVERSION.
33533         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33534         (print_version): Use PKGVERSION.
33535         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33536         (print_version): Use PKGVERSION.
33537         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33538         (print_version): Use PKGVERSION.
33539         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33540         (print_version): Use PKGVERSION.
33541         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33542         (print_version): Use PKGVERSION.
33543         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33544         (print_version): Use PKGVERSION.
33545         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33546         and BUGURL.
33547         ($(objpfx)memusage): Likewise.
33548         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33549         (do_version): Use PKGVERSION.
33550         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33551         (print_version): Use PKGVERSION.
33552         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33553         ($PKGVERSION): New variable.
33554         ($REPORT_BUGS_TO): Likewise.
33555         (usage): Use $REPORT_BUGS_TO.
33556         (top level): Use $PKGVERSION.
33557         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33558         ($(objpfx)pkgvers.texi): New rule.
33559         ($(objpfx)stamp-pkgvers): Likewise.
33560         * manual/install.texi: Include pkgvers.texi.
33561         (--with-pkgversion): Document new configure option.
33562         (--with-bugurl): Likewise.
33563         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33564         than necessarily for this particular distribution.  Use
33565         REPORT_BUGS_TO for where to report bugs.
33566         * INSTALL: Regenerated.
33567         * manual/libc.texinfo: Include pkgvers.texi.
33568         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33569         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33570         (print_version): Use PKGVERSION.
33571         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33572         (print_version): Use PKGVERSION.
33573         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33574         (print_version): Use PKGVERSION.
33575         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33576         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33577         macro.
33578         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33579         (print_version): Use PKGVERSION.
33580         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33581         (print_version): Use PKGVERSION.
33582         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33583         and PKGVERSION.
33584
33585         * timezone/checktab.awk: Update from tzcode 2012i.
33586         * timezone/ialloc.c: Likewise.
33587         * timezone/private.h: Likewise.
33588         * timezone/scheck.c: Likewise.
33589         * timezone/tzfile.h: Likewise.
33590         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33591         (TZVERSION): Hardcode tzcode version number.
33592         * timezone/zdump.c: Update from tzcode 2012i.
33593         * timezone/zic.c: Likewise.
33594         * timezone/version.h: New file.
33595         * timezone/README: Describe version.h.  Update upstream location.
33596
33597         [BZ #14824]
33598         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33599         (mktemp): Enable declaration.
33600         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33601         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33602         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33604         Likewise.
33605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33606         Likewise.
33607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33608         Likewise.
33609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33610         Likewise.
33611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33612         Likewise.
33613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33614         Likewise.
33615
33616         [BZ #14821]
33617         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33618         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33619         for copies of such integer values.
33620         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33621         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33622
33623 2012-11-09  Andreas Jaeger  <aj@suse.de>
33624
33625         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33626         definitions and declarations that are provided by
33627         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33628
33629 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33630
33631         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33632         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33633         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33634         definition.
33635
33636 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33637
33638         * elf/elf.h: Update comment before AArch64 relocations.
33639
33640 2012-11-07  David S. Miller  <davem@davemloft.net>
33641
33642         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33643         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33644         (__start_context): Declare.
33645         (__makecontext_ret): Delete.
33646         (__makecontext): Hook up __start_context instead of
33647         __makecontext_ret.
33648         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33649         (sysdep_routines): Add __start_context when in stdlib.
33650
33651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33652
33653         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33654         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33655         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33656         hardcoded "nm".
33657         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33658         (READELF): New variable.  Use it instead of hardcoded "readelf".
33659
33660 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33661
33662         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33663         * sysdeps/x86/Makefile: Here.
33664         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33665         * sysdeps/x86/tst-xmmymm.sh: This.
33666
33667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33668
33669         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33670         expectations.
33671         [UNIX98] (pthread_barrier_t): Do not expect.
33672         [UNIX98] (pthread_barrierattr_t): Likewise.
33673         [UNIX98] (pthread_spinlock_t): Likewise.
33674         [UNIX98] (pthread_barrier_destroy): Likewise.
33675         [UNIX98] (pthread_barrier_init): Likewise.
33676         [UNIX98] (pthread_barrier_wait): Likewise.
33677         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33678         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33679         [UNIX98] (pthread_barrierattr_init): Likewise.
33680         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33681         [UNIX98] (pthread_getcpuclockid): Likewise.
33682         [UNIX98] (pthread_mutex_timedlock): Likewise.
33683         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33684         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33685         [UNIX98] (pthread_sigmask): Likewise.
33686         [UNIX98] (pthread_spin_destroy): Likewise.
33687         [UNIX98] (pthread_spin_init): Likewise.
33688         [UNIX98] (pthread_spin_lock): Likewise.
33689         [UNIX98] (pthread_spin_trylock): Likewise.
33690         [UNIX98] (pthread_spin_unlock): Likewise.
33691         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33692         Do not expect.
33693         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33694         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33695         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33696         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33697         [XPG3 || XPG4] (pthread_key_t): Likewise.
33698         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33699         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33700         [XPG3 || XPG4] (pthread_once_t): Likewise.
33701         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33702         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33703         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33704         [XPG3 || XPG4] (pthread_t): Likewise.
33705
33706         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33707         not expect.
33708         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33709
33710         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33711         Change function return type to int.
33712
33713         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33714         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33715         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33716         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33717         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33718         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33719         [!POSIX] (posix_madvise): Likewise.
33720         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33721         && !UNIX98].
33722         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33723         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33724         (mode_t): Likewise.
33725         (posix_mem_offset): Likewise.
33726         (posix_typed_mem_get_info): Likewise.
33727         (posix_typed_mem_open): Likewise.
33728
33729         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33730         Change condition to [XOPEN2K8].
33731
33732         * conform/conformtest.pl: Preprocess allow-header data with -x c
33733         instead of from stdin.
33734         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33735         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33736         [C99-based standards] (cerfc): Likewise.
33737         [C99-based standards] (cexp2): Likewise.
33738         [C99-based standards] (cexpm1): Likewise.
33739         [C99-based standards] (clog10): Likewise.
33740         [C99-based standards] (clog1p): Likewise.
33741         [C99-based standards] (clog2): Likewise.
33742         [C99-based standards] (clgamma): Likewise.
33743         [C99-based standards] (ctgamma): Likewise.
33744         [C99-based standards] (cerff): Likewise.
33745         [C99-based standards] (cerfcf): Likewise.
33746         [C99-based standards] (cexp2f): Likewise.
33747         [C99-based standards] (cexpm1f): Likewise.
33748         [C99-based standards] (clog10f): Likewise.
33749         [C99-based standards] (clog1pf): Likewise.
33750         [C99-based standards] (clog2f): Likewise.
33751         [C99-based standards] (clgammaf): Likewise.
33752         [C99-based standards] (ctgammaf): Likewise.
33753         [C99-based standards] (cerfl): Likewise.
33754         [C99-based standards] (cerfcl): Likewise.
33755         [C99-based standards] (cexp2l): Likewise.
33756         [C99-based standards] (cexpm1l): Likewise.
33757         [C99-based standards] (clog10l): Likewise.
33758         [C99-based standards] (clog1pl): Likewise.
33759         [C99-based standards] (clog2l): Likewise.
33760         [C99-based standards] (clgammal): Likewise.
33761         [C99-based standards] (ctgammal): Likewise.
33762         * conform/data/inttypes.h-data [C99-based standards]: Include
33763         stdint.h-data.  Remove all expectations for stdint.h contents.
33764         [C99-based standards] (PRI*): Do not allow.
33765         [C99-based standards] (SCN*): Likewise.
33766         [C99-based standards] (*_t): Likewise.
33767         [C99-based-standards] (PRId8): Expect macro.
33768         [C99-based-standards] (PRIi8): Likewise.
33769         [C99-based-standards] (PRIo8): Likewise.
33770         [C99-based-standards] (PRIu8): Likewise.
33771         [C99-based-standards] (PRIx8): Likewise.
33772         [C99-based-standards] (PRIX8): Likewise.
33773         [C99-based-standards] (SCNd8): Likewise.
33774         [C99-based-standards] (SCNi8): Likewise.
33775         [C99-based-standards] (SCNo8): Likewise.
33776         [C99-based-standards] (SCNu8): Likewise.
33777         [C99-based-standards] (SCNx8): Likewise.
33778         [C99-based-standards] (PRIdLEAST8): Likewise.
33779         [C99-based-standards] (PRIiLEAST8): Likewise.
33780         [C99-based-standards] (PRIoLEAST8): Likewise.
33781         [C99-based-standards] (PRIuLEAST8): Likewise.
33782         [C99-based-standards] (PRIxLEAST8): Likewise.
33783         [C99-based-standards] (PRIXLEAST8): Likewise.
33784         [C99-based-standards] (SCNdLEAST8): Likewise.
33785         [C99-based-standards] (SCNiLEAST8): Likewise.
33786         [C99-based-standards] (SCNoLEAST8): Likewise.
33787         [C99-based-standards] (SCNuLEAST8): Likewise.
33788         [C99-based-standards] (SCNxLEAST8): Likewise.
33789         [C99-based-standards] (PRIdFAST8): Likewise.
33790         [C99-based-standards] (PRIiFAST8): Likewise.
33791         [C99-based-standards] (PRIoFAST8): Likewise.
33792         [C99-based-standards] (PRIuFAST8): Likewise.
33793         [C99-based-standards] (PRIxFAST8): Likewise.
33794         [C99-based-standards] (PRIXFAST8): Likewise.
33795         [C99-based-standards] (SCNdFAST8): Likewise.
33796         [C99-based-standards] (SCNiFAST8): Likewise.
33797         [C99-based-standards] (SCNoFAST8): Likewise.
33798         [C99-based-standards] (SCNuFAST8): Likewise.
33799         [C99-based-standards] (SCNxFAST8): Likewise.
33800         [C99-based-standards] (PRId16): Likewise.
33801         [C99-based-standards] (PRIi16): Likewise.
33802         [C99-based-standards] (PRIo16): Likewise.
33803         [C99-based-standards] (PRIu16): Likewise.
33804         [C99-based-standards] (PRIx16): Likewise.
33805         [C99-based-standards] (PRIX16): Likewise.
33806         [C99-based-standards] (SCNd16): Likewise.
33807         [C99-based-standards] (SCNi16): Likewise.
33808         [C99-based-standards] (SCNo16): Likewise.
33809         [C99-based-standards] (SCNu16): Likewise.
33810         [C99-based-standards] (SCNx16): Likewise.
33811         [C99-based-standards] (PRIdLEAST16): Likewise.
33812         [C99-based-standards] (PRIiLEAST16): Likewise.
33813         [C99-based-standards] (PRIoLEAST16): Likewise.
33814         [C99-based-standards] (PRIuLEAST16): Likewise.
33815         [C99-based-standards] (PRIxLEAST16): Likewise.
33816         [C99-based-standards] (PRIXLEAST16): Likewise.
33817         [C99-based-standards] (SCNdLEAST16): Likewise.
33818         [C99-based-standards] (SCNiLEAST16): Likewise.
33819         [C99-based-standards] (SCNoLEAST16): Likewise.
33820         [C99-based-standards] (SCNuLEAST16): Likewise.
33821         [C99-based-standards] (SCNxLEAST16): Likewise.
33822         [C99-based-standards] (PRIdFAST16): Likewise.
33823         [C99-based-standards] (PRIiFAST16): Likewise.
33824         [C99-based-standards] (PRIoFAST16): Likewise.
33825         [C99-based-standards] (PRIuFAST16): Likewise.
33826         [C99-based-standards] (PRIxFAST16): Likewise.
33827         [C99-based-standards] (PRIXFAST16): Likewise.
33828         [C99-based-standards] (SCNdFAST16): Likewise.
33829         [C99-based-standards] (SCNiFAST16): Likewise.
33830         [C99-based-standards] (SCNoFAST16): Likewise.
33831         [C99-based-standards] (SCNuFAST16): Likewise.
33832         [C99-based-standards] (SCNxFAST16): Likewise.
33833         [C99-based-standards] (PRId32): Likewise.
33834         [C99-based-standards] (PRIi32): Likewise.
33835         [C99-based-standards] (PRIo32): Likewise.
33836         [C99-based-standards] (PRIu32): Likewise.
33837         [C99-based-standards] (PRIx32): Likewise.
33838         [C99-based-standards] (PRIX32): Likewise.
33839         [C99-based-standards] (SCNd32): Likewise.
33840         [C99-based-standards] (SCNi32): Likewise.
33841         [C99-based-standards] (SCNo32): Likewise.
33842         [C99-based-standards] (SCNu32): Likewise.
33843         [C99-based-standards] (SCNx32): Likewise.
33844         [C99-based-standards] (PRIdLEAST32): Likewise.
33845         [C99-based-standards] (PRIiLEAST32): Likewise.
33846         [C99-based-standards] (PRIoLEAST32): Likewise.
33847         [C99-based-standards] (PRIuLEAST32): Likewise.
33848         [C99-based-standards] (PRIxLEAST32): Likewise.
33849         [C99-based-standards] (PRIXLEAST32): Likewise.
33850         [C99-based-standards] (SCNdLEAST32): Likewise.
33851         [C99-based-standards] (SCNiLEAST32): Likewise.
33852         [C99-based-standards] (SCNoLEAST32): Likewise.
33853         [C99-based-standards] (SCNuLEAST32): Likewise.
33854         [C99-based-standards] (SCNxLEAST32): Likewise.
33855         [C99-based-standards] (PRIdFAST32): Likewise.
33856         [C99-based-standards] (PRIiFAST32): Likewise.
33857         [C99-based-standards] (PRIoFAST32): Likewise.
33858         [C99-based-standards] (PRIuFAST32): Likewise.
33859         [C99-based-standards] (PRIxFAST32): Likewise.
33860         [C99-based-standards] (PRIXFAST32): Likewise.
33861         [C99-based-standards] (SCNdFAST32): Likewise.
33862         [C99-based-standards] (SCNiFAST32): Likewise.
33863         [C99-based-standards] (SCNoFAST32): Likewise.
33864         [C99-based-standards] (SCNuFAST32): Likewise.
33865         [C99-based-standards] (SCNxFAST32): Likewise.
33866         [C99-based-standards] (PRId64): Likewise.
33867         [C99-based-standards] (PRIi64): Likewise.
33868         [C99-based-standards] (PRIo64): Likewise.
33869         [C99-based-standards] (PRIu64): Likewise.
33870         [C99-based-standards] (PRIx64): Likewise.
33871         [C99-based-standards] (PRIX64): Likewise.
33872         [C99-based-standards] (SCNd64): Likewise.
33873         [C99-based-standards] (SCNi64): Likewise.
33874         [C99-based-standards] (SCNo64): Likewise.
33875         [C99-based-standards] (SCNu64): Likewise.
33876         [C99-based-standards] (SCNx64): Likewise.
33877         [C99-based-standards] (PRIdLEAST64): Likewise.
33878         [C99-based-standards] (PRIiLEAST64): Likewise.
33879         [C99-based-standards] (PRIoLEAST64): Likewise.
33880         [C99-based-standards] (PRIuLEAST64): Likewise.
33881         [C99-based-standards] (PRIxLEAST64): Likewise.
33882         [C99-based-standards] (PRIXLEAST64): Likewise.
33883         [C99-based-standards] (SCNdLEAST64): Likewise.
33884         [C99-based-standards] (SCNiLEAST64): Likewise.
33885         [C99-based-standards] (SCNoLEAST64): Likewise.
33886         [C99-based-standards] (SCNuLEAST64): Likewise.
33887         [C99-based-standards] (SCNxLEAST64): Likewise.
33888         [C99-based-standards] (PRIdFAST64): Likewise.
33889         [C99-based-standards] (PRIiFAST64): Likewise.
33890         [C99-based-standards] (PRIoFAST64): Likewise.
33891         [C99-based-standards] (PRIuFAST64): Likewise.
33892         [C99-based-standards] (PRIxFAST64): Likewise.
33893         [C99-based-standards] (PRIXFAST64): Likewise.
33894         [C99-based-standards] (SCNdFAST64): Likewise.
33895         [C99-based-standards] (SCNiFAST64): Likewise.
33896         [C99-based-standards] (SCNoFAST64): Likewise.
33897         [C99-based-standards] (SCNuFAST64): Likewise.
33898         [C99-based-standards] (SCNxFAST64): Likewise.
33899         [C99-based-standards] (PRIdMAX): Likewise.
33900         [C99-based-standards] (PRIiMAX): Likewise.
33901         [C99-based-standards] (PRIoMAX): Likewise.
33902         [C99-based-standards] (PRIuMAX): Likewise.
33903         [C99-based-standards] (PRIxMAX): Likewise.
33904         [C99-based-standards] (PRIXMAX): Likewise.
33905         [C99-based-standards] (SCNdMAX): Likewise.
33906         [C99-based-standards] (SCNiMAX): Likewise.
33907         [C99-based-standards] (SCNoMAX): Likewise.
33908         [C99-based-standards] (SCNuMAX): Likewise.
33909         [C99-based-standards] (SCNxMAX): Likewise.
33910         [C99-based-standards] (PRIdPTR): Likewise.
33911         [C99-based-standards] (PRIiPTR): Likewise.
33912         [C99-based-standards] (PRIoPTR): Likewise.
33913         [C99-based-standards] (PRIuPTR): Likewise.
33914         [C99-based-standards] (PRIxPTR): Likewise.
33915         [C99-based-standards] (PRIXPTR): Likewise.
33916         [C99-based-standards] (SCNdPTR): Likewise.
33917         [C99-based-standards] (SCNiPTR): Likewise.
33918         [C99-based-standards] (SCNoPTR): Likewise.
33919         [C99-based-standards] (SCNuPTR): Likewise.
33920         [C99-based-standards] (SCNxPTR): Likewise.
33921         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33922         allow.
33923         * conform/data/stdint.h-data: Update comments to clarify
33924         requirements.
33925         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33926         type.
33927         [C99-based standards] (INT8_MAX): Likewise.
33928         [C99-based standards] (INT16_MIN): Likewise.
33929         [C99-based standards] (INT16_MAX): Likewise.
33930         [C99-based standards] (INT32_MIN): Likewise.
33931         [C99-based standards] (INT32_MAX): Likewise.
33932         [C99-based standards] (INT64_MIN): Likewise.
33933         [C99-based standards] (INT64_MAX): Likewise.
33934         [C99-based standards] (UINT8_MAX): Likewise.
33935         [C99-based standards] (UINT16_MAX): Likewise.
33936         [C99-based standards] (UINT32_MAX): Likewise.
33937         [C99-based standards] (UINT64_MAX): Likewise.
33938         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33939         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33940         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33941         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33942         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33943         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33944         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33945         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33946         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33947         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33948         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33949         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33950         [C99-based standards] (INT_FAST8_MIN): Likewise.
33951         [C99-based standards] (INT_FAST8_MAX): Likewise.
33952         [C99-based standards] (INT_FAST16_MIN): Likewise.
33953         [C99-based standards] (INT_FAST16_MAX): Likewise.
33954         [C99-based standards] (INT_FAST32_MIN): Likewise.
33955         [C99-based standards] (INT_FAST32_MAX): Likewise.
33956         [C99-based standards] (INT_FAST64_MIN): Likewise.
33957         [C99-based standards] (INT_FAST64_MAX): Likewise.
33958         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33959         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33960         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33961         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33962         [C99-based standards] (INTPTR_MIN): Likewise.
33963         [C99-based standards] (INTPTR_MAX): Likewise.
33964         [C99-based standards] (UINTPTR_MAX): Likewise.
33965         [C99-based standards] (INTMAX_MIN): Likewise.
33966         [C99-based standards] (INTMAX_MAX): Likewise.
33967         [C99-based standards] (UINTMAX_MAX): Likewise.
33968         [C99-based standards] (PTRDIFF_MIN): Likewise.
33969         [C99-based standards] (PTRDIFF_MAX): Likewise.
33970         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33971         [C99-based standards] (SIZE_MAX): Likewise.
33972         [C99-based standards] (WCHAR_MAX): Likewise.
33973         [C99-based standards] (WINT_MAX): Likewise.
33974         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33975         constraint on value.
33976         [C99-based standards] (WCHAR_MIN): Likewise.
33977         [C99-based standards] (WINT_MIN): Likewise.
33978         [C99-based standards] (*_t): Allow.
33979         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33980         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33981         Include math.h-data and complex.h-data.  Remove all expectations
33982         of math.h and complex.h contents.
33983         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33984         at end of line.
33985         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33986         (struct tm): Expect tag.
33987         [C99-based-standards] (wcstof): Expect function.
33988         [C99-based-standards] (wcstold): Likewise.
33989         [C99-based-standards] (wcstoll): Likewise.
33990         [C99-based-standards] (wcstoull): Likewise.
33991         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33992         macro-int-constant.  Specify type.
33993         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33994         constraint on value.
33995         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33996         Specify type.
33997         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33998         Specify value.
33999         [ISO C standards]: Do not allow headers.
34000         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34001         wcs[abcdefghijklmnopqrstuvwxyz]*.
34002         [ISO C standards] (*_t): Do not allow.
34003         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34004         Expect function.
34005         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34006         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34007         Specify type.
34008         [ISO C standards]: Do not allow headers.
34009         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34010         is[abcdefghijklmnopqrstuvwxyz]*.
34011         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34012         to[abcdefghijklmnopqrstuvwxyz]*.
34013         [ISO C standards] (*_t): Do not allow.
34014         * conform/data/stdalign.h-data: New file.
34015         * conform/data/stdbool.h-data: Likewise.
34016         * conform/data/stdnoreturn.h-data: Likewise.
34017
34018 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34019
34020         [BZ #14815]
34021         * manual/filesys.texi (Directory Entries): Typo fix.
34022         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34023
34024 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34025
34026         * elf/elf.h (EM_AARCH64): New macro.
34027         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34028         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34029         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34030         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34031         (R_AARCH64_TLSDESC): Likewise.
34032         (NT_ARM_TLS): Likewise.
34033         (NT_ARM_HW_BREAK): Likewise.
34034         (NT_ARM_HW_WATCH): Likewise.
34035
34036 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34037
34038         [BZ #14811]
34039         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34040         (__ieee754_powl): Saturate nonzero exponents with absolute value
34041         below 0x1p-79 to +/- 0x1p-79.
34042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34043         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34044         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34045         nonzero exponents with absolute value below 0x1p-32 to +/-
34046         0x1p-32.
34047         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34048         (__ieee754_powl): Saturate nonzero exponents with absolute value
34049         below 0x1p-79 to +/- 0x1p-79.
34050         * math/libm-test.inc (pow_test): Add more tests.
34051
34052 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34053
34054         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34055         _dl_s390_cap_flags with kernel. Increase string length.
34056         (_dl_s390_platforms): Add z196 and zEC12.
34057
34058 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34059
34060         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34061         Change XOPEN21K to XOPEN2K.
34062
34063 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34064
34065         * string/memmove.c: Use memcpy when possible.
34066
34067 2012-11-06  Andreas Jaeger  <aj@suse.de>
34068
34069         * po/eo.po: Update from translation team.
34070
34071 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34072
34073         [BZ #14793]
34074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34075         exponent and small x and y exponents, scale x or y up.  Increase
34076         by 2 the exponent used in scaling up.
34077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34079         * math/libm-test.inc (fma_test): Add more tests.
34080         (fma_test_towardzero): Likewise.
34081         (fma_test_downward): Likewise.
34082         (fma_test_upward): Likewise.
34083
34084 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34085
34086         [BZ #14805]
34087         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34088         fenv_t *.
34089
34090         [BZ #14801]
34091         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34092         namespace for names of struct fields.
34093         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34094         fenv_t fields.
34095         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34096         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34097
34098 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34099
34100         [BZ #3665]
34101         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34102
34103 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34104
34105         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34106         PTR_DEMANGLE.
34107
34108         [BZ #5246]
34109         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34110         PTR_DEMANGLE.
34111
34112 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34113
34114         [BZ #14797]
34115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34116         definitely overflow as x * y not x * y + z.
34117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34118         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34119         * math/libm-test.inc (fma_test): Add more tests.
34120         (fma_test_towardzero): Likewise.
34121         (fma_test_downward): Likewise.
34122         (fma_test_upward): Likewise.
34123
34124 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34125
34126         [BZ #157]
34127
34128         * include/stub-tag.h: Remove file.
34129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34130         '#include' of it.
34131         * manual/maint.texi (Porting): Don't reference it.
34132         * Makerules ($(objpfx)stubs): Likewise.
34133         * dirent/closedir.c: Don't include <stub-tag.h>.
34134         * dirent/dirfd.c: Likewise.
34135         * dirent/fdopendir.c: Likewise.
34136         * dirent/getdents.c: Likewise.
34137         * dirent/getdents64.c: Likewise.
34138         * dirent/opendir.c: Likewise.
34139         * dirent/readdir.c: Likewise.
34140         * dirent/readdir64.c: Likewise.
34141         * dirent/readdir64_r.c: Likewise.
34142         * dirent/readdir_r.c: Likewise.
34143         * dirent/rewinddir.c: Likewise.
34144         * dirent/seekdir.c: Likewise.
34145         * dirent/telldir.c: Likewise.
34146         * gmon/profil.c: Likewise.
34147         * grp/setgroups.c: Likewise.
34148         * inet/if_index.c: Likewise.
34149         * io/access.c: Likewise.
34150         * io/chdir.c: Likewise.
34151         * io/chmod.c: Likewise.
34152         * io/chown.c: Likewise.
34153         * io/close.c: Likewise.
34154         * io/dup.c: Likewise.
34155         * io/dup2.c: Likewise.
34156         * io/dup3.c: Likewise.
34157         * io/euidaccess.c: Likewise.
34158         * io/faccessat.c: Likewise.
34159         * io/fchdir.c: Likewise.
34160         * io/fchmod.c: Likewise.
34161         * io/fchmodat.c: Likewise.
34162         * io/fchown.c: Likewise.
34163         * io/fchownat.c: Likewise.
34164         * io/fcntl.c: Likewise.
34165         * io/flock.c: Likewise.
34166         * io/fstatfs.c: Likewise.
34167         * io/fstatfs64.c: Likewise.
34168         * io/fstatvfs.c: Likewise.
34169         * io/fstatvfs64.c: Likewise.
34170         * io/futimens.c: Likewise.
34171         * io/fxstat.c: Likewise.
34172         * io/fxstat64.c: Likewise.
34173         * io/fxstatat.c: Likewise.
34174         * io/fxstatat64.c: Likewise.
34175         * io/getcwd.c: Likewise.
34176         * io/isatty.c: Likewise.
34177         * io/lchmod.c: Likewise.
34178         * io/lchown.c: Likewise.
34179         * io/link.c: Likewise.
34180         * io/linkat.c: Likewise.
34181         * io/lseek.c: Likewise.
34182         * io/lseek64.c: Likewise.
34183         * io/lxstat64.c: Likewise.
34184         * io/mkdir.c: Likewise.
34185         * io/mkdirat.c: Likewise.
34186         * io/mkfifo.c: Likewise.
34187         * io/mkfifoat.c: Likewise.
34188         * io/open.c: Likewise.
34189         * io/open64.c: Likewise.
34190         * io/openat.c: Likewise.
34191         * io/openat64.c: Likewise.
34192         * io/pipe.c: Likewise.
34193         * io/pipe2.c: Likewise.
34194         * io/poll.c: Likewise.
34195         * io/posix_fadvise.c: Likewise.
34196         * io/posix_fadvise64.c: Likewise.
34197         * io/posix_fallocate.c: Likewise.
34198         * io/posix_fallocate64.c: Likewise.
34199         * io/read.c: Likewise.
34200         * io/readlink.c: Likewise.
34201         * io/readlinkat.c: Likewise.
34202         * io/rmdir.c: Likewise.
34203         * io/sendfile.c: Likewise.
34204         * io/sendfile64.c: Likewise.
34205         * io/statfs.c: Likewise.
34206         * io/statfs64.c: Likewise.
34207         * io/statvfs.c: Likewise.
34208         * io/statvfs64.c: Likewise.
34209         * io/symlink.c: Likewise.
34210         * io/symlinkat.c: Likewise.
34211         * io/ttyname.c: Likewise.
34212         * io/ttyname_r.c: Likewise.
34213         * io/umask.c: Likewise.
34214         * io/unlink.c: Likewise.
34215         * io/unlinkat.c: Likewise.
34216         * io/utime.c: Likewise.
34217         * io/utimensat.c: Likewise.
34218         * io/write.c: Likewise.
34219         * io/xmknod.c: Likewise.
34220         * io/xmknodat.c: Likewise.
34221         * io/xstat.c: Likewise.
34222         * io/xstat64.c: Likewise.
34223         * login/getpt.c: Likewise.
34224         * login/grantpt.c: Likewise.
34225         * login/unlockpt.c: Likewise.
34226         * math/e_acoshl.c: Likewise.
34227         * math/e_acosl.c: Likewise.
34228         * math/e_asinl.c: Likewise.
34229         * math/e_atan2l.c: Likewise.
34230         * math/e_atanhl.c: Likewise.
34231         * math/e_coshl.c: Likewise.
34232         * math/e_expl.c: Likewise.
34233         * math/e_fmodl.c: Likewise.
34234         * math/e_gammal_r.c: Likewise.
34235         * math/e_hypotl.c: Likewise.
34236         * math/e_j0l.c: Likewise.
34237         * math/e_j1l.c: Likewise.
34238         * math/e_jnl.c: Likewise.
34239         * math/e_lgammal_r.c: Likewise.
34240         * math/e_log10l.c: Likewise.
34241         * math/e_log2l.c: Likewise.
34242         * math/e_logl.c: Likewise.
34243         * math/e_powl.c: Likewise.
34244         * math/e_rem_pio2l.c: Likewise.
34245         * math/e_sinhl.c: Likewise.
34246         * math/e_sqrtl.c: Likewise.
34247         * math/fclrexcpt.c: Likewise.
34248         * math/fedisblxcpt.c: Likewise.
34249         * math/feenablxcpt.c: Likewise.
34250         * math/fegetenv.c: Likewise.
34251         * math/fegetexcept.c: Likewise.
34252         * math/fegetround.c: Likewise.
34253         * math/feholdexcpt.c: Likewise.
34254         * math/fesetenv.c: Likewise.
34255         * math/fesetround.c: Likewise.
34256         * math/feupdateenv.c: Likewise.
34257         * math/fgetexcptflg.c: Likewise.
34258         * math/fraiseexcpt.c: Likewise.
34259         * math/fsetexcptflg.c: Likewise.
34260         * math/ftestexcept.c: Likewise.
34261         * math/k_cosl.c: Likewise.
34262         * math/k_rem_pio2l.c: Likewise.
34263         * math/k_sinl.c: Likewise.
34264         * math/k_tanl.c: Likewise.
34265         * math/s_asinhl.c: Likewise.
34266         * math/s_atanl.c: Likewise.
34267         * math/s_cbrtl.c: Likewise.
34268         * math/s_erfl.c: Likewise.
34269         * math/s_expm1l.c: Likewise.
34270         * math/s_log1pl.c: Likewise.
34271         * math/s_tanhl.c: Likewise.
34272         * misc/acct.c: Likewise.
34273         * misc/brk.c: Likewise.
34274         * misc/chflags.c: Likewise.
34275         * misc/chroot.c: Likewise.
34276         * misc/fchflags.c: Likewise.
34277         * misc/fgetxattr.c: Likewise.
34278         * misc/flistxattr.c: Likewise.
34279         * misc/fremovexattr.c: Likewise.
34280         * misc/fsetxattr.c: Likewise.
34281         * misc/fsync.c: Likewise.
34282         * misc/ftruncate.c: Likewise.
34283         * misc/futimes.c: Likewise.
34284         * misc/futimesat.c: Likewise.
34285         * misc/getdomain.c: Likewise.
34286         * misc/getdtsz.c: Likewise.
34287         * misc/gethostid.c: Likewise.
34288         * misc/gethostname.c: Likewise.
34289         * misc/getloadavg.c: Likewise.
34290         * misc/getpagesize.c: Likewise.
34291         * misc/getsysstats.c: Likewise.
34292         * misc/getxattr.c: Likewise.
34293         * misc/gtty.c: Likewise.
34294         * misc/ioctl.c: Likewise.
34295         * misc/lgetxattr.c: Likewise.
34296         * misc/listxattr.c: Likewise.
34297         * misc/llistxattr.c: Likewise.
34298         * misc/lremovexattr.c: Likewise.
34299         * misc/lsetxattr.c: Likewise.
34300         * misc/lutimes.c: Likewise.
34301         * misc/madvise.c: Likewise.
34302         * misc/mincore.c: Likewise.
34303         * misc/mlock.c: Likewise.
34304         * misc/mlockall.c: Likewise.
34305         * misc/mmap.c: Likewise.
34306         * misc/mprotect.c: Likewise.
34307         * misc/msync.c: Likewise.
34308         * misc/munlock.c: Likewise.
34309         * misc/munlockall.c: Likewise.
34310         * misc/munmap.c: Likewise.
34311         * misc/preadv.c: Likewise.
34312         * misc/preadv64.c: Likewise.
34313         * misc/ptrace.c: Likewise.
34314         * misc/pwritev.c: Likewise.
34315         * misc/pwritev64.c: Likewise.
34316         * misc/readv.c: Likewise.
34317         * misc/reboot.c: Likewise.
34318         * misc/remap_file_pages.c: Likewise.
34319         * misc/removexattr.c: Likewise.
34320         * misc/revoke.c: Likewise.
34321         * misc/select.c: Likewise.
34322         * misc/setdomain.c: Likewise.
34323         * misc/setegid.c: Likewise.
34324         * misc/seteuid.c: Likewise.
34325         * misc/sethostid.c: Likewise.
34326         * misc/sethostname.c: Likewise.
34327         * misc/setregid.c: Likewise.
34328         * misc/setreuid.c: Likewise.
34329         * misc/setxattr.c: Likewise.
34330         * misc/sstk.c: Likewise.
34331         * misc/stty.c: Likewise.
34332         * misc/swapoff.c: Likewise.
34333         * misc/swapon.c: Likewise.
34334         * misc/sync.c: Likewise.
34335         * misc/syncfs.c: Likewise.
34336         * misc/syscall.c: Likewise.
34337         * misc/truncate.c: Likewise.
34338         * misc/ualarm.c: Likewise.
34339         * misc/usleep.c: Likewise.
34340         * misc/ustat.c: Likewise.
34341         * misc/utimes.c: Likewise.
34342         * misc/vhangup.c: Likewise.
34343         * misc/writev.c: Likewise.
34344         * posix/_exit.c: Likewise.
34345         * posix/alarm.c: Likewise.
34346         * posix/execve.c: Likewise.
34347         * posix/fexecve.c: Likewise.
34348         * posix/fork.c: Likewise.
34349         * posix/fpathconf.c: Likewise.
34350         * posix/getaddrinfo.c: Likewise.
34351         * posix/getegid.c: Likewise.
34352         * posix/geteuid.c: Likewise.
34353         * posix/getgid.c: Likewise.
34354         * posix/getgroups.c: Likewise.
34355         * posix/getlogin.c: Likewise.
34356         * posix/getlogin_r.c: Likewise.
34357         * posix/getpgid.c: Likewise.
34358         * posix/getpid.c: Likewise.
34359         * posix/getppid.c: Likewise.
34360         * posix/getresgid.c: Likewise.
34361         * posix/getresuid.c: Likewise.
34362         * posix/getsid.c: Likewise.
34363         * posix/getuid.c: Likewise.
34364         * posix/glob64.c: Likewise.
34365         * posix/nanosleep.c: Likewise.
34366         * posix/pathconf.c: Likewise.
34367         * posix/pause.c: Likewise.
34368         * posix/posix_madvise.c: Likewise.
34369         * posix/pread.c: Likewise.
34370         * posix/pread64.c: Likewise.
34371         * posix/pwrite.c: Likewise.
34372         * posix/pwrite64.c: Likewise.
34373         * posix/sched_getaffinity.c: Likewise.
34374         * posix/sched_getp.c: Likewise.
34375         * posix/sched_gets.c: Likewise.
34376         * posix/sched_primax.c: Likewise.
34377         * posix/sched_primin.c: Likewise.
34378         * posix/sched_rr_gi.c: Likewise.
34379         * posix/sched_setaffinity.c: Likewise.
34380         * posix/sched_setp.c: Likewise.
34381         * posix/sched_sets.c: Likewise.
34382         * posix/sched_yield.c: Likewise.
34383         * posix/setgid.c: Likewise.
34384         * posix/setlogin.c: Likewise.
34385         * posix/setpgid.c: Likewise.
34386         * posix/setresgid.c: Likewise.
34387         * posix/setresuid.c: Likewise.
34388         * posix/setsid.c: Likewise.
34389         * posix/setuid.c: Likewise.
34390         * posix/sleep.c: Likewise.
34391         * posix/spawni.c: Likewise.
34392         * posix/sysconf.c: Likewise.
34393         * posix/times.c: Likewise.
34394         * posix/wait.c: Likewise.
34395         * posix/wait3.c: Likewise.
34396         * posix/wait4.c: Likewise.
34397         * posix/waitpid.c: Likewise.
34398         * resolv/gai_sigqueue.c: Likewise.
34399         * resource/getpriority.c: Likewise.
34400         * resource/getrlimit.c: Likewise.
34401         * resource/getrusage.c: Likewise.
34402         * resource/nice.c: Likewise.
34403         * resource/setpriority.c: Likewise.
34404         * resource/setrlimit.c: Likewise.
34405         * resource/ulimit.c: Likewise.
34406         * rt/aio_cancel.c: Likewise.
34407         * rt/aio_fsync.c: Likewise.
34408         * rt/aio_read.c: Likewise.
34409         * rt/aio_sigqueue.c: Likewise.
34410         * rt/aio_suspend.c: Likewise.
34411         * rt/aio_write.c: Likewise.
34412         * rt/clock_getres.c: Likewise.
34413         * rt/clock_gettime.c: Likewise.
34414         * rt/clock_nanosleep.c: Likewise.
34415         * rt/clock_settime.c: Likewise.
34416         * rt/lio_listio.c: Likewise.
34417         * rt/mq_close.c: Likewise.
34418         * rt/mq_getattr.c: Likewise.
34419         * rt/mq_notify.c: Likewise.
34420         * rt/mq_open.c: Likewise.
34421         * rt/mq_receive.c: Likewise.
34422         * rt/mq_send.c: Likewise.
34423         * rt/mq_setattr.c: Likewise.
34424         * rt/mq_timedreceive.c: Likewise.
34425         * rt/mq_timedsend.c: Likewise.
34426         * rt/mq_unlink.c: Likewise.
34427         * rt/shm_open.c: Likewise.
34428         * rt/shm_unlink.c: Likewise.
34429         * rt/timer_create.c: Likewise.
34430         * rt/timer_delete.c: Likewise.
34431         * rt/timer_getoverr.c: Likewise.
34432         * rt/timer_gettime.c: Likewise.
34433         * rt/timer_settime.c: Likewise.
34434         * setjmp/__longjmp.c: Likewise.
34435         * setjmp/setjmp.c: Likewise.
34436         * signal/kill.c: Likewise.
34437         * signal/killpg.c: Likewise.
34438         * signal/raise.c: Likewise.
34439         * signal/sigaction.c: Likewise.
34440         * signal/sigaltstack.c: Likewise.
34441         * signal/sigblock.c: Likewise.
34442         * signal/sigignore.c: Likewise.
34443         * signal/sigintr.c: Likewise.
34444         * signal/signal.c: Likewise.
34445         * signal/sigpause.c: Likewise.
34446         * signal/sigpending.c: Likewise.
34447         * signal/sigqueue.c: Likewise.
34448         * signal/sigreturn.c: Likewise.
34449         * signal/sigset.c: Likewise.
34450         * signal/sigsetmask.c: Likewise.
34451         * signal/sigstack.c: Likewise.
34452         * signal/sigsuspend.c: Likewise.
34453         * signal/sigtimedwait.c: Likewise.
34454         * signal/sigvec.c: Likewise.
34455         * signal/sigwait.c: Likewise.
34456         * signal/sigwaitinfo.c: Likewise.
34457         * signal/sysv_signal.c: Likewise.
34458         * socket/accept.c: Likewise.
34459         * socket/accept4.c: Likewise.
34460         * socket/bind.c: Likewise.
34461         * socket/connect.c: Likewise.
34462         * socket/getpeername.c: Likewise.
34463         * socket/getsockname.c: Likewise.
34464         * socket/getsockopt.c: Likewise.
34465         * socket/isfdtype.c: Likewise.
34466         * socket/listen.c: Likewise.
34467         * socket/recv.c: Likewise.
34468         * socket/recvfrom.c: Likewise.
34469         * socket/recvmsg.c: Likewise.
34470         * socket/send.c: Likewise.
34471         * socket/sendmsg.c: Likewise.
34472         * socket/sendto.c: Likewise.
34473         * socket/setsockopt.c: Likewise.
34474         * socket/shutdown.c: Likewise.
34475         * socket/sockatmark.c: Likewise.
34476         * socket/socket.c: Likewise.
34477         * socket/socketpair.c: Likewise.
34478         * stdio-common/ctermid.c: Likewise.
34479         * stdio-common/cuserid.c: Likewise.
34480         * stdio-common/remove.c: Likewise.
34481         * stdio-common/rename.c: Likewise.
34482         * stdio-common/renameat.c: Likewise.
34483         * stdio-common/tempname.c: Likewise.
34484         * stdlib/getcontext.c: Likewise.
34485         * stdlib/makecontext.c: Likewise.
34486         * stdlib/setcontext.c: Likewise.
34487         * stdlib/swapcontext.c: Likewise.
34488         * stdlib/system.c: Likewise.
34489         * streams/fattach.c: Likewise.
34490         * streams/fdetach.c: Likewise.
34491         * streams/getmsg.c: Likewise.
34492         * streams/getpmsg.c: Likewise.
34493         * streams/putmsg.c: Likewise.
34494         * streams/putpmsg.c: Likewise.
34495         * sysdeps/unix/bsd/getpt.c: Likewise.
34496         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34497         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34498         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34500         Likewise.
34501         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34502         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34503         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34504         * sysvipc/msgctl.c: Likewise.
34505         * sysvipc/msgget.c: Likewise.
34506         * sysvipc/msgrcv.c: Likewise.
34507         * sysvipc/msgsnd.c: Likewise.
34508         * sysvipc/semctl.c: Likewise.
34509         * sysvipc/semget.c: Likewise.
34510         * sysvipc/semop.c: Likewise.
34511         * sysvipc/semtimedop.c: Likewise.
34512         * sysvipc/shmat.c: Likewise.
34513         * sysvipc/shmctl.c: Likewise.
34514         * sysvipc/shmdt.c: Likewise.
34515         * sysvipc/shmget.c: Likewise.
34516         * termios/tcdrain.c: Likewise.
34517         * termios/tcflow.c: Likewise.
34518         * termios/tcflush.c: Likewise.
34519         * termios/tcgetattr.c: Likewise.
34520         * termios/tcgetpgrp.c: Likewise.
34521         * termios/tcsendbrk.c: Likewise.
34522         * termios/tcsetattr.c: Likewise.
34523         * termios/tcsetpgrp.c: Likewise.
34524         * time/adjtime.c: Likewise.
34525         * time/clock.c: Likewise.
34526         * time/getitimer.c: Likewise.
34527         * time/gettimeofday.c: Likewise.
34528         * time/setitimer.c: Likewise.
34529         * time/settimeofday.c: Likewise.
34530         * time/stime.c: Likewise.
34531         * time/time.c: Likewise.
34532
34533 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34534
34535         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34536         /usr/old/bin.
34537
34538         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34539         instead of spaces.
34540         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34541
34542 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34543
34544         [BZ #14796]
34545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34546         FE_TONEAREST before applying Dekker multiplication and Knuth
34547         addition.  Clear inexact exceptions and check for exact zero
34548         results afterwards.
34549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34550         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34552         * math/libm-test.inc (fma_test): Add more tests.
34553         (fma_test_towardzero): Likewise.
34554         (fma_test_downward): Likewise.
34555         (fma_test_upward): Likewise.
34556         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34557         function.
34558         (libc_fesetround): New macro.
34559         (libc_fesetroundf): Likewise.
34560         (libc_fesetroundl): Likewise.
34561         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34562         function.
34563         (libc_fesetround_387): Likewise.
34564         (libc_fesetroundf): New macro.
34565         (libc_fesetround): Likewise.
34566         (libc_fesetroundl): Likewise.
34567         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34568         function.
34569         (libc_fesetroundf): New macro.
34570         (libc_fesetround): Likewise.
34571         (libc_fesetroundl): Likewise.
34572         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34573         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34574         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34575         libm_hidden_ver.
34576         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34577         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34578         libm_hidden_def.
34579         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34580         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34581         libm_hidden_ver.
34582         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34583         libm_hidden_def.
34584
34585         [BZ #3439]
34586         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34587         integer constant usable in #if and use that to give value to enum
34588         constant.
34589         (FE_DIVBYZERO): Likewise.
34590         (FE_UNDERFLOW): Likewise.
34591         (FE_OVERFLOW): Likewise.
34592         (FE_INVALID): Likewise.
34593         (FE_INVALID_SNAN): Likewise.
34594         (FE_INVALID_ISI): Likewise.
34595         (FE_INVALID_IDI): Likewise.
34596         (FE_INVALID_ZDZ): Likewise.
34597         (FE_INVALID_IMZ): Likewise.
34598         (FE_INVALID_COMPARE): Likewise.
34599         (FE_INVALID_SOFTWARE): Likewise.
34600         (FE_INVALID_SQRT): Likewise.
34601         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34602         (FE_TONEAREST): Likewise.
34603         (FE_TOWARDZERO): Likewise.
34604         (FE_UPWARD): Likewise.
34605         (FE_DOWNWARD): Likewise.
34606         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34607         (FE_DIVBYZERO): Likewise.
34608         (FE_OVERFLOW): Likewise.
34609         (FE_UNDERFLOW): Likewise.
34610         (FE_INEXACT): Likewise.
34611         (FE_TONEAREST): Likewise.
34612         (FE_DOWNWARD): Likewise.
34613         (FE_UPWARD): Likewise.
34614         (FE_TOWARDZERO): Likewise.
34615         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34616         (FE_UNDERFLOW): Likewise.
34617         (FE_OVERFLOW): Likewise.
34618         (FE_DIVBYZERO): Likewise.
34619         (FE_INVALID): Likewise.
34620         (FE_TONEAREST): Likewise.
34621         (FE_TOWARDZERO): Likewise.
34622         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34623         (FE_OVERFLOW): Likewise.
34624         (FE_UNDERFLOW): Likewise.
34625         (FE_DIVBYZERO): Likewise.
34626         (FE_INEXACT): Likewise.
34627         (FE_TONEAREST): Likewise.
34628         (FE_TOWARDZERO): Likewise.
34629         (FE_UPWARD): Likewise.
34630         (FE_DOWNWARD): Likewise.
34631         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34632         (FE_DIVBYZERO): Likewise.
34633         (FE_OVERFLOW): Likewise.
34634         (FE_UNDERFLOW): Likewise.
34635         (FE_INEXACT): Likewise.
34636         (FE_TONEAREST): Likewise.
34637         (FE_DOWNWARD): Likewise.
34638         (FE_UPWARD): Likewise.
34639         (FE_TOWARDZERO): Likewise.
34640
34641 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34642
34643         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34644
34645 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34646
34647         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34648         commands.  Quote $PWD.
34649         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34650         -x" by "export".
34651         (remove_newlines): Remove.
34652
34653 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34654
34655         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34656         * stdlib/stdlib.h (atof): Moved to ...
34657         * include/bits/stdlib-float.h: Here.  New file.
34658         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34659         * stdlib/bits/stdlib-float.h: New file.
34660         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34661         -mno-sse -mno-mmx.
34662         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34663         <xmmintrin.h>.
34664
34665 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34666
34667         * conform/conformtest.pl (@headers): Add fenv.h.
34668         * conform/data/fenv.h-data: New file.
34669         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34670         include of <math/fenv.h>.
34671
34672         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34673         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34674         && !UNIX98].  Enables tests for XOPEN2K8.
34675         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34676         POSIX2008]: Likewise.
34677
34678         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34679         (struct rusage): Do not expect type or its members.
34680
34681         [BZ #3439]
34682         * math/math.h (FP_NAN): Define macro to integer constant usable in
34683         #if and use that to give value to enum constant.
34684         (FP_INFINITE): Likewise.
34685         (FP_ZERO): Likewise.
34686         (FP_SUBNORMAL): Likewise.
34687         (FP_NORMAL): Likewise.
34688
34689 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34690
34691         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34692         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34693         arguments.
34694
34695 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34696
34697         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34698         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34699         autoconf-time if not.
34700         * configure.in: Remove AC_PREREQ.
34701
34702 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34703
34704         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34705         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34706         of the internal implementation.
34707
34708 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34709
34710         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34711         except include of <misc/sys/syslog.h>.
34712
34713 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34714
34715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34716         function returns with a NULL context exit with zero.
34717
34718 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34719
34720         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34721
34722 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34723
34724         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34725         (run_program_cmd): This.
34726         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34727         (tst_langinfo): New variable.  Use it.
34728
34729 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34730
34731         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34732         floating point opcodes.
34733
34734 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34735
34736         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34737         variable.
34738
34739         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34740
34741         * sysdeps/mach/hurd/powerpc: Remove directory.
34742         * sysdeps/mach/powerpc: Likewise.
34743
34744 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34745
34746         * scripts/check-local-headers.sh: Ignore c++ headers.
34747
34748 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34749
34750         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34751         __libc_cleanup_region_start argument.
34752
34753 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34754
34755         [BZ #14784]
34756         [BZ #14785]
34757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34758         x * y using scaling, not as x * y + z.
34759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34761         * math/libm-test.inc (fma_test): Add more tests.
34762         (fma_test_towardzero): Likewise.
34763         (fma_test_downward): Likewise.
34764         (fma_test_upward): Likewise.
34765
34766 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34767
34768         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34769
34770 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34771
34772         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34773         New variable.
34774
34775 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34776
34777         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34778
34779 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34780
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34782         Fix sort order.
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34784         Likewise.
34785
34786 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34787
34788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34789         Fix the order of the list for glibc 2.17.
34790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34791         Likewise.
34792
34793 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34794
34795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34796
34797 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34798
34799         [BZ #14610]
34800         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34801         for low part of x being zero before using __atanl (y).
34802         * math/libm-test.inc (atan2_test): Add another test.
34803
34804         * manual/install.texi (Configuring and compiling): Document
34805         general use of test-wrapper and test-wrapper-env.
34806         * INSTALL: Regenerated.
34807
34808         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34809         (__fma): Do not extract and scale down low bits on after-rounding
34810         systems when result rounded to normal precision would have normal
34811         exponent.
34812         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34813         (__fmal): Do not extract and scale down low bits on after-rounding
34814         systems when result rounded to normal precision would have normal
34815         exponent.
34816         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34817         (__fmal): Do not extract and scale down low bits on after-rounding
34818         systems when result rounded to normal precision would have normal
34819         exponent.
34820         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34821         macro.
34822         (fma_test): Add more tests.
34823         (fma_test_towardzero): Likewise.
34824         (fma_test_downward): Likewise.
34825         (fma_test_upward): Likewise.
34826
34827 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34828
34829         * sysdeps/i386/tininess.h: Renamed to ...
34830         * sysdeps/x86/tininess.h: This.
34831         * sysdeps/x86_64/tininess.h: Removed.
34832
34833 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34834
34835         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34836         input.  Use $(build-program-cmd).
34837         ($(objpfx)tst-array1-static.out): Likewise.
34838         ($(objpfx)tst-array2.out): Likewise.
34839         ($(objpfx)tst-array3.out): Likewise.
34840         ($(objpfx)tst-array4.out): Likewise.
34841         ($(objpfx)tst-array5.out): Likewise.
34842         ($(objpfx)tst-array5-static.out): Likewise.
34843
34844 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34845
34846         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34847         if defined.
34848
34849         * nss/nsswitch.h (nss_interface_function): Provide new
34850         macro for use with NSS functions.
34851         * grp/initgroups.c: Use new macro.
34852         * nss/getXXbyYY.c: Likewise.
34853         * nss/getXXbyYY_r.c: Likewise.
34854         * nss/getXXent.c: Likewise.
34855         * nss/getXXent_r.c: Likewise.
34856         * sysdeps/posix/getaddrinfo.c: Likewise.
34857
34858 2012-10-30  Andreas Jaeger  <aj@suse.de>
34859
34860         * po/ru.po: Update Russion translation from translation project.
34861
34862 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34863
34864         [BZ #14152]
34865         [BZ #14783]
34866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34867         result and shift together with sticky bit instead of replicating
34868         round-to-nearest rounding.
34869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34871         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34872         missing underflow exceptions.
34873         (fma_test_towardzero): Add more tests.
34874         (fma_test_downward): Likewise.
34875         (fma_test_upward): Likewise.
34876
34877         [BZ #14047]
34878         * sysdeps/generic/tininess.h: New file.
34879         * sysdeps/i386/tininess.h: Likewise.
34880         * sysdeps/sh/tininess.h: Likewise.
34881         * sysdeps/x86_64/tininess.h: Likewise.
34882         * stdlib/tst-strtod-underflow.c: Likewise.
34883         * stdlib/tst-tininess.c: Likewise.
34884         * stdlib/strtod_l.c: Include <tininess.h>.
34885         (round_and_return): Do not set errno for exact underflow cases.
34886         Force an underflow exception when setting errno for underflow.
34887         Determine underflow based on rounding to normal precision if
34888         TININESS_AFTER_ROUNDING.
34889         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34890         ERANGE for exact underflow cases.
34891         * stdlib/Makefile (tests): Add tst-tininess and
34892         tst-strtod-underflow.
34893         ($(objpfx)tst-tininess): Use $(link-libm).
34894         ($(objpfx)tst-strtod-underflow): Likewise.
34895
34896 2012-10-30  Andreas Jaeger  <aj@suse.de>
34897
34898         [BZ#14767]
34899         * elf/Makefile (tests): Remove conditional for have-initfini-array
34900         since this is now always required and the variable does not exist
34901         anymore.
34902         (tests-static): Likewise.
34903         (modules-names): Likewise.
34904
34905         * po/eo.po: Add Esperanto translation from translation project.
34906
34907         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34908         merged with constructor/destructor.
34909         (init_array): Likewise.
34910         * elf/tst-array2dep.c (fini_array): Likewise.
34911         (init_array): Likewise.
34912
34913 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34914
34915         * manual/message.texi: Delete @cartouche tags.
34916
34917 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34918
34919         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34920         EOPNOTSUPP.
34921         * sysdeps/mach/hurd/fsync.c: Likewise.
34922
34923         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34924         [_POSIX_REALTIME_SIGNALS]: Change condition to
34925         [_POSIX_REALTIME_SIGNALS > 0].
34926
34927 2012-10-27  Andreas Jaeger  <aj@suse.de>
34928
34929         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34930         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34932         [__WORDSIZE != 64]: Likewise.
34933
34934 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34935
34936         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34937         *  iconvdata/tst-tables.sh: Likewise.
34938
34939 2012-10-25  David S. Miller  <davem@davemloft.net>
34940
34941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34942         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34943         of strtoull.
34944
34945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34946         ifunc-impl-list.c
34947         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34948         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34949         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34950         file.
34951
34952 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34953
34954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34955         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34956         __getdirentries.
34957
34958 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34959             Jim Blandy  <jimb@codesourcery.com>
34960
34961         * scripts/cross-test-ssh.sh: New file.
34962         * manual/install.texi (Configuring and compiling): Document use of
34963         cross-test-ssh.sh.
34964         * INSTALL: Regenerated.
34965
34966 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34967
34968         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34969         EOPNOTSUPP.
34970
34971 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34972
34973         * Makeconfig (run-program-prefix): Fix comment.
34974
34975 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34976             Jim Blandy  <jimb@codesourcery.com>
34977
34978         * Makeconfig (test-wrapper): New variable,
34979         (test-wrapper-env): Likewise.
34980         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34981         (run-built-tests): Define to yes.
34982         (run-program-prefix): Use $(test-wrapper).
34983         (built-program-cmd): Likewise.
34984         * Rules (make-test-out): Use $(test-wrapper-env) and
34985         $(host-built-program-cmd).
34986         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34987         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34988         tst-pathopt.sh.
34989         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34990         $(test-wrapper-env) to tst-rtld-load-self.sh.
34991         ($(objpfx)order2.out): Use $(test-wrapper).
34992         ($(objpfx)tst-initorder.out): Likewise.
34993         ($(objpfx)tst-initorder2.out): Likewise.
34994         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34995         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34996         (test_wrapper_env): New variable.  Use it to run ld.so.
34997         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34998         Use it to run ld.so.
34999         (test_wrapper_env): Likewise.
35000         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35001         $(test-wrapper) to run-iconv-test.sh.
35002         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35003         (ICONV): Use $test_wrapper.
35004         * posix/Makefile ($(objpfx)globtest.out): Pass
35005         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35006         globtest.sh, not $(run-program-prefix).
35007         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35008         (test_wrapper): Likewise.
35009         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35010         set together with run_via_rtld_prefix.
35011         (run_program_prefix): Define in terms of test_wrapper and
35012         run_via_rtld_prefix.
35013
35014 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35015
35016         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35017         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35018         Targets removed.
35019
35020         [BZ #14743]
35021         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35022         Declare __clock_getres, __clock_gettime, __clock_settime,
35023         __clock_nanosleep, and __clock_getcpuclockid.
35024         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35025         Remove librt_hidden_def (clock_gettime).
35026         * sysdeps/unix/clock_gettime.c: Likewise.
35027         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35028         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35029         * rt/clock_getres.c: Define __clock_getres as an alias.
35030         * sysdeps/posix/clock_getres.c: Likewise.
35031         * rt/clock_settime.c: Define __clock_settime as an alias.
35032         * sysdeps/unix/clock_settime.c: Likewise.
35033         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35034         * sysdeps/unix/clock_nanosleep.c: Likewise.
35035         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35036         * rt/clock-compat.c: New file.
35037         * rt/Makefile (librt-routines): Add clock-compat and move
35038         $(clock-routines) to ...
35039         (routines): ... here, new variable.
35040         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35041         Don't add get_clockfreq here.
35042         * rt/Versions (libc: GLIBC_2.17): New version set.
35043         Add clock_* symbols here.
35044         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35046         (GLIBC_2.17): Add clock_* symbols.
35047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35051         Likewise.
35052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35053         Likewise.
35054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35058         * NEWS: Mention the move.
35059
35060         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35061         Use __open, __read, __close rather than their public counterparts.
35062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35063         (__get_clockfreq_via_cpuinfo): Likewise.
35064         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35065         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35066
35067         * config.h.in (HAVE_IFUNC): New #undef.
35068         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35069         was successful.
35070         * configure: Regenerated.
35071
35072 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35073
35074         * configure.in: Move READELF check to start of file.
35075         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35076         libc_cv_asm_gnu_indirect_function in the process.
35077         * configure: Regenerated.
35078
35079 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35080
35081         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35082         send the output to /dev/null.
35083         (libc_cv_cc_with_libunwind): Likewise.
35084         (libc_cv_as_noexecstack): Likewise.
35085         * configure: Regenerate.
35086
35087 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35088
35089         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35090
35091         * posix/globtest.sh (TMPDIR): Do not set.
35092         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35093         (testout): Likewise.
35094
35095 2012-10-24  Andreas Jaeger  <aj@suse.de>
35096
35097         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35098         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35099         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35100         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35101         posix_fadvise64, posix_fallocate64.
35102
35103         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35104         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35105         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35106         Likewise.
35107         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35108         Likewise.
35109         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35110
35111         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35112         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35113         <bits/fcntl-linux.h>.
35114         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35115
35116         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35117         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35118         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35119         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35120         [__WORDSIZE != 64]: Likewise.
35121
35122 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35123
35124         * Makeconfig (run-built-tests): New variable.
35125         * Rules [$(cross-compiling) = yes]: Change condition to
35126         [$(run-built-tests) = no].
35127         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35128         to [$(run-built-tests) = yes].
35129         * elf/Makefile [$(cross-compiling) = no]: Likewise
35130         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35131         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35132         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35133         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35134         * io/Makefile [$(cross-compiling) = no]: Likewise.
35135         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35136         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35137         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35138         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35139         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35140         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35141         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35142         * string/Makefile [$(cross-compiling) = no]: Likewise.
35143
35144         * posix/Makefile ($(objpfx)globtest.out): Pass
35145         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35146         $(rtld-installed-name).
35147         * posix/globtest.sh (elf_objpfx): Remove variable.
35148         (rtld_installed_name): Likewise.
35149         (library_path): Likewise.
35150         (run_program_prefix): New variable.  Use for running globtest
35151         binary.
35152
35153 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35154             Joseph Myers  <joseph@codesourcery.com>
35155
35156         * Makeconfig (host-built-program-cmd): New variable.
35157         * elf/Makefile (tst-stackguard1-ARGS): Use
35158         $(host-built-program-cmd).
35159         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35160         (tst-spawn-ARGS): Likewise.
35161         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35162
35163 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35164             Jim Blandy  <jimb@codesourcery.com>
35165
35166         * Makeconfig (run-via-rtld-prefix): New variable.
35167         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35168         (built-program-cmd): Likewise.
35169
35170 2012-10-22  Andreas Jaeger  <aj@suse.de>
35171
35172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35173         __O_RSYNC if it exists, otherwise to O_SYNC.
35174
35175 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35176             Joseph Myers  <joseph@codesourcery.com>
35177
35178         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35179         /dev/null.
35180         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35181         from /dev/null
35182         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35183         /dev/null.
35184
35185 2012-10-22  Andreas Jaeger  <aj@suse.de>
35186
35187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35188         Define always.
35189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35190
35191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35192         bits/fcntl-linux.h.
35193
35194         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35195         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35196
35197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35198         to __O_LARGEFILE.
35199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35200         to __O_LARGEFILE.
35201
35202 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35203             Joseph Myers  <joseph@codesourcery.com>
35204
35205         * config.make.in (NM): New variable.
35206
35207 2012-10-21  Andreas Jaeger  <aj@suse.de>
35208
35209         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35210         definitions and declarations that are provided by
35211         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35212
35213 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35214
35215         [BZ #14683]
35216         * elf/Makefile (tests-static): Add tst-leaks1-static.
35217         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35218         ($(objpfx)tst-leaks1-static): New rule.
35219         ($(objpfx)tst-leaks1-static-mem): Likewise.
35220         (tst-leaks1-static-ENV): New macro.
35221         * elf/dl-open.c (dl_open_worker): Check the main application
35222         only if SHARED is defined.
35223         * elf/tst-leaks1-static.c: New file.
35224
35225 2012-10-20  Andreas Jaeger  <aj@suse.de>
35226
35227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35228         generic values for Linux.
35229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35230         and declarations that are provided by <bits/fcntl-linux.h> and
35231         include <bits/fcntl-linux.h>.
35232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35233         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35234
35235 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35236
35237         * io/fcntl.h: Move include of <bits/types.h> to the top and
35238         include it unconditionally.
35239
35240 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35241
35242         * wcsmbs/Makefile (tests-ifunc): New variable.
35243         (tests): Add $(tests-ifunc).
35244         * wcsmbs/test-wcschr-ifunc.c: New file.
35245         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35246         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35247         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35248         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35249         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35250
35251         * string/Makefile (tests-ifunc): New variable.
35252         (tests): Add $(tests-ifunc).
35253         * string/test-memccpy.c (TEST_NAME): New macro.
35254         * string/test-memchr.c (TEST_NAME): Likewise.
35255         * string/test-memcmp.c (TEST_NAME): Likewise.
35256         * string/test-memcpy.c (TEST_NAME): Likewise.
35257         * string/test-memmem.c (TEST_NAME): Likewise.
35258         * string/test-memmove.c (TEST_NAME): Likewise.
35259         * string/test-memset.c (TEST_NAME): Likewise.
35260         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35261         * string/test-stpcpy.c (TEST_NAME): Likewise.
35262         * string/test-stpncpy.c (TEST_NAME): Likewise.
35263         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35264         * string/test-strcasestr.c (TEST_NAME): Likewise.
35265         * string/test-strcat.c (TEST_NAME): Likewise.
35266         * string/test-strchr.c (TEST_NAME): Likewise.
35267         * string/test-strcmp.c(TEST_NAME): Likewise.
35268         * string/test-strcpy.c (TEST_NAME): Likewise.
35269         * string/test-strcspn.c (TEST_NAME): Likewise.
35270         * string/test-strlen.c (TEST_NAME): Likewise.
35271         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35272         * string/test-strncmp.c (TEST_NAME): Likewise.
35273         * string/test-strncpy.c (TEST_NAME): Likewise.
35274         * string/test-strnlen.c (TEST_NAME): Likewise.
35275         * string/test-strpbrk.c (TEST_NAME): Likewise.
35276         * string/test-strrchr.c (TEST_NAME): Likewise.
35277         * string/test-strspn.c (TEST_NAME): Likewise.
35278         * string/test-strstr.c (TEST_NAME): Likewise.
35279         * string/test-bcopy-ifunc.c: New file.
35280         * string/test-bzero-ifunc.c: Likewise.
35281         * string/test-memccpy-ifunc.c: Likewise.
35282         * string/test-memchr-ifunc.c: Likewise.
35283         * string/test-memcmp-ifunc.c: Likewise.
35284         * string/test-memcpy-ifunc.c: Likewise.
35285         * string/test-memmem-ifunc.c: Likewise.
35286         * string/test-memmove-ifunc.c: Likewise.
35287         * string/test-mempcpy-ifunc.c: Likewise.
35288         * string/test-memset-ifunc.c: Likewise.
35289         * string/test-rawmemchr-ifunc.c: Likewise.
35290         * string/test-stpcpy-ifunc.c: Likewise.
35291         * string/test-stpncpy-ifunc.c: Likewise.
35292         * string/test-strcasecmp-ifunc.c: Likewise.
35293         * string/test-strcasestr-ifunc.c: Likewise.
35294         * string/test-strcat-ifunc.c: Likewise.
35295         * string/test-strchr-ifunc.c: Likewise.
35296         * string/test-strchrnul-ifunc.c: Likewise.
35297         * string/test-strcmp-ifunc.c: Likewise.
35298         * string/test-strcpy-ifunc.c: Likewise.
35299         * string/test-strcspn-ifunc.c: Likewise.
35300         * string/test-strlen-ifunc.c: Likewise.
35301         * string/test-strncasecmp-ifunc.c: Likewise.
35302         * string/test-strncat-ifunc.c: Likewise.
35303         * string/test-strncmp-ifunc.c: Likewise.
35304         * string/test-strncpy-ifunc.c: Likewise.
35305         * string/test-strnlen-ifunc.c: Likewise.
35306         * string/test-strpbrk-ifunc.c: Likewise.
35307         * string/test-strrchr-ifunc.c: Likewise.
35308         * string/test-strspn-ifunc.c: Likewise.
35309         * string/test-strstr-ifunc.c: Likewise.
35310
35311         * debug/Makefile (tests-ifunc): New variable.
35312         (tests): Add $(tests-ifunc).
35313         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35314         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35315         * debug/test-stpcpy_chk-ifunc.c: New file.
35316         * debug/test-strcpy_chk-ifunc.c: Likewise.
35317
35318 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35319
35320         [BZ #13601]
35321         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35322         header is not read in.
35323
35324 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35325
35326         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35327         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35328         directly.  Pass built executable to script as
35329         $(built-program-cmd).
35330         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35331         $testprogram without using LD_LIBRARY_PATH and $ldso.
35332
35333         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35334         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35335         $(rtld-installed-name).
35336         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35337         (rtld_installed_name): Likewise.
35338         (library_path): Likewise.
35339         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35340         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35341         $(run-program-prefix) to tst-tables.sh.
35342         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35343         it to run tst-table-from and tst-table-to.
35344         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35345         Pass it to tst-table.sh.
35346         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35347         $(run-program-prefix) to tst-gettext.sh.
35348         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35349         tst-translit.sh.
35350         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35351         tst-gettext2.sh.
35352         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35353         to run tst-gettext.
35354         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35355         to run tst-gettext2.
35356         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35357         to run tst-translit.
35358         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35359         $(run-program-prefix) to tst-mtrace.sh.
35360         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35361         to run tst-mtrace.
35362         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35363         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35364         $(rtld-installed-name).
35365         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35366         (rtld_installed_name): Likewise.
35367         (run_program_prefix): New variable.  Use it to run wordexp-test.
35368
35369         * Makeconfig (ARCH): Remove all definitions.
35370         (machine): Likewise.
35371         [ARCH]: Remove conditional code.
35372         [!objdir]: Give error.
35373         [!objdir] (objpfx): Remove.
35374         [!objdir] (common-objpfx): Likewise.
35375         [!objdir] (common-objdir): Likewise.
35376         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35377         AC_CONFIG_FILES call.
35378         * configure: Regenerated.
35379
35380         [BZ #13888]
35381         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35382         or TMPDIR.
35383         (testout): Likewise.
35384
35385         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35386         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35387         $(rtld-installed-name).
35388         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35389         (rtld_installed_name): Likwise.
35390         (runit): Remove function.
35391         (run_getconf): New variable,  Use it for running getconf binary.
35392
35393 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35394
35395         [BZ #14716]
35396         * string/test-memmem.c (check_result): New function.
35397         (do_one_test): Use it.
35398         (check1): New function.
35399         (test_main): Use it.
35400
35401 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35402
35403         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35404
35405 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35406
35407         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35408         (_G_LSEEK64): Likewise.
35409         (_G_MMAP64): Likewise.
35410         (_G_FSTAT64): Likewise.
35411         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35412         (_G_LSEEK64): Likewise.
35413         (_G_MMAP64): Likewise.
35414         (_G_FSTAT64): Likewise.
35415         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35416         unconditional.  Call __mmap64 directly.
35417         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35418         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35419         __lseek64 directly.
35420         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35421         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35422         __mmap64 directly.
35423         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35424         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35425         __lseek64 directly.
35426         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35427         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35428         __lseek64 directly.
35429         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35430         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35431         __lseek64 directly.
35432         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35433         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35434         __fxstat64 directly.
35435         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35436         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35437         unconditional.
35438         (freopen64) [!_G_OPEN64]: Remove conditional code.
35439         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35440         unconditional.
35441         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35442         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35443         unconditional.
35444         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35445         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35446         unconditional.
35447         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35448         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35449         unconditional.
35450         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35451         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35452         unconditional.
35453         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35454         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35455         unconditional.
35456         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35457         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35458         unconditional.
35459         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35460
35461 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462
35463         [BZ #12140]
35464         * manual/memory.texi (Malloc Tunable Parameters): Add note
35465         about free list pointers overwriting some perturb bytes.
35466         Wording suggested by Roland McGrath.
35467
35468 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35469
35470         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35471         (lgamma_test): Likewise.
35472         (tgamma_test): Likewise.
35473
35474 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35475
35476         [BZ #14700]
35477         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35478         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35479
35480 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35481
35482         * NEWS: Mention BZ #14716.
35483         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35484         when removing AVAILABLE1_USES_J macro.
35485
35486 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35487
35488         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35489         (__bswap_64): __uint64_t for unsigned 64-bit int.
35490
35491 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35492
35493         * include/string.h (memmem): Declare libc hidden alias.
35494         * string/memmem.c (memmem): Define libc hidden alias.
35495         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35496         __read, __close instead of open, read, close.
35497
35498 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35499
35500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35501         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35502         global and hidden.
35503         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35504         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35505         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35506         Likewise.
35507         (__rawmemchr_sse2): Likewise.
35508         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35509         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35510         (__strchr_sse2): Likewise.
35511         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35512         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35513         (__strcasecmp_sse2): Likewise.
35514         (__strncasecmp_sse2): Likewise.
35515         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35516         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35517         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35518         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35519         (__strrchr_sse2): Likewise.
35520         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35521         ifunc-impl-list.c.
35522         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35523         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35524         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35525         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35526         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35527         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35528         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35529         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35530         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35531         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35532         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35533         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35534         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35535         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35536         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35537         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35538         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35539         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35540         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35541         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35542         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35543         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35544         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35545         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35546         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35547         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35548         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35549         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35550         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35551         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35552
35553         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35554         global and hidden.
35555         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35556         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35557         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35558         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35559         Likewise.
35560         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35561         Likewise.
35562         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35563         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35564         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35565         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35566         ifunc-impl-list.c.
35567         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35568         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35569         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35570         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35571         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35572         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35573         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35574         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35579         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35580         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35581         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35582         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35584         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35585         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35588         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35589         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35590         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35591         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35592         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35593         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35594         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35595         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35596         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35597         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35598         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35599         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35600         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35601         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35602         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35603         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35604         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35605         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35606         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35607         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35608
35609         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35610         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35611         * include/ifunc-impl-list.h: New file.
35612         * misc/ifunc-impl-list.c: Likewise.
35613         * misc/Makefile (routines): Add ifunc-impl-list.
35614         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35615         * string/test-string.h: Include <ifunc-impl-list.h>.
35616         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35617         TEST_NAME]: New variables.
35618         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35619         are defined.
35620         (test_init): Call __libc_ifunc_impl_list to initialize
35621         func_list if TEST_IFUNC and TEST_NAME are defined.
35622
35623         * string/Makefile (strop-tests): Add bcopy and bzero.
35624         * string/test-bcopy.c: New file.
35625         * string/test-bzero.c: Likewise.
35626         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35627         defined.
35628         * string/test-memset.c: Support bzero test if TEST_BZERO is
35629         defined.
35630         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35631         __libc_memmove.
35632         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35633         __libc_memset.
35634         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35635         of memset.
35636
35637 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35638
35639         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35640         * configure: Regenerated.
35641
35642         * Makeconfig (+link-static-before-libc): Don't include
35643         $(link-static-libc).
35644
35645         * libio/libio.h (_IO_pos_t): Remove.
35646
35647 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35648
35649         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35650         McGrath.
35651
35652 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35653
35654         * crypt/crypt-entry.c: Include fips-private.h.
35655         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35656         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35657         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35658         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35659
35660 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35661
35662         * crypt/crypt-private.h: Include stdbool.h.
35663         (_ufc_setup_salt_r): Return bool.
35664         * crypt/crypt-entry.c: Include errno.h.
35665         (__crypt_r): Return NULL with EINVAL for bad salt.
35666         * crypt/crypt_util.c (bad_for_salt): New.
35667         (_ufc_setup_salt_r): Check that salt is long enough and within
35668         the specified alphabet.
35669         * crypt/badsalttest.c: New file.
35670         * crypt/Makefile (tests): Add it.
35671         ($(objpfx)badsalttest): New.
35672
35673 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35674
35675         * NEWS: Add entry for BZ #14602.
35676
35677 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35678
35679         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35680         type-generic.
35681         * math/libm-test.inc: Update comment listing what functions and
35682         macros are tested.
35683         (isgreater_test): New function.
35684         (isgreaterequal_test): Likewise.
35685         (isless_test): Likewise.
35686         (islessequal_test): Likewise.
35687         (islessgreater_test): Likewise.
35688         (isunordered_test): Likewise.
35689         (main): Call the new functions.
35690
35691 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35692
35693         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35694         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35695         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35696         * sysdeps/i386/configure: Regenerated.
35697         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35698         * sysdeps/mach/configure: Regenerated.
35699         * sysdeps/mach/hurd/configure: Regenerated.
35700         * sysdeps/powerpc/configure: Regenerated.
35701         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35702         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35703         * sysdeps/s390/s390-32/configure: Regenerated.
35704         * sysdeps/s390/s390-64/configure: Regenerated.
35705         * sysdeps/sh/configure: Regenerated.
35706         * sysdeps/sparc/configure: Regenerated.
35707         * sysdeps/unix/sysv/linux/configure: Regenerated.
35708         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35709         * sysdeps/x86_64/configure: Regenerated.
35710
35711         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35712         defined.  Don't check if MAP is NULL.
35713
35714 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35715
35716         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35717         (_G_stat64): Likewise.
35718         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35719         (_G_stat64): Likewise.
35720         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35721         instead of struct _G_stat64.
35722         * libio/fileops.c (mmap_remap_check): Likewise.
35723         (decide_maybe_mmap): Likewise.
35724         (_IO_new_file_seekoff): Likewise.
35725         (_IO_file_stat): Likewise.
35726         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35727         _G_off64_t.
35728         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35729         instead of struct _G_stat64.
35730         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35731
35732 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35733
35734         [BZ #14602]
35735         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35736         Replace with ...
35737         (CHECK_EOL): New macro.
35738         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35739         CHECK_EOL.
35740         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35741         Replace with CHECK_EOL.
35742         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35743         Replace with CHECK_EOL.
35744
35745 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35746
35747         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35748         type-generic.
35749         * math/libm-test.inc: Update comment listing what functions and
35750         macros are tested.
35751         (finite_test): New function.
35752         (isinf_test): Likewise.
35753         (isnan_test): Likewise.
35754         (fpclassify_test): Test subnormal input.
35755         (isfinite_test): Likewise.
35756         (isnormal_test): Likewise.
35757         (main): Call the new functions.
35758
35759 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35760
35761         [BZ #14660]
35762         * Makerules (%.dynsym): Force C locale when running
35763         $(OBJDUMP) --dynamic-syms.
35764
35765 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35766
35767         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35768         <stdint.h>.
35769
35770 2012-10-06  David S. Miller  <davem@davemloft.net>
35771
35772         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35773         upper 32-bits of the length value in %o2 since we use branch-on-register
35774         tests which consider the entire 64-bit register.
35775
35776 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35777
35778         * string/test-strstr.c (check2): Add a test for page boundary.
35779
35780 2012-10-05  David S. Miller  <davem@davemloft.net>
35781
35782         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35783         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35784         file.
35785         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35786         sysdep_routines.
35787         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35788         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35789         and bzero when HWCAP_SPARC_CRYPTO is present.
35790
35791 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35792
35793         [BZ #14602]
35794         * string/test-strstr.c (check2): New function.
35795         (test_main): Call check2.
35796
35797         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35798         and bug-strchr1.
35799         * string/bug-strcasestr1.c (do_test): Moved to ...
35800         * string/test-strcasestr.c (check1): Here.  New function.
35801         (do_one_test): Break out result checking code into ...
35802         (check_result): This.  New function.
35803         (do_one_test): Call check_result.
35804         (test_main): Call check1.
35805         * string/bug-strchr1.c (do_test): Moved to ...
35806         * string/test-strchr.c (check1): Here.  New function.
35807         (do_one_test): Break out result checking code into ...
35808         (check_result): This.  New function.
35809         (do_one_test): Call check_result.
35810         (test_main): Call check1.
35811         * string/bug-strstr1.c (main): Moved to ...
35812         * string/test-strstr.c (check1): Here.  New function.
35813         (do_one_test): Break out result checking code into ...
35814         (check_result): This.  New function.
35815         (do_one_test): Call check_result.
35816         (test_main): Call check1.
35817         * string/bug-strcasestr1.c: Removed.
35818         * string/bug-strchr1.c: Likewise.
35819         * string/bug-strstr1.c: Likewise.
35820
35821         * elf/Makefile (dl-routines): Add hwcaps.
35822         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35823         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35824         (_dl_important_hwcaps): Moved to ...
35825         * elf/dl-hwcaps.c: Here.  New file.
35826         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35827
35828         [BZ #14557]
35829         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35830         if IS_IN_rtld isn't defined.
35831
35832         * elf/dl-support.c (_dl_sysinfo_map): New.
35833         Include "get-dynamic-info.h" and "setup-vdso.h".
35834         (_dl_non_dynamic_init): Call setup_vdso.
35835         * elf/dynamic-link.h: Don't include <assert.h>.
35836         (elf_get_dynamic_info): Moved to ...
35837         * elf/get-dynamic-info.h: Here.  New file.
35838         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35839         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35840         * elf/setup-vdso.h: Here.  New file.
35841         * elf/rtld.c: Include "setup-vdso.h".
35842         (dl_main): Call setup_vdso.
35843
35844 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35845
35846         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35847         creal in comment listing functions tested.  List finite, isinf,
35848         isnan, isless, islessequal, isgreater, isgreaterequal,
35849         islessgreater, isunordered, lgamma_r and pow10 as functions and
35850         macros not tested.  Mention which functions not tested are aliases
35851         for other functions.  Fix typo.  Note that signs of NaNs are not
35852         tested.
35853
35854         * scripts/config.guess: Update from config.git.
35855         * scripts/config.sub: Likewise.
35856
35857 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35858
35859         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35860         * misc/madvise.c (madvise): Renamed to __madvise.
35861         Make madvise a weak alias.
35862         * include/sys/mman.h: Declare __madvise.
35863         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35864         * sysdeps/unix/syscalls.list
35865         (madvise): Make __madvise the strong name, and madvise a weak alias.
35866         * sysdeps/unix/sysv/linux/syscalls.list
35867         (madvise, mmap): Remove redundant entries.
35868         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35869         * malloc/malloc.c (mtrim): Likewise.
35870         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35871
35872 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35873
35874         * sysdeps/mach/hurd/dl-cache.c: File removed.
35875         * config.h.in (USE_LDCONFIG): New #undef.
35876         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35877         * configure: Regenerated.
35878         * elf/Makefile (dl-routines): Add dl-cache only under
35879         [$(use-ldconfig) = yes].
35880         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35881         cache on [USE_LDCONFIG].
35882         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35883         [USE_LDCONFIG].
35884         * elf/rtld.c (dl_main): Likewise.
35885
35886 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35887
35888         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35889         _SC_LEVEL4_CACHE_LINESIZE.
35890
35891 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35892
35893         * sysdeps/unix/bsd/confstr.h: File removed.
35894
35895 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35896
35897         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35898         sys/sdt-config.h.
35899
35900 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35901
35902         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35903         Make 'mapoff' field ElfW(Off) rather than off_t.
35904
35905 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35906
35907         * nscd/Makefile: Remove nscd-cflags and all its users.
35908         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35909         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35910
35911         [BZ #10631]
35912         * malloc.c (malloc_printerr): Clarify error message.
35913
35914 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35915
35916         [BZ #14648]
35917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35918         Set bit_FMA_Usable if FMA is supported.
35919         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35920         macro.
35921         (bit_FMA4_Usable): Updated.
35922         (index_FMA_Usable): New macro.
35923         (CPUID_FMA): Likewise
35924         (HAS_FMA): Defined with bit_FMA_Usable.
35925
35926 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35927
35928         * bits/types.h (__swblk_t): Type removed.
35929         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35930         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35931         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35932         (__SWBLK_T_TYPE): Likewise.
35933         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35934         (__SWBLK_T_TYPE): Likewise.
35935         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35936         (__SWBLK_T_TYPE): Likewise.
35937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35938         (__SWBLK_T_TYPE): Likewise.
35939
35940 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35941             Honza Horak <hhorak@redhat.com>
35942
35943         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35944         (xdr_mapname): Use YPMAXMAP as maxsize.
35945         (xdr_peername): Use YPMAXPEER as maxsize.
35946         (xdr_keydat): Use YPAXRECORD as maxsize.
35947         (xdr_valdat): Use YPMAXRECORD as maxsize.
35948
35949 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35950
35951         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35952
35953         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35954         * csu/init-first.c: ... here.
35955         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35956         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35957         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35958         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35959         * sysdeps/i386/init-first.c: File removed.
35960         * sysdeps/sh/init-first.c: File removed.
35961
35962 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35963
35964         [BZ #14645]
35965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35966         if x * y might underflow to zero and z is zero.
35967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35969         * math/libm-test.inc (min_subnorm_value): New variable.
35970         (fma_test): Add more tests.
35971         (fma_test_towardzero): Likewise.
35972         (fma_test_downward): Likewise
35973         (fma_test_upward): Likewise.
35974         (initialize): Set min_subnorm_value.
35975
35976 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35977
35978         [BZ #14638]
35979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35980         0 + 0.
35981         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35982         mode for addition resulting in exact zero.
35983         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35985         exact 0 + 0.
35986         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35987         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35988         * math/libm-test.inc (fma_test): Add more tests.
35989         (fma_test_towardzero): New function.
35990         (fma_test_downward): Likewise.
35991         (fma_test_upward): Likewise.
35992         (main): Call the new functions.
35993
35994 2012-09-28  David S. Miller  <davem@davemloft.net>
35995
35996         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35997
35998 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35999
36000         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36001         instead of SIGALRM.
36002
36003         * sysdeps/gnu/_G_config.h: Moved to ...
36004         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36005         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36006         * sysdeps/generic/_G_config.h: ... here.
36007
36008         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36009
36010         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36011
36012         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36013         Conditionalize target on [libnss_test1.so-version].
36014
36015         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36016
36017         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36018         (elfobjdir): Move out of conditionals.
36019
36020         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36021         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36022         (__nss_lookup_function): Conditionalize label remove_from_tree on
36023         [!DO_STATIC_NSS || SHARED], matching its only use.
36024
36025 2012-09-28  David S. Miller  <davem@davemloft.net>
36026
36027         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36028         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36029         file.
36030         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36031         sysdep_routines.
36032         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36033         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36034         when HWCAP_SPARC_CRYPTO is present.
36035
36036 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36037
36038         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36039
36040 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36041
36042         [BZ #6530]
36043         * stdio-common/vfprintf.c (process_string_arg): Revert
36044         2000-07-22 change.
36045
36046 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36047
36048         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36049         for testcase.
36050         * stdio-common/tst-sprintf.c: Include <locale.h>
36051         (main): Test sprintf's handling of incomplete multibyte
36052         characters.
36053
36054 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36055
36056         * elf/dl-runtime.c (VERSYMIDX): Removed.
36057         * elf/dl-version.c (VERSYMIDX): Likewise.
36058         * elf/do-rel.h (VERSYMIDX): Likewise.
36059         (VALIDX): Likewise.
36060         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36061         * elf/rtld.c (VALIDX): Likewise.
36062         (ADDRIDX): Likewise.
36063         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36064         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36065         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36066         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36067         (VALIDX): Likewise.
36068         (ADDRIDX): Likewise.
36069
36070 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36071
36072         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36073
36074 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36075
36076         [BZ #11438]
36077         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36078         to global scope.
36079         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36080         addresses are in the same scope as 192.0.2/24.
36081         * posix/gai.conf: Document new scope table defaults.
36082
36083 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36084
36085         [BZ #5298]
36086         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36087         for ftell.  Compute offsets from write pointers instead.
36088         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36089
36090 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36091
36092         [BZ #14543]
36093         * libio/Makefile (tests): New test case tst-fseek.
36094         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36095         combination works in wide mode.
36096         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36097         state when the external buffer state changes.
36098
36099 2012-09-27  David S. Miller  <davem@davemloft.net>
36100
36101         [BZ #14376]
36102         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36103         pass reloc->r_addend in as the 'high' argument to
36104         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36105
36106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36107
36108 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36109
36110         * rt/tst-aio2.c: Include <pthread.h>.
36111         * rt/tst-aio3.c: Likewise.
36112
36113 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36114
36115         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36116
36117 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36118
36119         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36120         contents on [SHARED].
36121
36122 2012-09-26  Marek Polacek  <polacek@redhat.com>
36123
36124         [BZ #14530]
36125         [BZ #13741]
36126         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36127         for C++ and GCC <4.3 as well as for non GCC compilers.
36128
36129 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36130
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36132
36133 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36134
36135         * Makefile.in (all, install): Declare with .PHONY.
36136         Reported by Michael Hope <michael.hope@linaro.org>.
36137
36138 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36139
36140         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36141         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36142         system header.
36143         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36144         Likewise.
36145         (sydep_routines): Add the new and the internal functions.
36146         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36147         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36149         (GLIBC_2.17): Add the new function.
36150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36151         (GLIBC_2.17): Likewise.
36152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36153         (GLIBC_2.17): Likewise.
36154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36155         (GLIBC_2.17): Likewise.
36156         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36157
36158 2012-09-25  Alan Modra  <amodra@gmail.com>
36159
36160         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36161         Add release barrier before setting once_control to say
36162         initialisation is done.  Add hints on lwarx.  Use macro in
36163         place of isync.
36164         (clear_once_control): Add release barrier.
36165
36166 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36167
36168         [BZ #13629]
36169         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36170         specially.
36171         * math/s_clog10.c (__clog10): Likewise.
36172         * math/s_clog10f.c (__clog10f): Likewise.
36173         * math/s_clog10l.c (__clog10l): Likewise.
36174         * math/s_clogf.c (__clogf): Likewise.
36175         * math/s_clogl.c (__clogl): Likewise.
36176         * math/Makefile (libm-calls): Add x2y2m1.
36177         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36178         (__x2y2m1): Likewise.
36179         (__x2y2m1l): Likewise.
36180         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36181         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36182         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36183         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36184         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36185         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36186         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36187         * sysdeps/i386/fpu/libm-test-ulps: Update.
36188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36189
36190         [BZ #14621]
36191         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36192         int as type of variable DEPTH.
36193         (glob): Use size_t instead of int as type of variables NEWCOUNT
36194         and OLD_PATHC.
36195
36196 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36197
36198         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36199         Add s_sincosf-sse2.
36200         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36201         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36202         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36203         macros for using routine as __sincosf_ia32.
36204         Use macro for function declaration and weak_alias.
36205         * sysdeps/i386/fpu/libm-test-ulps: Update.
36206
36207         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36209
36210         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36211         subnormal argument.
36212         * math/s_cexpf.c (__cexpf): Likewise.
36213         * math/s_csinf.c (__csinf): Likewise.
36214         * math/s_csinhf.c (__csinhf): Likewise.
36215         * math/s_ctanf.c (__ctanf): Likewise.
36216         * math/s_ctanhf.c (__ctanhf): Likewise.
36217         * math/s_ccosh.c (__ccoshf): Likewise.
36218         * math/s_cexp.c (__cexpl): Likewise.
36219         * math/s_csin.c (__csin): Likewise.
36220         * math/s_csinh.c (__csinh): Likewise.
36221         * math/s_ctan.c (__ctan): Likewise.
36222         * math/s_ctanh.c (ctanh): Likewise.
36223         * math/s_ccoshl.c (__ccoshl): Likewise.
36224         * math/s_cexpl.c (__cexpl): Likewise.
36225         * math/s_csinl.c (__csinl): Likewise.
36226         * math/s_csinhl.c (__csinhl): Likewise.
36227         * math/s_ctanl.c (__ctanl): Likewise.
36228         * math/s_ctanhl.c (__ctanhl): Likewise.
36229
36230 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36231
36232         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36233         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36234         (_IO_off_t): Define to __off_t, not _G_off_t.
36235         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36236         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36237         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36238         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36239         type of __dummy and __dummy2 fields.
36240         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36241         (_G_ssize_t): Likewise.
36242         (_G_off_t): Likewise.
36243         (_G_pid_t): Likewise.
36244         (_G_uid_t): Likewise.
36245         (_G_wchar_t): Likewise.
36246         (_G_wint_t): Likewise.
36247         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36248         (_G_ssize_t): Likewise.
36249         (_G_off_t): Likewise.
36250         (_G_pid_t): Likewise.
36251         (_G_uid_t): Likewise.
36252         (_G_wchar_t): Likewise.
36253         (_G_wint_t): Likewise.
36254         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36255         (_G_ssize_t): Likewise.
36256         (_G_off_t): Likewise.
36257         (_G_pid_t): Likewise.
36258         (_G_uid_t): Likewise.
36259         (_G_wchar_t): Likewise.
36260         (_G_wint_t): Likewise.
36261
36262 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36263
36264         * malloc/arena.c: Include malloc-sysdep.h.
36265         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36266         is sufficient to shrink the heap or an unmap is needed.
36267         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36268         new function check_may_shrink_heap.
36269         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36270         new function check_may_shrink_heap.
36271
36272 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36273
36274         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36275         comments.
36276
36277 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36278
36279         * catgets/test-gencat.sh: Add "set -e".
36280         * elf/tst-pathopt.sh: Likewise.
36281         * grp/tst_fgetgrent.sh: Likewise.
36282         * iconvdata/run-iconv-test.sh: Likewise.
36283         * intl/tst-gettext.sh: Likewise.
36284         * intl/tst-gettext2.sh: Likewise.
36285         * intl/tst-gettext4.sh: Likewise.
36286         * intl/tst-gettext6.sh: Likewise.
36287         * intl/tst-translit.sh: Likewise.
36288         * io/ftwtest-sh: Likewise.
36289         * libio/test-freopen.sh: Likewise.
36290         * malloc/tst-mtrace.sh: Likewise.
36291         * posix/globtest.sh: Likewise.
36292         * posix/tst-getconf.sh: Likewise.
36293         * posix/wordexp-tst.sh: Likewise.
36294         * stdio-common/tst-printf.sh: Likewise.
36295         * stdio-common/tst-unbputc.sh: Likewise.
36296         * stdlib/tst-fmtmsg.sh: Likewise.
36297         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36298         * catgets/Makefile: Do not specify -e option when running
36299         testsuite shell scripts.
36300         * elf/Makefile: Likewise.
36301         * grp/Makefile: Likewise.
36302         * iconvdata/Makefile: Likewise.
36303         * intl/Makefile: Likewise.
36304         * io/Makefile: Likewise.
36305         * libio/Makefile: Likewise.
36306         * malloc/Makefile: Likewise.
36307         * posix/Makefile: Likewise.
36308         * stdio-common/Makefile: Likewise.
36309         * stdlib/Makefile: Likewise.
36310         * sysdeps/x86_64/Makefile: Likewise.
36311
36312         * io/ftwtest-sh: Add copyright header.
36313         * posix/globtest.sh: Likewise.
36314         * posix/tst-getconf.sh: Likewise.
36315         * posix/wordexp-tst.sh: Likewise.
36316         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36317
36318 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36319
36320         [BZ #13679]
36321         * Makeconfig (+link): Defined as $(+link-static) if
36322         $(build-shared) isn't yes.
36323         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36324         isn't yes.
36325         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36326
36327         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36328
36329         [BZ #14562]
36330         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36331         new chunk size with MALLOC_ALIGN_MASK.
36332
36333 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36334
36335         [BZ #5044]
36336         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36337         <rounding-mode.h>.
36338         (__printf_fphex): Determine rounding using get_rounding_mode and
36339         round_away.
36340         * stdio-common/tst-printf-round.c (struct hex_test): New
36341         structure.
36342         (hex_tests): New variable.
36343         (test_hex_in_one_mode): New function.
36344         (do_test): Also run tests for hex float output.
36345
36346 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36347
36348         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36349         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36350         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36351         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36352         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36353         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36354         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36355         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36356
36357 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36358
36359         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36360         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36361         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36362         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36363
36364 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36365
36366         [BZ #14579]
36367         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36368         mode only.
36369         * elf/tst-rtld-load-self.sh: New test.
36370         * elf/Makefile: Run it.
36371
36372 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36373
36374         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36375         (tst-writev-ENV): Remove.
36376         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36377
36378 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36379
36380         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36381
36382 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36383
36384         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36385         unconditional.
36386         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36387         Likewise.
36388         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36389         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36390         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36391         Likewise.
36392
36393 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36394
36395         [BZ #14587]
36396         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36397         * config.make.in (have-cpp-asm-debuginfo): Removed.
36398         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36399         * configure: Regenerated.
36400
36401 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36402
36403         [BZ #5044]
36404         * stdio-common/printf_fp.c: Include <stdbool.h> and
36405         <rounding-mode.h>.
36406         (___printf_fp): Determine rounding using get_rounding_mode and
36407         round_away.
36408         * stdio-common/tst-printf-round.c: New file.
36409         * stdio-common/Makefile (tests): Add tst-printf-round.
36410         (link-libm): New variable.
36411         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36412
36413 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36414
36415         [BZ #14576]
36416         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36417         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36418         Likewise.
36419         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36420         Likewise.
36421
36422 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36423
36424         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36425         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36426         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36427         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36428
36429 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36430
36431         [BZ #14518]
36432         * include/rounding-mode.h: New file.
36433         * sysdeps/generic/get-rounding-mode.h: Likewise.
36434         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36435         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36436         (MAX_VALUE): New macro.
36437         (MIN_VALUE): Likewise.
36438         (overflow_value): New function.
36439         (underflow_value): Likewise.
36440         (round_and_return): Use overflow_value and underflow_value to
36441         determine return values in overflow and underflow cases.  Use
36442         round_away to determine rounding depending on rounding mode.
36443         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36444         determine return values in overflow and underflow cases.
36445         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36446         (struct test_results): New structure.
36447         (struct test): Use struct test_results to store expected results
36448         for all rounding modes.
36449         (TEST): Include expected results for all rounding modes.
36450         (test_in_one_mode): New function.
36451         (do_test): Use test_in_one_mode to compute and check results.
36452         Check results for all rounding modes.
36453         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36454         $(link-libm).
36455
36456 2012-12-09  Allan McRae  <allan@archlinux.org>
36457
36458         * sysdeps/i386/fpu/libm-test-ulps: Update
36459
36460 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36461
36462         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36463         (_G_int32_t): Likewise.
36464         (_G_uint16_t): Likewise.
36465         (_G_uint32_t): Likewise.
36466         (_G_HAVE_BOOL): Likewise.
36467         (_G_HAVE_ATEXIT): Likewise.
36468         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36469         (_G_HAVE_IO_FILE_OPEN): Likewise.
36470         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36471         (_G_int32_t): Likewise.
36472         (_G_uint16_t): Likewise.
36473         (_G_uint32_t): Likewise.
36474         (_G_HAVE_BOOL): Likewise.
36475         (_G_HAVE_ATEXIT): Likewise.
36476         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36477         (_G_HAVE_IO_FILE_OPEN): Likewise.
36478         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36479         (_G_int32_t): Likewise.
36480         (_G_uint16_t): Likewise.
36481         (_G_uint32_t): Likewise.
36482         (_G_HAVE_BOOL): Likewise.
36483         (_G_HAVE_ATEXIT): Likewise.
36484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36485         (_G_HAVE_IO_FILE_OPEN): Likewise.
36486
36487 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36488
36489         * csu/libc-tls.c: Update copyright years.
36490
36491 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36492
36493         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36494         [!_G_USING_THUNKS]: Remove conditional code.
36495         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36496         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36497
36498         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36499         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36500         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36501         (_G_VTABLE_LABEL_PREFIX): Likewise.
36502         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36503         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36504         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36505         (_G_VTABLE_LABEL_PREFIX): Likewise.
36506         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36507         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36508         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36509         (_G_VTABLE_LABEL_PREFIX): Likewise.
36510         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36511
36512 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36513
36514         * libio/Makefile: Include ../Makeconfig before tests.
36515         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36516         only if $(build-shared) is yes.
36517
36518         * iconv/gconv_db.c: Update copyright years.
36519
36520 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36521
36522         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36523         unwind info if defined PIC. Fix special cases description.
36524         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36525
36526         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36527         DP_HI_MASK entry.
36528         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36529
36530 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36531
36532         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36533
36534         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36535         is NULL.
36536
36537         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36538         (LDLIBS-tst-chk4): This.
36539         (LDFLAGS-tst-chk5): Renamed to ...
36540         (LDLIBS-tst-chk5): This.
36541         (LDFLAGS-tst-chk6): Renamed to ...
36542         (LDLIBS-tst-chk6): This.
36543         (LDFLAGS-tst-lfschk4): Renamed to ...
36544         (LDLIBS-tst-lfschk4): This.
36545         (LDFLAGS-tst-lfschk5): Renamed to ...
36546         (LDLIBS-tst-lfschk5): This.
36547         (LDFLAGS-tst-lfschk6): Renamed to ...
36548         (LDLIBS-tst-lfschk6): This.
36549
36550         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36551         on $(common-objpfx)soversions.mk.
36552
36553 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36554
36555         [BZ #10014]
36556         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36557         example host name.
36558
36559 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36560
36561         * malloc/arena.c (arena_get_retry): New function that gets
36562         another arena for the caller to try its request on.
36563         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36564         current arena cannot fulfill the request.
36565         (__libc_memalign): Likewise.
36566         (__libc_memalign): Likewise.
36567         (__libc_pvalloc): Likewise.
36568         (__libc_calloc): Likewise.
36569
36570 2012-09-05  John Tobey  <john.tobey@gmail.com>
36571
36572         [BZ #13542]
36573         * manual/arith.texi (Operations on Complex): Fix description
36574         of carg branch cut.
36575
36576 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36577
36578         [BZ #10014]
36579         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36580         host name.
36581
36582         [BZ #10038]
36583         * manual/memory.texi (Memory): Make order of menu items match
36584         order of sections.
36585
36586 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36587
36588         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36589         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36590         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36591
36592 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36593
36594         * csu/libc-tls.c (static_dtv): Renamed to ...
36595         (_dl_static_dtv): This.  Make it global.
36596         (_dl_initial_dtv): Removed.
36597         (__libc_setup_tls): Updated.
36598         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36599         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36600         DL_INITIAL_DTV.
36601
36602 2012-09-06  Petr Machata  <pmachata@redhat.com>
36603
36604         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36605         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36606         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36607         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36608
36609 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36610
36611         [BZ #14545]
36612         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36613         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36614         freeing dtv[-1].
36615
36616 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36617
36618         [BZ #14544]
36619         * Makeconfig (link-static-before-libc): Replace $(+prector)
36620         with $(+prectorT).
36621         (link-static-after-libc): Replace $(+postctor) with
36622         $(+postctorT).
36623         (link-bounded): Replace $(+prector)/$(+postctor) with
36624         $(+prectorT)/$(+postctorT).
36625         (+prectorT): New macro.
36626         (+postctorT): Likewise.
36627
36628 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36629
36630         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36631         (round_str): Handle values above the maximum for IBM long double
36632         as inexact.
36633         * stdlib/tst-strtod-round.c (tests): Regenerated.
36634
36635 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36636
36637         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36638         assembler flag.
36639         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36640         zarch_nohighgprs around the zarch optimized routines.
36641         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36642         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36643         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36644         for zarch.
36645
36646 2012-09-05  David S. Miller  <davem@davemloft.net>
36647
36648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36649
36650         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36651         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36652         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36653         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36654         entries.
36655
36656 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36657
36658         * malloc/arena.c: Fold copyright years.
36659         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36660
36661 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36662
36663         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36664
36665 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36666
36667         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36668
36669 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36670
36671         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36672         change internal state upon failure.
36673
36674 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36675
36676         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36677         * malloc/memusage.c (mmap): Likewise.
36678         (mmap64, mremap): Likewise.  Adjust name in comment.
36679
36680 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681
36682         * libio/fileops.c: Fix typos in comments.
36683         * libio/oldfileops.c: Likewise.
36684         * libio/wfileops.c: Likewise.
36685
36686 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36687
36688         [BZ #1349]
36689         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36690         (tst-malloc-usable-ENV): Set environment for test case.
36691         * malloc/hooks.c (malloc_check_get_size): New function to get
36692         requested size.
36693         * malloc/malloc.c (musable): Use malloc_check_get_size.
36694         * malloc/tst-malloc-usable.c: New test case.
36695
36696 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36697
36698         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36699
36700 2012-09-05  Allan McRae  <allan@archlinux.org>
36701
36702         [BZ #13966]
36703         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36704         determine header location.
36705         * configure: Regenerated.
36706
36707 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36708
36709         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36710         float format.
36711         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36712         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36713         format.
36714         (test): Regenerate.
36715
36716 2012-09-04  David S. Miller  <davem@davemloft.net>
36717
36718         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36719         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36720         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36721
36722 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36723
36724         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36725         failures.
36726
36727         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36728
36729 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36730
36731         [BZ #9914]
36732         * libio/iogetdelim.c: Include <limits.h>.
36733         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36734         + len + 1 would overflow.
36735
36736 2012-09-03  Andreas Jaeger  <aj@suse.de>
36737
36738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36739         * sysdeps/i386/fpu/libm-test-ulps: Update.
36740
36741 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36742
36743         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36744         Add s_sinf-sse2, s_conf-sse2.
36745
36746         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36747         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36748         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36749         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36750
36751         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36752         for using routine as __sinf_ia32.
36753         Use macro for function declaration and weak_alias.
36754         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36755         for using routine as __cosf_ia32.
36756         Use macro for function declaration and weak_alias.
36757
36758         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36759         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36760
36761         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36762         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36764
36765         * math/libm-test.inc (cos_test): Add more test cases.
36766         (sin_test): Likewise.
36767         (sincos_test): Likewise.
36768
36769 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36770
36771         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36772         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36773         hidden.
36774         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36775
36776 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36777
36778         [BZ #14538]
36779         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36780         first element of the GOT.
36781         (elf_machine_load_address): Return the difference between
36782         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36783
36784 2012-09-01  Allan McRae  <allan@archlinux.org>
36785
36786         [BZ #13412]
36787         * configure.in (AWK): Require gawk version 3.0 or later.
36788         * configure: Regenerated.
36789
36790 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36791
36792         * sysdeps/unix/sysv/linux/kernel-features.h
36793         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36794         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36795         [__NR_clock_getres]: Make code unconditional.
36796         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36797         (clock_getcpuclockid): Remove code left unreachable by removal of
36798         conditionals.
36799         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36800         code unconditional.
36801         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36802         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36803         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36804         Make code unconditional.
36805         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36806         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36807         * sysdeps/unix/sysv/linux/clock_settime.c
36808         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36809         conditional code.
36810         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36811         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36812
36813 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36814
36815         [BZ #14476]
36816         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36817         scripts/test-installation.pl.
36818
36819         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36820         and $ld_so_version if it is set.
36821
36822 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36823
36824         [BZ #14516]
36825         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36826         failure if reading from procfs failed.
36827         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36828
36829 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36830
36831         * sysdeps/unix/sysv/linux/kernel-features.h
36832         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36833         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36834         Remove conditional code.
36835         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36836         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36837         Remove conditional code.
36838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36839         * sysdeps/unix/sysv/linux/i386/fxstat.c
36840         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36842         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36843         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36845         * sysdeps/unix/sysv/linux/i386/lxstat.c
36846         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36847         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36848         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36849         Remove conditional code.
36850         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36851         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36852         Remove conditional code.
36853         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36854         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36855         <kernel-features.h>.
36856         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36857         Remove.
36858         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36859         Remove conditional code.
36860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36861         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36862         Remove conditional.
36863
36864 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36865
36866         [BZ #5400]
36867         * NEWS: Add fixed bug number.
36868
36869 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36870
36871         [BZ #14519]
36872         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36873         underflowing exponent in case of negative sign.
36874         * stdlib/tst-strtod-round-data: Add more tests.
36875         * stdlib/tst-strtod-round.c (tests): Regenerated.
36876
36877         [BZ #3479]
36878         * stdlib/strtod_l.c (NDIG): Remove.
36879         (HEXNDIG): Likewise.
36880         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36881         smallest representable value.
36882         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36883         lie within an exact representation of 1/2 ulp of the result.
36884         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36885         unconditionally.
36886         (TENS_P9_IDX): Define unconditionally.
36887         (TENS_P9_SIZE): Likewise.
36888         (TENS_P10_IDX): Likewise.
36889         (TENS_P10_SIZE): Likewise.
36890         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36891         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36892         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36893         entries for 10^2^13 and 10^2^14.
36894         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36895         (TENS_P13_IDX): Define.
36896         (TENS_P13_SIZE): Likewise.
36897         (TENS_P14_IDX): Likewise.
36898         (TENS_P14_SIZE): Likewise.
36899         (_fpioconst_pow10): Change array size to
36900         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36901         unconditional.
36902         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36903         1024]: Add entries for 10^2^13 and 10^2^14.
36904         [LAST_POW10 > _LAST_POW10]: Remove #error.
36905         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36906         (_fpioconst_pow10): Change array size to
36907         FPIOCONST_POW10_ARRAY_SIZE.
36908         * stdlib/gen-fpioconst.c: New file.
36909         * stdlib/gen-tst-strtod-round.c: Likewise.
36910         * stdlib/tst-strtod-round-data: Likewise.
36911         * stdlib/tst-strtod-round.c: Likewise.
36912         * stdlib/Makefile (tests): Add tst-strtod-round.
36913
36914         [BZ #14459]
36915         * stdlib/strtod_l.c: Include <stdint.h>.
36916         (NDEBUG): Do not define.
36917         (round_and_return): Change EXPONENT parameter to type intmax_t.
36918         Rearrange calculations to avoid internal overflow possibilities.
36919         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36920         Rearrange calculations to avoid internal overflow possibilities.
36921         Assert that number fits inside MPNSIZE limbs.
36922         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36923         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36924         calculations and add assertions to avoid internal overflow
36925         possibilities.  Add casts to avoid signed/unsigned operations.
36926         * stdlib/tst-strtod-overflow.c: New file.
36927         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36928
36929 2012-08-25  Marek Polacek  <polacek@redhat.com>
36930
36931         * time/time.h: Fix some typos in comments.
36932
36933 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36934
36935         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36936         * posix/tst-rfc3484-2.c: Likewise.
36937         * posix/tst-rfc3484-3.c: Likewise.
36938
36939 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36940
36941         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36942         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36943
36944 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36945
36946         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36947         #include of fxstatat64.c.
36948
36949 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36950
36951         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36952         * shadow/getspent_r.c: Likewise.
36953         * shadow/getspnam.c: Likewise.
36954         * shadow/getspnam_r.c: Likewise.
36955         * gshadow/getsgent.c: Likewise.
36956         * gshadow/getsgent_r.c: Likewise.
36957         * gshadow/getsgnam.c: Likewise.
36958         * gshadow/getsgnam_r.c: Likewise.
36959         * inet/getnetbyad.c: Likewise.
36960         * inet/getnetbyad_r.c: Likewise.
36961         * inet/getnetbynm.c: Likewise.
36962         * inet/getnetbynm_r.c: Likewise.
36963         * inet/getnetent.c: Likewise.
36964         * inet/getnetent_r.c: Likewise.
36965         * inet/getproto.c: Likewise.
36966         * inet/getproto_r.c: Likewise.
36967         * inet/getprtent.c: Likewise.
36968         * inet/getprtent_r.c: Likewise.
36969         * inet/getprtname.c: Likewise.
36970         * inet/getprtname_r.c: Likewise.
36971         * inet/getrpcbyname.c: Likewise.
36972         * inet/getrpcbyname_r.c: Likewise.
36973         * inet/getrpcbynumber.c: Likewise.
36974         * inet/getrpcbynumber_r.c: Likewise.
36975         * inet/getrpcent.c: Likewise.
36976         * inet/getrpcent_r.c: Likewise.
36977         * inet/getaliasent.c: Likewise.
36978         * inet/getaliasent_r.c: Likewise.
36979         * inet/getaliasname.c: Likewise.
36980         * inet/getaliasname_r.c: Likewise.
36981         * nscd/getgrgid_r.c: Likewise.
36982         * nscd/getgrnam_r.c: Likewise.
36983         * nscd/gethstbyad_r.c: Likewise.
36984         * nscd/gethstbynm3_r.c: Likewise.
36985         * nscd/getpwnam_r.c: Likewise.
36986         * nscd/getpwuid_r.c: Likewise.
36987         * nscd/getsrvbynm_r.c: Likewise.
36988         * nscd/getsrvbypt_r.c: Likewise.
36989         * nscd/gai.c: Likewise.
36990
36991         * configure.in (build_nscd): New substituted variable, set
36992         by --disable-build-nscd and defaults to $use_nscd.
36993         * configure: Regenerated.
36994         * config.make.in (build-nscd): New substituted variable.
36995         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36996         Change conditional to require [$(build-nscd) = yes] as well.
36997         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36998
36999         [BZ# 13696]
37000         * configure.in (use_nscd): New substituted variable, set by
37001         --disable-nscd.  If enabled, define USE_NSCD.
37002         * configure: Regenerated.
37003         * config.h.in: Add USE_NSCD.
37004         * config.make.in (use-nscd): New substituted variable.
37005         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37006         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37007         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37008         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37009         (CFLAGS-getgrnam_r.c): Likewise.
37010         (CFLAGS-initgroups.c): Likewise.
37011         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37012         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37013         Variables removed.
37014         * inet/getnetgrent_r.c
37015         (nscd_setnetgrent): New function, broken out of ...
37016         (setnetgrent): ... here.  Call it.
37017         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37018         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37019         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37020         * nscd/Makefile (routines, aux): Move definitions after include of
37021         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37022         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37023         Conditionalize on [USE_NSCD].
37024         (is_nscd, nscd_init_cb): Likewise.
37025         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37026         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37027         * nss/nss_db/db-init.c: Likewise.
37028         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37029         [USE_NSCD].
37030         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37031         (make_request): Use it.
37032         (cache_valid_p): New function.
37033         (__check_pf): Use it.
37034         * NEWS: Add item for --disable-nscd.
37035
37036 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37037
37038         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37039         to support sed >= 4.2.1-20-ga9bf076.
37040         * configure: Regenerated.
37041
37042 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37043
37044         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37045         Conditionalize whole body on [IREL].
37046
37047 2012-08-22  Jeff Law <law@redhat.com>
37048
37049         [BZ #14505]
37050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37051         if the family is PF_UNSPEC.
37052
37053 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37054
37055         * Makerules (lib-version): Rename from V.
37056         (install-lib-nosubdir): Change V to lib-version.
37057
37058 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37059
37060         [BZ #14252]
37061         * powerpc32/power6/wcschr.c: New file.
37062         * powerpc32/power6/wcscpy.c: New file.
37063         * powerpc32/power6/wcsrchr.c: New file.
37064         * powerpc64/power6/wcschr.c: New file.
37065         * powerpc64/power6/wcscpy.c: New file.
37066         * powerpc64/power6/wcsrchr.c: New file.
37067
37068 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37069
37070         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37071         (two_way_short_needle): Use it.
37072         * string/strstr.c (AVAILABLE1_USES_J): Define.
37073         * string/strcasestr.c: Likewise.
37074
37075         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37076         array references.
37077         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37078
37079         [BZ #11607]
37080         * NEWS: Add an entry.
37081         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37082         define their defaults.
37083         (two_way_short_needle): Detect end-of-string on-the-fly.
37084         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37085         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37086         * string/bug-strcasestr1.c: New test.
37087         * string/Makefile: Run it.
37088
37089 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37090
37091         [BZ #11607]
37092         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37093         the first character.
37094
37095 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37096
37097         * csu/elf-init.c (__libc_csu_irel): Function removed.
37098         * csu/libc-start.c (apply_irel): New function.
37099         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37100
37101 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37102
37103         * sysdeps/unix/sysv/linux/kernel-features.h
37104         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37105         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37106         <kernel-features.h>.
37107         [__NR_fadvise64_64]: Make code unconditional.
37108         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37109         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37110         !__NR_fadvise64_64)]: Likewise.
37111         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37112         !__NR_fadvise64_64))]: Likewise.
37113         [__NR_fadvise64]: Make code unconditional.
37114         [!__NR_fadvise64]: Remove conditional code.
37115         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37116         <kernel-features.h>.
37117         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37118         unconditional.
37119         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37120         conditional code.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37122         not include <kernel-features.h>.
37123         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37124         unconditional.
37125         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37126         conditional code.
37127         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37128         include <kernel-features.h>.
37129         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37130         unconditional.
37131         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37132         conditional code.
37133
37134 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37135
37136         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37137         slight instruction rearrangements per scrollpipe analysis.
37138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37139
37140 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37141
37142         * manual/syslog.texi (syslog; vsyslog, closelog):
37143         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37144         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37145
37146         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37147         DSOCAPS to match condition on defining it.
37148
37149 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37150
37151         * sysdeps/unix/sysv/linux/kernel-features.h
37152         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37154         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37155         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37157         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37158         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37160         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37161         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37162
37163         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37164         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37165
37166         * sysdeps/unix/sysv/linux/kernel-features.h
37167         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37168         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37169         unconditional.
37170         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37171         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37172         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37173         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37174         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37175         Make code unconditional.
37176         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37177         (__mmap64) [!__NR_mmap2]: Likewise.
37178         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37179         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37180         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37181         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37182         [__NR_mmap2]: Make code unconditional.
37183         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37184         (__mmap64) [!__NR_mmap2]: Likewise.
37185
37186 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37187
37188         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37189
37190 2012-08-18  Andreas Jaeger  <aj@suse.de>
37191
37192         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37193
37194 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37195
37196         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37197         * include/unistd.h (__have_sock_cloexec): Likewise.
37198         (__have_pipe2): Likewise.
37199         (__have_dup3): Likewise.
37200
37201 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37202
37203         [BZ #9685]
37204         * include/unistd.h (__have_pipe2): Change define into an extern int.
37205         (__have_dup3): Likewise.
37206         * socket/have_sock_cloexec.c: Include fcntl.h.
37207         (__have_pipe2): New variable.
37208         (__have_dup3): Likewise.
37209
37210 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37211
37212         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37213
37214 2012-08-17  Marek Polacek  <polacek@redhat.com>
37215
37216         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37217         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37218
37219 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37220
37221         * configure.in: Add AC_SUBST for sysheaders.
37222         * configure: Regenerated.
37223         * config.make.in (sysheaders): New substituted variable.
37224
37225         * sysdeps/unix/mkfifo.c: Moved ...
37226         * sysdeps/posix/mkfifo.c: ... here.
37227         * sysdeps/unix/mkfifoat.c: Moved ...
37228         * sysdeps/posix/mkfifoat.c: ... here.
37229
37230         * sysdeps/unix/utime.c: Moved ...
37231         * sysdeps/posix/utime.c: ... here.
37232
37233         * sysdeps/unix/time.c: Moved ...
37234         * sysdeps/posix/time.c: ... here.
37235         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37236         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37237
37238         * sysdeps/unix/nice.c: Moved ...
37239         * sysdeps/posix/nice.c: ... here.
37240
37241         * sysdeps/unix/alarm.c: Moved ...
37242         * sysdeps/posix/alarm.c: ... here.
37243
37244         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37245
37246 2012-08-17  Jeff Law <law@redhat.com>
37247
37248         * intl/Makefile (codeset_mo): New variable.
37249         ($(codeset_mo)): New target.
37250         (tst-codeset.out): Depend on that.  Remove explicit rule.
37251         (tst-gettext3.out, tst-gettext5.out): Likewise.
37252         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37253         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37254         * intl/tst-codeset.sh: Remove.
37255         * intl/tst-gettext3.sh: Likewise.
37256         * intl/tst-gettext5.sh: Likewise.
37257
37258 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37259
37260         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37261         * sysdeps/unix/syscalls.list: ... here.
37262
37263         * sysdeps/posix/getaddrinfo.c
37264         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37265         (gaiconf_init, gaiconf_reload): Use them.
37266         [!_STATBUF_ST_NSEC]
37267         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37268         Define using time_t rather than struct timespec.
37269
37270         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37271         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37272         Macros removed.
37273         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37274         [!NO_THREADS].
37275         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37276         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37277         Likewise.
37278
37279         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37280         __libc_cleanup_push argument.
37281
37282         * bits/param.h: New file.
37283         * misc/sys/param.h: New file.
37284         * include/sys/param.h: New file.
37285         * misc/Makefile (headers): Add bits/param.h.
37286         * sysdeps/generic/sys/param.h: File removed.
37287         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37288         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37289         * sysdeps/mach/hurd/bits/param.h: New file.
37290         * sysdeps/mach/hurd/sys/param.h: File removed.
37291
37292         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37293         last change.
37294
37295         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37296         [_IO_MTSAFE_IO].
37297         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37298         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37299         New macros.
37300
37301         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37302         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37303         rather than -D_IO_MTSAFE_IO conditionally.
37304         * stdio-common/Makefile (CPPFLAGS): Likewise.
37305         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37306         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37307         Use $(libio-mtsafe).
37308         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37309         of -D_IO_MTSAFE_IO.
37310         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37311         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37312         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37313         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37314         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37315         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37316         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37317         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37318         (CFLAGS-fread_u_chk.c): Likewise.
37319         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37320         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37321         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37322         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37323         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37324         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37325         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37326         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37327         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37328
37329         * libio/Makefile: Test [$(libc-reentrant) = yes]
37330         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37331
37332         * Makeconfig
37333         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37334         * sysdeps/pthread/configure: File removed.
37335         * sysdeps/pthread/Makeconfig: New file.
37336         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37337         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37338
37339 2012-08-16  Gary Benson  <gbenson@redhat.com>
37340
37341         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37342         unmapping the first object in a namespace.
37343
37344 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37345
37346         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37347         (__internal_setnetgrent): ... this.  Add internal_function to
37348         definition.  Add libc_hidden_def.
37349         (setnetgrent): Update caller.
37350         (internal_endnetgrent): Renamed to ...
37351         (__internal_endnetgrent): ... this.  Add internal_function to
37352         definition.  Add libc_hidden_def.
37353         (endnetgrent): Update caller.
37354         (internal_getnetgrent_r): Renamed to ...
37355         (__internal_getnetgrent_r): ... this.  Add internal_function to
37356         definition.  Add libc_hidden_def.
37357         (__getnetgrent_r): Update caller.
37358         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37359
37360 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37361
37362         * stdlib/longlong.h: Update from GCC.
37363
37364 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37365
37366         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37367         on _QL, which is set by umul_ppmm but never used.
37368         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37369         variables, which are set by GMP macros but never used.
37370         * stdio-common/_itowa.c (_itowa): Likewise.
37371         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37372         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37373
37374 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37375
37376         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37377         struct La_sh_regs is not constant.
37378         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37379         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37380         and struct La_sparc64_regs are not constant.
37381
37382 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37383
37384         * sysdeps/unix/sysv/linux/kernel-features.h
37385         (__ASSUME_POSIX_TIMERS): Remove.
37386         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37387         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37388         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37389         Make code unconditional.
37390         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37391         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37392         Make code unconditional.
37393         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37394         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37395         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37396         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37397         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37398         Make code unconditional.
37399         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37400         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37401         (__libc_missing_posix_timers): Remove.
37402
37403 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37404
37405         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37406         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37407
37408         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37409
37410         * elf/dl-sym.c: Include <stdlib.h>.
37411
37412         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37413         constants, which avoids warnings in 32-bit builds.
37414
37415         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37416         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37417
37418         * misc/lseek.c: File moved to ...
37419         * io/lseek.c: ... here.
37420
37421         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37422
37423         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37424         shifting LEN more than 31 bits at once.
37425
37426 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37427
37428         [BZ #14195]
37429         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37430         segmentation fault for a case of two empty input strings.
37431         * string/test-strncasecmp.c (check1): Renamed to...
37432         (bz12205): ...this.
37433         (bz14195): Add new testcase for two empty input strings and N > 0.
37434         (test_main): Call new testcase, adapt for renamed function.
37435
37436 2012-08-15  Andreas Jaeger  <aj@suse.de>
37437
37438         [BZ #14090]
37439         * crypt/md5test2.c: New test, based on test supplied by Serge
37440         Belyshev <belyshev@depni.sinp.msu.ru>.
37441         * crypt/Makefile (xtests): Add md5test-giant..
37442         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37443
37444 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37445
37446         [BZ #14090]
37447         * crypt/md5.c (md5_process_block): Don't assume the buffer
37448         length is less than 2**32.
37449         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37450         length is less than 2**64.
37451
37452 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37453
37454         * string/str-two-way.h: Include <sys/param.h>.
37455         (MAX): Macro removed.
37456
37457         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37458         Move #define and #undef of memmove to just before and after
37459         including <string.h>.
37460
37461         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37462         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37463         and after including <string.h>.  Move declarations of
37464         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37465         to before #include "string/memmove.c".
37466
37467         * include/dirent.h: Declare __getdirentries.
37468
37469         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37470         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37471
37472 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37473
37474         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37475         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37476         * sysdeps/i386/configure: Regenerated.
37477         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37478         STABS_CURRENT_FILE, and STABS_FUN.
37479         (END): Remove call to STABS_FUN_END.
37480         (STABS_CURRENT_FILE1): Delete.
37481         (STABS_CURRENT_FILE): Likewise.
37482         (STABS_FUN): Likewise.
37483         (STABS_FUN_END): Likewise.
37484         (STABS_FUN2): Likewise.
37485         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37486         * sysdeps/x86_64/configure: Regenerated.
37487
37488 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37489
37490         * elf/dl-open.c: Include <atomic.h>.
37491         * elf/dl-lookup.c: Likewise.
37492
37493 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37494
37495         * sysdeps/unix/sysv/linux/kernel-features.h
37496         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37497         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37498         unconditionally.
37499         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37500         unconditionally.
37501         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37502         condition on __ASSUME_CLONE_THREAD_FLAGS.
37503
37504 2012-08-14  Andreas Jaeger  <aj@suse.de>
37505
37506         * sysdeps/i386/fpu/libm-test-ulps: Update.
37507
37508 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37509
37510         * include/atomic.h (atomic_exchange_and_add): Split into ...
37511         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37512         New atomic macros.
37513
37514 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37515
37516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37517
37518 2012-08-13  Jeff Law <law@redhat.com>
37519
37520         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37521         null byte in the output string.
37522
37523 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37524
37525         * sysdeps/unix/sysv/linux/kernel-features.h
37526         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37527         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37528         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37529         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37530         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37531         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37532         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37533
37534 2012-08-09  Jeff Law <law@redhat.com>
37535
37536         [BZ #13939]
37537         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37538         When avoid_arena is set, don't retry in the that arena.  Pick the
37539         next one, whatever it might be.
37540         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37541         (arena_lock): Pass in new parameter to arena_get2.
37542         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37543         arena_get2.
37544         (__libc_malloc): Unify retrying after main arena failure with
37545         __libc_memalign version.
37546         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37547
37548 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37549
37550         [BZ #14166]
37551         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37552         to __redirect_strstr.
37553         (__strstr_sse42): Use typeof __redirect_strstr.
37554         (__strstr_ia32): Likewise.
37555         (__libc_strstr): New prototype.
37556         (strstr): Renamed to ...
37557         (__libc_strstr): This.
37558         (strstr): New strong alias of __libc_strstr.
37559         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37560         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37561         __redirect_time.
37562         Include <time.h>.
37563         (__libc_time): New prototype.
37564         (time_ifunc): Replace time with __libc_time.
37565         (time): New strong alias and hidden definition of __libc_time.
37566         (__GI_time): Remove strong alias.
37567         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37568         Include <stddef.h>.
37569         (memmove): Redefined to __redirect_memmove.
37570         (__memmove_sse2): Use typeof __redirect_memmove.
37571         (__memmove_ssse3): Likewise.
37572         (__memmove_ssse3_back): Likewise.
37573         (__libc_memmove): New prototype.
37574         (memmove): Renamed to ...
37575         (__libc_memmove): This.
37576         (memmove): New strong alias of __libc_memmove.
37577
37578 2012-08-08  Mark Salter  <msalter@redhat.com>
37579
37580         * elf/elf.h
37581         (R_MN10300_TLS_GD): Define.
37582         (R_MN10300_TLS_LD): Likewise.
37583         (R_MN10300_TLS_LDO): Likewise.
37584         (R_MN10300_TLS_GOTIE): Likewise.
37585         (R_MN10300_TLS_IE): Likewise.
37586         (R_MN10300_TLS_LE): Likewise.
37587         (R_MN10300_TLS_DTPMOD): Likewise.
37588         (R_MN10300_TLS_DTPOFF): Likewise.
37589         (R_MN10300_TLS_TPOFF): Likewise.
37590         (R_MN10300_SYM_DIFF): Likewise.
37591         (R_MN10300_ALIGN): Likewise.
37592         (R_MN10300_NUM): Update.
37593
37594 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37595
37596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37597         Remove.
37598
37599 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37600
37601         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37602
37603         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37604         sysdeps/unix -> sysdeps/posix move.
37605         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37606
37607 2012-08-07      Allan McRae     <allan@archlinux.org>
37608
37609         [BZ #14303]
37610         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37611         (SUNOS_CPP): Likewise.
37612         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37613         not found.
37614         (open_input): Call CPP using execvp.
37615
37616 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37617
37618         * sysdeps/unix/sysv/linux/kernel-features.h
37619         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37620         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37621         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37622         (__ASSUME_WAITID_SYSCALL): Likewise.
37623         * sysdeps/unix/sysv/linux/dl-execstack.c
37624         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37625         code unconditional.
37626         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37627         conditional code.
37628         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37629         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37630         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37631         code.
37632         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37633         unconditional.
37634         [__ASSUME_WAITID_SYSCALL]: Likewise.
37635         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37636
37637 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37638
37639         * sysdeps/unix/closedir.c: Renamed to ...
37640         * sysdeps/posix/closedir.c: ... here.
37641         * sysdeps/unix/dirfd.c: Renamed to ...
37642         * sysdeps/posix/dirfd.c: ... here.
37643         * sysdeps/unix/dirstream.h: Renamed to ...
37644         * sysdeps/posix/dirstream.h: ... here.
37645         * sysdeps/unix/fdopendir.c: Renamed to ...
37646         * sysdeps/posix/fdopendir.c: ... here.
37647         * sysdeps/unix/opendir.c: Renamed to ...
37648         * sysdeps/posix/opendir.c: ... here.
37649         * sysdeps/unix/readdir.c: Renamed to ...
37650         * sysdeps/posix/readdir.c: ... here.
37651         * sysdeps/unix/readdir_r.c: Renamed to ...
37652         * sysdeps/posix/readdir_r.c: ... here.
37653         * sysdeps/unix/rewinddir.c: Renamed to ...
37654         * sysdeps/posix/rewinddir.c: ... here.
37655         * sysdeps/unix/seekdir.c: Renamed to ...
37656         * sysdeps/posix/seekdir.c: ... here.
37657         * sysdeps/unix/telldir.c: Renamed to ...
37658         * sysdeps/posix/telldir.c: ... here.
37659         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37660         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37661         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37662         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37663
37664         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37665         * bits/fcntl.h: ... here.
37666
37667         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37668         not 0.
37669         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37670         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37671         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37672         (struct flock): Move l_start, l_len to the beginning.
37673         Use __pid_t for l_pid.
37674         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37675         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37676         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37677         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37678         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37679         [__USE_LARGEFILE64] (struct flock64): New type.
37680         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37681
37682         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37683         * bits/dirent.h: ... here.
37684
37685         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37686         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37687
37688 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37689
37690         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37691         Change from 2.6.0 to 2.6.16.
37692         * sysdeps/unix/sysv/linux/configure: Regenerated.
37693         * sysdeps/unix/sysv/linux/kernel-features.h
37694         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37695         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37696         version.
37697         (__ASSUME_UTIMES): Likewise.
37698         (__ASSUME_CLONE_STOPPED): Remove.
37699         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37700         architectures, not kernel version.
37701         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37702         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37703         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37704         (__ASSUME_WAITID_SYSCALL): Likewise.
37705         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37706         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37707         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37708         refer to older versions.
37709
37710 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37711
37712         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37713         Define alphasort64 as an alias.
37714         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37715         Define versionsort64 as an alias.
37716         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37717         Define scandir64 as an alias.
37718         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37719         Define scandirat64 as an alias.
37720         * dirent/alphasort64.c (alphasort64):
37721         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37722         * dirent/versionsort64.c: Likewise.
37723         * dirent/scandir64.c: Likewise.
37724         * dirent/scandirat64.c: Likewise.
37725         * sysdeps/wordsize-64/alphasort.c: File removed.
37726         * sysdeps/wordsize-64/alphasort64.c: File removed.
37727         * sysdeps/wordsize-64/scandir.c: File removed.
37728         * sysdeps/wordsize-64/scandir64.c: File removed.
37729         * sysdeps/wordsize-64/scandirat.c: File removed.
37730         * sysdeps/wordsize-64/scandirat64.c: File removed.
37731         * sysdeps/wordsize-64/versionsort.c: File removed.
37732         * sysdeps/wordsize-64/versionsort64.c: File removed.
37733         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37734         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37735         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37736         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37737         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37738         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37739         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37740         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37741
37742         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37744         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37746         [defined __arch64__ || defined __sparcv9]
37747         (__INO_T_MATCHES_INO64_T): New macro.
37748         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37749         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37750         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37751         * sysdeps/unix/sysv/linux/bits/dirent.h
37752         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37753         (_DIRENT_MATCHES_DIRENT64): New macro.
37754
37755         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37756         Define lockf64 as an alias.
37757         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37758         Define fseeko64 as an alias.
37759         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37760         Define ftello64 as an alias.
37761         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37762         Define _IO_fgetpos64 and fgetpos64 as aliases.
37763         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37764         Define _IO_fsetpos64 and fsetpos64 as aliases.
37765         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37766         Conditionalize body on this.
37767         * libio/fseeko64.c: Likewise.
37768         * libio/ftello64.c: Likewise.
37769         * libio/iofgetpos64.c: Likewise.
37770         * libio/iofsetpos64.c: Likewise.
37771         * sysdeps/wordsize-64/lockf.c: File removed.
37772         * sysdeps/wordsize-64/lockf64.c: File removed.
37773         * sysdeps/wordsize-64/fseeko.c: File removed.
37774         * sysdeps/wordsize-64/fseeko64.c: File removed.
37775         * sysdeps/wordsize-64/ftello.c: File removed.
37776         * sysdeps/wordsize-64/ftello64.c: File removed.
37777         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37778         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37779         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37780         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37781         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37782         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37783         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37785         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37787         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37788         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37789         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37790         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37791
37792         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37794         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37796         [defined __arch64__ || defined __sparcv9]
37797         (__OFF_T_MATCHES_OFF64_T): New macro.
37798         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37799         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37801         (__OFF_T_MATCHES_OFF64_T): New macro.
37802
37803 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37804
37805         * stdlib/secure-getenv.c (__secure_getenv): Replace
37806         GLIBC_2_16 with GLIBC_2_17.
37807
37808 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37809
37810         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37811         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37812
37813 2012-08-03  David S. Miller  <davem@davemloft.net>
37814
37815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37816
37817 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37818
37819         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37820         Remove.
37821         (__ASSUME_CORRECT_SI_PID): Likewise.
37822         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37823         (__ASSUME_TMPFS_NAME): Likewise.
37824         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37825         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37826         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37827         (HAVE_AUX_SECURE): Make definition unconditional.
37828         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37829         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37830
37831 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37832
37833         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37834         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37835         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37836         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37837         __eloop_threshold instead of SYMLOOP_MAX.
37838
37839         * sysdeps/generic/eloop-threshold.h: New file.
37840         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37841         of MAXSYMLINKS.
37842         * elf/chroot_canon.c (chroot_canon): Likewise.
37843
37844 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37845
37846         [BZ #13717]
37847         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37848         Change to 2.6.0 everywhere.
37849         * sysdeps/unix/sysv/linux/configure: Regenerated.
37850         * sysdeps/unix/sysv/linux/kernel-features.h
37851         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37852         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37853         kernel versions.
37854         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37855         (__ASSUME_FUTEX_REQUEUE): Remove.
37856         (__ASSUME_STATFS64): Define unconditionally.
37857         (__ASSUME_AT_SECURE): Likewise.
37858         (__ASSUME_CORRECT_SI_PID): Likewise.
37859         (__ASSUME_TGKILL): Define without depending on kernel version for
37860         i386.
37861         (__ASSUME_UTIMES): Likewise.
37862         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37863         kernel version.
37864         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37865         (__ASSUME_TMPFS_NAME): Likewise.
37866         * README: Update reference to Linux kernel versions.
37867
37868 2012-08-02  Marek Polacek  <polacek@redhat.com>
37869
37870         [BZ# 14150]
37871         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37872         libc_cv_asm_type_prefix with %.
37873         * configure: Regenerated.
37874         * include/libc-symbols.h: Remove comment about
37875         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37876         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37877         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37878         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37879         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37880         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37881         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37882         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37883         * elf/tst-unique2mod1.c: Likewise.
37884         * elf/tst-unique1mod2.c: Likewise.
37885         * elf/tst-unique1mod1.c: Likewise.
37886         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37887         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37888         Replace ASM_TYPE_DIRECTIVE with .type.
37889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37890         * sysdeps/i386/sysdep.h: Likewise.
37891         * sysdeps/x86_64/sysdep.h: Likewise.
37892         * sysdeps/sh/sysdep.h: Likewise.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37894         Do not define ASM_TYPE_DIRECTIVE.
37895         * sysdeps/powerpc/sysdep.h: Likewise.
37896         * sysdeps/powerpc/powerpc32/sysdep.h:
37897         Replace ASM_TYPE_DIRECTIVE with .type.
37898         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37899         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37900         * sysdeps/i386/fpu/e_powf.S: Likewise.
37901         * sysdeps/i386/fpu/e_expl.S: Likewise.
37902         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37903         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37904         * sysdeps/i386/fpu/e_pow.S: Likewise.
37905         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37906         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37907         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37908         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37909         * sysdeps/i386/fpu/e_log2.S: Likewise.
37910         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37911         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37912         * sysdeps/i386/fpu/e_powl.S: Likewise.
37913         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37914         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37915         * sysdeps/i386/fpu/e_logl.S: Likewise.
37916         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37917         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37918         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37919         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37920         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37921         * sysdeps/i386/fpu/e_log.S: Likewise.
37922         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37923         * sysdeps/i386/fpu/e_logf.S: Likewise.
37924         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37925         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37926         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37927         * sysdeps/i386/fpu/e_log10.S: Likewise.
37928         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37929         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37930         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37931         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37932         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37933         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37934         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37935         * sysdeps/i386/i686/strtok.S: Likewise.
37936         * sysdeps/i386/i386-mcount.S: Likewise.
37937         * sysdeps/i386/strtok.S: Likewise.
37938         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37939         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37940         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37941         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37942         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37943         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37944         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37945         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37946         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37947         * sysdeps/x86_64/_mcount.S: Likewise.
37948         * sysdeps/x86_64/strtok.S: Likewise.
37949         * sysdeps/sh/_mcount.S: Likewise.
37950
37951 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37952
37953         * libio/iofopen.c: Include <fcntl.h>.
37954         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37955         (_IO_fopen64, fopen64): Define as aliases.
37956         * libio/iofopen64.c: Include <fcntl.h>.
37957         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37958         Conditionalize body on this.
37959         * sysdeps/wordsize-64/iofopen.c: File removed.
37960         * sysdeps/wordsize-64/iofopen64.c: File removed.
37961
37962 2012-08-01  Marek Polacek  <polacek@redhat.com>
37963
37964         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37965         Use dlfcn directly instead of a variable.
37966         (binfmt-subdir): Do not define.
37967         (dlfcn): Likewise.
37968
37969 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37970
37971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37972         Remove all definitions.
37973         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37974         <kernel-features.h>.
37975         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37976         (miss_F_GETOWN_EX): Remove all definitions.
37977         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37978         macro definition.
37979         [!__ASSUME_FCNTL64]: Remove conditional code.
37980         [__ASSUME_FCNTL64]: Make code unconditional.
37981         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37982         <kernel-features.h>.
37983         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37984         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37985         (lockf64) [__NR_fcntl64]: Make code unconditional.
37986         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37987
37988         * sysdeps/unix/sysv/linux/kernel-features.h
37989         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37990         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37991         Make code unconditional.
37992         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37993         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37995         [__NR_vfork]: Make code unconditional.
37996         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37997         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37999         [__NR_vfork]: Make code unconditional.
38000         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38001         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38002
38003 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38004
38005         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38006         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38007
38008         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38009         Define mkstemp64 as an alias.
38010         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38011         Define mkstemps64 as an alias.
38012         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38013         Define mkostemp64 as an alias.
38014         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38015         Define mkostemps64 as an alias.
38016         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38017         Conditionalize body on this.
38018         * misc/mkostemp64.c: Likewise.
38019         * misc/mkostemps64.c: Likewise.
38020         * misc/mkstemps64.c: Likewise.
38021         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38022         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38023         * sysdeps/wordsize-64/mkostemp.c: File removed.
38024         * sysdeps/wordsize-64/mkstemp.c: File removed.
38025         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38026         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38027         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38028         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38029
38030         [BZ #14138]
38031         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38032         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38033         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38034         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38035
38036         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38037         compat_symbol macros from <shlib-compat.h> rather than the underlying
38038         default_symbol_version and symbol_version macros, so that DEFAULT
38039         lines in shlib-versions are respected.
38040         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38041
38042 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38043
38044         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38045         Declare with warn_unused_result.
38046         (setgid, setregid, setegid, setresgid): Likewise.
38047         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38048         Likewise.
38049         * WUR-REPORT: Remove set*id functions.
38050
38051 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38052
38053         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38054
38055 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38056
38057         [BZ #10191]
38058         * include/sys/socket.h (__libc_accept, __libc_accept4):
38059         Add attribute_hidden.
38060         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38061
38062         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38063         use of PTR_MANGLE.
38064         * inet/getnetgrent_r.c (setup): Likewise.
38065
38066         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38067
38068 2012-07-31  David S. Miller  <davem@davemloft.net>
38069
38070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38071
38072 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38073
38074         [BZ #13629]
38075         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38076         value between 1.0 and 2.0 and smaller part has absolute value less
38077         than 1.0.
38078         * math/s_clog10.c (__clog10): Likewise.
38079         * math/s_clog10f.c (__clog10f): Likewise.
38080         * math/s_clog10l.c (__clog10l): Likewise.
38081         * math/s_clogf.c (__clogf): Likewise.
38082         * math/s_clogl.c (__clogl): Likewise.
38083         * math/libm-test.inc (clog_test): Add more tests.
38084         (clog10_test): Likewise.
38085         * sysdeps/i386/fpu/libm-test-ulps: Update.
38086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087
38088 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38089
38090         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38091         Exit with zero in case no suitable GID is found, and write a
38092         message to standard error.
38093
38094 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38095
38096         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38097         rather than to 1.
38098         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38099         (MAXPATHLEN): Removed.
38100         (NOGROUP, NODEV): New macros.
38101         (setbit, clrbit, isset, isclr): New macros.
38102         (howmany, roundup, powerof2): New macros.
38103         (DEV_BSIZE): New macro.
38104
38105         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38106         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38107
38108         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38109         definition on [!__NO_LONG_DOUBLE_MATH].
38110
38111         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38112         PTR_MANGLE and PTR_DEMANGLE.
38113
38114         * socket/accept4.c (accept4): Rename to __libc_accept4.
38115         Define accept4 as a weak alias.
38116
38117         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38118         on [_DIRENT_HAVE_D_TYPE].
38119         * io/ftw.c (ftw_dir): Likewise.
38120
38121         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38122
38123         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38124
38125         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38126         Use the BSD numbers rather than the arbitrary ones we had.
38127         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38128         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38129         (SIGXCPU, SIGXFSZ): New macros.
38130         (_NSIG): Now 32.
38131
38132         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38133         initializer on [_LIBC_REENTRANT].
38134
38135         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38136         definitions inside [_POSIX_MAPPED_FILES].
38137
38138         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38139
38140         * dirent/opendir.c: Include <fcntl.h>.
38141
38142         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38143         (__libc_getspecific): Likewise.
38144         (__libc_key_create): Likewise.
38145
38146         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38147         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38148         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38149         (tmpfile64): Define as alias.
38150         * sysdeps/wordsize-64/tmpfile.c: File removed.
38151         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38152         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38153         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38154
38155         * stdio-common/vfscanf.c: Include <stdbool.h>.
38156         * nss/makedb.c: Likewise.
38157         * stdio-common/_i18n_number.h: Likewise.
38158         * argp/argp-help.c: Likewise.
38159         * posix/wordexp.c: Likewise.
38160         * sysdeps/posix/spawni.c: Likewise.
38161         * nss/nss_files/files-initgroups.c: Likewise.
38162         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38163         * nss/nss_files/files-initgroups.c: Likewise.
38164         * nss/nss_db/db-netgrp.c: Likewise.
38165         * nss/nss_db/db-initgroups.c: Likewise.
38166         * io/fchmodat.c: Include <sys/stat.h>.
38167
38168         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38169         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38170
38171         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38172         [HAVE_MMAP].
38173
38174         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38175         Add multiple inclusion protection.
38176
38177 2012-07-27  David S. Miller  <davem@davemloft.net>
38178
38179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38180
38181 2012-07-27  Gary Benson  <gbenson@redhat.com>
38182
38183         [BZ #14298]
38184         * elf/rtld.c: Include <stap-probe.h>.
38185         (dl_main): Added static probes "init_start" and "init_complete".
38186         * elf/dl-load.c: Include <stap-probe.h>.
38187         (lose): Take new parameter "nsid".
38188         Added static probe "map_failed".
38189         (_dl_map_object_from_fd): Pass namespace id to lose.
38190         Added static probe "map_start".
38191         (open_verify): Pass namespace id to lose.
38192         * elf/dl-open.c: Include <stap-probe.h>.
38193         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38194         and "reloc_complete".
38195         * elf/dl-close.c: Include <stap-probe.h>.
38196         (_dl_close_worker): Added static probes "unmap_start" and
38197         "unmap_complete".
38198         * elf/rtld-debugger-interface.txt: New file documenting the above.
38199
38200 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38201
38202         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38203         rather than a string variable.
38204         * sunrpc/rpc_main.c (h_output): Likewise.
38205         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38206
38207 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38208
38209         * inet/check_native.c: New file.
38210
38211 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38212
38213         [BZ #13629]
38214         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38215         if larger part has absolute value 1.0.
38216         * math/s_clog10.c (__clog10): Likewise.
38217         * math/s_clog10f.c (__clog10f): Likewise.
38218         * math/s_clog10l.c (__clog10l): Likewise.
38219         * math/s_clogf.c (__clogf): Likewise.
38220         * math/s_clogl.c (__clogl): Likewise.
38221         * math/libm-test.inc (clog_test): Add more tests.
38222         (clog10_test): Likewise.
38223         * sysdeps/i386/fpu/libm-test-ulps: Update.
38224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38225
38226         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38227         (pltexit): Likewise.
38228         (La_regs): Likewise.
38229         (La_retval): Likewise.
38230         (int_retval): Likewise.
38231         Update #error for removed macros to refer only to definitions in
38232         tst-audit.h.
38233         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38234         macro.
38235         (pltexit): Likewise.
38236         (La_regs): Likewise.
38237         (La_retval): Likewise.
38238         (int_retval): Likewise.
38239         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38240         macro.
38241         (pltexit): Likewise.
38242         (La_regs): Likewise.
38243         (La_retval): Likewise.
38244         (int_retval): Likewise.
38245         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38246         macro.
38247         (pltexit): Likewise.
38248         (La_regs): Likewise.
38249         (La_retval): Likewise.
38250         (int_retval): Likewise.
38251         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38252         macro.
38253         (pltexit): Likewise.
38254         (La_regs): Likewise.
38255         (La_retval): Likewise.
38256         (int_retval): Likewise.
38257         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38258         macro.
38259         (pltexit): Likewise.
38260         (La_regs): Likewise.
38261         (La_retval): Likewise.
38262         (int_retval): Likewise.
38263         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38264         macro.
38265         (pltexit): Likewise.
38266         (La_regs): Likewise.
38267         (La_retval): Likewise.
38268         (int_retval): Likewise.
38269         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38270         macro definitions in tst-audit.h.
38271         * sysdeps/i386/tst-audit.h: New file.
38272         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38273         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38274         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38275         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38276         * sysdeps/sh/tst-audit.h: Likewise.
38277         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38278         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38279         * sysdeps/x86_64/tst-audit.h: Likewise.
38280
38281 2012-07-26  Andreas Jaeger  <aj@suse.de>
38282
38283         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38284         ptrace.
38285
38286         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38287         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38288         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38289         PTRACE_O_MASK.
38290         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38291         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38292         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38293
38294         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38295         value.
38296
38297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38298         _sigsys.
38299         (si_call_addr, si_syscall, si_arch): Define new macro.
38300         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38301         _sigsys.
38302         (si_call_addr, si_syscall, si_arch): Define new marcro.
38303         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38304         _sigsys.
38305         (si_call_addr, si_syscall, si_arch): Define new macro.
38306         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38307         _sigsys.
38308         (si_call_addr, si_syscall, si_arch): Define new macro.
38309
38310 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38311
38312         [BZ #13717]
38313         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38314         Change to 2.4.21 where previously 2.4.1.
38315         * sysdeps/unix/sysv/linux/configure: Regenerated.
38316         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38317         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38318         Linux kernel version.
38319         (__ASSUME_STD_AUXV): Remove.
38320         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38321         kernel version.
38322         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38323         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38324         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38325         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38326         (__ASSUME_NETLINK_SUPPORT): Likewise.
38327         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38328         (__no_netlink_support): Remove conditional definition.
38329         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38330         Remove.
38331         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38332         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38333         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38334         (if_nameindex_ioctl): Remove.
38335         (if_nameindex_netlink): Do not handle __no_netlink_support.
38336         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38337         code.
38338         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38339         Remove conditional code.
38340         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38341         code.
38342         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38343         unconditional.
38344         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38345         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38346         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38347         Remove.
38348         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38349         [!__ASSUME_STD_AUXV]: Remove conditional code.
38350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38351         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38352         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38354         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38355         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38356         code.
38357         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38359         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38360         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38361         conditional code.
38362         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38364         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38365         code.
38366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38367         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38368         conditional code.
38369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38370         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38371         code unconditional.
38372         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38373         conditional code.
38374         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38375         unconditional.
38376         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38377         conditional code.
38378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38379         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38380         unconditional.
38381         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38382         conditional code.
38383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38384         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38385         code unconditional.
38386         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38387         conditional code.
38388         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38389         unconditional.
38390         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38391         conditional code.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38393         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38394         code unconditional.
38395         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38396         conditional code.
38397         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38398         unconditional.
38399         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38400         conditional code.
38401
38402 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38403
38404         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38405         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38406         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38407         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38408         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38409         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38410         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38411         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38412         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38413         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38414         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38415         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38416         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38417         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38419         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38420         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38421         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38422         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38424         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38425         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38426         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38427
38428 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38429
38430         * Versions.def: Add GLIBC_2.17.
38431         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38432         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38433         Introduce __libc_secure_getenv.
38434         * stdlib/Versions (2.17): Add secure_getenv
38435         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38436         * stdlib/secure-getenv.c: Rename __secure_getenv to
38437         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38438         symbol __secure_getenv for GLIBC_2.0.
38439         * stdlib/tst-secure-getenv.c: New.
38440         * stdlib/Makefile (tests): Add testcase.
38441         * manual/startup.texi (Environment Access): Document
38442         secure_getenv.
38443         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38444         __libc_secure_getenv.
38445         * inet/ruserpass.c (ruserpass): Likewise.
38446         * malloc/mtrace.c (mtrace): Likewise.
38447         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38448         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38449         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38450         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38451         HAVE_SECURE_GETENV.
38452         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38453         __secure_getenv to __libc_secure_getenv.
38454         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38456         Likewise.
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38458         Likewise.
38459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38466
38467 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38468
38469         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38470         (struct La_i86_retval): Likewise.
38471         (struct La_x86_64_regs): Likewise.
38472         (struct La_x86_64_retval): Likewise.
38473         (struct La_x32_regs): Likewise.
38474         (struct La_x32_retval): Likewise.
38475         (struct La_ppc32_regs): Likewise.
38476         (struct La_ppc32_retval): Likewise.
38477         (struct La_ppc64_regs): Likewise.
38478         (struct La_ppc64_retval): Likewise.
38479         (struct La_sh_regs): Likewise.
38480         (struct La_sh_retval): Likewise.
38481         (struct La_s390_32_regs): Likewise.
38482         (struct La_s390_32_retval): Likewise.
38483         (struct La_s390_64_regs): Likewise.
38484         (struct La_s390_64_retval): Likewise.
38485         (struct La_sparc32_regs): Likewise.
38486         (struct La_sparc32_retval): Likewise.
38487         (struct La_sparc64_regs): Likewise.
38488         (struct La_sparc64_retval): Likewise.
38489         (struct audit_ifaces): Remove architecture-specific pltenter and
38490         pltexit members.
38491         * sysdeps/i386/ldsodefs.h: New file.
38492         * sysdeps/powerpc/ldsodefs.h: Likewise.
38493         * sysdeps/s390/ldsodefs.h: Likewise.
38494         * sysdeps/sh/ldsodefs.h: Likewise.
38495         * sysdeps/sparc/ldsodefs.h: Likewise.
38496         * sysdeps/x86_64/ldsodefs.h: Likewise.
38497
38498 2012-07-25  Marek Polacek  <polacek@redhat.com>
38499
38500         [BZ #6808]
38501         * math/libm-test.inc (yn_test): Add another test.
38502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38503         to ERANGE when the result is +-Inf.
38504         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38505         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38506         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38507         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38508
38509 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38510
38511         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38512         equal to 0.
38513         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38514         clock_t.
38515         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38516
38517 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38518
38519         * configure.in <sysdeps resolving>: Correct printing
38520         Implies_before.
38521         * configure: Regenerate.
38522
38523 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38524
38525         * math/w_ilogb.c: Include <limits.h>.
38526         * math/w_ilogbl.c: Likewise.
38527
38528 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38529
38530         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38531         va_copy.  Document allowing for unavailable va_copy only as
38532         pre-C99 compatibility.
38533         * manual/string.texi (Copying and Concatenation): Use va_copy
38534         instead of __va_copy in concat example.
38535
38536 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38537
38538         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38539         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38540         it if not null.
38541
38542         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38543         with O_NOLINK passed to __file_name_lookup.
38544
38545         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38546         with O_NOLINK passed to __file_name_lookup.
38547
38548         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38549         negative N or less than NGIDS.
38550
38551         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38552         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38553         enough.  Use memcpy instead of strncpy.
38554
38555 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38556
38557         * elf/Makefile (check-data): Remove.
38558         (localplt.data): New vpath directive.
38559         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38560         instead of $(check-data).
38561         * scripts/data/localplt-generic.data: Move to ...
38562         * sysdeps/generic/localplt.data: ... here.
38563         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38564         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38565         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38567         ... here.
38568         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38570         ... here.
38571         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38573         ... here.
38574         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38576         ... here.
38577         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38579         ... here.
38580         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38582         ... here.
38583
38584 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38585
38586         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38587         PPC32 and PPC64 files.
38588         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38589         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38590
38591 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38592
38593         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38594         __makecontext_ret to ...
38595         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38596         ... here and call exit if uc_link is NULL.  New file.
38597         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38598         __makecontext_ret.S.
38599         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38600         __makecontext_ret to ...
38601         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38602         ... here and call exit if uc_link is NULL.  New file.
38603         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38604         __makecontext_ret.S.
38605
38606 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38607
38608         * elf/elf.h (R_390_IRELATIVE): New definition.
38609         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38610         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38611         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38613         (elf_machine_lazy_rel): Likewise.
38614         * sysdeps/s390/dl-irel.h: New file.
38615         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38616         * sysdeps/s390/s390-64/memset.S: New asm code.
38617         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38618         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38620         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38621         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38622         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38624         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38625         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38626         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38627         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38628         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38629         * sysdeps/s390/s390-32/memset.S: New asm code.
38630         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38631
38632 2012-07-17  Marek Polacek  <polacek@redhat.com>
38633
38634         [BZ #14349]
38635         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38636         * sysdeps/s390/s390-64/configure.in: Likewise.
38637         * sysdeps/sparc/configure.in: Likewise.
38638         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38639         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38640         * sysdeps/i386/configure.in: Likewise.
38641         * sysdeps/x86_64/configure.in: Likewise.
38642         * sysdeps/sh/configure.in: Likewise.
38643         * sysdeps/s390/s390-32/configure: Regenerated.
38644         * sysdeps/s390/s390-64/configure: Likewise.
38645         * sysdeps/x86_64/configure: Likewise.
38646         * sysdeps/sh/configure: Likewise.
38647         * sysdeps/powerpc/powerpc64/configure: Likewise.
38648         * sysdeps/powerpc/powerpc32/configure: Likewise.
38649         * sysdeps/sparc/configure: Likwise.
38650         * sysdeps/i386/configure: Likewise.
38651
38652         * elf/dl-open.c: Comment fixes.
38653
38654 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38655
38656         * Makefile [CXX] (check-data): Remove.
38657         [CXX] (c++-types.data): New vpath directive.
38658         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38659         vpath.  Do not allow for C++ type data being missing.
38660         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38661         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38662         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38663         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38664         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38665         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38666         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38668         ... here.
38669         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38671         ... here.
38672         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38674         ... here.
38675         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38677         ... here.
38678         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38680         ... here.
38681         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38683         ... here.
38684         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38686         ... here.
38687         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38689
38690         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38691         definitions to architecture-specific files.
38692         (TLS_IE): Likewise.
38693         (TLS_LD): Likewise.
38694         (TLS_GD): Likewise.
38695         * sysdeps/i386/tls-macros.h: New file.
38696         * sysdeps/powerpc/tls-macros.h: Likewise.
38697         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38698         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38699         * sysdeps/sh/tls-macros.h: Likewise.
38700         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38701         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38702         * sysdeps/x86_64/tls-macros.h: Likewise.
38703
38704 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38705
38706         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38707         zero value for regular exit case.
38708
38709         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38710         (__start_context): Preserve zero value for regular exit case.
38711
38712 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38713             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38714
38715         * manual/setjmp.texi (setcontext): Clarify normal process
38716         termination when uc_link is the null pointer.
38717         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38718         exit call.
38719
38720 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38721
38722         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38723         preprocessor.  Test for each exception mask separately.
38724
38725 2012-07-16  Andreas Jaeger  <aj@suse.de>
38726
38727         * po/ru.po: Update from translation team.
38728
38729 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38730
38731         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38732         equal to 0.
38733         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38734         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38735         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38736         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38738
38739 2012-07-13  Andreas Jaeger  <aj@suse.de>
38740
38741         * po/fr.po: Update from translation team.
38742
38743 2012-07-12  Marek Polacek  <polacek@redhat.com>
38744
38745         [BZ #14173]
38746         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38747         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38748         loop condition.
38749
38750 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38751
38752         [BZ #13717]
38753         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38754         Change to 2.4.1 where previously 2.4.0.
38755         * sysdeps/unix/sysv/linux/configure: Regenerated.
38756         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38757         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38758         version.
38759         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38760         (__ASSUME_AT_CLKTCK): Remove.
38761         (__ASSUME_AT_PAGESIZE): Likewise.
38762         (__ASSUME_AT_XID): Likewise.
38763         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38764         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38765         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38766         unconditionally.
38767         (HAVE_AUX_PAGESIZE): Likewise.
38768         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38769         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38770         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38771
38772 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38773
38774         [BZ #14307]
38775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38776         the temporary buffer used to invoke __gethostbyname2_r,
38777         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38778         host_data / struct gaih_addrtuple.
38779         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38780         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38781         header file nss/nsswitch.h.
38782         * nss/nsswitch.h (global scope): Add definition of implementation
38783         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38784         resolv/nss_dns/dns-host.c).
38785
38786 2012-07-11  Andreas Jaeger  <aj@suse.de>
38787
38788         * po/fr.po: Update from translation team.
38789
38790         * po/sv.po: Update from translation team
38791         * po/fr.po: Another update from translation team.
38792
38793 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38794
38795         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38796         for subnormals or multiply small sinh result by itself.
38797         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38799
38800 2012-07-11  David S. Miller  <davem@davemloft.net>
38801
38802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38803
38804 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38805
38806         [BZ #14347]
38807         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38808         (INTERNAL_MARK): Shift it here.
38809
38810 2012-07-10  Marek Polacek  <polacek@redhat.com>
38811
38812         [BZ #14151]
38813         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38814         libc_cv_asm_global_directive with .globl.
38815         * configure: Regenerated.
38816         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38817         with .globl.
38818         * sysdeps/i386/configure: Regenerated.
38819         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38820         with .globl.
38821         * sysdeps/x86_64/configure: Regenerated.
38822         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38823         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38824         * elf/tst-unique2mod2.c: Likewise.
38825         * elf/tst-unique2mod1.c: Likewise.
38826         * elf/tst-unique1mod2.c: Likewise.
38827         * elf/tst-unique1mod1.c: Likewise.
38828         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38829         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38830         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38831         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38832         * sysdeps/mach/sysdep.h: Likewise.
38833         * sysdeps/i386/sysdep.h: Likewise.
38834         * sysdeps/i386/i386-mcount.S: Likewise.
38835         * sysdeps/x86_64/_mcount.S: Likewise.
38836         * sysdeps/x86_64/sysdep.h: Likewise.
38837         * sysdeps/sh/_mcount.S: Likewise.
38838         * sysdeps/sh/sysdep.h: Likewise.
38839         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38840         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38841         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38842         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38843         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38844         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38845         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38846         * locale/localeinfo.h: Likewise.
38847         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38848         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38849
38850 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38851
38852         [BZ #14336]
38853         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38854         system".
38855         * manual/message.texi (The Uniforum approach): Likewise.
38856         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38857         (glibc iconv Implementation): Likewise.
38858
38859 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38860
38861         [BZ #14337]
38862         * math/s_clog.c (__clog): Avoid scaling a value down where that
38863         could result in underflow.
38864         * math/s_clog10.c (__clog10): Likewise.
38865         * math/s_clog10f.c (__clog10f): Likewise.
38866         * math/s_clog10l.c (__clog10l): Likewise.
38867         * math/s_clogf.c (__clogf): Likewise.
38868         * math/s_clogl.c (__clogl): Likewise.
38869         * math/libm-test.inc (clog_test): Add more tests.
38870         (clog10_test): Likewise.
38871         * sysdeps/i386/fpu/libm-test-ulps: Update.
38872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38873
38874 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38875
38876         [BZ #14283]
38877         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38878         by 7 not 8 to examine high bit of fractional part.
38879
38880         [BZ #14042]
38881         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38882         for call to __mcount_internal.
38883         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38884         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38885         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38886
38887 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38888
38889         [BZ #14154]
38890         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38891         approximation for values within 0x1p-13f of an odd multiple of
38892         pi/4.
38893         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38894         exception.  Add more tests.
38895         * sysdeps/i386/fpu/libm-test-ulps: Update.
38896
38897         [BZ #6778]
38898         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38899         inputs and return -1 for them.  Do not check for +Inf in case not
38900         reachable for +Inf.
38901         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38902         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38903         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38904         and return -1 for them.  Do not check for +Inf in case not
38905         reachable for +Inf.
38906         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38907         define.
38908         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38909         and return -1 for them.  Do not check for +Inf in case not
38910         reachable for +Inf.
38911         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38912         spurious underflow.
38913         * sysdeps/i386/fpu/libm-test-ulps: Update.
38914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38915
38916 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38917
38918         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38919
38920 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38921
38922         [BZ #14157]
38923         [BZ #14331]
38924         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38925         could result in spurious underflow.  Scale down values above
38926         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38927         * math/s_csqrtf.c (__csqrtf): Likewise.
38928         * math/s_csqrtl.c (__csqrtl): Likewise.
38929         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38930         spurious underflow.
38931         * sysdeps/i386/fpu/libm-test-ulps: Update.
38932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38933
38934 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38935
38936         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38937         xopen-msg.sed.
38938         * catgets/xopen-msg.awk: New file.
38939         * catgets/xopen-msg.sed: Removed.
38940
38941         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38942         po2text.sed.
38943         * intl/po2test.awk: New file.
38944         * intl/po2test.sed: Removed.
38945
38946 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38947
38948         [BZ #14328]
38949         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38950         or multiply small sinh result by itself.
38951         * math/s_ctanf.c (__ctanf): Likewise.
38952         * math/s_ctanh.c (__ctanh): Likewise.
38953         * math/s_ctanhf.c (__ctanhf): Likewise.
38954         * math/s_ctanhl.c (__ctanhl): Likewise.
38955         * math/s_ctanl.c (__ctanl): Likewise.
38956         * math/libm-test.inc (ctan_test_tonearest): New function.
38957         (ctan_test_towardzero): Likewise.
38958         (ctan_test_downward): Likewise.
38959         (ctan_test_upward): Likewise.
38960         (ctanh_test_tonearest): Likewise.
38961         (ctanh_test_towardzero): Likewise.
38962         (ctanh_test_downward): Likewise.
38963         (ctanh_test_upward): Likewise.
38964         (main): Call these new functions.
38965         * sysdeps/i386/fpu/libm-test-ulps: Update.
38966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38967
38968 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38969
38970         * .gitignore: Delete /ports entry.
38971
38972 2012-07-03  Andreas Jaeger  <aj@suse.de>
38973
38974         * po/bg.po: Update from translation team.
38975         * po/cs.po: Likewise.
38976         * po/de.po: Likewise.
38977         * po/hr.po: Likewise.
38978         * po/nl.pl: Likewise.
38979         * po/pl.po: Likewise.
38980         * po/vi.po: Likewise.
38981
38982 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38983
38984         * Makeconfig [!+link] (+link-before-libc): New variable.
38985         [!+link] (+link-after-libc): Likewise.
38986         [!+link] (+link-tests): Likewise.
38987         [!+link] (+link): Define in terms of $(+link-before-libc) and
38988         $(+link-after-libc).
38989         [!+link-static] (+link-static-before-libc): New variable.
38990         [!+link-static] (+link-static-after-libc): Likewise.
38991         [!+link-static] (+link-static-tests): Likewise.
38992         [!+link-static] (+link-static): Define in terms of
38993         $(+link-static-before-libc) and $(+link-static-after-libc).
38994         [build-shared] (link-libc-before-gnulib): New variable.
38995         [build-shared] (link-libc-tests): Likewise.
38996         [build-shared] (link-libc): Define in terms of
38997         $(link-libc-before-gnulib).
38998         [!build-shared] (link-libc-tests): New variable.
38999         (link-libc-static-tests): New variable.
39000         [!gnulib] (gnulib-arch): New variable.
39001         [!gnulib] (gnulib-tests): Likewise.
39002         [!gnulib] (static-gnulib-arch): Likewise.
39003         [!gnulib] (static-gnulib-tests): Likewise.
39004         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39005         Define with "=" instead of ":=".
39006         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39007         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39008         * Rules (binaries-all-notests): New variable.
39009         (binaries-all-tests): Likewise.
39010         (binaries-static-notests): Likewise.
39011         (binaries-static-tests): Likewise.
39012         (binaries-all): Define using $(binaries-all-notests) and
39013         $(binaries-all-tests).
39014         (binaries-static): Define using $(binaries-static-notests) and
39015         $(binaries-static-tests).
39016         (binaries-shared-tests): New variable.
39017         (binaries-shared-notests): Likewise.
39018         (binaries-shared): Remove variable.
39019         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39020         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39021         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39022         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39023         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39024         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39025         * elf/Makefile (sln-modules): New variable.
39026         (extra-objs): Add $(sln-modules:=.o).
39027         (ldconfig-modules): Add static-stubs.
39028         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39029         * elf/static-stubs.c: New file.
39030
39031         [BZ #14283]
39032         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39033         by 7 not 8 to examine high bit of fractional part.  Use volatile
39034         variables when splitting into final array of floats if
39035         __FLT_EVAL_METHOD__ != 0.
39036         * math/libm-test.inc (cos_test): Add another test.
39037         (sin_test): Likewise.
39038         * sysdeps/i386/fpu/libm-test-ulps: Update.
39039
39040         [BZ #14273]
39041         * math/libm-test.inc (cosh_test): Add more tests.
39042
39043         * version.h (RELEASE): Set to "development".
39044         (VERSION): Set to "2.16.90".
39045
39046 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39047
39048         * NEWS: Update copyright. Remove last-updated date.
39049         Mention math library bug fixes and timezone data changes.
39050         * README: Mention GNU/Hurd, x32, and HPPA support status.
39051
39052 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39053
39054         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39055
39056 2012-06-27  Andreas Jaeger  <aj@suse.de>
39057
39058         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39059
39060 2012-06-25  Andreas Jaeger  <aj@suse.de>
39061
39062         * sysdeps/s390/fpu/libm-test-ulps: Update.
39063
39064 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39065             Thomas Schwinge  <thomas@codesourcery.com>
39066
39067         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39068         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39069         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39070         fanotify_mark.
39071
39072 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39073
39074         * sysdeps/mach/start.c: Remove file.
39075         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39076         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39077         * sysdeps/sh/init-first.c: Likewise.
39078
39079         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39080         registers for frame unwinding purposes, add CFI directives.
39081         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39082         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39083         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39084         Likewise.
39085
39086         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39087         __fortify_fail returning.
39088         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39089
39090         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39091         sysdeps/sh/____longjmp_chk.S.
39092         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39093         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39094         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39095         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39096
39097         * sysdeps/sh/abort-instr.h: New file.
39098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39099         process in case exit returns.
39100
39101         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39102         initialize the GOT register before use.
39103
39104         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39105         calculation of ARGC > 4.
39106
39107         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39108         meaningful names to some local labels.
39109
39110 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39111             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39112
39113         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39114         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39115         (__arch_compare_and_exchange_val_16_acq): Likewise.
39116         (__arch_compare_and_exchange_val_32_acq): Likewise.
39117         (atomic_exchange_and_add): Fix gUSA sequence.
39118         (atomic_add): Likewise.
39119         (atomic_add_negative): Likewise.
39120         (atomic_add_zero): Likewise.
39121         (atomic_bit_test_set): Likewise.
39122
39123 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39124
39125         [BZ #13579]
39126         * include/link.h (struct link_map): Add l_free_initfini.
39127         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39128         l_initfini.
39129         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39130         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39131         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39132         set.
39133
39134 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39135
39136         * configure.in: Use AC_LANG_SOURCE.
39137         * configure: Regenerate.
39138
39139 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39140
39141         * configure.in (libc_cv_localstatedir): New substituted variable.
39142         * configure: Regenerated.
39143         * config.make.in (localstatedir): New variable, substituted from
39144         libc_cv_localstatedir.
39145         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39146         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39147         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39148         * sysdeps/gnu/configure: Regenerated.
39149
39150 2012-06-21  Jeff Law  <law@redhat.com>
39151
39152         [BZ #14277]
39153         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39154         free.  Simplify list management for _LIBC case.
39155
39156 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39157
39158         [BZ #14273]
39159         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39160         Clear sign bit of 64-bit integer value before comparing against
39161         overflow value.
39162
39163         * sysdeps/mach/configure: Regenerated.
39164
39165 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39166
39167         [BZ #14278]
39168         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39169
39170 2012-06-21  Jeff Law  <law@redhat.com>
39171
39172         [BZ #13882]
39173         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39174         uint16_t for elements in the "seen" array to avoid char overflows.
39175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39176         * elf/dl-open.c (dl_open_worker): Likewise.
39177
39178 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39179
39180         * scripts/list-sources.sh: Scan PORTS for translations.
39181         * po/libc.pot: Regenerated.
39182
39183 2012-06-21  Andreas Jaeger  <aj@suse.de>
39184
39185         [BZ #12194]
39186         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39187         warning.
39188         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39189         * bits/byteswap-16.h (__bswap_16): Likewise.
39190         * bits/byteswap.h (__bswap_constant_16): Likewise.
39191
39192 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39193
39194         [BZ #14117]
39195         * sysdeps/i386/fpu_control.h: Removed.
39196         * sysdeps/x86_64/fpu_control.h: Moved to ...
39197         * sysdeps/x86/fpu_control.h: Here.
39198
39199         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39200         (_FPU_SETCW): Likewise.
39201
39202 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39203
39204         [BZ #14117]
39205         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39206         * sysdeps/x86/fpu/bits/mathinline.h: This.
39207         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39208
39209         [BZ #14050]
39210         [BZ #14117]
39211         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39212         functions if __x86_64__ is defined.
39213
39214 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39215
39216         * string/endian.h: Add !__ASSEMBLER__ condition for including
39217         conversion interfaces.
39218
39219 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39220
39221         [BZ #14241]
39222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39223         of ABS(x) in calculating zero to negative powers other than odd
39224         integers.
39225         * math/libm-test.inc (pow_test): Add more tests.
39226
39227 2012-06-15  Andreas Jaeger  <aj@suse.de>
39228
39229         * manual/contrib.texi (Contributors): Update entry of Liubov
39230         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39231         Machado Filho.
39232
39233 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39234
39235         * string/string.h: Add __wur to GNU version of strerror_r.
39236
39237 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39238
39239         [BZ #14229]
39240         * string/Makefile (tests): Add tst-strtok_r.
39241         * string/tst-strtok_r.c: New file.
39242         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39243         RAX_LP/RDX_LP on SAVE_PTR.
39244
39245 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39246
39247         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39248
39249 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39250
39251         * libm_test.inc (csqrt_test): Allow more spurious underflow
39252         exceptions.
39253         (j0_test): Likewise.
39254         (j1_test): Likewise.
39255         (y0_test): Likewise.
39256         (y1_test): Likewise.
39257
39258 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39259
39260         * po/Makefile (libc.pot): Use UTF-8 charset.
39261
39262 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39263
39264         [BZ #14210]
39265         Suppress sign-conversion warning from FD_SET.
39266         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39267         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39268         not unsigned long int.
39269         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39270
39271 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39272
39273         [BZ #14050]
39274         [BZ #14117]
39275         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39276         __extern_always_inline instead of __extern_inline.
39277         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39278         (__signbit): Likewise.
39279         (__signbitl): Support C++ namespace.
39280         (lrintf): New inline function.
39281         (lrint): Likewise.
39282         (llrintf): Likewise.
39283         (llrint): Likewise.
39284         (fmaxf): Likewise.
39285         (fmax): Likewise.
39286         (fminf): Likewise.
39287         (fmin): Likewise.
39288         (rint): Likewise.
39289         (rintf): Likewise.
39290         (ceil): Likewise.
39291         (ceilf): Likewise.
39292         (floor): Likewise.
39293         (floorf): Likewise.
39294         (nearbyint): Likewise.
39295         (nearbyintf): Likewise.
39296
39297 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39298
39299         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39300         non-default versions.
39301
39302 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39303
39304         [BZ #14218]
39305         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39306
39307 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39308
39309         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39310         (FE_UPWARD, FE_DOWNWARD): Don't define.
39311         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39312         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39313
39314         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39315         reading it.
39316         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39317         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39318
39319 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39320
39321         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39323         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39324         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39325
39326 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39327
39328         [BZ #14117]
39329         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39330         * sysdeps/i386/fpu/Implies: New file.
39331         * sysdeps/x86_64/fpu/Implies: Likewise.
39332         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39333         * sysdeps/x86/fpu/bits/fenv.h: This.
39334
39335         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39336         __SSE_MATH__.
39337
39338 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39339
39340         [BZ #14134]
39341         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39342         character 0xffff that matches the last element of the
39343         conversion table.
39344
39345 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39346
39347         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39348         fmodl commit.
39349
39350 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39351
39352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39353         values higher than 25.6283.
39354
39355 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39356
39357         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39358         subnormal exponent extraction and add some __builtin_expect.
39359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39360         Fix for subnormal mantissa calculation.
39361
39362 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39363
39364         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39365         cpu2 is -1 and errno is not ENOSYS.
39366
39367 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39368
39369         [BZ #14117]
39370         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39371         * sysdeps/x86/bits/string.h: This.
39372         * sysdeps/x86_64/bits/string.h: Removed.
39373
39374         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39375         if not compiling for x86-64, but compiling for >= i486.
39376
39377         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39378         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39379
39380         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39381         New macro from Linux kernel 3.4.0.
39382         (FP_XSTATE_MAGIC2): Likewise.
39383         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39384         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39385         (struct _fpx_sw_bytes): New struct.
39386         (struct _xsave_hdr): Likewise.
39387         (struct _ymmh_state): Likewise.
39388         (struct _xstate): Likewise.
39389
39390         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39391         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39392         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39393         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39394         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39395         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39396
39397         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39398         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39399         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39400         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39401         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39402         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39403
39404 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39405
39406         [BZ #13743]
39407         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39408         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39409         (sysdep_headers): Include sys/platform/ppc.h.
39410         * sysdeps/powerpc/test-gettimebase.c: Test for
39411         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39412         * manual/Makefile (appendices): Include platform.texi.
39413         * manual/contrib.texi (Contributors): Update @node pointers.
39414         * manual/maint.texi (Maintenance): Likewise.
39415         (Platform): New node.
39416         * manual/platform.texi: New file.  Document the new features.
39417
39418 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39419             Jakub Jelinek  <jakub@redhat.com>
39420
39421         [BZ #14188]
39422         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39423         where __builtin_expect is unavailable.
39424
39425 2012-06-03  David S. Miller  <davem@davemloft.net>
39426
39427         * stdlib/longlong.h: Updated from GCC.
39428
39429 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39430
39431         [BZ #14042]
39432         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39433         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39434         __mcount_internal.
39435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39436         (GLIBC_2.16): Likewise.
39437
39438 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39439
39440         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39441
39442 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39443
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39445         (default-abi): New variable.
39446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39447         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39448         variable.
39449         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39450         Likewise.
39451         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39452         Likewise.
39453         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39454         Likewise.
39455
39456         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39457         definition.  Document in comment.
39458
39459 2012-06-01  David S. Miller  <davem@davemloft.net>
39460
39461         * stdlib/longlong.h: Updated from GCC.
39462
39463 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39464
39465         [BZ #14117]
39466         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39467         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39468         sys/debugreg.h sys/io.h here.
39469         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39470         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39471         sys/io.h.
39472         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39473         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39474         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39475         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39476         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39477         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39478
39479         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39480         Define only if __x86_64__ is defined.
39481
39482 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39483
39484         [BZ #14048]
39485         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39486         Use int64_t for variable i.
39487         * math/libm-test.inc (fmod_test): Add more tests.
39488
39489         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39490         z computation is not scheduled after fetestexcept.
39491         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39492         Use math_force_eval instead of asm to ensure calculation scheduled
39493         before exception test.
39494         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39495         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39496
39497 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39498
39499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39500         computation is not scheduled after fetestexcept.
39501
39502 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39503
39504         [BZ #14117]
39505         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39506         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39507
39508 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39509
39510         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39511         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39512
39513 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39514
39515         [BZ #14117]
39516         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39517         <bits/wordsize.h>.
39518         (__WCHAR_MIN): Support __WORDSIZE == 64.
39519         (__WCHAR_MAX): Likewise.
39520
39521         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39522         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39523
39524         [BZ #14183]
39525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39526         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39527
39528         [BZ #14117]
39529         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39530         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39531
39532         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39533         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39534
39535         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39536         Defined to 1 if __x86_64__ isn't defined.
39537         (_STAT_VER_LINUX_OLD): New.
39538         (st_atime): Remove duplicate.
39539         (st_mtime): Likewise.
39540         (st_ctime): Likewise.
39541
39542 2012-05-31  David S. Miller  <davem@davemloft.net>
39543
39544         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39545         entries.
39546
39547 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39548
39549         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39550         gen-libm-test.pl.
39551
39552         [BZ #14132]
39553         * elf/dl-reloc.c: Include <_itoa.h>.
39554         (_dl_reloc_bad_type): Remove use of INTUSE.
39555         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39556         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39557         * stdio-common/psiginfo.c (psiginfo): Likewise.
39558         * stdio-common/psignal.c (psignal): Likewise.
39559         * string/strsignal.c (strsignal): Likewise.
39560         * include/signal.h (_sys_siglist): Declare hidden proto.
39561         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39562         INTVARDEF with libc_hidden_data_def.
39563         * stdio-common/itoa-udigits.c: Likewise.
39564         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39565         (_itoa_lower_digits_internal): Remove declaration.
39566         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39567         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39568         (_sys_sigabbrev_internal): Remove aliases.
39569         (_sys_siglist): Define hidden alias.
39570
39571 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39572
39573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39574         bits/sysctl.h.
39575
39576 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39577
39578         [BZ #14117]
39579         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39580         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39581
39582         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39583         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39584         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39585         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39586         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39587         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39588
39589         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39590         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39591         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39592
39593         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39594         with __addr.
39595         (insw): Likewise.
39596         (insl): Likewise.
39597         (outsb): Likewise.
39598         (outsw): Likewise.
39599         (outsl): Likewise.
39600
39601         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39602         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39603         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39604
39605         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39606         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39607         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39608         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39609         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39610         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39611
39612         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39613         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39614
39615         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39616         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39617
39618         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39619         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39620         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39621
39622         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39623         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39624         to ...
39625         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39626
39627         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39628         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39629         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39630
39631         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39632         for x86-64.
39633         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39634
39635 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39636
39637         * math/math.h (M_El): Use two more decimal places.
39638         (M_LOG2El): Likewise.
39639         (M_LOG10El): Likewise.
39640         (M_LN2l): Likewise.
39641         (M_LN10l): Likewise.
39642         (M_PIl): Likewise.
39643         (M_PI_2l): Likewise.
39644         (M_PI_4l): Likewise.
39645         (M_1_PIl): Likewise.
39646         (M_2_PIl): Likewise.
39647         (M_2_SQRTPIl): Likewise.
39648         (M_SQRT2l): Likewise.
39649         (M_SQRT1_2l): Likewise.
39650
39651 2012-05-31  David S. Miller  <davem@davemloft.net>
39652
39653         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39654         values between float registers.
39655         * sysdeps/sparc/sparc64/memset.S: Likewise.
39656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39657
39658 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39659
39660         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39661         -D_FORTIFY_SOURCE=1.
39662         (CPPFLAGS-tst-longjmp_chk.c): Define.
39663         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39664         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39665         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39666         CFLAGS-tst-wchar-h.c.
39667
39668 2012-05-31  Marek Polacek  <polacek@redhat.com>
39669
39670         [BZ #14132]
39671         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39672         __endmntent_internal): Remove declaration.
39673         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39674         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39675         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39676
39677 2012-05-30  David S. Miller  <davem@davemloft.net>
39678
39679         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39680         (___Q_simulate_exceptions): Use real FP ops rather than writing
39681         into the %fsr.
39682         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39683         Likewise.
39684
39685 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39686
39687         [BZ #14117]
39688         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39689         * sysdeps/x86/bits/xtitypes.h: This.
39690
39691         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39692         * sysdeps/x86/bits/wordsize.h: This.
39693
39694         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39695         * sysdeps/x86/bits/huge_vall.h: This.
39696
39697         * sysdeps/i386/bits/select.h: Removed.
39698         * sysdeps/x86_64/bits/select.h: Renamed to ...
39699         * sysdeps/x86/bits/select.h: This.
39700
39701         * sysdeps/i386/bits/setjmp.h: Removed.
39702         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39703         * sysdeps/x86/bits/setjmp.h: This.
39704
39705         * sysdeps/i386/bits/mathdef.h: Removed.
39706         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39707         * sysdeps/x86/bits/mathdef.h: This.
39708
39709 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39710
39711         [BZ #14132]
39712         * include/sys/socket.h (__connect_internal)
39713         (__libc_sa_len_internal): Remove declaration.
39714         (__connect, __libc_sa_len): Declare hidden_proto.
39715         (SA_LEN): Remove use of INTUSE.
39716         * socket/connect.c: Add libc_hidden_def.
39717         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39718         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39719         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39720         alias.
39721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39722         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39723         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39724         of adding _internal alias.
39725
39726 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39727
39728         [BZ #14117]
39729         * sysdeps/i386/bits/link.h: Removed.
39730         * sysdeps/i386/bits/linkmap.h: Likewise.
39731         * sysdeps/x86_64/bits/link.h: Renamed to ...
39732         * sysdeps/x86/bits/link.h: This.
39733         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39734         * sysdeps/x86/bits/linkmap.h: This.
39735
39736         * sysdeps/i386/bits/endian.h: Removed.
39737         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39738         * sysdeps/x86/bits/endian.h: This.
39739
39740         * sysdeps/i386/bits/byteswap.h: Removed.
39741         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39742         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39743         * sysdeps/x86/bits/byteswap.h: This.
39744         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39745         * sysdeps/x86/bits/byteswap-16.h: This.
39746         * sysdeps/i386/Implies: Add x86.
39747         * sysdeps/x86_64/Implies: Likewise.
39748
39749 2012-05-30  David S. Miller  <davem@davemloft.net>
39750
39751         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39752         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39753         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39754         (FP_TRAPPING_EXCEPTIONS): Define.
39755         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39756         (FP_TRAPPING_EXCEPTIONS): Define.
39757         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39758         subnormals only when inexact has been signalled or underflow
39759         exceptions are enabled.
39760         (_FP_PACK_CANONICAL): Likewise.
39761
39762 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39763
39764         [BZ #14183]
39765         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39766         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39767
39768 2012-05-30  Richard Henderson  <rth@twiddle.net>
39769
39770         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39771         with #ifndef NOT_IN_libc.
39772
39773         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39774         marked to avoid plt entry.
39775
39776 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39777
39778         [BZ #14112]
39779         * Makeconfig (default-abi): New macro.
39780         (abi-includes): Likewise.
39781         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39782         $(abi-$(default-abi)-lib-soname) for soname if defined.
39783         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39784         abi-variants.
39785         * Makefile (installed-stubs): Likewise.
39786         * include/stubs-biarch.h: Removed.
39787         * scripts/lib-names.awk: Only handle one library at a time.
39788         * scripts/soversions.awk: Remove WORDSIZE support.
39789         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39790         entries.
39791         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39792         Removed.
39793         (syscall-list-default-condition): Likewise.
39794         (syscall-list-default-condition): Likewise.
39795         (syscall-list-includes): Likewise.
39796         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39797         syscall-list-* with abi-*.  Handle undefined abi-variants.
39798         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39799         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39800         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39801         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39802         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39803         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39804         Removed.
39805         (syscall-list-32-options): Likewise.
39806         (syscall-list-32-condition): Likewise.
39807         (syscall-list-64-options): Likewise.
39808         (syscall-list-64-condition): Likewise.
39809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39810         macro.
39811         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39812         Renamed to ...
39813         (abi-*): This.
39814         (abi-64-ld-soname): New macro.
39815         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39816         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39817         Renamed to ...
39818         (abi-*): This.
39819         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39820         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39821
39822 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39823
39824         * sysdeps/unix/sysv/linux/kernel-features.h
39825         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39826         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39827         include <kernel-features.h>.
39828         [!__NR_ftruncate64]: Remove conditional code.
39829         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39830         [__NR_ftruncate64]: Make code unconditional.
39831         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39832         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39833         include <kernel-features.h>.
39834         [!__NR_ftruncate64]: Remove conditional code.
39835         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39836         [__NR_ftruncate64]: Make code unconditional.
39837         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39839         include <kernel-features.h>.
39840         [!__NR_ftruncate64]: Remove conditional code.
39841         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39842         [__NR_ftruncate64]: Make code unconditional.
39843         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39845         include <kernel-features.h>.
39846         [!__NR_ftruncate64]: Remove conditional code.
39847         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39848         [__NR_ftruncate64]: Make code unconditional.
39849         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39850
39851         * configure.in (libc_cv_fpie): Weaken to a compile test using
39852         LIBC_TRY_CC_OPTION.
39853         * configure: Regenerated.
39854
39855 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39856
39857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39861         Refreshed.
39862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39868         Refreshed.
39869
39870 2012-05-27  David S. Miller  <davem@davemloft.net>
39871
39872         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39873         (___Q_zero): New.
39874         (__Q_simulate_exceptions): Return void.  Change to simulate
39875         exceptions by writing into the %fsr.
39876         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39877         (__Qp_handle_exceptions): Likewise.
39878         (numbers): Delete.
39879         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39880         __Qp_handle_exceptions.
39881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39882         __Qp_handle_exceptions.
39883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39884         as unused and give dummy FP_RND_NEAREST initializer.
39885         (FP_INHIBIT_RESULTS): Define.
39886         (___Q_simulate_exceptions): Update declaration.
39887         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39888         formatting.
39889         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39890         as unused and give dummy FP_RND_NEAREST initializer.
39891         (__Qp_handle_exceptions): Update declaration.
39892         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39893         formatting.
39894
39895 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39896
39897         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39898         the temporary FPU control word.
39899         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39900         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39901         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39902         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39903         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39904         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39905         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39906         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39907         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39908         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39909         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39910
39911 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39912
39913         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39914         fields.
39915
39916 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39917
39918         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39919         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39920         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39921         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39922         Likewise.
39923         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39924         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39925         Likewise.
39926
39927 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39928
39929         * po/h.po: Update from translation team.
39930
39931 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39932
39933         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39934
39935         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39936         handling of denormals.
39937         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39938         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39939         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39940         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39944         Likewise.
39945
39946 2012-05-26  Marek Polacek  <polacek@redhat.com>
39947
39948         [BZ #14152]
39949         * math/libm-test.inc (fma_test): Don't always expect underflow
39950         exception.
39951
39952 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39953
39954         [BZ #12416]
39955         * elf/tst-execstack.c: Include stackinfo.h.
39956         (do_test): Adjust test case to ensure that pthread_getattr_np
39957         behaviour remains the same after marking stack executable.
39958
39959 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39960
39961         * sysdeps/unix/sysv/linux/kernel-features.h
39962         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39963         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39964         kernel-features.h.
39965         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39966         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39967         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39968         kernel-features.h.
39969         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39970         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39971
39972 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39973
39974         * configure.in: Define the default includes to being none.
39975         * configure: Regenerated.
39976
39977 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39978
39979         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39980         * sysdeps/x86_64/setjmp.S: Likewise.
39981         * sysdeps/i386/bsd-setjmp.S: Likewise.
39982         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39983         * sysdeps/i386/setjmp.S: Likewise.
39984         * sysdeps/i386/__longjmp.S: Likewise.
39985         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39986         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39987
39988         * include/stap-probe.h: New file.
39989         * configure.in: Handle --enable-systemtap.
39990         * configure: Regenerated.
39991         * config.h.in (USE_STAP_PROBE): New #undef.
39992         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39993         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39994         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39995
39996 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39997
39998         [BZ #13717]
39999         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40000         to 2.4.0 where earlier.
40001         * sysdeps/unix/sysv/linux/configure: Regenerated.
40002         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40003         <kernel-features.h>.
40004         [__ASSUME_32BITUIDS]: Make code unconditional.
40005         [!__ASSUME_32BITUIDS]: Remove conditional code.
40006         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40007         <kernel-features.h>.
40008         [__ASSUME_32BITUIDS]: Make code unconditional.
40009         [!__ASSUME_32BITUIDS]: Remove conditional code.
40010         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40011         [__ASSUME_32BITUIDS]: Make code unconditional.
40012         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40013         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40014         <kernel-features.h>.
40015         [__ASSUME_32BITUIDS]: Make code unconditional.
40016         [!__ASSUME_32BITUIDS]: Remove conditional code.
40017         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40018         <kernel-features.h>.
40019         [__ASSUME_32BITUIDS]: Make code unconditional.
40020         [!__ASSUME_32BITUIDS]: Remove conditional code.
40021         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40022         <kernel-features.h>.
40023         [__ASSUME_32BITUIDS]: Make code unconditional.
40024         [!__ASSUME_32BITUIDS]: Remove conditional code.
40025         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40026         <kernel-features.h>.
40027         [__ASSUME_32BITUIDS]: Make code unconditional.
40028         [!__ASSUME_32BITUIDS]: Remove conditional code.
40029         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40030         <kernel-features.h>.
40031         [__ASSUME_32BITUIDS]: Make code unconditional.
40032         [!__ASSUME_32BITUIDS]: Remove conditional code.
40033         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40034         <kernel-features.h>.
40035         [__ASSUME_32BITUIDS]: Make code unconditional.
40036         [!__ASSUME_32BITUIDS]: Remove conditional code.
40037         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40038         <kernel-features.h>.
40039         [__ASSUME_32BITUIDS]: Make code unconditional.
40040         [!__ASSUME_32BITUIDS]: Remove conditional code.
40041         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40042         <kernel-features.h>.
40043         [__ASSUME_32BITUIDS]: Make code unconditional.
40044         [!__ASSUME_32BITUIDS]: Remove conditional code.
40045         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40046         <kernel-features.h>.
40047         [__ASSUME_32BITUIDS]: Make code unconditional.
40048         [!__ASSUME_32BITUIDS]: Remove conditional code.
40049         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40050         <kernel-features.h>.
40051         [__ASSUME_32BITUIDS]: Make code unconditional.
40052         [!__ASSUME_32BITUIDS]: Remove conditional code.
40053         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40054         <kernel-features.h>.
40055         [__NR_setresgid] (__setresgid): Do not declare.
40056         [__ASSUME_32BITUIDS]: Make code unconditional.
40057         [!__ASSUME_32BITUIDS]: Remove conditional code.
40058         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40059         <kernel-features.h>.
40060         [__NR_setresuid] (__setresuid): Do not declare.
40061         [__ASSUME_32BITUIDS]: Make code unconditional.
40062         [!__ASSUME_32BITUIDS]: Remove conditional code.
40063         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40064         <kernel-features.h>.
40065         [__ASSUME_32BITUIDS]: Make code unconditional.
40066         [!__ASSUME_32BITUIDS]: Remove conditional code.
40067         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40068         <kernel-features.h>.
40069         [__ASSUME_32BITUIDS]: Make code unconditional.
40070         [!__ASSUME_32BITUIDS]: Remove conditional code.
40071         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40072         <kernel-features.h>.
40073         [__ASSUME_32BITUIDS]: Make code unconditional.
40074         [!__ASSUME_32BITUIDS]: Remove conditional code.
40075         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40076         <kernel-features.h>.
40077         [__ASSUME_32BITUIDS]: Make code unconditional.
40078         [!__ASSUME_32BITUIDS]: Remove conditional code.
40079         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40080         <kernel-features.h>.
40081         [__ASSUME_32BITUIDS]: Make code unconditional.
40082         [!__ASSUME_32BITUIDS]: Remove conditional code.
40083         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40084         <kernel-features.h>.
40085         [__ASSUME_32BITUIDS]: Make code unconditional.
40086         [!__ASSUME_32BITUIDS]: Remove conditional code.
40087         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40088         <kernel-features.h>.
40089         [__ASSUME_32BITUIDS]: Make code unconditional.
40090         [!__ASSUME_32BITUIDS]: Remove conditional code.
40091         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40092         <kernel-features.h>.
40093         [__ASSUME_32BITUIDS]: Make code unconditional.
40094         [!__ASSUME_32BITUIDS]: Remove conditional code.
40095         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40096         <kernel-features.h>.
40097         [__ASSUME_32BITUIDS]: Make code unconditional.
40098         [!__ASSUME_32BITUIDS]: Remove conditional code.
40099         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40100         <kernel-features.h>.
40101         [__ASSUME_32BITUIDS]: Make code unconditional.
40102         [!__ASSUME_32BITUIDS]: Remove conditional code.
40103         * sysdeps/unix/sysv/linux/kernel-features.h
40104         (__ASSUME_SETRESUID_SYSCALL): Remove.
40105         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40106         (__ASSUME_32BITUIDS): Likewise.
40107         (__ASSUME_LDT_WORKS): Likewise.
40108         (__ASSUME_O_DIRECTORY): Likewise.
40109         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40110         architecture but not kernel version.
40111         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40112         (__ASSUME_MMAP2_SYSCALL): Likewise.
40113         (__ASSUME_STAT64_SYSCALL): Likewise.
40114         (__ASSUME_IPC64): Likewise.
40115         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40116         <kernel-features.h>.
40117         [__ASSUME_32BITUIDS]: Make code unconditional.
40118         [!__ASSUME_32BITUIDS]: Remove conditional code.
40119         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40120         <kernel-features.h>.
40121         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40122         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40123         132096]: Remove conditional code.
40124         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40125         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40126         <kernel-features.h>.
40127         [__ASSUME_32BITUIDS]: Make code unconditional.
40128         [!__ASSUME_32BITUIDS]: Remove conditional code.
40129         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40130         <kernel-features.h>.
40131         [__ASSUME_32BITUIDS]: Make code unconditional.
40132         [!__ASSUME_32BITUIDS]: Remove conditional code.
40133         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40134         <kernel-features.h>.
40135         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40136         unconditional.
40137         (__setresgid): Do not declare.
40138         [__ASSUME_32BITUIDS]: Make code unconditional.
40139         [!__ASSUME_32BITUIDS]: Remove conditional code.
40140         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40141         <kernel-features.h>.
40142         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40143         unconditional.
40144         (__setresuid): Do not declare.
40145         [__ASSUME_32BITUIDS]: Make code unconditional.
40146         [!__ASSUME_32BITUIDS]: Remove conditional code.
40147         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40148         <kernel-features.h>.
40149         [__ASSUME_32BITUIDS]: Make code unconditional.
40150         [!__ASSUME_32BITUIDS]: Remove conditional code.
40151         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40152         <kernel-features.h>.
40153         [__ASSUME_32BITUIDS]: Make code unconditional.
40154         [!__ASSUME_32BITUIDS]: Remove conditional code.
40155
40156 2012-05-25  Richard Henderson  <rth@twiddle.net>
40157
40158         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40159         dl_hwcap to ifunc resolver.
40160         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40161         elf_ifunc_invoke.
40162         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40163         dl_hwcap to ifunc resolver.
40164         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40165
40166 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40167
40168         [BZ #14153]
40169         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40170         for |x| <= 2**-26, not 2**-57.
40171         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40172         exception.
40173
40174 2012-05-24  Jeff Law  <law@redhat.com>
40175
40176         * stdio-common/Makefile (tests): Add bug25.
40177         * stdio-common/bug25.c: New test.
40178
40179 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40180
40181         [BZ #13576]
40182         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40183         multiple of MALLOC_ALIGNMENT in size.
40184         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40185
40186 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40187
40188         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40189         Require >= 256.
40190         (FILENAME_MAX): Use macro-int-constant.
40191         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40192         (_IOFBF): Use macro-int-constant.
40193         (_IOLBF): Likewise.
40194         (_IONBF): Likewise.
40195         (SEEK_CUR): Likewise.
40196         (SEEK_END): Likewise.
40197         (SEEK_SET): Likewise.
40198         (TMP_MAX): Likewise.
40199         (EOF): Use macro-int-constant.  Require < 0.
40200         (NULL): Use macro-constant.  Require == 0.
40201         (stdin): Require type to be FILE *.
40202         (stdout): Likewise.
40203         (stderr): Likewise.
40204         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40205         macro-int-constant.
40206         (EXIT_SUCCESS): Likewise.
40207         (NULL): Use macro-constant.  Require == 0.
40208         (RAND_MAX): Use macro-int-constant.
40209         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40210         [C99-based standards] (strtof): Require function.
40211         [C99-based standards] (strtold): Likewise.
40212         [C99-based standards] (strtoll): Likewise.
40213         [C99-based standards] (strtoull): Likewise.
40214         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40215         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40216         [ISO || ISO99 || ISO11] (math.h): Likewise.
40217         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40218         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40220
40221 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40222
40223         [BZ #14132]
40224         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40225         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40226         * intl/dgettext.c (DCGETTEXT): Likewise.
40227         * intl/gettext.c (DCGETTEXT): Likewise.
40228         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40229         * posix/regex_internal.h (gettext): Likewise.
40230         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40231         Remove declaration.
40232         * include/argz.h (__argz_count_internal)
40233         (__argz_stringify_internal): Remove declaration.
40234         (__argz_count, __argz_stringify): Declare hidden proto.
40235         * intl/dcgettext.c: Remove use of INTDEF.
40236         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40237         * string/argz-stringify.c: Likewise.
40238         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40239         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40240         Declare hidden proto.
40241         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40242         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40243         Declare hidden proto.
40244         * include/stdio.h (__asprintf_internal): Don't declare.
40245         (__asprintf): Don't define as macro.  Declare hidden proto.
40246         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40247         (__fsetlocking): Declare hidden proto.
40248         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40249         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40250         hidden proto.
40251         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40252         (_IO_setlinebuf): Remove use of INTUSE.
40253         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40254         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40255         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40256         Remove declaration.
40257         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40258         (_IO_do_flush): Remove use of INTUSE.
40259         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40260         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40261         (_IO_adjust_column, _IO_least_wmarker)
40262         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40263         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40264         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40265         (_IO_default_doallocate, _IO_wdefault_doallocate)
40266         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40267         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40268         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40269         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40270         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40271         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40272         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40273         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40274         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40275         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40276         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40277         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40278         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40279         proto.
40280         (_IO_flush_all_internal, _IO_adjust_column_internal)
40281         (_IO_default_uflow_internal, _IO_default_finish_internal)
40282         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40283         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40284         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40285         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40286         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40287         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40288         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40289         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40290         (_IO_file_close_internal, _IO_file_close_it_internal)
40291         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40292         (_IO_file_init_internal, _IO_file_attach_internal)
40293         (_IO_file_fopen_internal, _IO_file_read_internal)
40294         (_IO_file_sync_internal, _IO_file_seek_internal)
40295         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40296         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40297         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40298         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40299         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40300         (_IO_list_all_internal, _IO_link_in_internal)
40301         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40302         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40303         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40304         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40305         (_IO_do_write_internal, _IO_padn_internal)
40306         (_IO_getline_info_internal, _IO_getline_internal)
40307         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40308         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40309         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40310         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40311         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40312         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40313         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40314         with libc_hidden_ver, remove use of INTUSE.
40315         * libio/genops.c: Likewise.
40316         * libio/freopen.c: Likewise.
40317         * libio/freopen64.c: Likewise.
40318         * libio/iofclose.c: Likewise.
40319         * libio/iofdopen.c: Likewise.
40320         * libio/iofflush.c: Likewise.
40321         * libio/iofflush_u.c: Likewise.
40322         * libio/iofgets.c: Likewise.
40323         * libio/iofgets_u.c: Likewise.
40324         * libio/iofopen.c: Likewise.
40325         * libio/iofopncook.c: Likewise.
40326         * libio/iofread.c: Likewise.
40327         * libio/iofread_u.c: Likewise.
40328         * libio/ioftell.c: Likewise.
40329         * libio/iofwrite.c: Likewise.
40330         * libio/iogetline.c: Likewise.
40331         * libio/iogets.c: Likewise.
40332         * libio/iogetwline.c: Likewise.
40333         * libio/iopadn.c: Likewise.
40334         * libio/iopopen.c: Likewise.
40335         * libio/ioseekoff.c: Likewise.
40336         * libio/ioseekpos.c: Likewise.
40337         * libio/iosetbuffer.c: Likewise.
40338         * libio/iosetvbuf.c: Likewise.
40339         * libio/ioungetc.c: Likewise.
40340         * libio/ioungetwc.c: Likewise.
40341         * libio/iovdprintf.c: Likewise.
40342         * libio/iovsprintf.c: Likewise.
40343         * libio/iovsscanf.c: Likewise.
40344         * libio/memstream.c: Likewise.
40345         * libio/obprintf.c: Likewise.
40346         * libio/oldfileops.c: Likewise.
40347         * libio/oldiofclose.c: Likewise.
40348         * libio/oldiofdopen.c: Likewise.
40349         * libio/oldiofopen.c: Likewise.
40350         * libio/oldiopopen.c: Likewise.
40351         * libio/oldstdfiles.c: Likewise.
40352         * libio/putc.c: Likewise.
40353         * libio/setbuf.c: Likewise.
40354         * libio/setlinebuf.c: Likewise.
40355         * libio/stdfiles.c: Likewise.
40356         * libio/strops.c: Likewise.
40357         * libio/vasprintf.c: Likewise.
40358         * libio/vscanf.c: Likewise.
40359         * libio/vsnprintf.c: Likewise.
40360         * libio/vswprintf.c: Likewise.
40361         * libio/wfiledoalloc.c: Likewise.
40362         * libio/wfileops.c: Likewise.
40363         * libio/wgenops.c: Likewise.
40364         * libio/wmemstream.c: Likewise.
40365         * libio/wstrops.c: Likewise.
40366         * libio/__fpurge.c: Likewise.
40367         * libio/__fsetlocking.c: Likewise.
40368         * assert/assert.c: Likewise.
40369         * debug/fgets_chk.c: Likewise.
40370         * debug/fgets_u_chk.c: Likewise.
40371         * debug/fread_chk.c: Likewise.
40372         * debug/fread_u_chk.c: Likewise.
40373         * debug/gets_chk.c: Likewise.
40374         * debug/obprintf_chk.c: Likewise.
40375         * debug/vasprintf_chk.c: Likewise.
40376         * debug/vdprintf_chk.c: Likewise.
40377         * debug/vsnprintf_chk.c: Likewise.
40378         * debug/vsprintf_chk.c: Likewise.
40379         * malloc/mtrace.c: Likewise.
40380         * misc/error.c: Likewise.
40381         * misc/syslog.c: Likewise.
40382         * stdio-common/asprintf.c: Likewise.
40383         * stdio-common/fxprintf.c: Likewise.
40384         * stdio-common/getw.c: Likewise.
40385         * stdio-common/isoc99_fscanf.c: Likewise.
40386         * stdio-common/isoc99_scanf.c: Likewise.
40387         * stdio-common/isoc99_vfscanf.c: Likewise.
40388         * stdio-common/isoc99_vscanf.c: Likewise.
40389         * stdio-common/isoc99_vsscanf.c: Likewise.
40390         * stdio-common/printf-prs.c: Likewise.
40391         * stdio-common/printf_fp.c: Likewise.
40392         * stdio-common/printf_fphex.c: Likewise.
40393         * stdio-common/printf_size.c: Likewise.
40394         * stdio-common/putw.c: Likewise.
40395         * stdio-common/scanf.c: Likewise.
40396         * stdio-common/sprintf.c: Likewise.
40397         * stdio-common/tmpfile.c: Likewise.
40398         * stdio-common/vfprintf.c: Likewise.
40399         * stdio-common/vfscanf.c: Likewise.
40400         * stdlib/strfmon_l.c: Likewise.
40401         * sunrpc/openchild.c: Likewise.
40402         * sunrpc/xdr_stdio.c: Likewise.
40403         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40404         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40405
40406 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40407
40408         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40409
40410         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40411         in the third column, to generate for the shared library an IFUNC
40412         that uses _dl_vdso_vsym.
40413         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40414         * Makeconfig (object-suffixes-noshared): New variable.
40415
40416         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40417         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40418         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40419         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40420
40421         [BZ #14132]
40422         * include/sys/time.h (__gettimeofday): Remove macro.
40423         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40424         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40425         Remove INTDEF.
40426         (__gettimeofday): Add libc_hidden_def.
40427         (gettimeofday): Add libc_hidden_weak.
40428         * sysdeps/mach/gettimeofday.c: Likewise.
40429         * sysdeps/posix/gettimeofday.c: Likewise.
40430         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40431         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40432         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40433         (__gettimeofday_internal): Remove strong_alias.
40434         (__gettimeofday): Add libc_hidden_def.
40435         (gettimeofday): Add libc_hidden_weak.
40436         * sysdeps/unix/syscalls.list (gettimeofday):
40437         Remove __gettimeofday_internal alias.
40438
40439 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40440             H.J. Lu  <hongjiu.lu@intel.com>
40441
40442         [BZ #12495]
40443         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40444         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40445         (largebin_index_32_big): New.
40446         (largebin_index): Use it for 16-byte alignment.
40447         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40448         correction with front_misalign.
40449
40450 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40451
40452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40454         Likewise.
40455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40456         Likewise.
40457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40458         Likewise.
40459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40460         Likewise.
40461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40462         Likewise.
40463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40464         Likewise.
40465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40466         Likewise.
40467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40468         Likewise.
40469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40470         Likewise.
40471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40472         Likewise.
40473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40474         Likewise.
40475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40476         Likewise.
40477
40478         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40479         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40480
40481 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40482
40483         [BZ #10846]
40484         [BZ #14036]
40485         * math/libm-test.inc (exp_test): Add test from bug 14036.
40486         (pow_test): Add test from bug 10846.
40487
40488         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40489         and other flags.
40490         (special_function): Do not include flags in test name.
40491         (parse_args): Likewise.
40492         * sysdeps/i386/fpu/libm-test-ulps: Update.
40493         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40494         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40495         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497
40498         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40499         exceptions.
40500         * math/libm-test.inc ("Philosophy"): Update comment about
40501         exception testing.
40502         (UNDERFLOW_EXCEPTION): New macro.
40503         (UNDERFLOW_EXCEPTION_OK): Likewise.
40504         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40505         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40506         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40507         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40508         (INVALID_EXCEPTION_OK): Update value.
40509         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40510         (OVERFLOW_EXCEPTION_OK): Likewise.
40511         (IGNORE_ZERO_INF_SIGN): Likewise.
40512         (test_exceptions): Handle underflow exceptions.
40513         (acos_test): Update for underflow exception expectations.
40514         (cexp_test): Likewise.
40515         (clog_test): Likewise.
40516         (clog10_test): Likewise.
40517         (csqrt_test): Likewise.
40518         (ctan_test): Likewise.
40519         (ctanh_test): Likewise.
40520         (exp_test): Likewise.
40521         (exp10_test): Likewise.
40522         (exp2_test): Likewise.
40523         (expm1_test): Likewise.
40524         (fma_test): Likewise.
40525         (j0_test): Likewise.
40526         (jn_test): Likewise.
40527         (nexttoward_test): Likewise.
40528         (pow_test): Likewise.
40529         (scalbn_test): Likewise.
40530         (scalbln_test): Likewise.
40531         (tan_test): Likewise.
40532         (y1_test): Likewise.
40533         * sysdeps/i386/fpu/libm-test-ulps: Update.
40534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40535
40536 2012-05-23  David S. Miller  <davem@davemloft.net>
40537
40538         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40539         (__libc_sigaction): Remove unused local variables.
40540
40541 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40542
40543         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40544
40545 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40546
40547         mktime: avoid signed integer overflow
40548         * time/mktime.c (__mktime_internal): Do not mishandle the case
40549         where diff == INT_MIN.
40550
40551         mktime: simplify computation of average
40552         * time/mktime.c (ranged_convert): Use new time_t_avg function
40553         instead of rolling our own (probably-slower) code.
40554
40555         mktime: do not assume signed right shift propagates sign bit
40556         * time/mktime.c (isdst_differ): New static function.
40557         (__mktime_internal): No need to normalize tm_isdst now.
40558         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40559         tm_isdst values.
40560
40561         mktime: merge another wrapv change from gnulib
40562         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40563         from some compilers.
40564
40565         mktime: remove incorrect attempt at unusual arithmetics
40566         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40567         The code didn't really work on such machines anyway.
40568         (TYPE_MINIMUM): Assume two's complement.
40569         (twos_complement_arithmetic): Verify that long_int and time_t
40570         are two's complement (or unsigned, in the latter case).
40571
40572         mktime: check signed shifts on long_int and time_t, too
40573         * time/mktime.c (SHR): Check that shifts work as desired
40574         on the types long_int and time_t too, as SHR is used on
40575         such types.
40576
40577         mktime: do not assume 'long' is wide enough
40578         * time/mktime.c (verify): Move decl up.
40579         (long_int): New type.
40580         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40581         to remove assumption in the code that 'long' is wide enough to
40582         store year values.  This assumption is not true on x32 and on
40583         some non-glibc platforms.
40584
40585         mktime: merge wrapv change from gnulib
40586         * time/mktime.c (WRAPV): New macro.
40587         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40588         (guess_time_tm, __mktime_internal): Do not assume that signed
40589         integer overflow wraps around; modern compilers generate code
40590         where this assumption is no longer valid.
40591
40592 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40593
40594         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40595         Replace "jmp L(pseudo_end)" with "ret".
40596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40597         Likewise.
40598
40599 2012-05-23  Andreas Jaeger  <aj@suse.de>
40600
40601         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40602         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40603
40604 2012-05-23  Andreas Jaeger  <aj@suse.de>
40605             Maximilian Attems  <max@stro.at>
40606
40607         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40608         New macros.
40609
40610 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40611
40612         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40613         code so that pseudo_end is just ret and the stack pointer is
40614         correct also for static library in error case.
40615
40616 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40617
40618         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40619         move to syscalls.list.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40624
40625         * manual/install.texi (Running make install): Do not mention Linux
40626         kernel version for which pt_chown is not needed.
40627         (Linux): Do not mention problems with nscd with 2.0 kernels.
40628         * INSTALL: Regenerated.
40629
40630 2012-05-23  Andreas Jaeger  <aj@suse.de>
40631
40632         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40633         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40634         macro.
40635         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40636         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40637         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40638         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40639         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40640         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40641         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40642         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40643         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40644         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40645         * sysdeps/unix/sysv/linux/bits/in.h
40646         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40647
40648 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40649
40650         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40651         (PREPARE_VERSION): Just use assert instead, it will be elided
40652         under [NDEBUG] anyway.
40653
40654 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40655
40656         * sysdeps/unix/sysv/linux/Makefile: Include
40657         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40658         (sysdep_routines): Remove sysctl.
40659         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40660         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40661         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40662         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40663         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40664
40665 2012-05-22  Andreas Jaeger  <aj@suse.de>
40666
40667         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40668         that pseudo_end is just ret and the stack pointer is correct also
40669         for static library in error case.
40670
40671 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40672
40673         [BZ #14122]
40674         * nss/nsswitch.c (defconfig_entries): New variable.
40675         (__nss_database_lookup): Don't leak defconfig entries.
40676         (nss_parse_service_list): Don't leak on error paths.
40677         (free_database_entries): New function.
40678         (free_defconfig): New function.
40679         (free_mem): Move common code to free_database_entries.
40680
40681 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40682
40683         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40684         Add arch_prctl.
40685         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40686
40687         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40688         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40690         New macro.
40691         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40692         (INTERNAL_SYSCALL_TYPES): Likewise.
40693         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40694         (LOAD_REGS_TYPES_[1-6]): Likewise.
40695         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40696         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40697
40698 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40699
40700         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40701         copysignl for GLIBC_2_0.
40702         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40703         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40705         logbl for GLIBC_2_0.
40706         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40707         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40708
40709 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40710
40711         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40712         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40713
40714         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40715         Use "neg %eax".
40716
40717         * time/mktime.c: Update copyright years.
40718
40719 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40720
40721         mktime: merge comment-quoting-style change from gnulib
40722         * time/mktime.c: Quote 'like this' in comments.
40723         The GNU coding standards suggest that we no longer quote `like this',
40724         as "`" and "'" are typically rendered asymmetrically nowadays.
40725         The typical gnulib style is to quote 'like this' when quoting
40726         code, and "like this" when quoting English.
40727
40728         * time/mktime.c (compile-command): Add "-I.".
40729
40730         mktime: merge mktime-internal.h change from gnulib
40731         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40732
40733         mktime: merge time_r change from gnulib
40734         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40735
40736         mktime: merge DEBUG change from gnulib
40737         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40738         case system <time.h> has a #define.
40739
40740         mktime: merge <sys/types.h> change from gnulib
40741         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40742         since <time.t> is now guaranteed to define time_t.
40743
40744         mktime: merge HAVE_CONFIG_H change from gnulib
40745         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40746
40747 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40748
40749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40750         Use "neg %eax".
40751
40752         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40753         __rlim_t cast.
40754         (struct rusage): Use anonymous union to pad each field to
40755         __syscall_slong_t.
40756
40757 2012-05-21  David S. Miller  <davem@davemloft.net>
40758
40759         * Makefules (o-iterator): Remove .s cases.
40760         (compile-command.s): Delete.
40761         (COMPILE.s): Delete.
40762         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40763
40764 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40765
40766         * configure.in (libc_cv_predef_stack_protector): Only consider
40767         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40768         * configure: Regenerated.
40769
40770 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40771
40772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40773         New macro.  Use R*LP on int and pointer.
40774         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40775         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40776         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40777         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40778
40779         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40780         [__WORDSIZE_TIME64_COMPAT32] instead of
40781         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40782         (struct utmp): Likewise.
40783         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40784         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40785         Renamed to ...
40786         (__WORDSIZE_TIME64_COMPAT32): This.
40787         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40788         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40789         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40790         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40791         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40792         (__WORDSIZE_TIME64_COMPAT32): New macro.
40793
40794 2012-05-21  Andreas Jaeger  <aj@suse.de>
40795
40796         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40797         only if [SHARED]. Add prototype for __wcschr_ia32.
40798
40799 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40800
40801         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40802         of %rbp unmolested in the jmp_buf while mangling the low bits.
40803         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40804         unmolested high bits of %rbp while demangling the low bits.
40805         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40806
40807 2012-05-21  Andreas Jaeger  <aj@suse.de>
40808
40809         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40810         * sunrpc/svc_simple.c: Use it for registerrpc.
40811         * sunrpc/xcrypt.c: Use it for passwd2des.
40812
40813         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40814
40815 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40816
40817         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40818         Don't define if [__SYSCALL_WORDSIZE != 32].
40819         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40820         New macro.
40821
40822 2012-05-21  Bruno Haible  <bruno@clisp.org>
40823             Andreas Jaeger  <aj@suse.de>
40824
40825         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40826         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40827         inptr and inend for must_buffer_ch.
40828         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40829         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40830         * stdio-common/Makefile (tests): Remove bug15.
40831         (bug15-ENV): Remove macro.
40832         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40833         anymore.
40834
40835 2012-05-19  Andreas Jaeger  <aj@suse.de>
40836             Roland McGrath  <roland@hack.frob.com>
40837
40838         * manual/contrib.texi: Completely rewritten. It contains now an
40839         alphabetical list of contributors and their contributions.
40840
40841 2012-05-21  Richard Henderson  <rth@twiddle.net>
40842
40843         * misc/getauxval.c (__getauxval): Use unsigned long int.
40844         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40845         (getauxval): Use unsigned long int.
40846
40847 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40848
40849         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40850
40851 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40852
40853         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40854         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40855         __alignof__ (long double).
40856
40857 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40858
40859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40860
40861 2012-05-20  Richard Henderson  <rth@twiddle.net>
40862
40863         * misc/getauxval.c: New file.
40864         * misc/sys/auxv.h: New file.
40865         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40866         (routines): Add getauxval.
40867         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40868         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40869         * elf/dl-sysdep.c (_dl_auxv): Remove.
40870         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40871         * elf/dl-support.c (_dl_auxv): New variable.
40872         (_dl_aux_init): Initialize it.
40873         * manual/startup.texi (Auxiliary Vector): New node.
40874         * sysdeps/generic/bits/hwcap.h: New file.
40875         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40876         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40877         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40878         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40879         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40882         Update.
40883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40886         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40891
40892 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40893
40894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40895
40896 2012-05-19  David S. Miller  <davem@davemloft.net>
40897
40898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40899
40900 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40901
40902         [BZ #14123]
40903         * math/s_ccosh.c: Include <float.h>
40904         (__ccosh): Avoid internal overflow calculating sinh and cosh
40905         values before multiplying by sin and cos values.
40906         * math/s_ccoshf.c: Likewise.
40907         * math/s_ccoshl.c: Likewise.
40908         * math/s_csin.c: Likewise.
40909         * math/s_csinf.c: Likewise.
40910         * math/s_csinl.c: Likewise.
40911         * math/s_csinh.c: Likewise.
40912         * math/s_csinhf.c: Likewise.
40913         * math/s_csinhl.c: Likewise.
40914         * math/libm-test.inc (ccos_test): Add more tests.
40915         (ccosh_test): Likewise.
40916         (csin_test): Likewise.
40917         (csinh_test): Likewise.
40918         * sysdeps/i386/fpu/libm-test-ulps: Update.
40919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40920
40921 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40922
40923         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40924         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40925
40926         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40927
40928 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40929
40930         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40931         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40932         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40933         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40934         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40935         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40936         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40937         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40938         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40939         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40940         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40941         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40942         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40943         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40944         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40945         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40946         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40947         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40948         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40949         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40950         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40951         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40952         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40953         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40954         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40955         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40956         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40957         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40958         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40959         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40960         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40961
40962 2012-05-18  Andreas Jaeger  <aj@suse.de>
40963
40964         * csu/.gitignore: Delete.
40965
40966 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40967
40968         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40969         (timex): Use __syscall_slong_t.
40970
40971 2012-05-18  Andreas Jaeger  <aj@suse.de>
40972             Carlos O'Donell  <carlos_odonell@mentor.com>
40973
40974         * manual/install.texi (Configuring and compiling): Update
40975         description about files modified in the source directory.
40976         * INSTALL: Regenerated.
40977
40978 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40979
40980         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40981         value.  Use "or" to set return value to -1.
40982         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40983         negate return value.
40984
40985 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40986
40987         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40988         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40989         failure if the compiler has Graphite support disabled.
40990         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40991         Likewise.
40992         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40993         (CFLAGS-memmove.c): Likewise.
40994         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40995         Likewise.
40996
40997 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40998
40999         * sysdeps/x86_64/x32/_itoa.h: New file.
41000
41001         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41002         getdents system call only if kernel and user dirents have the
41003         same d_ino and d_off.
41004
41005         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41006         LLONG_MAX != LONG_MAX.
41007         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41008         (_fitoa_word): Likewise.
41009
41010         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41011         years.
41012         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41013         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41014         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41015
41016         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41017         include <bits/wordsize.h>.  Check __x86_64__ instead of
41018         __WORDSIZE.
41019         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41020         if __x86_64__ is defined.  Use anonymous union on fpstate.
41021
41022         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41023         anonymous union.
41024
41025 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41026
41027         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41028         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41029         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41030         Refer to _rtld_local_ro instead of _rtld_global_ro.
41031         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41032         Likewise.
41033         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41034         Likewise.
41035         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41036         Likewise.
41037         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41038         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41039         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41040
41041         * sysdeps/powerpc/powerpc32/dl-machine.c
41042         (__elf_machine_runtime_setup) [PROF]: Don't reference
41043         _dl_prof_resolve.
41044
41045 2012-05-18  Andreas Jaeger  <aj@suse.de>
41046
41047         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41048         function only available for GCCs before 3.4 since GCC 3.4
41049         introduced a builtin.
41050         (lrint): Likewise.
41051         (llrintf): Likewise.
41052         (llrint): Likewise.
41053         (fmaxf): Likewise.
41054         (fmax): Likewise.
41055         (fminf): Likewise.
41056         (fmin): Likewise.
41057         (rint): Likewise.
41058         (rintf): Likewise.
41059         (nearbyint): Likewise.
41060         (nearbyintf): Likewise.
41061         (ceil): Likewise.
41062         (ceilf): Likewise.
41063         (floor): Likewise.
41064         (floorf): Likewise.
41065
41066 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41067
41068         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41069         on both fields and cast pointer to __syscall_ulong_t.
41070
41071         * bits/types.h (__fsword_t): New type.
41072         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41073         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41075         (__FSWORD_T_TYPE): Likewise.
41076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41077         (__FSWORD_T_TYPE): Likewise.
41078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41079         (__FSWORD_T_TYPE): Likewise.
41080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41081         (__FSWORD_T_TYPE): Likewise.
41082         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41083         __SWORD_TYPE with __fsword_t.
41084         (statfs64): Likewise.
41085
41086 2012-05-17  David S. Miller  <davem@davemloft.net>
41087
41088         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41089
41090 2012-05-17  Andreas Jaeger  <aj@suse.de>
41091
41092         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41093         warning.
41094
41095 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41096
41097         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41098
41099 2012-05-17  Andreas Jaeger  <aj@suse.de>
41100
41101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41102         when it is used.
41103
41104 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41105
41106         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41107
41108 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41109
41110         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41111         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41112
41113 2012-05-17  Andreas Jaeger  <aj@suse.de>
41114             Carlos O'Donell  <carlos_odonell@mentor.com>
41115
41116         [BZ #14059]
41117         * sysdeps/x86_64/multiarch/init-arch.h
41118         (bit_YMM_Usable): Rename to...
41119         (bit_AVX_Usable): ... this.
41120         (bit_FMA4_Usable): New macro.
41121         (bit_XMM_state): New macro.
41122         (bit_YMM_state): New macro.
41123         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41124         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41125         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41126         (CPUID_OSXSAVE): New macro.
41127         (CPUID_AVX): New macro.
41128         (CPUID_FMA4): New macro.
41129         (index_YMM_Usable): Rename to...
41130         (index_AVX_Usable): ... this.
41131         (HAS_AVX): Use HAS_ARCH_FEATURE.
41132         (HAS_FMA4): Likewise.
41133         (HAS_YMM_USABLE): Remove.
41134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41135         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41136         are present.
41137         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41138         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41139         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41140         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41141         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41142
41143 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41144
41145         * math/libm-test.c: Support platforms without multiple rounding modes.
41146         * math/bug-nextafter.c: Support platforms without FP exceptions.
41147         * math/bug-nexttoward.c: Likewise.
41148         * math/test-fenv.c: Likewise.
41149         * math/test-misc.c: Likewise.
41150         * stdlib/bug-getcontext.c: Likewise.
41151
41152 2012-05-17  Andreas Jaeger  <aj@suse.de>
41153
41154         * manual/examples/search.c (critter_cmp): Change signature to
41155         avoid warnings.
41156         * manual/string.texi (Collation Functions): Likewise.
41157
41158 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41159
41160         * bits/types.h: Fold copyright years.
41161         * bits/typesizes.h: Likewise.
41162         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41163         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41166         * time/time.h: Likewise.
41167
41168 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41169
41170         [BZ #208]
41171         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41172         in instead of returning them.  Return void.
41173         (__libc_mallinfo): Accumulate over all arenas.
41174         (__malloc_stats): Adjust for change in int_mallinfo interface.
41175
41176 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41177
41178         [BZ #10375]
41179         * configure.in (NM): Add AC_CHECK_TOOL for it.
41180         (libc_extra_cflags): New substituted variable.
41181         Check for -fstack-protector being used implicitly.
41182         * configure: Regenerated.
41183         * config.make.in (config-extra-cflags): New variable,
41184         gets @libc_extra_cflags@.
41185         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41186
41187         [BZ #10375]
41188         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41189         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41190         * configure: Regenerated.
41191         * config.make.in (CPPUNDEFS): New substituted variable.
41192         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41193         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41194         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41195
41196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41197
41198         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41199         (mq_attr): Use __syscall_slong_t.
41200
41201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41202
41203         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41204         Check __x86_64__ instead of __WORDSIZE.
41205         (_STAT_VER_LINUX): Likewise.
41206         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41207         __syscall_ulong_t and __syscall_slong_t.
41208         (stat64): Likewise.
41209
41210 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41211
41212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41213
41214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41215
41216         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41217
41218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41219
41220         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41221         __syscall_ulong_t.
41222
41223         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41224         include <bits/wordsize.h>.  Check __x86_64__ instead of
41225         __WORDSIZE.
41226         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41227         defined.
41228         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41229
41230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41231         include <bits/wordsize.h>.  Check __x86_64__ instead of
41232         __WORDSIZE.
41233         (user_regs_struct): Use "__extension__ unsigned long long"
41234         instead of "unsigned long" if __x86_64__ is defined.
41235         (user): Likewise.  Pad after pointer field if __ILP32__ is
41236         defined.
41237
41238 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41239
41240         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41241         versions 5 to 9.
41242         * configure: Regenerated.
41243         * manual/install.texi (texinfo): Increase version requirement to
41244         4.5 or later.
41245         * INSTALL: Regenerated.
41246
41247         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41248
41249 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41250
41251         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41252
41253         * sysdeps/x86_64/x32/ffs.c: New file.
41254
41255         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41256         __syscall_ulong_t.
41257         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41258         defined.  Use __syscall_ulong_t.
41259         (shminfo): Use __syscall_ulong_t.
41260         (shm_info): Likewise.
41261
41262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41263         __syscall_ulong_t.
41264
41265         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41266         <bits/wordsize.h>.
41267         (msgqnum_t): Use __syscall_ulong_t.
41268         (msglen_t): Likewise.
41269         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41270         __syscall_ulong_t.
41271
41272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41273         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41274
41275         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41276
41277         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41278         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41279
41280         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41281         __syscall_slong_t.
41282
41283         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41284         include <bits/wordsize.h>.  Check __x86_64__ instead of
41285         __WORDSIZE.
41286
41287         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41288         "unsigned long long int" if __x86_64__ is defined.
41289         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41290
41291         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41292         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41293         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41294
41295         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41296         <stdint.h>.
41297         (GET_PC): Cast to uintptr_t first.
41298         (GET_FRAME): Likewise.
41299         (GET_STACK): Likewise.
41300
41301         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41302         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41303         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41304         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41305         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41306         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41307         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41308         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41309         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41311         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41312         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41313         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41314         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41315         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41316         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41317         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41318         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41319         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41320         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41321         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41322         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41323         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41324         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41325         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41326         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41327         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41328         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41329         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41330
41331 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41332
41333         * Makerules (+depfiles): Also collect depfiles from .oS in
41334         $(extra-objs).
41335         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41336         .oS, $(libnldbl-routines)).
41337
41338         * Makerules (native-compile-mkdep-flags): Define.
41339         * sunrpc/Makefile (extra-objs): Add $(addprefix
41340         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41341         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41342         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41343         calling $(make-target-directory).
41344
41345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41346
41347         * bits/types.h (__snseconds_t): Removed.
41348         * time/time.h (struct timespec): Replace __snseconds_t with
41349         __syscall_slong_t.
41350         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41351         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41352         Likewise.
41353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41354         (__SNSECONDS_T_TYPE): Likewise.
41355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41356         (__SNSECONDS_T_TYPE): Likewise.
41357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41358         (__SNSECONDS_T_TYPE): Likewise.
41359
41360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41361
41362         * sysdeps/mach/hurd/bits/typesizes.h
41363         (__SYSCALL_SLONG_TYPE): New macro.
41364         (__SYSCALL_ULONG_TYPE): Likewise.
41365
41366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41367
41368         * bits/types.h (__syscall_slong_t): New type.
41369         (__syscall_ulong_t): Likewise.
41370
41371         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41372         (__SYSCALL_ULONG_TYPE): Likewise.
41373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41374         (__SYSCALL_SLONG_TYPE): Likewise.
41375         (__SYSCALL_ULONG_TYPE): Likewise.
41376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41377         (__SYSCALL_SLONG_TYPE): Likewise.
41378         (__SYSCALL_ULONG_TYPE): Likewise.
41379         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41380         (__SYSCALL_SLONG_TYPE): Likewise.
41381         (__SYSCALL_ULONG_TYPE): Likewise.
41382
41383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41384
41385         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41386         Add sigaltstack-offsets.sym.
41387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41388         <sigaltstack-offsets.h>.
41389         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41390         longjmp_msg pointer.
41391         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41392         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41393         signal stack.
41394         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41395
41396 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41397
41398         * elf/stackguard-macros.h: Remove file.
41399         * sysdeps/generic/stackguard-macros.h: New file.
41400         * sysdeps/i386/stackguard-macros.h: Likewise.
41401         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41402         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41403         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41404         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41405         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41406         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41407         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41408         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41409         <elf/stackguard-macros.h>.
41410
41411         [BZ #14109]
41412         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41413         __aligned__ in attribute.
41414         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41415         (gregset_t): Likewise.
41416
41417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41418
41419         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41420         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41421         * sysdeps/x86_64/x32/Implies-after: New file.
41422
41423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41424
41425         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41426         and access return value for _dl_profile_fixup.  Use R10_LP to
41427         load frame size.
41428
41429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41430
41431         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41432
41433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41434
41435         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41436         * sysdeps/x86_64/x32/sysdep.h: New file.
41437
41438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41439
41440         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41441         * sysdeps/x86_64/setjmp.S: Likewise.
41442
41443 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41444
41445         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41446         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41447         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41448         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41449         remove unused global constant.
41450
41451 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41452
41453         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41454         include of <not-cancel.h>.
41455
41456 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41457
41458         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41459
41460 2012-05-15  Jeff Law  <law@redhat.com>
41461             Andreas Jaeger  <aj@suse.de>
41462
41463         [BZ #13594]
41464         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41465         out from...
41466         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41467         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41468         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41469         code changing __hst_map_handle.map.
41470
41471 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41472
41473         * configure.in (sysnames): Look for Implies-before and Implies-after
41474         files.
41475         * configure: Regenerated.
41476
41477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41478
41479         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41480         8-byte data alignment with LP_SIZE alignment.
41481
41482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41483
41484         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41485         into R10_LP.
41486
41487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41488
41489         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41490
41491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41492
41493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41494         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41496         Likewise.
41497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41498
41499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41500
41501         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41502         (stackinfo_sub_sp): Likewise.
41503
41504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41505
41506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41507         RAX_LP.
41508
41509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41510
41511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41512         into R*_LP.
41513
41514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41515
41516         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41517         sizes into R*_LP.
41518
41519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41520
41521         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41522
41523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41524
41525         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41526         into R11_LP and load __x86_64_shared_cache_size_half into
41527         R8_LP.
41528
41529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41530
41531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41532         R8_LP.
41533
41534 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41535
41536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41537         logb for POWER7.
41538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41539         logbf for POWER7.
41540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41541         logbl for POWER7.
41542         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41543         powerpc32/power7/fpu/s_logb.c via #include.
41544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41545         powerpc32/power7/fpu/s_logbf.c via #include.
41546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41547         powerpc32/power7/fpu/s_logbl.c via #include.
41548
41549 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41550
41551         * README.libm: Remove file.
41552
41553 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41554
41555         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41556         count for x32.  Use R*_LP and omit operand-size suffix.
41557
41558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41559
41560         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41561         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41562         * sysdeps/x86_64/x32/shlib-versions: New file.
41563
41564 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41565
41566         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41567         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41568         Use _dl_fatal_printf instead.
41569
41570 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41571
41572         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41573         set if not set by the user.  Do not allow for being unset.
41574         * sysdeps/unix/sysv/linux/configure: Regenerated.
41575
41576 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41577
41578         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41579         the `q' suffix from lea and replace .quad with ASM_ADDR.
41580
41581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41582
41583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41584         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41585         instead of $17.
41586         (PTR_DEMANGLE): Likewise.
41587
41588 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41589
41590         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41591         (LP_OP): Likewise.
41592         (ASM_ADDR): Likewise.
41593         (RAX_LP): Likewise.
41594         (RBP_LP): Likewise.
41595         (RBX_LP): Likewise.
41596         (RCX_LP): Likewise.
41597         (RDI_LP): Likewise.
41598         (RSI_LP): Likewise.
41599         (RSP_LP): Likewise.
41600         (R8_LP): Likewise.
41601         (R9_LP): Likewise.
41602         (R10_LP): Likewise.
41603         (R10_LP): Likewise.
41604         (R11_LP): Likewise.
41605         (R12_LP): Likewise.
41606         (R13_LP): Likewise.
41607         (R14_LP): Likewise.
41608         (R15_LP): Likewise.
41609
41610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41611
41612         * sysdeps/x86_64/x32/dl-machine.h: New file.
41613
41614 2012-05-14  Andreas Jaeger  <aj@suse.de>
41615
41616         * manual/Makefile (subdir): Remove export of subdir.
41617         (all): Remove target.
41618         (.PHONY): Remove all from list.
41619         (mkinstalldirs): Remove.
41620         (.PHONY): Remove installdirs from list.
41621         ($(inst_infodir)/libc.info): Use make-target-directory.
41622         (installdirs): Remove.
41623         (subdir_%): Remove.
41624         (glibc-targets): Remove.
41625         (lib): Remove.
41626         (stubs): Remove.
41627         ($(objpfx)stubs ../po/manual.pot): Remove.
41628         ($(objpfx)stamp%): Remove.
41629         (make-target-directory): Remove.
41630         (subdir_install): Remove.
41631         (routines): Remove.
41632         (aux): Remove.
41633         (sources): Remove.
41634         (objects): Remove.
41635         (headers): Remove.
41636
41637         [BZ #13750]
41638         * manual/.gitignore: Remove, it's not needed anymore.
41639         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41640         all files in it.
41641         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41642         directory.
41643         (texis): Renamed to $(objpfx)texis.
41644         (texis-path): New, contains path to generated files.
41645         (chapters.%): Use texis-path for complete path, add extra argument
41646         libc-texinfo.sh.
41647         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41648         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41649         (summary,texi, stamp-summary): Use complete path of
41650         files. Generate files in build dir.
41651         (dir-add.texi): Build in build dir.
41652         (libm-err.texi,stamp-libm-err): Likewise.
41653         (version.texi, stamp-version): Likewise.
41654         (.%c.texi): Likewise.
41655         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41656         (mostlyclean): Remove target.
41657         (realclean): Remove target.
41658         (generated): Add new variable with contents from mostlyclean and
41659         realclean, remove entries duplicated in common-mostlyclean, add
41660         stamp-libm-err and stamp-version.
41661         (generated-dirs): Add libc directory.
41662         ($(inst_infodir)/libc.info): Install files from build dir.
41663
41664         * manual/install.texi (Configuring and compiling): Adjust since
41665         the info files are not part of the tar ball anymore.
41666
41667 2012-05-14  Andreas Jaeger  <aj@suse.de>
41668
41669         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41670         variable.
41671
41672 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41673
41674         [BZ #13717]
41675         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41676         to 2.2.0 where earlier.
41677         * sysdeps/unix/sysv/linux/configure: Regenerated.
41678         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41679         Remove conditional code.
41680         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41681         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41682         Remove conditional code.
41683         [!__NR_lchown]: Likewise.
41684         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41685         [__NR_lchown]: Likewise.
41686         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41687         comment referencing __ASSUME_LCHOWN_SYSCALL.
41688         * sysdeps/unix/sysv/linux/i386/sigaction.c
41689         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41690         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41691         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41692         Remove conditional code.
41693         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41694         (__protocol_available): Remove #if 0 code.
41695         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41696         conditional code.
41697         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41698         * sysdeps/unix/sysv/linux/kernel-features.h
41699         (__ASSUME_GETCWD_SYSCALL): Don't define.
41700         (__ASSUME_REALTIME_SIGNALS): Likewise.
41701         (__ASSUME_PREAD_SYSCALL): Likewise.
41702         (__ASSUME_PWRITE_SYSCALL): Likewise.
41703         (__ASSUME_POLL_SYSCALL): Likewise.
41704         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41705         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41706         non-SPARC.
41707         (__ASSUME_SIOCGIFNAME): Don't define.
41708         (__ASSUME_MSG_NOSIGNAL): Likewise.
41709         (__ASSUME_SENDFILE): Define unconditionally.
41710         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41711         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41712         conditional code.
41713         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41714         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41715         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41716         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41717         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41718         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41719         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41724         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41725         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41730         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41731         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41733         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41736         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41737         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41739         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41742         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41744         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41745         Remove conditional code.
41746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41747         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41748         Remove conditional code.
41749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41751         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41752         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41753         Remove conditional code.
41754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41755         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41756         Remove conditional code.
41757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41758         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41759         Remove conditional code.
41760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41761         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41762         Remove conditional code.
41763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41764         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41765         Remove conditional code.
41766         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41767         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41768         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41769         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41770         * sysdeps/unix/sysv/linux/sigaction.c
41771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41773         * sysdeps/unix/sysv/linux/sigpending.c
41774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41776         * sysdeps/unix/sysv/linux/sigprocmask.c
41777         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41778         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41779         * sysdeps/unix/sysv/linux/sigsuspend.c
41780         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41781         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41782         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41783         (__libc_missing_rt_sigs): Remove.
41784         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41785         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41786         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41787         Remove conditional code.
41788         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41789         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41790         return 1.
41791         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41792         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41793         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41794         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41795
41796 2012-05-14  Andreas Jaeger  <aj@suse.de>
41797
41798         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41799         it's not used in glibc.
41800         (__coshm1): Likewise.
41801         (__acosh1p): Likewise.
41802         (__sgn): Likewise.
41803
41804         * manual/string.texi (Copying and Concatenation): Add missing
41805         variable in concat example.
41806         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41807
41808 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41809
41810         [BZ #14103]
41811         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41812         __builtin_clzl with __builtin_clzll.
41813
41814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41815
41816         [BZ #14104]
41817         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41818         libc_freeres_ptr.
41819
41820 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41821
41822         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41823         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41824         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41825         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41826
41827 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41828
41829         * NEWS: Update ia64 info.
41830
41831 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41832
41833         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41834         used as bcopy.
41835
41836 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41837
41838         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41839         * sysdeps/unix/syscalls.list (dup3): Likewise.
41840         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41841         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41842
41843 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41844
41845         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41846         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41847
41848 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41849
41850         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41851         thread pointer.
41852         (TLS_IE): Use mov/add instead of movq/addq to load thread
41853         pointer.
41854         (TLS_GD_PREFIX): New.
41855         (TLS_GD): Use it.
41856
41857 2012-05-11  David S. Miller  <davem@davemloft.net>
41858
41859         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41860         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41861         (_FPU_SETCW): Likewise.
41862
41863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41864
41865         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41866         is 32-byte aligned.
41867
41868 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41869
41870         [BZ #11837]
41871         * iconvdata/gb18030.c: Update tables.
41872         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41873         characters specially.
41874         (BODY for TO_LOOP): Add encoding of missing ranges.
41875
41876 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41877
41878         [BZ #13673]
41879         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41880         * sysdeps/mach/hurd/dup3.c: Likewise.
41881         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41882         * sysdeps/powerpc/memmove.c:: Likewise.
41883
41884 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41885
41886         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41887         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41888
41889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41890
41891         * elf/elf.h (R_X86_64_RELATIVE64): New.
41892         (R_X86_64_NUM): Updated.
41893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41894         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41895         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41896         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41897         tst-quad1pie tst-quad2pie
41898         (modules-names): Add tst-quadmod1 tst-quadmod2.
41899         ($(objpfx)tst-quad1): New dependency.
41900         ($(objpfx)tst-quad2): Likewise.
41901         ($(objpfx)tst-quad1pie): Likewise.
41902         ($(objpfx)tst-quad2pie): Likewise.
41903         * sysdeps/x86_64/tst-quad1.c: New file.
41904         * sysdeps/x86_64/tst-quad1pie.c: New file.
41905         * sysdeps/x86_64/tst-quad2.c: Likewise.
41906         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41907         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41908         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41909         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41910         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41911
41912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41913
41914         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41915         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41916         * streams/stropts.h (t_scalar_t): Define type.
41917
41918         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41919         (_PATH_PRESERVE): Set to "/var/lib".
41920         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41921
41922         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41923         instead of int.
41924
41925         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41926         if __dir_mkfile succeeded.
41927
41928         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41929         checking for _hurd_dtablesize.  Unlock it right after having
41930         finished _hurd_dtable allocation.
41931
41932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41933
41934         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41935         * sysdeps/mach/hurd/configure: Regenerated.
41936         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41937         special-casing to...
41938         * sysdeps/gnu/configure.in: ... this new file.
41939         * sysdeps/unix/sysv/linux/configure: Regenerated.
41940         * sysdeps/gnu/configure: New generated file.
41941
41942         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41943         for Linux: use nsec instead of usec, as well as:
41944         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41945         members of type struct timespec.
41946         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41947         New macros.
41948         (struct stat64): Likewise.
41949         (_STATBUF_ST_NSEC): New macro.
41950         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41951
41952         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41953         __strtoul_internal rather than strtoul.
41954
41955 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41956
41957         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41958         and reject them.
41959
41960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41961
41962         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41963         which preserves existing values.
41964         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41965
41966 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41967
41968         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41969         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41970         greater than FD_SETSIZE.
41971
41972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41973
41974         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41975         allocated, call __vm_protect to finish enabling the existing space, and
41976         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41977         allocate the remainder.
41978
41979 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41980
41981         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41982         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41983
41984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41985
41986         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41987         sysdeps/mach/hurd/readlink.c.
41988
41989         * posix/tst-sysconf.c (posix_options): Only use
41990         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41991         _POSIX_SYNCHRONIZED_IO when they are defined
41992         * sysdeps/mach/hurd/bits/posix_opt.h:
41993         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41994         (_XOPEN_REALTIME): Undefine macro.
41995         (_XOPEN_REALTIME_THREADS): Undefine macro.
41996         (_XOPEN_SHM): Undefine macro.
41997         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41998         macro to -1.
41999         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42000         macro to -1.
42001         (_POSIX_ASYNC_IO): Undefine macro.
42002         (_POSIX_PRIORITIZED_IO): Undefine macro.
42003         (_POSIX_SPIN_LOCKS): Define macro to -1.
42004
42005         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42006         SA_NODEFER, SA_RESETHAND.
42007         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42008         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42009         F_DUPFD_CLOEXEC.
42010
42011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42012
42013         * elf/Makefile (pldd-modules): Define unconditionally.
42014
42015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42016
42017         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42018
42019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42020
42021         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42022         Return ENOENT when name is empty.
42023         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42024
42025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42026
42027         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42028
42029         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42030
42031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42032
42033         Fix mlock in all cases except non-readable pages.
42034         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42035         instead of VM_PROT_ALL as parameter to __vm_wire function.
42036
42037         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42038         (__mkdir): When path is `/', just fail with EEXIST.
42039         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42040
42041 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42042
42043         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42044         <sys/uio.h> (for writev).
42045         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42046         and <sys/param.h> (for MIN).
42047
42048 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42049
42050         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42051         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42052         if interrupted.
42053
42054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42055
42056         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42057         Depend on against $(link-rpcuserlibs).
42058
42059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42060
42061         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42062         (__libc_stack_end): Do not use attribute_relro.
42063         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42064         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42065         to libthread-provided value.
42066         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42067         attribute_relro.
42068
42069 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42070
42071         [BZ #3748]
42072         * bits/libc-lock.h (__libc_once_get): New macro.
42073         * sysdeps/mach/bits/libc-lock.h: Likewise.
42074         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42076         instead of using implementation details.
42077
42078         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42079         * libio/freopen.c: Likewise.
42080         * libio/freopen64.c: Likewise.
42081         * misc/syslog.c: Likewise.
42082         * nscd/connections.c: Likewise.
42083         * nscd/netgroupcache.c: Likewise.
42084         * sysdeps/posix/getcwd.c: Likewise.
42085
42086 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42087
42088         * math/w_ilogbf.c: Add #include <limits.h>.
42089
42090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42091
42092         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42093         path instead of returning without unlocking.
42094
42095         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42096         immediate-write ioctls.
42097         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42098
42099 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42100
42101         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42102         __builtin_frame_address instead of making assumptions about the
42103         location of the return address relative to DATA.  Force early load of
42104         the return address.
42105         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42106         __builtin_frame_address.
42107
42108         dup3 for GNU Hurd.
42109         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42110         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42111         implement dup3 and do some further code clean-ups.
42112         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42113         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42114
42115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42116
42117         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42118
42119         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42120         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42121         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42122         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42123         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42124         d->port.lock.
42125
42126         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42127         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42128         when handler == SIG_ERR, not when handler != SIG_ERR.
42129
42130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42131
42132         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42133         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42134         definitions.
42135
42136         accept4 for GNU Hurd.
42137         * include/sys/socket.h (__libc_accept4): New prototype.
42138         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42139         to implement __libc_accept4.
42140         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42141         __libc_accept4.
42142         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42143
42144         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42145         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42146         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42147         signal-defines.sym.
42148
42149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42150
42151         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42152
42153 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42154
42155         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42156         assertion on O_CLOEXEC flag.
42157         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42158         * hurd/intern-fd.c: Likewise.
42159         * hurd/port2fd.c: Likewise.
42160
42161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42162
42163         [BZ #3906]
42164         * bits/in.h (IPV6_PKTINFO): Define new macro.
42165         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42166
42167 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42168
42169         [BZ #13954]
42170         [BZ #13955]
42171         [BZ #13956]
42172         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42173         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42174         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42175         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42177         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42178         * math/libm-test.inc (logb_test) : Additional logb tests.
42179
42180 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42181             Andreas Jaeger  <aj@suse.de>
42182
42183         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42184         * configure: Regenerated.
42185         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42186         * config.make.in (link-obsolete-rpc): New substituted variable.
42187         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42188         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42189         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42190         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42191         so that libc.a contains the symbols.
42192         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42193         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42194         * sunrpc/auth_none.c: Likewise.
42195         * sunrpc/auth_unix.c: Likewise.
42196         * sunrpc/authdes_prot.c: Likewise.
42197         * sunrpc/authuxprot.c: Likewise.
42198         * sunrpc/clnt_gen.c: Likewise.
42199         * sunrpc/clnt_perr.c: Likewise.
42200         * sunrpc/clnt_raw.c: Likewise.
42201         * sunrpc/clnt_simp.c: Likewise.
42202         * sunrpc/clnt_tcp.c: Likewise.
42203         * sunrpc/clnt_udp.c: Likewise.
42204         * sunrpc/clnt_unix.c: Likewise.
42205         * sunrpc/des_crypt.c: Likewise.
42206         * sunrpc/des_soft.c: Likewise.
42207         * sunrpc/get_myaddr.c: Likewise.
42208         * sunrpc/key_call.c: Likewise.
42209         * sunrpc/key_prot.c: Likewise.
42210         * sunrpc/netname.c: Likewise.
42211         * sunrpc/pm_getmaps.c: Likewise.
42212         * sunrpc/pm_getport.c: Likewise.
42213         * sunrpc/pmap_clnt.c: Likewise.
42214         * sunrpc/pmap_prot.c: Likewise.
42215         * sunrpc/pmap_prot2.c: Likewise.
42216         * sunrpc/pmap_rmt.c: Likewise.
42217         * sunrpc/publickey.c: Likewise.
42218         * sunrpc/rpc_cmsg.c: Likewise.
42219         * sunrpc/rpc_common.c: Likewise.
42220         * sunrpc/rpc_dtable.c: Likewise.
42221         * sunrpc/rpc_prot.c: Likewise.
42222         * sunrpc/rpc_thread.c: Likewise.
42223         * sunrpc/rtime.c: Likewise.
42224         * sunrpc/svc.c: Likewise.
42225         * sunrpc/svc_auth.c: Likewise.
42226         * sunrpc/svc_raw.c: Likewise.
42227         * sunrpc/svc_run.c: Likewise.
42228         * sunrpc/svc_tcp.c: Likewise.
42229         * sunrpc/svc_udp.c: Likewise.
42230         * sunrpc/svc_unix.c: Likewise.
42231         * sunrpc/svcauth_des.c: Likewise.
42232         * sunrpc/xcrypt.c: Likewise.
42233         * sunrpc/xdr.c: Likewise.
42234         * sunrpc/xdr_array.c: Likewise.
42235         * sunrpc/xdr_float.c: Likewise.
42236         * sunrpc/xdr_intXX_t.c: Likewise.
42237         * sunrpc/xdr_mem.c: Likewise.
42238         * sunrpc/xdr_rec.c: Likewise.
42239         * sunrpc/xdr_ref.c: Likewise.
42240         * sunrpc/xdr_sizeof.c: Likewise.
42241         * sunrpc/xdr_stdio.c: Likewise.
42242
42243 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42244
42245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42246         change.  Update copyright years.
42247
42248 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42249
42250         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42251
42252 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42253             Joseph Myers  <joseph@codesourcery.com>
42254             Paul Pluzhnikov  <ppluzhnikov@google.com>
42255
42256         [BZ #14012]
42257         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42258         requiring rpcgen.
42259         [cross-compiling] (extra-libs): Likewise.
42260         [cross-compiling] (extra-libs-others): Likewise.
42261         [cross-compiling] (librpcsvc-routines): Likewise.
42262         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42263         [cross-compiling] (omit-deps): Likewise.
42264         (sunrpc-CPPFLAGS): New variable.
42265         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42266         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42267         (cross-rpcgen-objs): New variable.
42268         (extra-objs): Append $(cross-rpcgen-objs).
42269         ($(cross-rpcgen-objs)): New rule.
42270         ($(objpfx)cross-rpcgen): Likewise.
42271         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42272         comment.
42273         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42274         ($(objpfx)x%.stmp): Likewise.
42275         * sunrpc/proto.h [IS_IN_build] (_): Define.
42276         [IS_IN_build] (_libc_intl_domainname): Likewise.
42277
42278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42279
42280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42281         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42282         and R_X86_64_TPOFF64.
42283
42284 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42285
42286         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42287         sysdeps/unix/sysv/syscalls.list.
42288         (stime): Likewise.
42289         (utime): Likewise.
42290         * sysdeps/unix/sysv/syscalls.list: Remove file.
42291
42292 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42293
42294         [BZ #3440]
42295         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42296         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42297         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42298         (__LC_IDENTIFICATION): Make these macros useful in #if
42299         expressions, as required by C99.
42300
42301 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42302
42303         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42304         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42305         after this.
42306
42307 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42308
42309         * stdlib/longlong.h: Updated from GCC.
42310
42311 2012-05-09  Andreas Jaeger  <aj@suse.de>
42312
42313         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42314         default is first entry.
42315         (run_mode): Set type.
42316         (main): Remove informal message about syslog.
42317         (options): Fix typo.
42318
42319         [BZ #14053]
42320         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42321         to asm.
42322         (lrint): Likewise.
42323         (llrintf): Likewise.
42324         (llrint): Likewise.
42325         (rint): Likewise.
42326         (rintf): Likewise.
42327         (nearbyint): Likewise.
42328         (nearbyintf): Likewise.
42329
42330 2012-05-09  Andreas Jaeger  <aj@suse.de>
42331             Pedro Alves  <palves@redhat.com>
42332
42333         * nscd/nscd.c (run_mode): Use enum.
42334         (main): Cleanup coding style issue.
42335
42336 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42337             Andreas Jaeger  <aj@suse.de>
42338
42339         * nscd/nscd.c (go_background): Replaced with...
42340         (run_mode): ... this.
42341         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42342         (options): Add -F --foreground.
42343         (main): Implement it.
42344         (parse_opt): Parse it.
42345
42346 2012-05-09  Andreas Jaeger  <aj@suse.de>
42347
42348         [BZ #14083]
42349         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42350         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42351         -Wconversion warning.
42352         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42353         Likewise.
42354
42355 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42356
42357         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42358         == 0.
42359         (LC_ALL): Use macro-int-constant.
42360         (LC_COLLATE): Likewise.
42361         (LC_CTYPE): Likewise.
42362         (LC_MESSAGES): Likewise.
42363         (LC_MONETARY): Likewise.
42364         (LC_NUMERIC): Likewise.
42365         (LC_TIME): Likewise.
42366         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42367         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42369         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42370         Specify type.
42371         [C99-based standards] (float_t): Expect type.
42372         [C99-based standards] (double_t): Expect type.
42373         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42374         type.
42375         [C99-based standards] (HUGE_VALL): Likewise.
42376         [C99-based standards] (INFINITY): Likewise.
42377         [C99-based standards] (NAN): Likewise.
42378         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42379         [C99-based standards] (FP_NAN): Likewise.
42380         [C99-based standards] (FP_NORMAL): Likewise.
42381         [C99-based standards] (FP_SUBNORMAL): Likewise.
42382         [C99-based standards] (FP_ZERO): Likewise.
42383         [C99-based standards] (FP_FAST_FMA): Use
42384         optional-macro-int-constant.  Specify type.  Require == 1.
42385         [C99-based standards] (FP_FAST_FMAF): Likewise.
42386         [C99-based standards] (FP_FAST_FMAL): Likewise.
42387         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42388         [C99-based standards] (FP_ILOGBNAN): Likewise.
42389         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42390         Specify type.
42391         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42392         [C99-based standards] (math_errhandling): Specify type.
42393         [ISO99 || ISO11] (signgam): Do not allow.
42394         [non-C99-based standards] (copysignf): Do not allow.
42395         [non-C99-based standards] (exp2f): Likewise.
42396         [non-C99-based standards] (log2f): Likewise.
42397         [non-C99-based standards] (modff): Allow.
42398         [non-C99-based standards] (erff): Do not allow.
42399         [non-C99-based standards] (erfcf): Likewise.
42400         [non-C99-based standards] (gammaf): Likewise.
42401         [non-C99-based standards] (hypotf): Likewise.
42402         [non-C99-based standards] (j0f): Likewise.
42403         [non-C99-based standards] (j1f): Likewise.
42404         [non-C99-based standards] (jnf): Likewise.
42405         [non-C99-based standards] (lgammaf): Likewise.
42406         [non-C99-based standards] (tgammaf): Likewise.
42407         [non-C99-based standards] (y0f): Likewise.
42408         [non-C99-based standards] (y1f): Likewise.
42409         [non-C99-based standards] (ynf): Likewise.
42410         [non-C99-based standards] (isnanf): Likewise.
42411         [non-C99-based standards] (acoshf): Likewise.
42412         [non-C99-based standards] (asinhf): Likewise.
42413         [non-C99-based standards] (atanhf): Likewise.
42414         [non-C99-based standards] (cbrtf): Likewise.
42415         [non-C99-based standards] (expm1f): Likewise.
42416         [non-C99-based standards] (ilogbf): Likewise.
42417         [non-C99-based standards] (log1pf): Likewise.
42418         [non-C99-based standards] (logbf): Likewise.
42419         [non-C99-based standards] (nextafterf): Likewise.
42420         [non-C99-based standards] (remainderf): Likewise.
42421         [non-C99-based standards] (rintf): Likewise.
42422         [non-C99-based standards] (scalbf): Likewise.
42423         [non-C99-based standards] (copysignl): Likewise.
42424         [non-C99-based standards] (exp2l): Likewise.
42425         [non-C99-based standards] (log2l): Likewise.
42426         [non-C99-based standards] (modfl): Allow.
42427         [non-C99-based standards] (erfl): Do not allow.
42428         [non-C99-based standards] (erfcl): Likewise.
42429         [non-C99-based standards] (gammal): Likewise.
42430         [non-C99-based standards] (hypotl): Likewise.
42431         [non-C99-based standards] (j0l): Likewise.
42432         [non-C99-based standards] (j1l): Likewise.
42433         [non-C99-based standards] (jnl): Likewise.
42434         [non-C99-based standards] (lgammal): Likewise.
42435         [non-C99-based standards] (tgammal): Likewise.
42436         [non-C99-based standards] (y0l): Likewise.
42437         [non-C99-based standards] (y1l): Likewise.
42438         [non-C99-based standards] (ynl): Likewise.
42439         [non-C99-based standards] (isnanl): Likewise.
42440         [non-C99-based standards] (acoshl): Likewise.
42441         [non-C99-based standards] (asinhl): Likewise.
42442         [non-C99-based standards] (atanhl): Likewise.
42443         [non-C99-based standards] (cbrtl): Likewise.
42444         [non-C99-based standards] (expm1l): Likewise.
42445         [non-C99-based standards] (ilogbl): Likewise.
42446         [non-C99-based standards] (log1pl): Likewise.
42447         [non-C99-based standards] (logbl): Likewise.
42448         [non-C99-based standards] (nextafterl): Likewise.
42449         [non-C99-based standards] (remainderl): Likewise.
42450         [non-C99-based standards] (rintl): Likewise.
42451         [non-C99-based standards] (scalbl): Likewise.
42452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42453         [non-C99-based standards] (FP_*): Do not allow.
42454         [C99-based standards] (FP_*): Change to
42455         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42456         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42457         allow.
42458         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42459         (SIG_ERR): Likewise.
42460         [X/Open-based standards] (SIG_HOLD): Likewise.
42461         (SIG_IGN): Likewise.
42462         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42463         positive value.
42464         (SIGFPE): Likewise.
42465         (SIGILL): Likewise.
42466         (SIGINT): Likewise.
42467         (SIGSEGV): Likewise.
42468         (SIGTER): Likewise.
42469         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42470         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42471         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42472         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42473         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42474         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42475         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42476         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42477         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42478         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42479         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42480         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42481         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42482         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42483         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42484         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42485         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42486         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42487         [X/Open-based standards] (SIGTRAP): Likewise.
42488         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42489         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42490         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42491         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42492         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42493         allow.
42494
42495 2012-05-08  Ian Wienand  <ianw@vmware.com>
42496
42497         [BZ #14080]
42498         * time/tzset.c (__tzset_parse_tz): Update default rules for
42499         daylight time changes in the Energy Policy Act of 2005.
42500
42501 2012-05-09  Andreas Jaeger  <aj@suse.de>
42502
42503         [BZ #13983]
42504         * elf/ldconfig.c (parse_conf): Change string to make clear that
42505         ldconfig only issued a warning if ld.so.conf does not exist.
42506
42507 2012-05-08  David S. Miller  <davem@davemloft.net>
42508
42509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42510         movxtod instead of popping the value on the stack.
42511
42512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42513
42514 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42515
42516         * config.h.in: Add HAVE_ARM_PCS_VFP.
42517
42518 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42519
42520         [BZ #13979]
42521         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42522         checking but the checks are disabled for any reason.
42523
42524 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42525
42526         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42527         and ELF64_R_TYPE with ELFW(R_TYPE).
42528
42529 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42530
42531         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42532         (ulimit): Likewise.
42533
42534         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42535         (settimeofday): Likewise.
42536
42537 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42538
42539         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42540         a struct th_u2 inside the union, and move tu_block/tu_code into
42541         a new th_u3 union of tu_block/tu_code inside of that.  Move
42542         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42543         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42544         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42545         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42546         (th_stuff): Change to th_u1.tu_stuff.
42547         (th_data): Define.
42548         (th_msg): Change to th_u1.th_u2.tu_data.
42549
42550 2012-05-07  David S. Miller  <davem@davemloft.net>
42551
42552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42553
42554         [BZ #14074]
42555         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42556         (SETUP_PIC_REG): Use it.
42557         (SETUP_PIC_REG_LEAF): Use it.
42558
42559 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42560
42561         [BZ #13885]
42562         [BZ #13923]
42563         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42564         USE_AS_EXPM1L.
42565         (EXPL_FINITE): Likewise.
42566         (FLDLOG): Likewise.
42567         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42568         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42569         e_expl.S.
42570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42571         USE_AS_EXPM1L.
42572         (EXPL_FINITE): Likewise.
42573         (FLDLOG): Likewise.
42574         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42575         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42576         e_expl.S.
42577         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42578         test of -max_value argument for long double.
42579         * sysdeps/i386/fpu/libm-test-ulps: Update.
42580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42581
42582 2012-05-06  David S. Miller  <davem@davemloft.net>
42583
42584         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42585         quad soft-float symbols whose references which are compiler
42586         generated.
42587         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42588
42589 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42590
42591         [BZ #13884]
42592         [BZ #13914]
42593         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42594         USE_AS_EXP10L.
42595         (EXPL_FINITE): Likewise.
42596         (FLDLOG): Likewise.
42597         (c0): Likewise.
42598         (c1): Likewise.
42599         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42600         Adjust comments for base varying.
42601         (__expl_finite): Change alias to EXPL_FINITE.
42602         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42603         e_expl.S.
42604         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42605         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42606         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42607         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42609         USE_AS_EXP10L.
42610         (EXPL_FINITE): Likewise.
42611         (FLDLOG): Likewise.
42612         (c0): Likewise.
42613         (c1): Likewise.
42614         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42615         Adjust comments for base varying.
42616         (__expl_finite): Change alias to EXPL_FINITE.
42617         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42618         tests for bugs.
42619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42620
42621         [BZ #14064]
42622         * math/libm-test.inc (check_float_internal): Correct ulp
42623         calculation for subnormal expected results.
42624
42625 2012-05-06  Andreas Jaeger  <aj@suse.de>
42626
42627         * Makeconfig (+math-flags): New, set to -frounding-math.
42628         (+cflags): Add +math-flags so that all of glibc gets compiled with
42629         it.
42630
42631         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42632
42633 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42634
42635         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42636         Disable one test.
42637
42638         [BZ #13787]
42639         [BZ #13922]
42640         [BZ #14036]
42641         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42642         (__ieee754_expl): Allow for and saturate large arguments.
42643         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42644         (u_threshold): Likewise.
42645         (__exp): Call __ieee754_exp before checking for overflow and
42646         underflow.
42647         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42648         (u_threshold): Likewise.
42649         (__expf): Call __ieee754_expf before checking for overflow and
42650         underflow.
42651         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42652         (u_threshold): Likewise.
42653         (__expl): Call __ieee754_expl before checking for overflow and
42654         underflow.
42655         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42656         (__ieee754_expl): Allow for and saturate large arguments.
42657         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42658         missing overflow exception on overflow.
42659         (expm1_test): Do not allow missing overflow exception on overflow.
42660
42661         * sysdeps/i386/fpu/e_expl.c: Move to ...
42662         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42663         rather than using inline asm.
42664         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42665         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42666         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42667
42668         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42669         (nice): Likewise.
42670         (poll): Likewise.
42671         (signal): Likewise.
42672         (time): Likewise.
42673         (times): Likewise.
42674
42675 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42676
42677         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42678         sysdeps/unix/common/syscalls.list.
42679         (fchmod): Likewise.
42680         (fchown): Likewise.
42681         (ftruncate): Likewise.
42682         (getrusage): Likewise.
42683         (gettimeofday): Likewise.
42684         (setpgid): Likewise.
42685         (setregid): Likewise.
42686         (setreuid): Likewise.
42687         (sigaction): Likewise.
42688         (truncate): Likewise.
42689         (vhangup): Likewise.
42690         * sysdeps/unix/common/syscalls.list: Remove file.
42691         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42692         * sysdeps/unix/sysv/linux/Implies: Likewise.
42693
42694 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42695
42696         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42698         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42699         Moved to ...
42700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42701         Here.
42702         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42703         to ...
42704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42705         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42706         to ...
42707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42708         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42709         to ...
42710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42711         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42712         to ...
42713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42714         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42715         to ...
42716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42717         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42718         to ...
42719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42720         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42721         to ...
42722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42723         Here.
42724         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42725         to ...
42726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42727         Here.
42728         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42729         to ...
42730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42731         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42732         Moved to ...
42733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42734         Here.
42735         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42736         to ...
42737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42738
42739 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42740
42741         * sysdeps/unix/common/bits/dirent.h: Remove file.
42742         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42743
42744         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42745         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42746         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42747         * sysdeps/unix/bsd/isatty.c: Likewise.
42748         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42749         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42750         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42751
42752 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42753
42754         [BZ #13563]
42755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42756         long double comparison inaccuracies.
42757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42759
42760 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42761
42762         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42764
42765 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42766
42767         [BZ #14049]
42768         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42769         nonzero digits before rounding a hex value.
42770         * stdlib/tst-strtod.c (tests): Add another test.
42771
42772 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42773
42774         * sysdeps/s390/fpu/libm-test-ulps: Update.
42775
42776 2012-05-03  Andreas Jaeger  <aj@suse.de>
42777
42778         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42779         does not get optimized out.
42780         (malloc_opt_barrier): New.
42781
42782 2012-05-03  Andreas Jaeger  <aj@suse.de>
42783             Roland McGrath  <roland@hack.frob.com>
42784
42785         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42786         intermediate file deletion.
42787         (generated): Add .symlist files.
42788
42789 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42790
42791         [BZ #13775]
42792         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42793         Redirect under this condition.
42794         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42795         [__USE_GNU] (__dprintf_chk): Not under this condition.
42796         [__USE_GNU] (__vdprintf_chk): Likewise.
42797         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42798         under this condition.
42799         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42800         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42801         [__USE_XOPEN2K8] (vdprintf): Likewise.
42802         [__USE_GNU] (__dprintf_chk): Not under this condition.
42803         [__USE_GNU] (__vdprintf_chk): Likewise.
42804         [__USE_GNU] (dprintf): Likewise.
42805         [__USE_GNU] (vdprintf): Likewise.
42806
42807 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42808
42809         * elf/Makefile (common-generated): Set this instead of generated for
42810         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42811         $(all-built-dso)-derived lists.
42812
42813 2012-05-03  Andreas Jaeger  <aj@suse.de>
42814
42815         * sysdeps/i386/fpu/libm-test-ulps: Update.
42816
42817         * FAQ: Removed.
42818         * FAQ.in: Likewise.
42819         * scripts/gen-FAQ.pl: Likewise.
42820         * manual/install.texi (Installation): Point to online location of
42821         FAQ.
42822         * Makefile (files-for-dist): Remove FAQ.
42823         (FAQ): Remove.
42824
42825 2012-05-02  Allan McRae  <allan@archlinux.org>
42826
42827         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42828         (LDFLAGS-reldepmod5.so): Likewise.
42829         (LDFLAGS-reldep6mod1.so): Likewise.
42830         (LDFLAGS-reldep6mod4.so): Likewise.
42831         (LDFLAGS-reldep8mod3.so): Likewise.
42832         (LDFLAGS-unload4mod1.so): Likewise.
42833         (LDFLAGS-unload4mod2.so): Likewise.
42834         (LDFLAGS-tst-initorder): Likewise.
42835         (LDFLAGS-tst-initordera2.so): Likewise.
42836         (LDFLAGS-tst-initordera3.so): Likewise.
42837         (LDFLAGS-tst-initordera4.so): Likewise.
42838         (LDFLAGS-tst-initorderb2.so): Likewise.
42839         (LDFLAGS-noload): Likewise.
42840         (LDFLAGS-next): Likewise.
42841         (LDFLAGS-order2mod1.so): Likewise.
42842         (LDFLAGS-order2mod2.so): Likewise.
42843         (LDFLAGS-tst-initorder2): Likewise.
42844         (LDFLAGS-tst-initorder2a.so): Likewise.
42845         (LDFLAGS-tst-initorder2b.so): Likewise.
42846         (LDFLAGS-tst-initorder2c.so): Likewise.
42847         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42848
42849 2012-05-02  David S. Miller  <davem@davemloft.net>
42850
42851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42852
42853 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42854
42855         [BZ #14055]
42856         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42857
42858 2012-05-02  Andreas Jaeger  <aj@suse.de>
42859
42860         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42861         since we manipulate rounding mode.
42862         (CPPFLAGS-test-idouble.c): Likewise.
42863         (CPPFLAGS-test-ifloat.c): Likewise.
42864         (CFLAGS-test-ldouble.c): Likewise.
42865         (CFLAGS-test-double.c): Likewise.
42866         (CFLAGS-test-float.c): Likewise.
42867         (CFLAGS-test-misc.c): Likewise.
42868         (CFLAGS-test-test-fenv.c): Likewise.
42869
42870 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42871
42872         [BZ #2550]
42873         [BZ #2570]
42874         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42875         comparisons to determine direction to adjust input.
42876
42877 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42878
42879         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42880         output to the target.
42881
42882         * scripts/localplt.awk: New file.
42883         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42884         (check-localplt-CFLAGS): Variable removed.
42885         ($(all-built-dso:=.jmprel)): New static pattern rule.
42886         (generated): Add those targets.
42887         (localplt-built-dso): New variable.
42888         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42889
42890         * elf/check-localplt.c: File removed.
42891
42892         * scripts/check-execstack.awk: New file.
42893         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42894         (check-execstack-CFLAGS): Variable removed.
42895         ($(objpfx)check-execstack.h): Target removed.
42896         ($(objpfx)execstack-default): New target.
42897         (generated): Add that instead of check-execstack.h.
42898         ($(all-built-dso:=.phdr)): New static pattern rule.
42899         (generated): Add those targets.
42900         * elf/check-execstack.c: File removed.
42901
42902         * scripts/check-textrel.awk: New file.
42903         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42904         (check-textrel-CFLAGS): Variable removed.
42905         (all-built-dso): Use := to define.o
42906         ($(all-built-dso:=.dyn)): New static pattern rule.
42907         (generated): Add those targets.
42908         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42909         * config.make.in (READELF): New substituted variable.
42910         * elf/check-textrel.c: File removed.
42911
42912 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42913
42914         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42915         allow.
42916         * conform/data/ctype.h-data [C99-based standards] (isblank):
42917         Expect function.
42918         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42919         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42921         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42922         Specify type.  Require positive value.
42923         (EILSEQ): Likewise.
42924         (ERANGE): Likewise.
42925         [ISO || POSIX] (EILSEQ): Do not expect.
42926         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42927         Specify type.  Require positive value.
42928         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42929         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42930         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42931         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42932         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42933         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42934         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42935         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42936         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42937         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42938         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42939         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42940         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42941         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42942         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42943         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42944         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42945         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42946         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42947         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42948         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42949         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42950         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42951         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42952         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42953         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42954         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42955         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42956         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42957         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42958         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42959         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42960         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42961         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42962         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42963         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42964         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42965         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42966         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42967         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42968         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42969         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42970         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42971         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42972         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42973         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42974         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42975         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42976         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42977         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42978         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42979         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42980         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42981         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42982         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42983         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42984         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42985         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42986         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42987         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42988         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42989         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42990         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42991         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42992         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42993         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42994         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42995         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42996         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42997         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42998         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42999         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43000         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43001         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43002         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43003         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43004         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43005         Require >= 2.
43006         (FLT_ROUNDS): Expect as macro, not constant.
43007         (FLT_MANT_DIG): Use macro-int-constant.
43008         (DBL_MANT_DIG): Likewise.
43009         (LDBL_MANT_DIG): Likewise.
43010         (FLT_DIG): Likewise.
43011         (DBL_DIG): Likewise.
43012         (LDBL_DIG): Likewise.
43013         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43014         (DBL_MIN_EXP): Likewise.
43015         (LDBL_MIN_EXP): Likewise.
43016         (FLT_MAX_EXP): Use macro-int-constant.
43017         (DBL_MAX_EXP): Likewise.
43018         (LDBL_MAX_EXP): Likewise.
43019         (FLT_MAX_10_EXP): Likewise.
43020         (DBL_MAX_10_EXP): Likewise.
43021         (LDBL_MAX_10_EXP): Likewise.
43022         (FLT_MAX): Use macro-constant.
43023         (DBL_MAX): Likewise.
43024         (LDBL_MAX): Likewise.
43025         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43026         (DBL_EPSILON): Likewise.
43027         (LDBL_EPSILON): Likewise.
43028         (FLT_MIN): Likewise.
43029         (DBL_MIN): Likewise.
43030         (LDBL_MIN): Likewise.
43031         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43032         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43033         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43034         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43035         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43036         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43037         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43038         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43039         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43040         [ISO11] (FLT_TRUE_MIN): Likewise.
43041         [ISO11] (LDBL_TRUE_MIN): Likewise.
43042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43043         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43044         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43045         (SCHAR_MAX): Likewise.
43046         (UCHAR_MAX): Likewise.
43047         (CHAR_MIN): Likewise.
43048         (CHAR_MAX): Likewise.
43049         (MB_LEN_MAX): Use macro-int-constant.
43050         (SHRT_MIN): Use macro-int-constant.  Specify type.
43051         (SHRT_MAX): Likewise.
43052         (USHRT_MAX): Likewise.
43053         (INT_MAX): Likewise.
43054         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43055         bound negative.
43056         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43057         bound with "U".
43058         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43059         bound with "L".
43060         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43061         bound negative.  Suffix upper bound with "L".
43062         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43063         bound with "UL".
43064         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43065         Specify type.
43066         [C99-based standards] (LLONG_MAX): Likewise.
43067         [C99-based standards] (ULLONG_MAX): Likewise.
43068         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43069         == 0.
43070         [ISO11] (max_align_t): Require type.
43071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43072
43073         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43074         from $CFLAGS, without defining away __attribute__ calls.
43075         (checknamespace): Use $CFLAGS_namespace.
43076
43077         * conform/conformtest.pl (@keywords): Only include C99 keywords
43078         for standards based on C99 or C11.
43079
43080         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43081         Disable tests.
43082         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43083         UNIX98]: Likewise.
43084
43085         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43086         usability of symbols in #if.
43087
43088         * conform/conformtest.pl: If macro or constant types start
43089         "promoted:", expect the symbol to be of the following type
43090         promoted by the integer promotions.
43091
43092         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43093         in one place.  Also handle "macro-constant".
43094
43095         * conform/conformtest.pl: Only accept expected macro values with
43096         "==".  Parse all "macro" lines in one place.
43097         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43098
43099         * conform/conformtest.pl: Handle braced types on "constant" lines
43100         instead of handling "typed-constant".
43101         * conform/data/signal.h-data: Use "constant" instead of
43102         "typed-constant".
43103
43104         * conform/conformtest.pl: Handle "optional-" at start of lines in
43105         one place rather than duplicating several cases.  Handle each
43106         format of "macro" line with initial "optional-".
43107
43108         * conform/conformtest.pl: Only accept expected constant or
43109         optional-constant values with "==".  Parse all "constant" lines in
43110         one place.  Parse all "optional-constant" lines in one place.
43111         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43112         * conform/data/fmtmsg.h-data: Likewise.
43113         * conform/data/netinet/in.h-data: Likewise.
43114         * conform/data/tar.h-data: Likewise.
43115         * conform/data/limits.h-data: Use "==" form on "constant" and
43116         "optional-constant" lines.
43117
43118         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43119         Use -std=c99 for XOPEN2K.
43120         (@knownproblems): Remove.
43121         (newtoken): Don't check %isknown.
43122
43123         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43124         Do not expect macro.
43125         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43126         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43127         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43128         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43129         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43130         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43131         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43132         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43133         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43134         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43135         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43136         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43137         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43138         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43139         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43140         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43141         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43142         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43143         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43144         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43145         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43146         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43147         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43148         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43149         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43150         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43151         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43152         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43153         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43154         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43155         [XPG3] (acosh): Likewise.
43156         [XPG3] (asinh): Likewise.
43157         [XPG3] (atanh): Likewise.
43158         [XPG3] (cbrt): Likewise.
43159         [XPG3] (expm1): Likewise.
43160         [XPG3] (ilogb): Likewise.
43161         [XPG3] (log1p): Likewise.
43162         [XPG3] (logb): Likewise.
43163         [XPG3] (nextafter): Likewise.
43164         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43165         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43166         [XPG3] (remainder): Likewise.
43167         [XPG3] (rint): Likewise.
43168         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43169         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43170         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43171         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43172         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43173         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43174         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43175         [UNIX98 || XOPEN2K] (scalb): Expect.
43176         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43177         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43178         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43179         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43180         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43181         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43182         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43183         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43184         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43185         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43186         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43187         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43188         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43189         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43190         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43191         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43192         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43193         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43194         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43195         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43196         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43197         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43198         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43199         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43200         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43201         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43202         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43203         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43204         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43205         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43206         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43207         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43208         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43209         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43210         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43211         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43212         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43213         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43214         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43215         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43216         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43217         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43218         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43219         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43220         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43221         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43222         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43223         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43224         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43225         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43226         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43227         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43228         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43229         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43230         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43231         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43232         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43233         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43234         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43235         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43236         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43237         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43238         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43239         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43240         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43241         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43242         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43243         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43244         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43245         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43246         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43247         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43248         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43249         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43250         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43251         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43252         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43253         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43254         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43255         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43256         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43257         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43258         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43259         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43260         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43261         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43262         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43263         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43264         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43265         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43266         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43267         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43268         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43269         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43270         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43271         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43272         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43273         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43274         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43275         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43276         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43277         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43278         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43279         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43280         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43281         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43282         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43283         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43284         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43285         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43286         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43287         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43288         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43289         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43290         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43291         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43292         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43293         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43294         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43295         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43296         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43297         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43298         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43299         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43300         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43301         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43302         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43303         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43304         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43305         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43306         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43307         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43308         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43309         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43310         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43311         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43312         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43313
43314         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43315         _XOPEN_SOURCE_EXTENDED for XPG4.
43316
43317         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43318
43319         * Makeconfig (localtime): Remove variable.
43320         (inst_localtime-file): Likewise.
43321
43322 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43323
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43325         Update.
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43327         Update.
43328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43329         Update.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43331         Update.
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43333         Update.
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43335         Update.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43337         Update.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43339         Update.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43341         Update.
43342
43343 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43344
43345         [BZ #2550]
43346         [BZ #2570]
43347         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43348         comparisons to determine direction to adjust input.
43349         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43350         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43351         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43352         Likewise.
43353         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43354         Likewise.
43355         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43356         Likewise.
43357         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43358         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43359         Likewise.
43360         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43361         Likewise.
43362         * math/libm-test.inc (nexttoward_test): Add more tests.
43363
43364 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43365
43366         [BZ #14040]
43367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43368         in version GLIBC_2.1, not GLIBC_2.0.
43369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43370         Likewise.
43371
43372 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43373
43374         [BZ #13942]
43375         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43376         (1 - x) * (1 + x).
43377         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43378         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43379         * math/libm-test.inc (acos_test): Add more tests.
43380         (asin_test): Likewise.
43381         * sysdeps/i386/fpu/libm-test-ulps: Update.
43382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43383
43384         [BZ #14034]
43385         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43386         of square root.
43387         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43388         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43389         * math/libm-test.inc (acos_test_tonearest): New function.
43390         (acos_test_towardzero): Likewise.
43391         (acos_test_downward): Likewise.
43392         (acos_test_upward): Likewise.
43393         (asin_test_tonearest): Likewise.
43394         (asin_test_towardzero): Likewise.
43395         (asin_test_downward): Likewise.
43396         (asin_test_upward): Likewise.
43397         (main): Call the new functions.
43398         * sysdeps/i386/fpu/libm-test-ulps: Update.
43399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43400
43401         [BZ #13884]
43402         [BZ #13924]
43403         * math/e_exp10.c: Include <float.h>.
43404         (__ieee754_exp10): Handle underflow here rather than multiplying
43405         large negative argument by M_LN10.
43406         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43407         of __ieee754_expf.
43408         * math/e_exp10l.c: Include <float.h>.
43409         (__ieee754_exp10l): Handle underflow here rather than multiplying
43410         large negative argument by M_LN10l.
43411         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43412         spurious overflow exception on underflow.
43413
43414 2012-04-29  Marek Polacek  <polacek@redhat.com>
43415
43416         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43417         (__fortify_function): New macro.
43418         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43419         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43420         __extern_always_inline.
43421         * libio/bits/stdio2.h: Likewise.
43422         * libio/bits/stdio.h: Likewise.
43423         * string/string.h: Likewise.
43424         * string/bits/string3.h: Likewise.
43425         * include/stdio.h: Likewise.
43426         * stdlib/bits/stdlib.h: Likewise.
43427         * stdlib/stdlib.h: Likewise.
43428         * rt/bits/mqueue2.h: Likewise.
43429         * rt/mqueue.h: Likewise.
43430         * posix/bits/unistd.h: Likewise.
43431         * posix/unistd.h: Likewise.
43432         * io/bits/poll2.h: Likewise.
43433         * io/bits/fcntl2.h: Likewise.
43434         * io/fcntl.h: Likewise.
43435         * io/sys/poll.h: Likewise.
43436         * misc/bits/syslog.h: Likewise.
43437         * misc/bits/syslog-ldbl.h: Likewise.
43438         * misc/sys/syslog.h: Likewise.
43439         * socket/bits/socket2.h: Likewise.
43440         * socket/sys/socket.h: Likewise.
43441         * debug/tst-chk1.c: Likewise.
43442         * wcsmbs/bits/wchar2.h: Likewise.
43443         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43444         * wcsmbs/wchar.h: Likewise.
43445
43446 2012-04-29  Andreas Jaeger  <aj@suse.de>
43447
43448         * Makerules (tests): Remove enable-check-abi protection.
43449         (check-abi-warn): Remove.
43450         (check-abi-%): Remove check-abi-warn usage.
43451
43452         * configure.in: Remove check-abi configure option.
43453         * configure: Regenerated.
43454         * config.make.in (enable-check-abi): Remove.
43455
43456 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43457
43458         [BZ #14033]
43459         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43460         double functions to double *_finite functions.
43461
43462         [BZ #13941]
43463         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43464         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43465         LDBL_MIN_EXP.
43466         * stdio-common/Makefile (tests): Add tst-sprintf3.
43467         * stdio-common/tst-sprintf3.c: New file.
43468
43469         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43470         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43471
43472 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43473
43474         * conform/conformtest.pl: Remove duplicate typed-constant
43475         handling.
43476
43477 2012-04-28  David S. Miller  <davem@davemloft.net>
43478
43479         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43480         (check-abi-%): Remove AWK script prerequisite and explicit
43481         abilist directory.
43482         (check-abi): Rewrite to just diff the symlist with the abilist.
43483         (config-tls, config-abi-config): Delete, no longer used.
43484         (update-abi-%): Remove AWK script and explicit abilist directory.
43485         (update-abi): Rewrite to simply compare and conditionally copy the
43486         symlist and the sysdep abilist file.  Remove update-abi-config
43487         checks.
43488         * abilist/ld.abilist: Remove.
43489         * abilist/libBrokenLocale.abilist: Remove.
43490         * abilist/libanl.abilist: Remove.
43491         * abilist/libcrypt.abilist: Remove.
43492         * abilist/libdl.abilist: Remove.
43493         * abilist/librt.abilist: Remove.
43494         * abilist/libthread_db.abilist: Remove.
43495         * abilist/libutil.abilist: Remove.
43496         * scripts/extract-abilist.awk: Remove.
43497         * scripts/merge-abilist.awk: Remove.
43498         * sysdeps/generic/libcidn.abilist: New file.
43499         * sysdeps/generic/libnss_compat.abilist: New file.
43500         * sysdeps/generic/libnss_db.abilist: New file.
43501         * sysdeps/generic/libnss_dns.abilist: New file.
43502         * sysdeps/generic/libnss_files.abilist: New file.
43503         * sysdeps/generic/libnss_hesiod.abilist: New file.
43504         * sysdeps/generic/libnss_nis.abilist: New file.
43505         * sysdeps/generic/libnss_nisplus.abilist: New file.
43506         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43507         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43508         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43509         file.
43510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43511         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43512         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43513         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43514         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43515         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43516         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43517         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43518         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43519         file.
43520         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43521         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43522         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43523         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43524         file.
43525         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43526         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43527         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43528         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43529         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43530         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43531         file.
43532         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43533         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43534         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43535         file.
43536         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43538         New file.
43539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43540         New file.
43541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43542         New file.
43543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43544         New file.
43545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43546         New file.
43547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43548         New file.
43549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43550         New file.
43551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43552         New file.
43553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43554         New file.
43555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43556         New file.
43557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43558         New file.
43559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43560         New file.
43561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43562         New file.
43563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43564         file.
43565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43566         New file.
43567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43568         New file.
43569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43570         file.
43571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43572         New file.
43573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43574         New file.
43575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43576         file.
43577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43578         New file.
43579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43580         New file.
43581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43582         New file.
43583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43584         New file.
43585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43586         New file.
43587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43588         New file.
43589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43591         file.
43592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43593         New file.
43594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43595         file.
43596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43597         file.
43598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43599         file.
43600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43601         file.
43602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43603         file.
43604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43605         New file.
43606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43607         file.
43608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43609         file.
43610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43611         New file.
43612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43613         file.
43614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43616         file.
43617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43618         New file.
43619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43620         file.
43621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43622         file.
43623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43624         file.
43625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43626         file.
43627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43628         file.
43629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43630         New file.
43631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43632         file.
43633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43634         file.
43635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43636         New file.
43637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43638         file.
43639         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43640         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43641         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43642         file.
43643         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43644         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43645         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43646         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43647         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43649         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43651         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43652         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43655         file.
43656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43657         New file.
43658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43659         file.
43660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43661         file.
43662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43663         file.
43664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43665         file.
43666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43667         file.
43668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43669         New file.
43670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43671         New file.
43672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43673         file.
43674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43675         New file.
43676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43677         file.
43678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43680         file.
43681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43682         New file.
43683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43684         file.
43685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43686         file.
43687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43688         file.
43689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43690         file.
43691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43692         file.
43693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43694         New file.
43695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43696         New file.
43697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43698         file.
43699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43700         New file.
43701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43702         file.
43703
43704 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43705
43706         * conform/conformtest.pl: Fix typo in handling typed-constant from
43707         allow-header.
43708
43709 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43710
43711         * README: Cut down references to pre-2.6 Linux kernels and
43712         Linuxthreads.  Update lists of configurations in libc and ports
43713         and sort alphabetically.  Say "or newer" with Linux kernel version
43714         requirements.
43715
43716         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43717
43718 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43719
43720         [BZ #887]
43721         * math/libm-test.inc (logb_test_downward): New test to expose
43722         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43723         rounding mode.
43724
43725 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43726
43727         [BZ #14027]
43728         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43729         to be done.
43730         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43731         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43732
43733 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43734
43735         * sysdeps/unix/i386/brk.S: Remove file.
43736         * sysdeps/unix/i386/dl-brk.S: Likewise.
43737         * sysdeps/unix/i386/pipe.S: Likewise.
43738         * sysdeps/unix/i386/sigreturn.S: Likewise.
43739         * sysdeps/unix/i386/syscall.S: Likewise.
43740         * sysdeps/unix/i386/vfork.S: Likewise.
43741         * sysdeps/unix/i386/wait.S: Likewise.
43742
43743         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43744         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43745
43746         * configure.in (arm*-none*): Do not allow without
43747         --enable-hacker-mode.
43748         (netbsd*): Remove case setting base_os.
43749         (386bsd*): Likewise.
43750         (freebsd*): Likewise.
43751         (bsdi*): Likewise.
43752         (osf*): Likewise.
43753         (sunos*): Likewise.
43754         (ultrix*): Likewise.
43755         (newsos*): Likewise.
43756         (dynix*): Likewise.
43757         (*bsd*): Likewise.
43758         (sysv*): Likewise.
43759         (isc*): Likewise.
43760         (esix*): Likewise.
43761         (sco*): Likewise.
43762         (minix*): Likewise.
43763         (irix4*): Likewise.
43764         (irix6*): Likewise.
43765         (solaris[2-9]*): Likewise.
43766         (none): Likewise.
43767         * configure: Regenerated.
43768
43769 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43770
43771         [BZ #11521]
43772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43773         overflow or cancellation in calculating denominator.
43774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43776         down expression to avoid unexpected rounding in newer GCCs.
43777         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43778
43779 2012-04-26  David S. Miller  <davem@davemloft.net>
43780
43781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43782         long-double compat symbols.
43783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43796
43797 2012-04-25  David S. Miller  <davem@davemloft.net>
43798
43799         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43800         HWCAP_* values only after the memory barriers have been defined.
43801         (atomic_full_barrier): Define.
43802         (atomic_read_barrier): Define.
43803         (atomic_write_barrier): Define.
43804
43805 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43806
43807         * shlib-versions: Add libgcc_s version information.
43808         * sysdeps/generic/libgcc_s.h: Remove.
43809         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43810         libgcc_s.h.
43811         * sysdeps/gnu/unwind-resume.c: Likewise.
43812         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43813
43814 2012-04-25  David S. Miller  <davem@davemloft.net>
43815
43816         * sysdeps/unix/sparc/brk.S: Delete.
43817         * sysdeps/unix/sparc/dl-brk.S: Delete.
43818         * sysdeps/unix/sparc/pipe.S: Delete.
43819         * sysdeps/unix/sparc/sysdep.S: Delete.
43820         * sysdeps/unix/sparc/sysdep.h: Delete.
43821         * sysdeps/unix/sparc/vfork.S: Delete.
43822         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43823         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43824         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43825         (ret_ERRVAL, r0, r1, MOVE): Define.
43826         (JUMPTARGET): Remove.
43827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43828         sysdeps/unix/sparc/sysdep.h
43829         (ENTRY, END): Remove.
43830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43831
43832 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43833
43834         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43835         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43836         -DIS_IN_build.
43837
43838         * timezone/README: Update upstream location and email address for
43839         tzcode and tzdata.
43840         * timezone/zdump.c: Update from tzcode 2012b.
43841         * timezone/zic.c: Likewise.
43842
43843         * configure.in (libc_cv_as_needed): Remove test.
43844         * configure: Regenerated.
43845         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43846         conditional definition.
43847         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43848         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43849         * config.make.in (have-as-needed): Remove variable.
43850
43851 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43852             Paul Pluzhnikov  <ppluzhnikov@google.com>
43853
43854         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43855         strings correctly.
43856
43857 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43858
43859         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43860         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43861         * sysdeps/sh/strlen.S: Likewise.
43862
43863 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43864
43865         * sysdeps/unix/fork.S: Remove file.
43866         * sysdeps/unix/i386/fork.S: Likewise.
43867         * sysdeps/unix/sparc/fork.S: Likewise.
43868
43869         * sysdeps/unix/system.c: Remove file.
43870         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43871
43872         * sysdeps/unix/getegid.S: Remove file.
43873         * sysdeps/unix/geteuid.S: Likewise.
43874
43875 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43876
43877         * scripts/check-localplt.awk: New file.
43878         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43879         of diff.
43880         * scripts/data/localplt-generic.data: Add a comment.
43881
43882         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43883         NODE when __dir_mkfile failed.
43884         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43885         Reported by Ludovic Courtès <ludo@gnu.org>.
43886
43887 2012-04-24  Andreas Jaeger  <aj@suse.de>
43888
43889         * Makerules (common-clean): Also remove gen-as-const-headers
43890         files.
43891
43892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43893
43894         * Makerules (native-compile): Do not change working directory for
43895         build.  Use $(OUTPUT_OPTION) in command.
43896         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43897
43898 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43899
43900         [BZ #13886]
43901         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43902         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43903         * math/libm-test.inc (floor_test): Add more tests.
43904         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43905
43906 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43907
43908         * sysdeps/unix/getdents.c: Remove file.
43909         * sysdeps/unix/sysv/getdents.c: Likewise.
43910         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43911
43912         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43913         sysdeps/unix/mman/syscalls.list.
43914         (mmap): Likewise.
43915         (mprotect): Likewise.
43916         (msync): Likewise.
43917         (munmap): Likewise.
43918         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43919         * sysdeps/unix/mman/syscalls.list: Remove.
43920         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43921
43922         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43923         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43924         * configure: Regenerated.
43925         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43926         $(libgcc_s_suffix).
43927         * config.make.in (libgcc_s_suffix): Remove variable.
43928
43929 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43930
43931         * sysdeps/unix/sysv/gethostname.c: Move to ...
43932         * sysdeps/posix/gethostname.c: ... here.
43933
43934         * sysdeps/unix/execve.S: Remove file.
43935
43936         * sysdeps/unix/_exit.S: Remove file.
43937
43938 2012-04-23  Andreas Jaeger  <aj@suse.de>
43939
43940         [BZ #13739]
43941         * manual/Makefile: Remove make dist support, there's no
43942         need for a stand-alone documentation tar ball.
43943         (TEXI2DVI): Define always, it's not in Makeconfig.
43944         (dist): Removed.
43945         (tar-it): Removed.
43946         (edition): Removed.
43947         (glibc-doc-$(edition).tar): Removed
43948         (%.Z): Removed.
43949         (%.gz): Removed.
43950         (%.uu): Removed.
43951         (ETAGS): Remove, it's in Makeconfig.
43952         (move-if-change): Remove, it's in Makeconfig.
43953
43954 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43955
43956         [BZ #13970]
43957         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43958         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43959         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43960         (strtod_l, strtof_l, strtold_l): Remove __wur.
43961         It is not necessarily an error to ignore strtol's return value.
43962         One can reliably look at the stored endptr to decide whether
43963         the number had valid syntax.
43964
43965 2012-04-21  Andreas Jaeger  <aj@suse.de>
43966
43967         [BZ #13739]
43968         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43969
43970 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43971
43972         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43973         * sysdeps/unix/sysv/Versions: Remove file.
43974
43975 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43976
43977         [BZ #13927]
43978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43979
43980 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43981
43982         [BZ #7064]
43983         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43984         version from __vm86.
43985
43986 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43987
43988         * sysdeps/unix/common/lxstat.c: Remove file.
43989         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43990
43991         * sysdeps/unix/sysv/Makefile: Remove file.
43992
43993         * sysdeps/unix/sysv/direct.h: Remove file.
43994
43995         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43996         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43997         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43998         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43999         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44000         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44001         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44002
44003         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44004
44005         * sysdeps/unix/xmknod.c: Remove file.
44006         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44007
44008         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44009
44010         * sysdeps/unix/sysv/i386/time.S: Remove file.
44011
44012         * sysdeps/unix/fxstat.c: Remove file.
44013         * sysdeps/unix/xstat.c: Likewise.
44014         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44015
44016         * sysdeps/unix/sysv/sigaction.c: Remove file.
44017
44018         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44019         (sysdep_headers): Remove variable.
44020         [termio.h not in sysdep_headers] (generated): Likewise.
44021         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44022         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44023         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44024         * sysdeps/unix/sysv/tcflow.c: Likewise.
44025         * sysdeps/unix/sysv/tcflush.c: Likewise.
44026         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44027         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44028         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44029         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44030         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44031
44032         * sysdeps/unix/siglist.c: Remove file.
44033
44034         * sysdeps/unix/getppid.S: Remove file.
44035
44036         * sysdeps/unix/mkdir.c: Remove file.
44037         * sysdeps/unix/rmdir.c: Likewise.
44038
44039 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44040
44041         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44042         ERR_MAX value.
44043         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44044         errlist-compat value.
44045
44046 2012-04-18  David S. Miller  <davem@davemloft.net>
44047
44048         * sysdeps/generic/memcopy.h (reg_char): Delete.
44049         * debug/strcat_chk.c: Use char, not reg_char.
44050         * debug/strcpy_chk.c: Likewise.
44051         * debug/strncat_chk.c: Likewise.
44052         * debug/strncpy_chk.c: Likewise.
44053         * string/memchr.c: Likewise.
44054         * string/memrchr.c: Likewise.
44055         * string/rawmemchr.c: Likewise.
44056         * string/strcat.c: Likewise.
44057         * string/strchr.c: Likewise.
44058         * string/strchrnul.c: Likewise.
44059         * string/strcmp.c: Likewise.
44060         * string/strcpy.c: Likewise.
44061         * string/strncat.c: Likewise.
44062         * string/strncmp.c: Likewise.
44063         * string/strncpy.c: Likewise.
44064
44065 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44066
44067         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44068         __builtin_memcopy is called when src and dest ranges are known to not
44069         overlap.
44070
44071 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44072
44073         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44074         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44075         fwd_align_merge macro call.
44076         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44077         bwd_align_merge macro call.
44078         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44079
44080 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44081
44082         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44083         bwd_align_merge macros.
44084         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44085         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44086         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44087
44088 2012-04-18  David S. Miller  <davem@davemloft.net>
44089
44090         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44091
44092 2012-04-18  Andreas Jaeger  <aj@suse.de>
44093
44094         [BZ# 6794]
44095         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44096         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44097         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44098
44099         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44100         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44101         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44102
44103         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44104         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44105         Adjust for changed ldbl-128 files.
44106
44107         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44108         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44109         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44110
44111 2012-04-17  David S. Miller  <davem@davemloft.net>
44112
44113         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44114
44115 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44116
44117         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44118         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44119         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44120         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44121         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44122         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44123
44124 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44125
44126         [BZ #6794]
44127         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44128         * math/libm-test.inc: Add ilogb errno and exception tests.
44129         * math/w_ilogb.c: New file: ilogb wrapper.
44130         * math/w_ilogbf.c: New file: ilogbf wrapper.
44131         * math/w_ilogbl.c: New file: ilogbl wrapper.
44132         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44133         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44134         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44135         exception being thrown with 0.0 as argument.
44136         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44137         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44138         exception being thrown with 0.0 as argument.
44139         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44140         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44141         exception being thrown with 0.0 as argument.
44142         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44143         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44144         exception being thrown with 0.0 as argument.
44145         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44146         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44147         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44148         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44149         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44150         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44151         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44152         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44153         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44154
44155 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44156
44157         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44158         with altivec.
44159
44160 2012-04-16  Marek Polacek  <polacek@redhat.com>
44161
44162         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44163
44164 2012-04-16  Marek Polacek  <polacek@redhat.com>
44165
44166         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44167         operands of fdivp instruction.
44168
44169 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44170
44171         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44172         * elf/tst-auditmod3b.c: Likewise.
44173         * elf/tst-auditmod4b.c: Likewise.
44174         * elf/tst-auditmod5b.c: Likewise.
44175         * elf/tst-auditmod6b.c: Likewise.
44176         * elf/tst-auditmod6c.c: Likewise.
44177         * elf/tst-auditmod7b.c: Likewise.
44178         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44179         * sysdeps/x86_64/preconfigure.in: Likewise.
44180         * sysdeps/x86_64/preconfigure: Regenerated.
44181
44182 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44183
44184         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44185         __ILP32__.
44186
44187 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44188
44189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44190         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44191
44192 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44193
44194         [BZ #13973]
44195         * locale/iso-639.def: Fix gl language name. Spotted by
44196         Yaron Shahrabani.
44197
44198 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44199
44200         [BZ #2074]
44201         * libio/libio.h (__io_write_fn): Update comment.
44202
44203 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44204
44205         [BZ #2074]
44206         * stdio.texi (Hook Functions): The user provided writer function
44207         is not allowed to return -1.
44208
44209 2012-04-11  David S. Miller  <davem@davemloft.net>
44210
44211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44212
44213 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44214
44215         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44216         Add a leading slash to rtkaio.
44217
44218 2012-04-11  Jim Meyering  <meyering@redhat.com>
44219
44220         [BZ #11959]
44221         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44222         It is not necessarily an error to ignore fwrite's return
44223         value.  One can reliably use ferror to test for errors after
44224         the fact.
44225
44226 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44227
44228         * bits/types.h (__snseconds_t): New type.
44229         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44230
44231         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44232         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44233         (__SNSECONDS_T_TYPE): Likewise.
44234         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44235         (__SNSECONDS_T_TYPE): Likewise.
44236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44237         (__SNSECONDS_T_TYPE): Likewise.
44238
44239 2012-04-10  Andreas Jaeger  <aj@suse.de>
44240
44241         [BZ #2636]
44242         * manual/time.texi (Processor Time): Return type of times is
44243         elapsed real time since an arbitrary point in the past.
44244         (CPU Time): Move CLK_TCK from here...
44245         (Processor Time): ...to here.  Correct description.
44246         * manual/conf.texi (Constants for Sysconf): Correct description of
44247         _SC_CLK_TCK.
44248
44249 2012-04-10  David S. Miller  <davem@davemloft.net>
44250
44251         [BZ #13967]
44252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44253         where the is a gap between DT_REL(A) and DT_JMPREL.
44254
44255 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44256
44257         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44258         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44259         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44260
44261 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44262
44263         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44264         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44265         (dl_main): Handle --inhibit-cache.
44266         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44267         _dl_inhibit_cache.
44268         * elf/dl-load.c (_dl_map_object): Use it.
44269         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44270
44271 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44272
44273         [BZ #13872]
44274         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44275         (__ieee754_powl): Saturate large exponents rather than testing for
44276         overflow of y*log2(x).
44277         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44278         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44279         exceptions.
44280
44281         [BZ #11521]
44282         * math/s_ctan.c: Include <float.h>.
44283         (__ctan): Avoid internal overflow or cancellation in calculating
44284         denominator.
44285         * math/s_ctanf.c: Likewise.
44286         * math/s_ctanl.c: Likewise.
44287         * math/s_ctanh.c: Likewise.
44288         * math/s_ctanhf.c: Likewise.
44289         * math/s_ctanhl.c: Likewise.
44290         * math/libm-test.inc (ctan_test): Add more tests.
44291         (ctanh_test): Likewise.
44292         * sysdeps/i386/fpu/libm-test-ulps: Update.
44293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44294
44295 2012-04-09  Andreas Jaeger  <aj@suse.de>
44296
44297         [BZ #6894]
44298         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44299         is an optional BSD extension.
44300
44301         [BZ #10254]
44302         * manual/stdio.texi (Opening Streams): Document additional fopen
44303         parameters.
44304
44305 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44306
44307         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44308         %eax without telling the compiler.
44309
44310 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44311
44312         [BZ # 13963]
44313         * manual/install.texi: Use sourceware.org.
44314
44315 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44316
44317         [BZ #13873]
44318         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44319         (__ieee754_pow): Generate overflow and underflow using huge*huge
44320         and tiny*tiny rather than just returning constant infinity or zero
44321         for large exponents.
44322         * math/libm-test.inc (pow_test): Require overflow exceptions for
44323         applicable cases of large exponents.
44324
44325         [BZ #706]
44326         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44327         (__ieee754_pow): Use iterative multiplication algorithm only for
44328         integer exponents with absolute value below 1024.  Check for odd
44329         integer exponents when using algorithm for real exponents.
44330         * math/libm-test.inc (pow_test): Add more tests.
44331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44332
44333 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44334
44335         [BZ #13705]
44336         * math/libm-test.inc (exp_test): Do not allow overflow exception
44337         on underflow test.
44338
44339 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44340
44341         [BZ #13705]
44342         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44343         instead of __kernel_standard_f.
44344
44345 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44346
44347         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44348         * sysdeps/x86_64/memset_chk.S: Likewise.
44349
44350 2012-04-08  Andreas Jaeger  <aj@suse.de>
44351
44352         [BZ #10153]
44353         * manual/startup.texi (Environment Access): Describe return value
44354         for putenv and setenv.
44355
44356         [BZ #6895]
44357         * manual/filesys.texi (Directory Entries): Add description for
44358         DT_LNK.
44359
44360         [BZ #6890]
44361         * manual/filesys.texi (Directory Entries): Clarify that it's file
44362         system not operating system in the description of DT_UNKNOWN.
44363
44364         [BZ #6578]
44365         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44366
44367 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44368
44369         [BZ #6649]
44370         * manual/llio.texi (Opening and Closing Files): Add cross
44371         reference to explain mode argument.
44372
44373 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44374
44375         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44376         * sysdeps/x86_64/memset_chk.S: Likewise.
44377
44378 2012-04-07  David S. Miller  <davem@davemloft.net>
44379
44380         * elf/elf.h (R_SPARC_WDISP10): Define.
44381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44382         R_SPARC_SIZE32.
44383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44384         R_SPARC_SIZE64 and R_SPARC_H34.
44385
44386 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44387
44388         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44389         conditions and remove no longer applicable assertion.
44390
44391 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44392
44393         * bits/byteswap.h: Include <features.h>.
44394         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44395         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44396
44397 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44398
44399         * bits/byteswap.h (__bswap_16): Removed.
44400         Include <bits/byteswap-16.h> to get __bswap_16.
44401         * sysdeps/i386/bits/byteswap.h: Likewise.
44402         * sysdeps/s390/bits/byteswap.h: Likewise.
44403         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44404         * bits/byteswap-16.h: New file.
44405         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44406         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44407         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44408         * string/Makefile (headers): Add bits/byteswap-16.h.
44409
44410 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44411
44412         [BZ #13895]
44413         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44414         extra indirection.
44415         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44416         * nss/tst-nss-static.c: New.
44417
44418 2012-04-06  Robert Millan  <rmh@gnu.org>
44419
44420         [BZ #6486]
44421         * manual/llio.texi (File Position Primitive): lseek
44422         refers to WHENCE when it really means OFFSET.
44423
44424 2012-04-06  Andreas Jaeger  <aj@suse.de>
44425
44426         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44427         strncmp declarations.
44428
44429         * abilist/libc.abilist: Add __poll and __ppoll.
44430
44431 2012-04-05  David S. Miller  <davem@davemloft.net>
44432
44433         * scripts/check-local-headers.sh: Accept a host triplet in the
44434         path matched by the exclude regexp.
44435
44436         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44437         definition.
44438         * sysdeps/powerpc/powerpc32/dl-machine.h
44439         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44440         * sysdeps/s390/s390-32/dl-machine.h
44441         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44442         * sysdeps/sparc/sparc32/dl-machine.h
44443         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44444         * sysdeps/sparc/sparc64/dl-machine.h
44445         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44446
44447         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44448         lazy binding.
44449         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44450         undefined symbol errors.
44451
44452         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44453         DT_NEEDED entries.
44454
44455 2012-04-05  Michael Matz  <matz@suse.de>
44456
44457         [BZ #13592]
44458         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44459
44460 2012-04-05  Andreas Jaeger  <aj@suse.de>
44461
44462         [BZ #13908]
44463         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44464         comment.
44465
44466 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44467
44468         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44469         which ROUND is no valid rounding mode.
44470
44471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44472
44473         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44474         read again.
44475         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44476
44477 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44478
44479         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44480         an exception using FPU order intentionally.
44481
44482 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44483
44484         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44485         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44486         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44487         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44488
44489 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44490
44491         [BZ #12340]
44492         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44493         EINVAL when BUFLEN is too smal.
44494
44495 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44496
44497         [BZ #13553]
44498         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44499         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44500
44501 2012-04-03  Andreas Jaeger  <aj@suse.de>
44502
44503         [BZ #13938]
44504         * manual/setjmp.texi (System V contexts): Fix sentence.
44505
44506         [BZ #13926]
44507         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44508         New macro for this case.
44509         [!__GNUC__] (__bswap_64): New inline function for this case.
44510         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44511         * bits/byteswap.h: Likewise.
44512         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44513         ull, guard with __GLIBC_HAVE_LONG_LONG.
44514
44515         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44516         __GLIBC_HAVE_LONG_LONG.
44517
44518         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44519         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44520
44521 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44522
44523         [BZ #13691]
44524         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44525         inptr and inend, rather than using last_ch.
44526
44527 2012-04-02  David S. Miller  <davem@davemloft.net>
44528
44529         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44530         * stdio-common/printf-parse.h (read_int): Change return type to
44531         'int', return -1 on INT_MAX overflow.
44532         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44533         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44534         overflows INT_MAX.  Check for overflow of in-format-string precision
44535         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44536         SIZE_MAX not INT_MAX for integer overflow test.
44537         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44538         skip the construct in the format string but do not record anything.
44539         * stdio-common/bug22.c: Adjust to test both width/prevision
44540         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44541         explicitly for proper errno values.
44542
44543 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44544
44545         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44546         CHAR_MAX.
44547         * string/test-strcmp.c [! WIDE]: Likewise.
44548         * time/tst-mktime2.c: Likewise for INT_MAX.
44549         * string/test-string.h: #include <sys/param.h> for MIN.
44550
44551         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44552         * sysdeps/i386/init-first.c (init): Likewise.
44553         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44554         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44555         * sysdeps/sh/init-first.c (init): Likewise.
44556
44557 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44558
44559         * po/ru.po: Update from translation team.
44560         * po/vi.po: Likewise.
44561
44562 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44563
44564         * resolv/nss_dns/dns-host.c: Merge copyright years.
44565
44566 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44567
44568         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44569         Optimize memcpy with prefetch if
44570         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44571         src, dst pointers have unequal 16 byte alignments.
44572
44573 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44574
44575         [BZ #13928]
44576         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44577         from a CNAME entry and return the minimum ttl for the query.
44578         (gaih_getanswer_slice): Likewise.
44579
44580 2012-03-30  Jeff Law  <law@redhat.com>
44581
44582         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44583         due to long keys.
44584         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44585         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44586
44587         * resolv/nss_dns/dns-host.c: Update copyright year.
44588
44589 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44590
44591         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44592         requests to save a system call.  Fix check that all bytes are sent.
44593
44594         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44595         comments for sendmmsg.
44596
44597 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44598
44599         [BZ #13691]
44600         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44601         with only 1 character between 0x0041 and 0x01b0.
44602         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44603         * wcsmbs/tst-mbsnrtowcs.c: New file.
44604
44605 2012-03-29  David S. Miller  <davem@davemloft.net>
44606
44607         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44608         small copies by hand.
44609
44610 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44611
44612         [BZ #13761]
44613         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44614         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44615         group memberships.
44616
44617 2012-03-28  David S. Miller  <davem@davemloft.net>
44618
44619         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44620         that branches into memcpy.
44621         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44623         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44624         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44625         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44626         bits.
44627         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44628         implementation too.
44629         * sysdeps/sparc/mempcpy.S: New file.
44630
44631         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44632         the IFUNC routine in the libc case.
44633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44634
44635         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44636         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44637         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44638         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44639         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44640         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44641         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44642         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44643
44644         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44645         loop to 256 bytes instead of 64 bytes and fix test signedness.
44646
44647         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44648         * sysdeps/sparc/sparc32/Makefile: rather than here...
44649         * sysdeps/sparc/sparc64/Makefile: and here.
44650
44651 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44652
44653         * malloc/mallocbug.c: Avoid warnings about unused variables.
44654
44655 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44656
44657         [BZ #13760]
44658         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44659         in the right place. Discard and retry query if response is
44660         larger than input buffer size.
44661
44662 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44663
44664         [BZ #369]
44665         [BZ #2678]
44666         [BZ #3866]
44667         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44668         x for large integer exponent.
44669         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44670         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44671         sign of result as needed afterwards.
44672         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44673         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44674         result for underflowing pow the same as for overflow.
44675         (__kernel_standard_l): Handle powl overflow and underflow here
44676         rather than calling __kernel_standard.
44677         * math/libm-test.inc (pow_test): Add more tests.
44678
44679         [BZ #3868]
44680         [BZ #13879]
44681         [BZ #13910]
44682         [BZ #13911]
44683         [BZ #13912]
44684         [BZ #13913]
44685         [BZ #13915]
44686         [BZ #13916]
44687         [BZ #13917]
44688         [BZ #13918]
44689         [BZ #13919]
44690         [BZ #13920]
44691         [BZ #13921]
44692         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44693         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44694         (__kernel_standard_l): New function.
44695         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44696         __kernel_standard.
44697         * math/w_acosl.c (__acosl): Likewise.
44698         * math/w_asinl.c (__asinl): Likewise.
44699         * math/w_atan2l.c (__atan2l): Likewise.
44700         * math/w_atanhl.c (__atanhl): Likewise.
44701         * math/w_coshl.c (__coshl): Likewise.
44702         * math/w_exp10l.c (__exp10l): Likewise.
44703         * math/w_exp2l.c (__exp2l): Likewise.
44704         * math/w_fmodl.c (__fmodl): Likewise.
44705         * math/w_hypotl.c (__hypotl): Likewise.
44706         * math/w_j0l.c (__j0l, __y0l): Likewise.
44707         * math/w_j1l.c (__j1l, __y1l): Likewise.
44708         * math/w_jnl.c (__jnl, __ynl): Likewise.
44709         * math/w_lgammal.c (__lgammal): Likewise.
44710         * math/w_log10l.c (__log10l): Likewise.
44711         * math/w_log2l.c (__log2l): Likewise.
44712         * math/w_logl.c (__logl): Likewise.
44713         * math/w_powl.c (__powl): Likewise.
44714         * math/w_remainderl.c (__remainderl): Likewise.
44715         * math/w_scalbl.c (sysv_scalbl): Likewise.
44716         * math/w_sinhl.c (__sinhl): Likewise.
44717         * math/w_sqrtl.c (__sqrtl): Likewise.
44718         * math/w_tgammal.c (__tgammal): Likewise.
44719         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44720         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44721         * math/libm-test.inc (acos_test): Add more tests.
44722         (acosh_test): Likewise.
44723         (asin_test): Likewise.
44724         (atanh_test): Likewise.
44725         (exp_test): Likewise.
44726         (exp10_test): Likewise.
44727         (exp2_test): Likewise.
44728         (expm1_test): Likewise.
44729         (lgamma_test): Likewise.
44730         (log_test): Likewise.
44731         (log10_test): Likewise.
44732         (log1p_test): Likewise.
44733         (log2_test): Likewise.
44734         (pow_test): Do not allow some spurious overflow exceptions.
44735         (sqrt_test): Add more tests.
44736         (tgamma_test): Likewise.
44737         (y0_test): Likewise.
44738         (y1_test): Likewise.
44739         (yn_test): Likewise.
44740
44741 2012-03-27  Anton Blanchard  <anton@samba.org>
44742
44743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44744         MAP_HUGETLB.
44745         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44746         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44748
44749 2012-03-27  David S. Miller  <davem@davemloft.net>
44750
44751         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44752
44753         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44754         have-as-vis3 check.
44755
44756 2012-03-27  Andreas Jaeger  <aj@suse.de>
44757
44758         * sysdeps/x86_64/elf/configure.in: Moved to ...
44759         * sysdeps/x86_64/configure.in: ... here.
44760         * sysdeps/x86_64/elf/start.S: Moved to ...
44761         * sysdeps/x86_64/start.S: ... here.
44762         * sysdeps/x86_64/elf/configure: Delete.
44763
44764         * sysdeps/x86_64/configure.in: Merge contents from
44765         sysdeps/i386/configure.in (without i686 check).
44766
44767         * sysdeps/i386/elf/Versions: Merge into ...
44768         * sysdeps/i386/Versions: ... this.
44769         * sysdeps/i386/elf/Versions: Delete file.
44770         * sysdeps/i386/elf/start.S: Moved to ...
44771         * sysdeps/i386/start.S: ...here.
44772         * sysdeps/i386/elf/configure.in: Merge into...
44773         * sysdeps/i386/configure.in: ...here.
44774         * sysdeps/i386/elf/configure.in: Delete file.
44775         * sysdeps/i386/elf/configure: Delete file.
44776
44777         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44778         * debug/backtracesyms.c: ... here.
44779         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44780         * debug/backtracesymsfd.c: ... here.
44781         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44782         * sysdeps/generic/ifunc-sel.h: ... here.
44783
44784         * sysdeps/unix/i386/start.c: Delete file.
44785         * sysdeps/unix/sparc/start.c: Delete file.
44786         * sysdeps/unix/start.c: Delete file.
44787
44788         * sysdeps/sh/elf/configure.in: Moved to ...
44789         * sysdeps/sh/configure.in: ... here.
44790         * sysdeps/sh/elf/start.S: Moved to ...
44791         * sysdeps/sh/start.S: ... here.
44792         * sysdeps/sh/elf/configure: Delete file.
44793
44794         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44795         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44796         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44797         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44798         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44799         * sysdeps/powerpc/powerpc64/start.S: here.
44800         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44801         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44802         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44803         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44804         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44805
44806         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44807         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44808         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44809         * sysdeps/powerpc/powerpc32/start.S: ... here.
44810         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44811         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44812         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44813
44814         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44815         * sysdeps/powerpc/ifunc-sel.h: ... here.
44816         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44817         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44818
44819         * sysdeps/sparc/elf/configure.in: Moved to ...
44820         * sysdeps/sparc/configure.in: ... here.
44821         * sysdeps/sparc/elf/configure: Delete file.
44822         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44823         * sysdeps/sparc/sparc32/start.S: ... here.
44824         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44825         * sysdeps/sparc/sparc64/start.S: ... here.
44826         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44827         * sysdeps/sparc/sparc32/Makefile: ... this.
44828         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44829         * sysdeps/sparc/sparc64/Makefile: ... this.
44830
44831         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44832         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44833         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44834         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44835         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44836         * sysdeps/s390/s390-32/setjmp.S: ... here.
44837         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44838         * sysdeps/s390/s390-32/configure.in: ... here.
44839         * sysdeps/s390/s390-32/elf/configure: Delete file.
44840         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44841         * sysdeps/s390/s390-32/start.S: ... here.
44842
44843         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44844         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44845         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44846         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44847         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44848         * sysdeps/s390/s390-64/setjmp.S: ... here.
44849         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44850         * sysdeps/s390/s390-64/configure.in: ... here
44851         * sysdeps/s390/s390-64/elf/configure: Delete file.
44852         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44853         * sysdeps/s390/s390-64/start.S: ... here.
44854         * sysdeps/s390/s390-64/elf/configure: Delete.
44855
44856         * configure.in: Remove support for elf directories in sysdeps.
44857
44858         * configure: Regenerated.
44859         * sysdeps/i386/configure: Regenerated.
44860         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44861         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44862         * sysdeps/s390/s390-32/configure: Regenerated.
44863         * sysdeps/s390/s390-64/configure: Regenerated.
44864         * sysdeps/sh/configure: Regenerated.
44865         * sysdeps/sparc/configure: Regenerated.
44866         * sysdeps/x86_64/configure: Regenerated.
44867
44868 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44869
44870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44871
44872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44873         denormal result into account.
44874
44875 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44876
44877         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44878         Reported by Allan McRae <allan@archlinux.org>.
44879
44880 2012-03-23  Jeff Law  <law@redhat.com>
44881
44882         * nss/getnssent.c (__nss_getent): Fix typo.
44883
44884 2012-03-23  David S. Miller  <davem@davemloft.net>
44885
44886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44887
44888 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44889
44890         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44891         to pad to uint64_t for each field.
44892         (dl_tls_index): Replace unsigned long with uint64_t.
44893
44894 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44895         Paul Pluzhnikov  <ppluzhnikov@google.com>
44896
44897         [BZ #6528]
44898         * grp/Makefile (otherlibs): Don't set it.
44899         * inet/Makefile (otherlibs): Likewise.
44900         * login/Makefile (otherlibs): Likewise.
44901         * nscd/Makefile (otherlibs): Likewise.
44902         * posix/Makefile (otherlibs): Likewise.
44903         * pwd/Makefile (otherlibs): Likewise.
44904         * rt/Makefile (otherlibs): Likewise.
44905         * sunrpc/Makefile (otherlibs): Likewise.
44906         * nss/Makefile (otherlibs): Likewise.
44907         Add libnss_files to routines and static-only-routines.
44908         ($(objpfx)getent): Remove rule.
44909         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44910         static-only-routines.
44911
44912 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44913
44914         [BZ #13892]
44915         * math/s_cexp.c: Include <float.h>.
44916         (__cexp): Handle exp result overflowing not necessarily
44917         overflowing both real and imaginary parts of result.
44918         * math/s_cexpf.c: Likewise.
44919         * math/s_cexpl.c: Likewise.
44920         * math/libm-test.inc (cexp_test): Add more tests.
44921         * sysdeps/i386/fpu/libm-test-ulps: Update.
44922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44923
44924 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44925
44926         * include/link.h (ELFW): New macro.
44927         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44928         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44929
44930 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44931
44932         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44933         with uint64_t.
44934
44935 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44936
44937         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44938         declaration.
44939         (struct La_x32_retval): Likewise.
44940
44941 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44942
44943         * sysdeps/x86_64/preconfigure.in: New file.
44944         * sysdeps/x86_64/preconfigure: New generated file.
44945
44946 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44947
44948         [BZ #13824]
44949         * math/e_exp2l.c: Include <float.h>.
44950         (__ieee754_exp2l): Handle overflow and underflow cases
44951         separately.  Only pass fractional part of argument to
44952         __ieee754_expl.
44953         * math/libm-test.inc (exp2_test): Add more tests.
44954
44955         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44956         negating x to take absolute value.
44957         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44958         Likewise.
44959         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44960         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44961         Likewise.
44962         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44963         computing low part if x was negated.
44964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44965
44966 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44967
44968         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44969         la_x32_gnu_pltexit.
44970         (pltexit): Cast int_retval to ptrdiff_t.
44971         * elf/tst-auditmod3b.c: Likewise.
44972         * elf/tst-auditmod4b.c: Likewise.
44973         * elf/tst-auditmod5b.c: Likewise.
44974         * elf/tst-auditmod6b.c: Likewise.
44975         * elf/tst-auditmod6c.c: Likewise.
44976         * elf/tst-auditmod7b.c: Likewise.
44977
44978         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44979         and x32_gnu_pltexit.
44980
44981         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44982         __ELF_NATIVE_CLASS.
44983         (La_x32_regs): New macro.
44984         (La_x32_retval): Likewise.
44985         (la_x32_gnu_pltenter): New function prototype.
44986         (la_x32_gnu_pltexit): Likewise.
44987
44988 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44989
44990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44991         exponent.
44992
44993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44994
44995         * configure.in (libc_cv_cc_nofma): Check for option to disable
44996         generation of FMA instructions.
44997         * configure: Regenerate.
44998         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44999         * sysdeps/ieee754/dbl-64/Makefile: New file.
45000         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45001         Remove brandred-fma4.
45002         (CFLAGS-brandred-fma4.c): Remove.
45003         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45004         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45005         define.
45006         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45007         define.
45008
45009 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45010
45011         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45012         LLONG_MAX != LONG_MAX.
45013         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45014         (_fitoa_word): Likewise.
45015         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45016         LLONG_MAX != LONG_MAX.
45017         * stdio-common/_itowa.h: Include <_itoa.h>.
45018         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45019         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45020         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45021         only if not defined.
45022         (_ITOA_WORD_TYPE): Likewise.
45023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45024         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45025
45026 2012-03-21  David S. Miller  <davem@davemloft.net>
45027
45028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45029
45030 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45031
45032         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45033         of x86_64 when setting libc_cv_slibdir, libdir and
45034         libc_cv_localedir.
45035         * sysdeps/unix/sysv/linux/configure: Regenerated.
45036
45037 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45038
45039         * manual/lang.texi (Old Varargs): Remove section.
45040         (How Variadic): Update menu.
45041         (va_start): Do not mention varargs.h.
45042
45043 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45044             Joseph Myers  <joseph@codesourcery.com>
45045
45046         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45047         link test.
45048         * configure: Regenerated.
45049
45050 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45051
45052         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45053         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45054         conformtest.pl
45055
45056 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45057
45058         * NOTES: Remove.
45059         * Makefile (files-for-dist): Remove NOTES.
45060         (NOTES): Remove rule.
45061         * README: Don't refer to NOTES.
45062         * manual/creature.texi: Don't include macros.texi.
45063         * manual/intro.texi (creature.texi): Remove comment referring to
45064         NOTES.
45065
45066         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45067         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45068         * configure: Regenerated.
45069         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45070         LIBC_TRY_CC_OPTION.
45071         (libc_cv_as_i686): Likewise.
45072         (libc_cv_cc_avx): Likewise.
45073         (libc_cv_cc_sse2avx): Likewise.
45074         (libc_cv_cc_fma4): Likewise.
45075         (libc_cv_cc_novzeroupper): Likewise.
45076         * sysdeps/i386/configure: Regenerated.
45077
45078         [BZ #13883]
45079         * sysdeps/i386/fpu/s_cexp.S: Remove.
45080         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45081         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45082         * math/libm-test.inc (cexp_test): Add more tests.
45083         * sysdeps/i386/fpu/libm-test-ulps: Update.
45084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45085
45086 2012-03-21  Allan McRae  <allan@archlinux.org>
45087
45088         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45089
45090 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45091
45092         [BZ #13871]
45093         * math/w_exp2.c: Do not include <float.h>.
45094         (o_threshold, u_threshold): Remove.
45095         (__exp2): Calculate result before checking finiteness and calling
45096         __kernel_standard.
45097         * math/w_exp2f.c: Likewise.
45098         * math/w_exp2l.c: Likewise.
45099         * math/libm-test.inc (exp2_test): Require overflow exception for
45100         1e6 input.
45101
45102         [BZ #3866]
45103         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45104         range of signed 64-bit integers before using fistpll.  Remove
45105         checks for whether integers fit in mantissa bits.
45106         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45107         the range of signed 32-bit integers before using fistpl.  Remove
45108         checks for whether integers fit in mantissa bits.
45109         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45110         (__ieee754_powl): Test for y outside the range of signed 64-bit
45111         integers before using fistpll.  Reduce 64-bit values to 63-bit
45112         ones as needed.
45113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45114         divide-by-zero is raised for zero to large negative powers.
45115         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45116         (__ieee754_powl): Test for y outside the range of signed 64-bit
45117         integers before using fistpll.  Reduce 64-bit values to 63-bit
45118         ones as needed.
45119         * math/libm-test.inc (pow_test): Add more tests.
45120
45121 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45122
45123         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45124         <stdio-common/_itoa.h>.
45125         * debug/segfault.c: Likewise.
45126         * elf/dl-cache.c: Likewise.
45127         * elf/dl-minimal.c: Likewise.
45128         * elf/dl-misc.c: Likewise.
45129         * elf/dl-sysdep.c: Likewise.
45130         * elf/dl-version.c: Likewise.
45131         * elf/rtld.c: Likewise.
45132         * hurd/hurdsock.c: Likewise.
45133         * hurd/lookup-retry.c: Likewise.
45134         * malloc/malloc.c: Likewise.
45135         * malloc/mtrace.c: Likewise.
45136         * nscd/nscd_getgr_r.c: Likewise.
45137         * nscd/nscd_getpw_r.c: Likewise.
45138         * nscd/nscd_getserv_r.c: Likewise.
45139         * posix/getopt_init.c: Likewise.
45140         * posix/wordexp.c: Likewise.
45141         * stdio-common/_itoa.c: Likewise.
45142         * stdio-common/printf_fphex.c: Likewise.
45143         * stdio-common/vfprintf.c: Likewise.
45144         * string/_strerror.c: Likewise.
45145         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45146         * sysdeps/i386/i686/hp-timing.h: Likewise.
45147         * sysdeps/mach/_strerror.c: Likewise.
45148         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45149         * sysdeps/mach/hurd/sethostid.c: Likewise.
45150         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45151         * sysdeps/mach/xpg-strerror.c: Likewise.
45152         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45154         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45155         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45156         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45157         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45159         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45160         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45161         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45162         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45163         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45164         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45165         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45166         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45167         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45168         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45169         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45170         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45171         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45172         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45173
45174         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45175
45176         * stdio-common/_itoa.h: Moved to ...
45177         * sysdeps/generic/_itoa.h: Here.
45178
45179         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45180
45181         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45182         instead of "_itoa.h" and "_itowa.h".
45183         * stdio-common/vfprintf.: Likewise.
45184
45185 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45186
45187         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45188         <bits/wordsize.h>.
45189         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45190         (__signbit): Likwise.
45191         (llrintf): Likwise.
45192         (llrint): Likwise.
45193
45194 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45195
45196         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45197         __WORDSIZE != 64.
45198
45199 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45200
45201         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45202         OVERFLOW_EXCEPTION_OK.
45203         * math/libm-test.inc ("Philosophy"): Update comment about
45204         exception testing.
45205         (OVERFLOW_EXCEPTION): Define.
45206         (OVERFLOW_EXCEPTION_OK): Likewise.
45207         (INVALID_EXCEPTION_OK): Renumber.
45208         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45209         (IGNORE_ZERO_INF_SIGN): Likewise.
45210         (test_exceptions): Handle FE_OVERFLOW.
45211         (exp10_test): Expect overflow exceptions.
45212         (exp2_test): Likewise.
45213         (expm1_test): Likewise.
45214         (nextafter_test): Likewise.
45215         (pow_test): Likewise.
45216         (scalbn_test): Likewise.
45217         (scalbln_test): Likewise.
45218
45219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45220
45221         * sysdeps/x86_64/bits/atomic.h
45222         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45223         64bit integer.
45224         (atomic_exchange_acq): Likewise.
45225         (__arch_exchange_and_add_body): Likewise.
45226         (__arch_add_body): Likewise.
45227         (atomic_add_negative): Likewise.
45228         (atomic_add_zero): Likewise.
45229
45230 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45231
45232         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45233         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45234
45235 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45236
45237         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45238         Check __x86_64__ instead of __WORDSIZE.
45239
45240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45241
45242         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45243
45244 2012-03-19  David S. Miller  <davem@davemloft.net>
45245
45246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45247
45248         * sysdeps/sparc/fpu/fenv_private.h: New file.
45249         * sysdeps/sparc/fpu/math_private.h: Use it.
45250         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45251         Remove.
45252         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45253         (libc_feholdexcept_setroundl): Remove.
45254         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45255         Remove.
45256         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45257         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45258
45259 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45260
45261         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45262         int64_t instead of long int.
45263         (INSERT_WORDS64): Likwise.
45264
45265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45266
45267         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45268         _Unwind_GetCFA return to _Unwind_Ptr first.
45269
45270 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45271
45272         [BZ #13629]
45273         * math/s_clog.c: Include <float.h>.
45274         (__clog): Scale large or subnormal inputs.
45275         * math/s_clogf.c: Likewise.
45276         * math/s_clogl.c: Likewise.
45277         * math/s_clog10.c: Include <float.h>.
45278         (M_LOG10_2): Define.
45279         (__clog10): Scale large or subnormal inputs.
45280         * math/s_clog10f.c: Likewise.
45281         * math/s_clog10l.c: Likewise.
45282         * math/libm-test.inc (clog_test): Add more tests.
45283         (clog10_test): Likewise.
45284         * sysdeps/i386/fpu/libm-test-ulps: Update.
45285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45286
45287         [BZ #11451]
45288         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45289         x and y.
45290         * math/libm-test.inc (atan2_test): Add another test.
45291
45292         * Makerules (common-objdir-compile): Remove.
45293         * sysdeps/unix/Makefile (config-generated): Do not add
45294         $(unix-generated) to variable.
45295         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45296         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45297         Remove rule.
45298         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45299         Likewise.
45300         [generic bits/local_lim.h] (before-compile): Do not append to
45301         variable.
45302         [generic bits/local_lim.h] (common-generated): Likewise.
45303         [generic sys/param.h] (before-compile): Do not append to variable.
45304         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45305         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45306         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45307         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45308         include.
45309         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45310         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45311         [generic sys/param.h] ($(addprefix
45312         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45313         [generic sys/param.h] (common-generated): Do not append to
45314         variable.
45315         [generic sys/param.h] (sysdep_headers): Likewise.
45316         [generic bits/errno.h] (before-compile): Do not append to
45317         variable.
45318         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45319         rule.
45320         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45321         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45322         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45323         [generic bits/errno.h] (common-generated): Do not append to
45324         variable.
45325         [generic bits/ioctls.h] (before-compile): Do not append to
45326         variable.
45327         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45328         rule.
45329         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45330         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45331         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45332         rule.
45333         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45334         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45335         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45336         [generic bits/ioctls.h] (common-generated): Do not append to
45337         variable.
45338         [generic sys/syscall.h] (syscall.h): Remove variable.
45339         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45340         rule.
45341         [generic sys/syscall.h] (before-compile): Do not append to
45342         variable.
45343         [generic sys/syscall.h] (common-generated): Likewise.
45344         * sysdeps/unix/errnos-tmpl.c: Remove file.
45345         * sysdeps/unix/errnos.awk: Likewise.
45346         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45347         * sysdeps/unix/ioctls.awk: Likewise.
45348         * sysdeps/unix/mk-local_lim.c: Likewise.
45349         * sysdeps/unix/snarf-ioctls: Likewise.
45350
45351 2012-03-19  Richard Henderson  <rth@twiddle.net>
45352
45353         * sysdeps/i386/fpu/fenv_private.h: New file.
45354         * sysdeps/i386/fpu/math_private.h: Use it.
45355         (math_opt_barrier, math_force_eval): Remove.
45356         (libc_feholdexcept_setround_53bit): Remove.
45357         (libc_feupdateenv_53bit): Remove.
45358         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45359         (math_opt_barrier, math_force_eval): Remove.
45360         (libc_feholdexcept): Remove.
45361         (libc_feholdexcept_setround): Remove.
45362         (libc_fetestexcept, libc_fesetenv): Remove.
45363         (libc_feupdateenv_test): Remove.
45364         (libc_feupdateenv, libc_feholdsetround): Remove.
45365         (libc_feresetround): Remove.
45366
45367         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45368         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45369
45370         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45371         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45372         (libc_feupdateenv_testl): New.
45373         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45374         (libc_feupdateenv_testf): New.
45375         (libc_feupdateenv): Use libc_feupdateenv_test.
45376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45378
45379         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45380         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45381         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45382         (libc_feresetround_noex): New.
45383         (libc_feresetround_noexf): New.
45384         (libc_feresetround_noexl): New.
45385         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45386         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45387         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45388         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45389         SET_RESTORE_ROUND.
45390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45391         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45392         (__cos): Likewise.
45393         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45395         SET_RESTORE_ROUND_NOEX.
45396         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45397         SET_RESTORE_ROUND_NOEXF.
45398         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45399         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45400         (libc_feholdsetroundf): New.
45401         (libc_feresetround, libc_feresetroundf): New.
45402
45403         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45404         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45405         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45406
45407         * sysdeps/generic/math_private.h: Include <fenv.h>.
45408         (default_libc_feholdexcept): New.
45409         (default_libc_feholdexcept_setround): New.
45410         (default_libc_fesetenv, default_libc_feupdateenv): New.
45411         (libc_feholdexcept): Only define if undefined.
45412         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45413         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45414         (libc_feholdexcept_setroundl): Likewise.
45415         (libc_feholdexcept_setround_53bit): Likewise.
45416         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45417         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45418         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45419         (libc_feupdateenv_53bit): Likewise.
45420         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45421         (libc_feholdexcept): Convert from macro to inline function.
45422         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45423         (libc_fesetenv, libc_feupdateenv): Likewise.
45424
45425         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45426         not previously defined.
45427         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45428         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45429         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45430         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45431         * sysdeps/ieee754/flt-32/math_private.h: New file.
45432         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45433         math_private.h below SET_FLOAT_WORD.
45434         (__isnan, __isinf_ns, __finite): Remove.
45435         (__isnanf, __isinf_nsf, __finitef): Remove.
45436
45437 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45438
45439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45440
45441 2012-03-17  David S. Miller  <davem@davemloft.net>
45442
45443         [BZ #6471]
45444         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45445         for 2.16.
45446
45447 2012-03-16  David S. Miller  <davem@davemloft.net>
45448
45449         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45450         warnings.
45451
45452         [BZ #6471]
45453         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45454         properly.
45455         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45456         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45457         sysdep_routines when subdir is sysvipc.
45458         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45459         __getshmlba helper.
45460
45461         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45462
45463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45464
45465         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45466         [__LP64__].
45467
45468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45469
45470         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45471         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45472         (__lround): Renamed to ...
45473         (__llround): This.  Replace long int with long long int.
45474         Define lround functions as aliases of llround functions.
45475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45476
45477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45478
45479         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45480         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45481         adresses to uintptr_t.  Replace "long int" and "unsigned long
45482         int" with "greg_t" on va_arg.
45483
45484 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45485
45486         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45487         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45488
45489         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45490         Move e_machine check before EI_CLASS check.  Handle x32
45491         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45492         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45493         SKIP_EM_IA_64 and include
45494         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45495
45496         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45497         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45498         (add_system_dir): New macro.
45499
45500         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45501         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45502
45503 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45504
45505         [BZ #2551]
45506         [BZ #2552]
45507         [BZ #2553]
45508         [BZ #2554]
45509         [BZ #2562]
45510         [BZ #2563]
45511         [BZ #2565]
45512         [BZ #2566]
45513         [BZ #2576]
45514         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45515         (y0): Likewise.
45516         * math/w_j0f.c (j0f): Likewise.
45517         (y0f): Likewise.
45518         * math/w_j0l.c (__j0l): Likewise.
45519         (__y0l): Likewise.
45520         * math/w_j1.c (j1): Likewise.
45521         (y1): Likewise.
45522         * math/w_j1f.c (j1f): Likewise.
45523         (y1f): Likewise.
45524         * math/w_j1l.c (__j1l): Likewise.
45525         (__y1l): Likewise.
45526         * math/w_jn.c (jn): Likewise.
45527         (yn): Likewise.
45528         * math/w_jnf.c (jnf): Likewise.
45529         (ynf): Likewise.
45530         * math/w_jnl.c (__jnl): Likewise.
45531         (__ynl): Likewise.
45532         * math/libm-test.inc (j0_test): Add more tests.
45533         (j1_test): Likewise.
45534         (jn_test): Likewise.  Add trailing semicolon to existing test.
45535         (y0_test): Likewise.
45536         (y1_test): Likewise.
45537         * sysdeps/i386/fpu/libm-test-ulps: Update.
45538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45539
45540         [BZ #13851]
45541         [BZ #13854]
45542         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45543         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45544         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45545         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45546         (__tanl): Set errno for infinite argument.
45547         * sysdeps/i386/fpu/mptan.c: Remove.
45548         * sysdeps/i386/fpu/s_tan.S: Likewise.
45549         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45550         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45551         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45552         * math/libm-test.inc (tan_test): Add more tests and enable more
45553         tests for double and long double.
45554         * sysdeps/i386/fpu/libm-test-ulps: Update.
45555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556
45557 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45558
45559         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45560         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45561
45562 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45563
45564         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45565         * configure.in: Use it for both main tree and add-ons.
45566         * configure: Regenerated.
45567
45568 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45569
45570         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45571
45572 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45573
45574         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45575         in comment.
45576
45577         [BZ #13851]
45578         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45579         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45580         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45582         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45583         infinite argument.
45584         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45586         != 0 for prec == 2.
45587         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45588         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45589         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45590         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45591         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45592         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45593         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45594         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45595         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45596         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45597         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45598         * math/libm-test.inc (cos_test): Add more tests and enable more
45599         tests for long double.
45600         (sin_test): Likewise.
45601         (sincos_test): Likewise.
45602         * sysdeps/i386/fpu/libm-test-ulps: Update.
45603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45604
45605 2012-03-16  David S. Miller  <davem@davemloft.net>
45606
45607         * sysdeps/sparc/fpu/math_private.h: New file.
45608
45609 2012-03-15  David S. Miller  <davem@davemloft.net>
45610
45611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45612         file.
45613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45615         file.
45616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45622         sysdep routines.
45623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45624
45625         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45626         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45627
45628         * sysdeps/sparc/sparc-ifunc.h: New file.
45629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45630         sparc-ifunc.h
45631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45633         Likewise.
45634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45635         Likewise.
45636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45640         Likewise.
45641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45646         Likewise.
45647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45648         Likewise.
45649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45655         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45656         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45666         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45669         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45672         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45673
45674 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45675
45676         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45677         scaling.
45678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45679
45680 2012-03-15  Andreas Jaeger  <aj@suse.de>
45681
45682         [BZ #13852]
45683         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45684         ieee754/flt-32 implementation for sin, cos and sincos.
45685         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45686         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45687         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45688         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45689         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45690         ieee754/flt-32 implementation for tan.
45691
45692         * math/libm-test.inc (cos_test): Enable some large input tests for
45693         float as well
45694         (sin_test): Likewise.
45695         (sincos_test): Likewise.
45696         (tan_test): Add tests for large input.
45697
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699
45700 2012-03-15  Andreas Jaeger  <aj@suse.de>
45701
45702         [BZ #13658]
45703         * math/libm-test.inc (cos_test): Add more test cases.
45704         (sin_test): Likewise.
45705         (sincos_test): Likewise.
45706
45707 2012-03-15  Andreas Jaeger  <aj@suse.de>
45708
45709         [BZ #13837]
45710         * math/libm-test.inc (cos_test): Add a test case for large input
45711         value.
45712         (sin_test): Likewise.
45713         (sincos_test): Likewise.
45714
45715 2012-03-15  Andreas Jaeger  <aj@suse.de>
45716             Joseph Myers  <joseph@codesourcery.com>
45717
45718         [BZ #13658]
45719         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45720         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45721         * sysdeps/i386/fpu/branred.c: Likewise.
45722         * sysdeps/i386/fpu/dosincos.c: Likewise.
45723         * sysdeps/i386/fpu/mpa.c: Likewise.
45724         * sysdeps/i386/fpu/s_cos.S: Likewise.
45725         * sysdeps/i386/fpu/s_sin.S: Likewise.
45726         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45727         * sysdeps/i386/fpu/sincos32.c: Likewise.
45728
45729         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45730         Define.
45731         (libc_feupdateenv_53bit): Define.
45732         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45733         Define.
45734         (libc_feupdateenv_53bit): Define.
45735
45736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45737         53 bit (without extend i386 double precision).
45738
45739         * math/libm-test.inc (sincos_test): Add tests for large input.
45740         (sin): Likewise.
45741         (cos): Likewise.
45742
45743         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45744
45745 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45746
45747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45748
45749 2012-03-15  David S. Miller  <davem@davemloft.net>
45750
45751         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45752         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45753         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45754         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45767         file.
45768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45770         file.
45771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45773         file.
45774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45776         file.
45777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45779         fmin/fmax sysdep routines.
45780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45781
45782 2012-03-14  David S. Miller  <davem@davemloft.net>
45783
45784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45787         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45789         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45790         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45791         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45794         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45805         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45806         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45807         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45809         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45810         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45811         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45813         routines.
45814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45815         file.
45816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45818         file.
45819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45821         file.
45822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45824         file.
45825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45827         file.
45828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45830         file.
45831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45832         file.
45833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45834         file.
45835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45836         file.
45837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45838         New file.
45839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45840         file.
45841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45842         file.
45843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45845         file.
45846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45848         file.
45849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45851         file.
45852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45854         VIS3 routines.
45855
45856         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45857         New file.
45858
45859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45860
45861         * sysdeps/sparc/configure.in: New file.
45862         * sysdeps/sparc/configure: Generate.
45863         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45864         * configure: Regenerate.
45865         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45866         * config.make.in (have-as-vis3): New.
45867         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45868         available use -Av9d instead of -Av9a.
45869         * sysdeps/sparc/sparc64/Makefile: Likewise.
45870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45872         New file.
45873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45874         file.
45875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45876         New file.
45877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45878         file.
45879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45881         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45882         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45883         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45884
45885         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45886         fzeros/fnegs to load 0x80000000 into a float register instead of
45887         using the stack.
45888         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45889
45890 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45891
45892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45893         bits/syscall.h.
45894         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45895         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45896         ($(inst_includedir)/bits/syscall.h): Remove rule.
45897         ($(objpfx)bits/syscall.d): Include instead of
45898         $(objpfx)syscall-list.d.
45899         (generated): Change syscall-list.h and syscall-list.d to
45900         bits/syscall.h and bits/syscall.d.
45901
45902 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45903
45904         [BZ #13846]
45905         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45906
45907 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45908
45909         [BZ #13841]
45910         * math/s_csqrt.c: Include <float.h>.
45911         (__csqrt): Scale large or subnormal inputs.
45912         * math/s_csqrtf.c: Likewise.
45913         * math/s_csqrtl.c: Likewise.
45914         * math/libm-test.inc (csqrt_test): Add more tests.
45915         * sysdeps/i386/fpu/libm-test-ulps: Update.
45916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45917
45918         [BZ #13840]
45919         * math/libm-test.inc (hypot_test): Add more tests.
45920
45921 2012-03-13  David S. Miller  <davem@davemloft.net>
45922
45923         [BZ #13840]
45924         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45925         double-precision for the calculation instead of scaling.
45926
45927 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45928
45929         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45930         manipulate bits before adding and subtracting TWO52[sx].
45931         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45932         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45933         Likewise.
45934         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45935
45936 2012-03-13  David S. Miller  <davem@davemloft.net>
45937
45938         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45939         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45941         rtld-global-offsets.h
45942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45943
45944         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45945         large parameters.
45946
45947         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45948
45949         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45950         'err' in the ifdef scope in which it is actually used.
45951
45952         * nss/nss_db/db-init.c: Include string.h
45953
45954 2012-03-12  David S. Miller  <davem@davemloft.net>
45955
45956         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45957         masking out of the most significant byte of random value used.
45958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45959         Fix coding style in previous change.
45960
45961         * sysdeps/unix/sysv/linux/kernel-features.h
45962         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45963         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45964         expression.
45965         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45966         later.
45967
45968 2012-03-11  David S. Miller  <davem@davemloft.net>
45969
45970         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45971         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45972         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45973         for 'resultvar' otherwise things get truncated on 64-bit.
45974
45975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45976         Fix masking out of the most significant byte of random value used.
45977
45978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45979
45980 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45981
45982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45983
45984 2012-03-09  David S. Miller  <davem@davemloft.net>
45985
45986         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45987         variables with appropriate CPP guards.
45988         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45989         from the frame pointer, not the stack pointer.  Correct layout
45990         comments.  Fix test on resulting framesize and the management of
45991         the outregs buffer for pltexit.  Preserve floating point return
45992         values across _dl_call_pltexit call.
45993         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45994         framesize and the management of the outregs buffer for pltexit.
45995         Preserve floating point return values across _dl_call_pltexit
45996         call.
45997         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45998         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45999         (la_sparc64_gnu_pltexit): New functions.
46000         (print_exit): Fix format string for return register value.
46001
46002 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46003
46004         * sunrpc/Makefile (others): Add rpcgen.
46005         ($(objpfx)rpcgen): Remove special build rule and dependency on
46006         libc.
46007         * sunrpc/rpcgen.c: New file.
46008
46009 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46010
46011         [BZ #13673]
46012         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46013         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46014         * sysdeps/i386/crti.S: Likewise.
46015         * sysdeps/i386/crtn.S: Likewise.
46016         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46017         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46018         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46019         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46020         * sysdeps/sh/crti.S: Likewise.
46021         * sysdeps/sh/crtn.S: Likewise.
46022         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46023
46024         [BZ #13673]
46025         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46026         with URL.
46027         * locale/programs/locfile-kw.gperf: Likewise.
46028         * locale/programs/charmap-kw.h: Regenerated.
46029         * locale/programs/locfile-kw.h: Likewise.
46030
46031         [BZ #13673]
46032         * intl/plural.y: Replace FSF snail mail address with URL.
46033         * intl/plural.c: Regenerated.
46034
46035 2012-03-09  Richard Henderson  <rth@twiddle.net>
46036
46037         * include/math_private.h: Remove file.
46038         * math/math_private.h: Move file ...
46039         * sysdeps/generic/math_private.h: ... here.
46040
46041         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46042         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46043         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46044
46045         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46046         and <math_private.h>.
46047         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46048         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46049         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46050         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46051         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46052         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46053         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46054         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46055         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46056         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46058         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46059         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46061         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46063         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46064         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46065         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46066         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46068         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46069         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46071         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46072         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46073         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46077         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46079         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46081         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46082         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46083         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46084         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46085         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46086         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46087         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46088         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46089         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46090         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46092         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46093         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46094         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46097         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46098         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46099         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46100         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46101         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46102         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46104         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46105         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46106         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46108         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46109         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46110         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46111         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46115         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46116         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46117         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46118         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46121         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46123         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46124         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46127         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46128         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46129         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46130         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46133         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46134         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46135         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46136         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46137         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46138         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46139         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46140         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46141         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46142         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46143         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46147         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46148         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46149         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46150         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46151         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46152         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46153         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46154         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46155         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46157         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46158         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46159         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46160         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46161         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46162         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46163         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46164         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46165         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46166         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46167         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46168         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46169         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46170         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46171         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46172         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46173         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46174         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46175         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46176         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46177         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46178         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46179         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46180         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46181         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46182         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46183         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46184         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46185         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46186         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46187         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46188         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46189         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46190         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46191         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46192         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46193         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46194         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46195         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46196         * sysdeps/ieee754/k_standard.c: Likewise.
46197         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46198         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46199         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46200         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46201         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46202         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46203         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46204         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46209         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46210         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46211         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46212         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46213         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46214         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46215         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46216         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46217         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46218         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46219         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46220         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46221         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46222         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46223         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46224         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46225         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46226         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46227         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46228         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46229         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46230         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46231         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46232         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46233         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46234         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46235         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46236         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46237         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46238         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46239         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46240         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46241         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46242         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46243         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46244         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46245         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46246         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46247         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46248         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46249         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46250         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46251         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46252         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46253         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46254         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46255         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46258         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46280         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46282         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46283         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46288         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46290         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46293         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46296         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46298         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46299         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46300         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46301         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46305         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46307         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46309         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46311         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46313         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46314         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46315         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46316         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46317         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46319         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46320         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46321         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46322         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46323         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46324         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46325         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46326         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46327         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46328         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46329         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46330         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46331         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46332         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46333         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46334         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46335         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46336         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46337         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46338         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46339         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46340         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46341         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46346         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46347         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46349         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46350         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46351         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46352         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46353         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46354         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46355         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46356         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46357         * sysdeps/ieee754/s_lib_version.c: Likewise.
46358         * sysdeps/ieee754/s_matherr.c: Likewise.
46359         * sysdeps/ieee754/s_signgam.c: Likewise.
46360         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46361         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46362         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46363         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46364         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46365         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46366         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46367         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46368         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46369         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46370         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46371         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46372         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46373         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46374         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46375         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46376         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46377         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46378         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46379         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46381
46382 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46383
46384         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46385         * sunrpc/rpc_main.c: Likewise.
46386         * sunrpc/rpc_svcout.c: Likewise.
46387
46388 2012-03-09  David S. Miller  <davem@davemloft.net>
46389
46390         * include/math_private.h: New file.
46391
46392 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46393
46394         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46395         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46396         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46397         from <bits/socket_type.h>.
46398         (enum __socket_type): Don't define here.
46399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46401         bits/socket_type.h.
46402
46403         [BZ #13566]
46404         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46405         checking __USE_GNU.
46406
46407         * Makerules ($(inst_includedir)/%.h): New rule.
46408         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46409         (install-others): Remove variable setting.
46410         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46411
46412 2012-03-08  Richard Henderson  <rth@twiddle.net>
46413
46414         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46415         from macro to inline function; merge with the
46416         !__LIBC_INTERNAL_MATH_INLINES version.
46417         (__ieee754_sqrtf): Likewise.
46418
46419         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46420         to inline function.
46421         (__rintf, __floor, __floorf): Likewise.
46422
46423         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46424         macro to inline function.
46425         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46426
46427         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46428         not <math/math_private.h>.
46429
46430 2012-03-08  David S. Miller  <davem@davemloft.net>
46431
46432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46433         copyright year.
46434         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46435
46436 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46437
46438         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46439         normalization.
46440         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46441         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46442
46443 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46444
46445         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46446         be defined individually, they must be defined as a block.  Define
46447         S for printing a string instead of hidint the different by using a
46448         macro for adding the 'l'.
46449         * stdio-common/tst-fphex-wide.c: Adjust.
46450
46451 2012-03-07  Marek Polacek  <polacek@redhat.com>
46452
46453         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46454
46455 2012-03-08  Marek Polacek  <polacek@redhat.com>
46456
46457         [BZ #13806]
46458         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46459         * stdio-common/tst-fphex.c: Define a few macros to make the
46460         test reusable.  Use them.
46461         * stdio-common/tst-fphex-wide.c: New file.
46462
46463 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46464
46465         [BZ #6911]
46466         * manual/macros.texi (gnusystems): New macro.
46467         (nongnusystems): Likewise.
46468         (gnulinuxhurdsystems): Likewise.
46469         (gnuhurdsystems): Likewise..
46470         (gnulinuxsystems): Likewise.
46471         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46472         variants of the GNU system, not "GNU system".
46473         * manual/conf.texi: Likewise.
46474         * manual/errno.texi: Likewise.  Update example of errno macro
46475         expansion.
46476         * manual/filesys.texi: Likewise.
46477         (getumask): Document as specific to GNU/Hurd.
46478         * manual/install.texi: Likewise.  Reword some references to
46479         GNU/Linux.
46480         * manual/intro.texi: Likewise.
46481         * manual/io.texi: Likewise.
46482         (File Name Portability): Detail which constraints are inapplicable
46483         to all GNU systems and which are only inapplicable to GNU/Hurd.
46484         * manual/job.texi: Likewise.
46485         * manual/llio.texi: Likewise.
46486         (O_NOCTTY): Document as present on GNU/Linux.
46487         * manual/maint.texi: Likewise.
46488         * manual/memory.texi: Likewise.
46489         * manual/pattern.texi: Likewise.
46490         * manual/pipe.texi: Likewise.
46491         * manual/process.texi: Likewise.
46492         * manual/resource.texi: Likewise.
46493         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46494         child on GNU/Hurd.
46495         * manual/setjmp.texi: Likewise.
46496         * manual/signal.texi: Likewise.
46497         * manual/startup.texi: Likewise.
46498         * manual/stdio.texi: Likewise.
46499         * manual/terminal.texi: Likewise.
46500         (ONLCR): Document as POSIX.
46501         (OXTABS): Document availability on GNU/Linux as XTABS.
46502         (ONOEOT): Document availability separately from other bits.
46503         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46504         * manual/time.texi: Likewise.
46505         * manual/users.texi: Likewise.
46506         * INSTALL: Regenerated.
46507         * sysdeps/gnu/errlist.c: Regenerated.
46508
46509         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46510         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46511         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46512         puts.
46513         * configure: Regenerated.
46514
46515 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46516
46517         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46518         default includes instead of AC_HEADER_CHECK.
46519         * sysdeps/i386/configure: Regenerated.
46520
46521         [BZ #10716]
46522         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46523         * math/s_cacoshf.c (__cacoshf): Likewise.
46524         * math/s_cacoshl.c (__cacoshl): Likewise.
46525         * math/s_casinh.c (__casinh): Set signs of result from argument.
46526         * math/s_casinhf.c (__casinhf): Likewise.
46527         * math/s_casinhl.c (__casinhl): Likewise.
46528         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46529         (casinh_test): Add more tests.
46530         * sysdeps/i386/fpu/libm-test-ulps: Update.
46531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46532
46533 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46534
46535         * po/zh_TW.po: Update from translation team.
46536
46537         * login/Makefile (distribute): Remove variable.
46538         * catgets/Makefile: Likewise.
46539         * mach/Makefile: Likewise.
46540         * malloc/Makefile: Likewise.
46541         * misc/Makefile: Likewise.
46542         * iconv/Makefile: Likewise.
46543         * nscd/Makefile: Likewise.
46544         * hurd/Makefile: Likewise.
46545         * manual/Makefile: Likewise.
46546         * locale/Makefile: Likewise.
46547         * intl/Makefile: Likewise.
46548         * conform/Makefile: Likewise.
46549         * nss/Makefile: Likewise.
46550         * time/Makefile: Likewise.
46551         * soft-fp/Makefile: Likewise.
46552         * dirent/Makefile: Likewise.
46553         * gmon/Makefile: Likewise.
46554         * po/Makefile: Likewise.
46555         * rt/Makefile: Likewise.
46556         * socket/Makefile: Likewise.
46557         * math/Makefile: Likewise.
46558         * signal/Makefile: Likewise.
46559         * debug/Makefile: Likewise.
46560         * elf/Makefile: Likewise.
46561         * timezone/Makefile: Likewise.
46562         * stdlib/Makefile: Likewise.
46563         * iconvdata/Makefile: Likewise.
46564         * sunrpc/Makefile: Likewise.
46565         * io/Makefile: Likewise.
46566         * argp/Makefile: Likewise.
46567         * inet/Makefile: Likewise.
46568         * hesiod/Makefile: Likewise.
46569         * grp/Makefile: Likewise.
46570         * csu/Makefile: Likewise.
46571         * wctype/Makefile: Likewise.
46572         * crypt/Makefile: Likewise.
46573         * libio/Makefile: Likewise.
46574         * string/Makefile: Likewise.
46575         * nis/Makefile: Likewise.
46576         * resolv/Makefile: Likewise.
46577         * stdio-common/Makefile: Likewise.
46578         * wcsmbs/Makefile: Likewise.
46579         * dlfcn/Makefile: Likewise.
46580         * posix/Makefile: Likewise.
46581
46582         [BZ #6959]
46583         * timezone/Makefile: Don't install timezone files, just the programs
46584         and scripts.
46585
46586 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46587
46588         * nss/databases.def: Add missing gshadow entry.
46589
46590         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46591
46592 2012-03-06  Marek Polacek  <polacek@redhat.com>
46593
46594         [BZ #13726]
46595         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46596         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46597         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46598         * stdio-common/tst-long-dbl-fphex.c: New file.
46599
46600 2012-03-06  David S. Miller  <davem@davemloft.net>
46601
46602         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46603         (set_obp_int): New function.
46604         (get_obp_int): New function.
46605         (__get_clockfreq_via_dev_openprom): Likewise.
46606         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46607         Avoid unused variable warnings on 'val' and use builtin_expect.
46608         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46609         __builtin_expect.
46610         (INLINE_CLONE_SYSCALL): Likewise.
46611
46612 2012-03-05  David S. Miller  <davem@davemloft.net>
46613
46614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46615
46616 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46617
46618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46619
46620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46621         only for |x| >= 40.
46622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46623
46624 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46625
46626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46627         Replace gettimeofday with __vdso_gettimeofday.
46628
46629         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46630         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46631         __vdso_clock_gettime and __vdso_getcpu.
46632
46633         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46634         time with __vdso_time.
46635
46636 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46637
46638         * manual/lang.texi (size_t): Note types to which size_t may be
46639         equivalent with the GNU C Library, but do not describe when
46640         differences between them are significant.
46641
46642 2012-03-05  Andreas Jaeger  <aj@suse.de>
46643
46644         * sysdeps/i386/fpu/libm-test-ulps: Update.
46645
46646 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46647
46648         [BZ #3976]
46649         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46650         (__ieee754_pow): Save and restore rounding mode and use
46651         round-to-nearest for main computations.
46652         * math/libm-test.inc (pow_test_tonearest): New function.
46653         (pow_test_towardzero): Likewise.
46654         (pow_test_downward): Likewise.
46655         (pow_test_upward): Likewise.
46656         (main): Call the new functions.
46657         * sysdeps/i386/fpu/libm-test-ulps: Update.
46658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46659
46660         [BZ #3976]
46661         * math/libm-test.inc (cosh_test_tonearest): New function.
46662         (cosh_test_towardzero): Likewise.
46663         (cosh_test_downward): Likewise.
46664         (cosh_test_upward): Likewise.
46665         (sinh_test_tonearest): Likewise.
46666         (sinh_test_towardzero): Likewise.
46667         (sinh_test_downward): Likewise.
46668         (sinh_test_upward): Likewise.
46669         (main): Call the new functions.
46670         * sysdeps/i386/fpu/libm-test-ulps: Update.
46671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46672
46673 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46674
46675         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46676         default stack guard is set in last bytes.
46677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46678
46679 2012-03-05  Kees Cook  <keescook@chromium.org>
46680
46681         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46682
46683         [BZ #13656]
46684         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46685         possibly allocate from heap instead of stack.
46686         * stdio-common/bug-vfprintf-nargs.c: New file.
46687         * stdio-common/Makefile (tests): Add nargs overflow test.
46688
46689 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46690
46691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46692
46693 2012-03-03  Marek Polacek  <polacek@redhat.com>
46694
46695         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46696         * math/math_private.h: Likewise.
46697         * stdlib/tst-strtod.c: Likewise.
46698         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46699         * sysdeps/x86_64/bits/atomic.h: Likewise.
46700
46701 2012-03-02  David S. Miller  <davem@davemloft.net>
46702
46703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46707         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46708         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46709         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46710         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46711
46712 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46713
46714         [BZ #13792]
46715         * manual/examples/README: New file, says the example source files
46716         can be used under GPL>=2.
46717         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46718         line containing just "*/".
46719         * manual/examples/add.c: Add copyright header (GPL>=2).
46720         * manual/examples/argp-ex1.c: Likewise.
46721         * manual/examples/argp-ex2.c: Likewise.
46722         * manual/examples/argp-ex3.c: Likewise.
46723         * manual/examples/argp-ex4.c: Likewise.
46724         * manual/examples/atexit.c: Likewise.
46725         * manual/examples/db.c: Likewise.
46726         * manual/examples/dir.c: Likewise.
46727         * manual/examples/dir2.c: Likewise.
46728         * manual/examples/execinfo.c: Likewise.
46729         * manual/examples/filecli.c: Likewise.
46730         * manual/examples/filesrv.c: Likewise.
46731         * manual/examples/fmtmsgexpl.c: Likewise.
46732         * manual/examples/genpass.c: Likewise.
46733         * manual/examples/inetcli.c: Likewise.
46734         * manual/examples/inetsrv.c: Likewise.
46735         * manual/examples/isockad.c: Likewise.
46736         * manual/examples/longopt.c: Likewise.
46737         * manual/examples/memopen.c: Likewise.
46738         * manual/examples/memstrm.c: Likewise.
46739         * manual/examples/mkfsock.c: Likewise.
46740         * manual/examples/mkisock.c: Likewise.
46741         * manual/examples/mygetpass.c: Likewise.
46742         * manual/examples/pipe.c: Likewise.
46743         * manual/examples/popen.c: Likewise.
46744         * manual/examples/rprintf.c: Likewise.
46745         * manual/examples/search.c: Likewise.
46746         * manual/examples/select.c: Likewise.
46747         * manual/examples/setjmp.c: Likewise.
46748         * manual/examples/sigh1.c: Likewise.
46749         * manual/examples/sigusr.c: Likewise.
46750         * manual/examples/stpcpy.c: Likewise.
46751         * manual/examples/strdupa.c: Likewise.
46752         * manual/examples/strftim.c: Likewise.
46753         * manual/examples/strncat.c: Likewise.
46754         * manual/examples/subopt.c: Likewise.
46755         * manual/examples/swapcontext.c: Likewise.
46756         * manual/examples/termios.c: Likewise.
46757         * manual/examples/testopt.c: Likewise.
46758         * manual/examples/testpass.c: Likewise.
46759         * manual/examples/timeval_subtract.c: Likewise.
46760
46761         [BZ #13792]
46762         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46763         function to ...
46764         * manual/timeval_subtract.c.texi: ... here, new file.
46765
46766 2012-03-02  David S. Miller  <davem@davemloft.net>
46767
46768         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46769
46770 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46771
46772         [BZ #3976]
46773         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46774         (__sin): Save and restore rounding mode and use round-to-nearest
46775         for all computations.
46776         (__cos): Save and restore rounding mode and use round-to-nearest
46777         for all computations.
46778         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46779         <fenv.h>.
46780         (tan): Save and restore rounding mode and use round-to-nearest for
46781         all computations.
46782         * math/libm-test.inc (cos_test_tonearest): New function.
46783         (cos_test_towardzero): Likewise.
46784         (cos_test_downward): Likewise.
46785         (cos_test_upward): Likewise.
46786         (sin_test_tonearest): Likewise.
46787         (sin_test_towardzero): Likewise.
46788         (sin_test_downward): Likewise.
46789         (sin_test_upward): Likewise.
46790         (tan_test_tonearest): Likewise.
46791         (tan_test_towardzero): Likewise.
46792         (tan_test_downward): Likewise.
46793         (tan_test_upward): Likewise.
46794         (main): Call the new functions.
46795         * sysdeps/i386/fpu/libm-test-ulps: Update.
46796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46797
46798         [BZ #10135]
46799         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46800         small n, then large n, before computing and testing k+n.
46801         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46803         Likewise.
46804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46805         Likewise.
46806         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46807         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46808         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46809         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46813         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46814         * math/libm-test.inc (scalbn_test): Add more tests.
46815         (scalbln_test): Likewise.
46816
46817         * manual/filesys.texi (mode_t): Describe constraints on size and
46818         signedness, not exact equivalence to a particular type.
46819         (ino_t): Likewise.
46820         (ino64_t): Likewise.
46821         (dev_t): Likewise.
46822         (nlink_t): Likewise.
46823         (blkcnt_t): Likewise.
46824         (blkcnt64_t): Likewise.
46825         * manual/llio.texi (off_t): Likewise.
46826
46827         [BZ #3976]
46828         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46829         (__ieee754_exp): Save and restore rounding mode and use
46830         round-to-nearest for all computations.
46831         * math/libm-test.inc (exp_test_tonearest): New function.
46832         (exp_test_towardzero): Likewise.
46833         (exp_test_downward): Likewise.
46834         (exp_test_upward): Likewise.
46835         (main): Call the new functions.
46836         * sysdeps/i386/fpu/libm-test-ulps: Update.
46837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46838
46839 2012-03-01  Chris Demetriou  <cgd@google.com>
46840
46841         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46842         have predictable order.
46843
46844 2012-03-01  David S. Miller  <davem@davemloft.net>
46845
46846         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46847
46848         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46849         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46850         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46851         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46852
46853         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46854         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46855         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46857         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46858         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46859         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46860         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46861         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46862
46863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46864
46865         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46866         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46867         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46868
46869         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46870         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46871         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46872         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46873         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46874         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46875         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46876         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46877         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46878         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46879         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46880         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46882         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46883         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46885         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46886         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46887         * sysdeps/sparc/elf/configure: Regenerated.
46888
46889 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46890
46891         * configure.in (AS, LD): Require binutils 2.20 or later.
46892         * configure: Regenerated.
46893         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46894         as required minimum version.
46895         * INSTALL: Regenerated.
46896
46897         [BZ #2541]
46898         [BZ #4108]
46899         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46900         before squaring exponent.
46901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46902         bottom long double and 27 bits of top long double before squaring
46903         exponent.
46904         * math/libm-test.inc (erfc_test): Add more tests.
46905         * sysdeps/i386/fpu/libm-test-ulps: Update.
46906         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46908
46909 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46910
46911         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46912         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46913         containing bit-fields.
46914         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46915         * soft-fp/single.h (_FP_UNION_S): Likewise.
46916         * soft-fp/double.h (_FP_UNION_D): Likewise.
46917
46918 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46919
46920         [BZ #13786]
46921         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46922         not include ../strcmp.S.
46923         [USE_AS_STRNCASECMP_L]: Likewise.
46924         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46925         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46926         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46927         (__strncasecmp_l_ia32): Define as alias to
46928         __strncasecmp_l_nonascii.
46929
46930         [BZ #5794]
46931         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46932         * sysdeps/i386/fpu/libm-test-ulps: Update.
46933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46934
46935         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46937
46938 2012-02-29  Jeff Law  <law@redhat.com>
46939
46940         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46941         out of bounds read.
46942
46943 2012-02-29  Marek Polacek  <polacek@redhat.com>
46944
46945         [BZ #13706]
46946         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46947         * elf/Makefile: Add rules to run tst-unused-dep.out.
46948
46949 2012-02-28  David S. Miller  <davem@davemloft.net>
46950
46951         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46952         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46953         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46954         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46955         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46956         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46957
46958 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46959
46960         * math/libm-test.inc (llround_test): Move one test from
46961         lround_test.  Use TEST_f_L in moved test.
46962         (lround_test): Move misplaced test to llround_test.  Add testcase
46963         from bug 2561.
46964
46965 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46966
46967         * sysdeps/x86_64/fpu/e_expf.S: New file.
46968         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46969
46970 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46971
46972         [BZ #13637]
46973         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46974         of remain_len that may cause incomplete multi-byte character and
46975         false match.
46976         * posix/bug-regex33.c: New file.
46977         * posix/Makefile (tests): Add bug-regex33.
46978
46979 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46980
46981         * manual/macros.texi: New file.
46982         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46983         * manual/libc.texinfo: Include macros.texi.
46984         * manual/creatute.texi: Likewise.
46985         * manual/install.texi: Likewise.
46986         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46987         @glibcadj{} in references to the GNU C Library.
46988         * manual/charset.texi: Likewise.
46989         * manual/conf.texi: Likewise.
46990         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46991         when not using those macros.
46992         * manual/creature.texi: Likewise.
46993         * manual/crypt.texi: Likewise.
46994         * manual/errno.texi: Likewise.
46995         * manual/filesys.texi: Likewise.
46996         * manual/header.texi: Likewise.
46997         * manual/install.texi: Likewise.
46998         * manual/intro.texi: Likewise.
46999         * manual/io.texi: Likewise.
47000         * manual/job.texi: Likewise.
47001         * manual/lang.texi: Likewise.
47002         * manual/libc.texiinfo: Likewise.
47003         * manual/llio.texi: Likewise.
47004         * manual/locale.texi: Likewise.
47005         * manual/maint.texi: Likewise.
47006         * manual/math.texi: Likewise.
47007         * manual/memory.texi: Likewise.
47008         * manual/message.texi: Likewise.
47009         * manual/nss.texi: Likewise.
47010         * manual/pattern.texi: Likewise.
47011         * manual/process.texi: Likewise.
47012         * manual/resource.texi: Likewise.
47013         * manual/search.texi: Likewise.
47014         * manual/setjmp.texi: Likewise.
47015         * manual/signal.texi: Likewise.
47016         * manual/socket.texi: Likewise.
47017         * manual/startup.texi: Likewise.
47018         * manual/stdio.texi: Likewise.
47019         * manual/string.texi: Likewise.
47020         * manual/sysinfo.texi: Likewise.
47021         * manual/syslog.texi: Likewise.
47022         * manual/terminal.texi: Likewise.
47023         * manual/time.texi: Likewise.
47024         * manual/users.texi: Likewise.
47025         * INSTALL: Regenerated.
47026         * NOTES: Regenerated.
47027         * sysdeps/gnu/errlist.c: Regenerated.
47028
47029 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47030
47031         * include/dirent.h: Include <dirstream.h> before
47032         <dirent/dirent.h>.
47033
47034 2012-02-28  David S. Miller  <davem@davemloft.net>
47035
47036         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47037         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47038         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47039         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47040
47041 2012-02-27  David S. Miller  <davem@davemloft.net>
47042
47043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47045         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47046         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47047
47048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47049         frame pointer instead of stack pointer relative arg slot.
47050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47051         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47052         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47053
47054 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47055
47056         [BZ #3992]
47057         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47058
47059 2012-02-27  David S. Miller  <davem@davemloft.net>
47060
47061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47067         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47068         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47069
47070 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47071
47072         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47073         later.  Allow versions 5-9.
47074         * configure: Regenerated.
47075         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47076         required minimum version and 4.6 as recommended version.  Do not
47077         mention bugs in GCC 2.7 and 2.8.
47078         * INSTALL: Regenerated.
47079
47080 2012-02-27  David S. Miller  <davem@davemloft.net>
47081
47082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47086         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47087         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47088         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47089         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47090
47091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47092         manipulate bits before adding and subtracting TWO112[sx].
47093         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47094
47095 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47096
47097         [BZ #13775]
47098         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47099         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47100         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47101         being in POSIX, because they are in 1003.1-2008.
47102
47103         * rt/tst-aio.c: Include <fcntl.h>.
47104         * rt/tst-aio7.c: Likewise.
47105         * rt/tst-aio64.c: Likewise.
47106
47107         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47108
47109 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47110
47111         * manual/install.texi (--with-headers): Describe headers as
47112         interface headers, not private headers.
47113         (Specific advice for GNU/Linux systems): Describe use of headers
47114         from "make headers_install", not private headers from older
47115         kernels.
47116         * INSTALL: Regenerated.
47117         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47118         Change to 2.6.19.
47119         * sysdeps/unix/sysv/linux/configure: Regenerated.
47120
47121         * manual/llio.texi (fclean): Remove documentation.
47122
47123         * manual/Makefile (libc-texi-generated): New variable.  Include
47124         version.texi.
47125         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47126         $(libc-texi-generated), not duplicated list of files.
47127         (version.texi, stamp-version): New rules.
47128         (realclean): Remove $(libc-texi-generated), not individual files
47129         from that list.  Do not remove dir-add.texinfo.
47130         * manual/libc.texinfo: Comment out uses of edition numbers and
47131         references to printed manual.  Remove last-updated dates.
47132         (EDITION): Comment out.
47133         (ISBN): Likewise.
47134         (VERSION, UPDATED): Remove.
47135         (version.texi): Include.
47136
47137 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47138
47139         * sysdeps/posix/spawni.c: Include <signal.h>.
47140         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47141         * sysdeps/pthread/aio_fsync.c: Likewise.
47142
47143 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47144
47145         * conform/Makefile (tests): Run only when not cross-compiling and
47146         when fast-check is not defined.
47147
47148         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47149         * conform/data/limits.h-data: Fixes for POSIX2008.
47150         * conform/run-conformtest.sh: Run all tests.
47151         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47152         headers.
47153         * include/bits/dlfcn.h: Likewise.
47154         * include/langinfo.h: Likewise.
47155         * include/monetary.h: Likewise.
47156         * include/sys/poll.h: Likewise.
47157
47158         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47159         for __USE_GNU.
47160         * posix/spawn.h: Define __need_sigset_t.
47161         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47162         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47163         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47164         to get sigevent_t only.
47165         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47166         only for __USE_GNU.
47167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47168         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47169         process_vm_writev only for __USE_GNU.
47170         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47171
47172         * conform/Makefile: For now ignore errors from run-conformtest.
47173         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47174         POSIX to avoid namespace pollution.  Don't prepend headers.
47175         * conform/data/aio.h-data: Fixes for POSIX testing.
47176         * conform/data/fcntl.h-data: Likewise.
47177         * conform/data/glob.h-data: Likewise.
47178         * conform/data/grp.h-data: Likewise.
47179         * conform/data/pthread.h-data: Likewise.
47180         * conform/data/pwd.h-data: Likewise.
47181         * conform/data/signal.h-data: Likewise.
47182         * conform/data/spawn.h-data: Likewise.
47183         * conform/data/stdio.h-data: Likewise.
47184         * conform/data/stdlib.h-data: Likewise.
47185         * conform/data/stropts.h-data: Likewise.
47186         * conform/data/sys/mman.h-data: Likewise.
47187         * conform/data/sys/stat.h-data: Likewise.
47188         * conform/data/sys/types.h-data: Likewise.
47189         * conform/data/sys/wait.h-data: Likewise.
47190         * conform/data/time.h-data: Likewise.
47191         * conform/data/unistd.h-data: Likewise.
47192         * conform/data/utime.h-data: Likewise.
47193
47194         * io/sys/stat.h: fchmod was always in POSIX.
47195         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47196         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47197         * rt/aio.h: Define __need_timespec before including <time.h>.
47198         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47199         struct.  Add forward declaration of pthread_attr_t and use it in
47200         sigevent.
47201         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47203         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47204         always remove CLK_TCK definition.
47205
47206 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47207
47208         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47209
47210 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47211
47212         * conform/run-conformtest.sh: New file.
47213         * conform/Makefile: Run run-conformtest for tests.
47214         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47215         support.
47216
47217         * conform/data/uchar.h-data: New file.
47218         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47219         * conform/data/arpa/inet.h-data: Likewise.
47220         * conform/data/assert.h-data: Likewise.
47221         * conform/data/complex.h-data: Likewise.
47222         * conform/data/cpio.h-data: Likewise.
47223         * conform/data/ctype.h-data: Likewise.
47224         * conform/data/dirent.h-data: Likewise.
47225         * conform/data/dlfcn.h-data: Likewise.
47226         * conform/data/errno.h-data: Likewise.
47227         * conform/data/fcntl.h-data: Likewise.
47228         * conform/data/float.h-data: Likewise.
47229         * conform/data/fmtmsg.h-data: Likewise.
47230         * conform/data/fnmatch.h-data: Likewise.
47231         * conform/data/ftw.h-data: Likewise.
47232         * conform/data/glob.h-data: Likewise.
47233         * conform/data/grp.h-data: Likewise.
47234         * conform/data/iconv.h-data: Likewise.
47235         * conform/data/inttypes.h-data: Likewise.
47236         * conform/data/langinfo.h-data: Likewise.
47237         * conform/data/libgen.h-data: Likewise.
47238         * conform/data/limits.h-data: Likewise.
47239         * conform/data/locale.h-data: Likewise.
47240         * conform/data/math.h-data: Likewise.
47241         * conform/data/monetary.h-data: Likewise.
47242         * conform/data/mqueue.h-data: Likewise.
47243         * conform/data/ndbm.h-data: Likewise.
47244         * conform/data/net/if.h-data: Likewise.
47245         * conform/data/netdb.h-data: Likewise.
47246         * conform/data/netinet/in.h-data: Likewise.
47247         * conform/data/nl_types.h-data: Likewise.
47248         * conform/data/poll.h-data: Likewise.
47249         * conform/data/pthread.h-data: Likewise.
47250         * conform/data/pwd.h-data: Likewise.
47251         * conform/data/regex.h-data: Likewise.
47252         * conform/data/sched.h-data: Likewise.
47253         * conform/data/search.h-data: Likewise.
47254         * conform/data/semaphore.h-data: Likewise.
47255         * conform/data/setjmp.h-data: Likewise.
47256         * conform/data/signal.h-data: Likewise.
47257         * conform/data/spawn.h-data: Likewise.
47258         * conform/data/stdarg.h-data: Likewise.
47259         * conform/data/stdio.h-data: Likewise.
47260         * conform/data/stdlib.h-data: Likewise.
47261         * conform/data/string.h-data: Likewise.
47262         * conform/data/strings.h-data: Likewise.
47263         * conform/data/stropts.h-data: Likewise.
47264         * conform/data/sys/ipc.h-data: Likewise.
47265         * conform/data/sys/mman.h-data: Likewise.
47266         * conform/data/sys/msg.h-data: Likewise.
47267         * conform/data/sys/resource.h-data: Likewise.
47268         * conform/data/sys/select.h-data: Likewise.
47269         * conform/data/sys/sem.h-data: Likewise.
47270         * conform/data/sys/shm.h-data: Likewise.
47271         * conform/data/sys/socket.h-data: Likewise.
47272         * conform/data/sys/stat.h-data: Likewise.
47273         * conform/data/sys/statvfs.h-data: Likewise.
47274         * conform/data/sys/time.h-data: Likewise.
47275         * conform/data/sys/timeb.h-data: Likewise.
47276         * conform/data/sys/times.h-data: Likewise.
47277         * conform/data/sys/types.h-data: Likewise.
47278         * conform/data/sys/uio.h-data: Likewise.
47279         * conform/data/sys/un.h-data: Likewise.
47280         * conform/data/sys/utsname.h-data: Likewise.
47281         * conform/data/sys/wait.h-data: Likewise.
47282         * conform/data/syslog.h-data: Likewise.
47283         * conform/data/tar.h-data: Likewise.
47284         * conform/data/termios.h-data: Likewise.
47285         * conform/data/utime.h-data: Likewise.
47286         * conform/data/utmpx.h-data: Likewise.
47287         * conform/data/varargs.h-data: Likewise.
47288         * conform/data/wchar.h-data: Likewise.
47289         * conform/data/wctype.h-data: Likewise.
47290         * conform/data/wordexp.h-data: Likewise.
47291
47292         * include/stropts.h: New file.
47293         * include/uchar.h: New file.
47294         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47295         * include/assert.h: Likewise.
47296         * include/ctype.h: Likewise.
47297         * include/dirent.h: Likewise.
47298         * include/dlfcn.h: Likewise.
47299         * include/fcntl.h: Likewise.
47300         * include/fnmatch.h: Likewise.
47301         * include/glob.h: Likewise.
47302         * include/grp.h: Likewise.
47303         * include/libio.h: Likewise.
47304         * include/locale.h: Likewise.
47305         * include/math.h: Likewise.
47306         * include/net/if.h: Likewise.
47307         * include/netdb.h: Likewise.
47308         * include/netinet/in.h: Likewise.
47309         * include/pthread.h: Likewise.
47310         * include/pwd.h: Likewise.
47311         * include/regex.h: Likewise.
47312         * include/sched.h: Likewise.
47313         * include/search.h: Likewise.
47314         * include/setjmp.h: Likewise.
47315         * include/signal.h: Likewise.
47316         * include/stdio.h: Likewise.
47317         * include/stdlib.h: Likewise.
47318         * include/string.h: Likewise.
47319         * include/sys/cdefs.h: Likewise.
47320         * include/sys/mman.h: Likewise.
47321         * include/sys/msg.h: Likewise.
47322         * include/sys/resource.h: Likewise.
47323         * include/sys/select.h: Likewise.
47324         * include/sys/socket.h: Likewise.
47325         * include/sys/stat.h: Likewise.
47326         * include/sys/statvfs.h: Likewise.
47327         * include/sys/time.h: Likewise.
47328         * include/sys/times.h: Likewise.
47329         * include/sys/uio.h: Likewise.
47330         * include/sys/utsname.h: Likewise.
47331         * include/sys/wait.h: Likewise.
47332         * include/termios.h: Likewise.
47333         * include/time.h: Likewise.
47334         * include/ulimit.h: Likewise.
47335         * include/unistd.h: Likewise.
47336         * include/utime.h: Likewise.
47337         * include/wchar.h: Likewise.
47338         * include/wctype.h: Likewise.
47339         * include/wordexp.h: Likewise.
47340
47341         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47342
47343         * time/time.h: TIME_UTC must be a macro.
47344         Make timespec_get available for ISO C11 only as well.
47345
47346 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47347
47348         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47349         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47350
47351 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47352
47353         * configure.in: Use -o not -a in test for unsupported multi-arch.
47354
47355 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47356
47357         * manual/texinfo.tex: Update to version 2012-01-19.16.
47358
47359 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47360
47361         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47362
47363 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47364
47365         [BZ #13738]
47366         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47367         * manual/fdl-1.3.texi: New file.
47368         * manual/fdl-1.1.texi: File removed.
47369
47370         [BZ #13738]
47371         * manual/libc.texinfo (FDL_VERSION): New @set.
47372         Use it for mention of FDL in cover text.
47373         (Documentation License): Use it in @include file name.
47374
47375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47376             Roland McGrath  <roland@hack.frob.com>
47377
47378         [BZ #5461]
47379         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47380         (not LONG_LONG_MAX and LONG_LONG_MIN.
47381         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47382         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47383         name.
47384         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47385
47386 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47387
47388         [BZ #2547]
47389         [BZ #11365]
47390         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47391         manipulate bits before adding and subtracting TWO23[sx].
47392         * math/libm-test.inc (nearbyint_test): Add more tests.
47393
47394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47395
47396         [BZ #2548]
47397         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47398         bits before adding and subtracting TWO23[sx].
47399         * math/libm-test.inc (rint_test): Add more tests.
47400         (rint_test_tonearest): Likewise.
47401         (rint_test_towardzero): Likewise.
47402         (rint_test_downward): Likewise.
47403         (rint_test_upward: Likewise.
47404
47405 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47406
47407         [BZ #10110]
47408         * include/stdc-predef.h: New file.  Extracted from features.h.
47409         * include/features.h: Include stdc-predef.h.
47410         * Makefile (headers): Add stdc-predef.h.
47411         * CONFORMANCE (Compiler limitations): Update.
47412
47413 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47414
47415         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47416
47417 2012-02-21  David S. Miller  <davem@davemloft.net>
47418
47419         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47420         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47421
47422 2012-02-20  David S. Miller  <davem@davemloft.net>
47423
47424         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47425         using a normal save/restore sequence, rather than allocating a
47426         dummy stack frame just to store a frame pointer and restore.
47427         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47428
47429 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47430
47431         * manual/install.texi: Fix stray word in line-wrapped comment.
47432
47433 2012-02-20  David S. Miller  <davem@davemloft.net>
47434
47435         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47436         both binutils and gcc support GOTDATA.
47437
47438         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47439         "rd %pc" in the PIC register setup sequences.
47440
47441         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47442         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47443         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47444         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47445         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47447         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47448         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47450         (SYSCALL_ERROR_HANDLER): Likewise.
47451         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47452         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47454         (SYSCALL_ERROR_HANDLER): Likewise.
47455
47456         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47457         (HAVE_GCC_GOTDATA): New.
47458         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47459         relocation support in both binutils and gcc.
47460         * sysdeps/sparc/elf/configure: Regenerate.
47461
47462         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47463         * sysdeps/sparc/sparc32/elf/configure: Delete.
47464         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47465         * sysdeps/sparc/sparc64/elf/configure: Delete.
47466         * sysdeps/sparc/elf/configure.in: New file.
47467         * sysdeps/sparc/elf/configure: Generate.
47468
47469         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47470         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47471         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47472         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47473         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47474
47475 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47476
47477         * manual/install.texi: Do not mention specific glibc version
47478         numbers.
47479         * manual/libc.texinfo (VERSION, UPDATED): Update.
47480         (@copying): Use @copyright{} and range of years.
47481
47482 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47483
47484         [BZ #13695]
47485         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47486         [crti.S not in sysdirs] (generated): Do not append.
47487         [crti.S not in sysdirs] (omit-deps): Likewise.
47488         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47489         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47490         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47491         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47492         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47493         Likewise.
47494         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47495         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47496         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47497         * csu/defs.awk: Remove file.
47498         * sysdeps/generic/initfini.c: Likewise.
47499         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47500         variable.
47501         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47502         Likewise.
47503
47504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47505
47506         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47507         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47508         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47509         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47511         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47512         <bits/epoll.h>.
47513         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47514         (__EPOLL_PACKED): Define to empty if not defined by
47515         <bits/epoll.h>.
47516         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47518         bits/epoll.h.
47519
47520 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47521
47522         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47523         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47524         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47525         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47526         <bits/timerfd.h>.
47527         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47529         bits/timerfd.h.
47530
47531 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47532
47533         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47534         in C locale.
47535         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47536         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47537         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47539
47540 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47541
47542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47543         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47544
47545 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47546
47547         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47548         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47549         defined.
47550         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47551         Likewise.
47552         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47553         entry for 2.16.
47554
47555 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47556
47557         * math/w_acos.c: Use non-signaling floating-point comparisons.
47558         * math/w_acosf.c: Likewise.
47559         * math/w_acosh.c: Likewise.
47560         * math/w_acoshf.c: Likewise.
47561         * math/w_acoshl.c: Likewise.
47562         * math/w_acosl.c: Likewise.
47563         * math/w_asin.c: Likewise.
47564         * math/w_asinf.c: Likewise.
47565         * math/w_asinl.c: Likewise.
47566         * math/w_atanh.c: Likewise.
47567         * math/w_atanhf.c: Likewise.
47568         * math/w_atanhl.c: Likewise.
47569         * math/w_exp2.c: Likewise.
47570         * math/w_exp2f.c: Likewise.
47571         * math/w_exp2l.c: Likewise.
47572         * math/w_j0.c: Likewise.
47573         * math/w_j0f.c: Likewise.
47574         * math/w_j0l.c: Likewise.
47575         * math/w_j1.c: Likewise.
47576         * math/w_j1f.c: Likewise.
47577         * math/w_j1l.c: Likewise.
47578         * math/w_jn.c: Likewise.
47579         * math/w_jnf.c: Likewise.
47580         * math/w_log.c: Likewise.
47581         * math/w_log10.c: Likewise.
47582         * math/w_log10f.c: Likewise.
47583         * math/w_log10l.c: Likewise.
47584         * math/w_log2.c: Likewise.
47585         * math/w_log2f.c: Likewise.
47586         * math/w_log2l.c: Likewise.
47587         * math/w_logf.c: Likewise.
47588         * math/w_logl.c: Likewise.
47589         * math/w_sqrt.c: Likewise.
47590         * math/w_sqrtf.c: Likewise.
47591         * math/w_sqrtl.c: Likewise.
47592         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47593         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47594         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47595         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47596         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47597
47598 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47599
47600         [BZ #9739]
47601         * manual/string.texi (strnlen): Use correct parameter name in
47602         equivalent expression.
47603
47604 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47605
47606         [BZ #11174]
47607         * manual/users.texi (seteuid): Consistently use neweuid for
47608         argument name.
47609
47610 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47611
47612         [BZ #13704]
47613         * manual/nss.texi (Services in the NSS configuration): Correct
47614         list of services in example configuration file.
47615
47616 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47617
47618         [BZ #11322]
47619         * manual/arith.texi: Remove statements about negative zero
47620         behaving identically to zero.
47621
47622 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47623
47624         [BZ #5993]
47625         * manual/install.texi: Do not document upgrading from libc5.
47626
47627 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47628
47629         [BZ #4596]
47630         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47631
47632 2012-02-18  David S. Miller  <davem@davemloft.net>
47633
47634         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47635         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47636         %o7 across the call.
47637         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47638         instead.
47639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47640         SETUP_PIC_REG_LEAF.
47641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47642         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47643         * sysdeps/sparc/crtn.S: Likewise.
47644
47645 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47646
47647         * aout/Makefile: Remove.
47648
47649 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47650
47651         [BZ #13058]
47652         * manual/examples/argp-ex1.c (main): Format definition in GNU
47653         style.
47654         * manual/examples/argp-ex2.c (main): Likewise.
47655         * manual/examples/argp-ex3.c (main): Likewise.
47656         * manual/examples/argp-ex4.c (main): Likewise.
47657         * manual/examples/longopt.c (main): Use new-style prototype
47658         definition.
47659         * manual/examples/strncat.c (main): Specify return type and use
47660         (void) for arguments.
47661         * manual/examples/subopt.c (main): Use char **argv argument.
47662
47663 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47664
47665         [BZ #5077]
47666         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47667         rounding modes.
47668
47669 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47670
47671         [BZ #6907]
47672         * manual/string.texi (strchr): Change when strchrnul is
47673         recommended.
47674
47675 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47676
47677         [BZ #174]
47678         * manual/locale.texi (setlocale): Document LOCPATH.
47679
47680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47681
47682         [BZ #10210]
47683         * manual/process.texi (execle): Move @dots{} before last argument.
47684
47685 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47686
47687         [BZ #12047]
47688         * manual/charset.texi (Generic Charset Conversion): Fix typo
47689         (LC_TYPE -> LC_CTYPE).
47690
47691 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47692
47693         [BZ #5805]
47694         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47695         (scalbnf): Likewise.
47696         (scalbnl): Likewise.
47697         (scalbln): Likewise.
47698         (scalblnf): Likewise.
47699         (scalblnl): Likewise.
47700         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47701         (vwarnx): Likewise.
47702         (verr): Likewise.
47703         (verrx): Likewise.
47704         * manual/filesys.texi (telldir): Use braces around return type.
47705         * manual/llio.texi (mmap): Add space after comma.
47706         (mmap64): Likewise.
47707         * manual/math.texi (jn): Use @var{} on parameter names.
47708         (jnf): Likewise.
47709         (jnl): Likewise.
47710         (yn): Likewise.
47711         (ynf): Likewise.
47712         (ynl): Likewise.
47713         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47714         line.
47715         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47716         "...".
47717         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47718         (sched_get_priority_max): Likewise.
47719         * manual/signal.texi (sigvec): Add space after comma.
47720         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47721         names.
47722         (if_indextoname): Likewise.
47723         (if_freenameindex): Likewise.
47724         (sendto): Use ',' instead of '.' in prototype.
47725         * manual/startup.texi (syscall): Use @dots{} instead of literal
47726         "...".
47727         * manual/stdio.texi (__fpending): Separate initial words of
47728         paragraph from @deftypefun line.
47729         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47730         "...".
47731         (vsyslog): Use @var{} on parameter names.
47732         * manual/terminal.texi (stty): Use @var{} on parameter names.
47733         * manual/users.texi (getutmp): Use @var{} on parameter names.
47734         (getutmpx): Likewise.
47735
47736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47737
47738         [BZ #6884]
47739         * manual/stdio.texi (fopen): Fix typos in description of
47740         ",ccs=STRING".
47741
47742 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47743
47744         [BZ #4026]
47745         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47746         get clock_id definition.
47747
47748 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47749
47750         [BZ #4822]
47751         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47752         (madvise): Cast every argument to void on its own.
47753
47754 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47755
47756         [BZ #9902]
47757         * manual/startup.texi (Exit Status): Fix typo.
47758
47759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47760
47761         [BZ #10140]
47762         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47763         * manual/examples/argp-ex2.c: Likewise.
47764         * manual/examples/argp-ex3.c: Likewise.
47765
47766 2012-02-16  Richard Henderson  <rth@redhat.com>
47767
47768         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47769         * sysdeps/s390/s390-32/initfini.c: Remove.
47770         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47771         * sysdeps/s390/s390-64/initfini.c: Remove.
47772
47773 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47774
47775         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47776         compiler output for sysdeps/generic/initfini.c.
47777         * sysdeps/sh/elf/initfini.c: Remove file.
47778
47779 2012-02-16  David S. Miller  <davem@davemloft.net>
47780
47781         [BZ #11494]
47782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47783
47784         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47785         * sysdeps/sparc/crti.S: New file.
47786         * sysdeps/sparc/crtn.S: New file.
47787         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47788         * sysdeps/sparc/sparc64/Makefile: Likewise.
47789
47790 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47791
47792         [BZ #3335]
47793         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47794
47795 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47796
47797         [BZ #4822]
47798         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47799
47800         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47801         (write, read, close): Likewise.
47802         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47803
47804 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47805
47806         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47807         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47808         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47809         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47810         <bits/signalfd.h>.
47811         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47813         bits/signalfd.h.
47814
47815 2012-02-14  Marek Polacek  <polacek@redhat.com>
47816
47817         * sysdeps/x86_64/crti.S: New file.
47818         * sysdeps/x86_64/crtn.S: New file.
47819         * sysdeps/x86_64/elf/initfini.c: Remove file.
47820
47821 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47822
47823         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47824         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47825         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47826         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47827         <bits/inotify.h>.
47828         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47830         bits/inotify.h.
47831
47832 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47833
47834         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47835         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47836         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47837         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47838         <bits/eventfd.h>.
47839         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47841         bits/eventfd.h.
47842
47843 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47844
47845         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47846         __feraiseexcept instead of feraiseexcept.
47847
47848         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47849         nanosleep invocations.
47850         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47851         strings, and add error checking for a nanosleep invocations.
47852
47853 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47854
47855         Replace FSF snail mail address with URLs, as per GNU coding standards.
47856         Most of the snail mail addresses were wrong anyway, and omitting
47857         them makes the source code easier to maintain.  Almost all of the
47858         changes are to license notices and to locale LC_IDENTIFICATION
47859         addresses, except for this one:
47860         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47861         not its snail mail address.
47862
47863 2012-02-09  Richard Henderson  <rth@twiddle.net>
47864
47865         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47866         of kernel-features.h.
47867
47868         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47869
47870 2012-02-08  Marek Polacek  <polacek@redhat.com>
47871
47872         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47873         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47874         * sysdeps/gnu/_G_config.h: Likewise.
47875         * sysdeps/generic/_G_config.h: Likewise.
47876
47877 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47878
47879         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47880         tests.
47881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47882
47883         * sysdeps/powerpc/powerpc32/crti.S: New file.
47884         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47885         * sysdeps/powerpc/powerpc64/crti.S: New file.
47886         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47887
47888         * Makeconfig (have-initfini): Don't set.
47889         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47890         * configure.in (nopic_initfini): Don't substitute.
47891         * config.h.in (HAVE_INITFINI): Don't #undef.
47892         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47893         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47894
47895 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47896
47897         Support crti.S and crtn.S provided directly by architectures.
47898         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47899         [crti.S in sysdirs] (omit-deps): Likewise.
47900         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47901         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47902         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47903         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47904         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47905         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47906         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47907         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47908         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47909         compiler output for sysdeps/generic/initfini.c.
47910         * sysdeps/i386/elf/Makefile: Remove file.
47911         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47912
47913 2012-02-07  Marek Polacek  <polacek@redhat.com>
47914
47915         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47916         * sysdeps/gnu/_G_config.h: Likewise.
47917         * sysdeps/mach/hurd/_G_config.h: Likewise.
47918
47919 2012-02-07  Marek Polacek  <polacek@redhat.com>
47920
47921         * math/Makefile (tests): Add tst-CMPLX2.
47922         * math/tst-CMPLX2.c: New file.
47923
47924 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47925
47926         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47927
47928         * math/libm-test.inc (jn_test): Add missing L suffix.
47929
47930 2012-02-06  Marek Polacek  <polacek@redhat.com>
47931
47932         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47933         * sysdeps/i386/fpu/e_powf.S: Likewise.
47934         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47935         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47936         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47937         * sysdeps/i386/fpu/e_pow.S: Likewise.
47938         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47939         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47940         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47941         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47942         * sysdeps/i386/fpu/e_log2.S: Likewise.
47943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47944         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47945         * sysdeps/i386/fpu/e_powl.S: Likewise.
47946         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47947         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47948         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47949         * sysdeps/i386/fpu/e_logl.S: Likewise.
47950         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47951         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47952         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47953         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47954         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47955         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47956         * sysdeps/i386/fpu/e_log.S: Likewise.
47957         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47958         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47959         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47960         * sysdeps/i386/fpu/e_logf.S: Likewise.
47961         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47962         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47963         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47964         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47965         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47966         * sysdeps/i386/fpu/e_log10.S: Likewise.
47967         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47968         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47969         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47970         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47971         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47972         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47973         * sysdeps/i386/asm-syntax.h: Likewise.
47974         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47975         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47976         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47977         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47978         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47979         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47980         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47981         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47982         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47983         * sysdeps/powerpc/sysdep.h: Likewise.
47984         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47985         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47986
47987 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47988
47989         [BZ #411]
47990         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47991
47992 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47993
47994         * sysdeps/i386/sysdep.h: Include <features.h>.
47995         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47996         version.
47997
47998 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47999
48000         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48001         Define.
48002         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48003         LOAD_PIC_REG_STR.
48004
48005 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48006
48007         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48008         (SETUP_PIC_REG): Use GET_PC_THUNK.
48009         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48010         macro.
48011
48012 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48013
48014         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48015         for non-PIC compilation.
48016         (SETUP_PIC_REG): Add .p2align directive.
48017         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48018         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48019         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48020         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48021         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48022         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48023         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48031         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48032         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48033         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48034         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48035         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48036         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48038         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48039         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48040         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48043         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48044         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48045         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48046         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48047         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48048         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48049         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48050         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48051         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48052         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48053         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48054         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48055         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48056         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48057         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48058
48059 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48060
48061         * math/tst-CMPLX.c: Include <stdio.h>.
48062
48063 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48064
48065         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48066         float.
48067         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48068         * sysdeps/sparc/bits/mathdef.h: Likewise.
48069
48070 2012-01-31  Marek Polacek  <polacek@redhat.com>
48071
48072         * libio/libio.h: Don't define _PARAMS.
48073         * locale/programs/config.h: Don't define PARAMS.
48074         * stdlib/strtol_l.c: Likewise.
48075         (__strtol_l): Remove PARAMS from the prototype.
48076
48077 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48078
48079         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48080         names.  Just use the correct names.  Remove unnecessary wrapper
48081         functions.
48082         * malloc/arena.c: Likewise.
48083         * malloc/hooks.c: Likewise.
48084
48085         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48086         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48087         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48088
48089 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48090
48091         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48092         into tail calls.
48093         (update_get_addr): New function.
48094         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48095         GET_ADDR_MODULE parameter.
48096
48097 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48098
48099         * crypt/cert.c: Remove __STDC__ conditionals.
48100         * crypt/crypt-entry.c: Likewise.
48101         * crypt/crypt_util.c: Likewise.
48102         * libio/filedoalloc.c: Likewise.
48103         * libio/fileops.c: Likewise.
48104         * libio/genops.c: Likewise.
48105         * libio/iofclose.c: Likewise.
48106         * libio/iofdopen.c: Likewise.
48107         * libio/iofopen.c: Likewise.
48108         * libio/iofopen64.c: Likewise.
48109         * libio/iogetdelim.c: Likewise.
48110         * libio/iopopen.c: Likewise.
48111         * libio/obprintf.c: Likewise.
48112         * libio/oldfileops.c: Likewise.
48113         * libio/oldiofclose.c: Likewise.
48114         * libio/oldiofdopen.c: Likewise.
48115         * libio/oldiofopen.c: Likewise.
48116         * libio/oldiopopen.c: Likewise.
48117         * libio/wfiledoalloc.c: Likewise.
48118         * libio/wgenops.c: Likewise.
48119         * locale/programs/xmalloc.c: Likewise.
48120         * misc/syslog.c: Likewise.
48121         * stdio-common/xbug.c: Likewise.
48122         * string/memchr.c: Likewise.
48123         * string/memcmp.c: Likewise.
48124         * string/memrchr.c: Likewise.
48125         * string/rawmemchr.c: Likewise.
48126         * sysdeps/posix/getcwd.c: Likewise.
48127         * time/strftime_l.c: Likewise.
48128
48129 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48130
48131         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48132         * config.make.in (config-cflags-sse2avx): Define.
48133         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48134         Fix typo.
48135
48136 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48137
48138         * scripts/config.guess: Update from upstream config git repository.
48139         * scripts/config.sub: Likewise.
48140
48141 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48142
48143         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48144         (EM_NUM): Update.
48145         (R_TILEPRO_*, R_TILEGX_*): New macros.
48146
48147         * scripts/firstversions.awk: Fix bug in version range handling.
48148
48149         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48150
48151         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48152
48153         * include/sys/epoll.h: New file.
48154         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48155         libc_hidden_def.
48156
48157 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48158
48159         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48160         Avoid unnecessary __WORDSIZE == 64 test.
48161         (fmaxf): Use VEX format if possible.
48162         (fmax): Likewise.
48163         (fminf): Likewise.
48164         (fmin): Likewise.
48165
48166         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48167         * math/math_private.h: Remove libc_fegetround* and
48168         libc_fesetround*.
48169         * sysdeps/i386/configure.in: Check for -msse2avx.
48170         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48171         also if SSE2AVX is defined.
48172         Remove libc_fegetround* and libc_fesetround*.
48173         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48174         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48175         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48176         of HAS_YMM_USABLE.
48177         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48178         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48179         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48180         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48181         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48182
48183         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48184
48185 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48186
48187         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48188         size is not set.
48189         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48190
48191 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48192
48193         [BZ #13618]
48194         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48195         relocation.
48196         * Makeconfig (libm): Define.
48197         * elf/Makefile: Add rules to build and run tst-relsort1.
48198         * elf/tst-relsort1.c: New file.
48199         * elf/tst-relsort1mod1.c: New file.
48200         * elf/tst-relsort1mod2.c: New file.
48201
48202 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48203
48204         * math/s_ldexp.c: Remove __STDC__ conditionals.
48205         * math/s_ldexpf.c: Likewise.
48206         * math/s_ldexpl.c: Likewise.
48207         * math/s_nextafter.c: Likewise.
48208         * math/s_nexttowardf.c: Likewise.
48209         * math/s_significand.c: Likewise.
48210         * math/s_significandf.c: Likewise.
48211         * math/s_significandl.c: Likewise.
48212         * math/w_jnl.c: Likewise.
48213         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48214         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48215         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48216         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48217         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48219         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48220         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48221         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48222         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48223         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48225         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48227         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48228         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48229         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48230         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48232         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48233         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48234         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48235         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48237         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48238         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48240         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48241         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48242         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48243         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48244         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48245         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48246         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48247         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48248         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48249         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48250         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48251         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48252         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48253         * sysdeps/ieee754/k_standard.c: Likewise.
48254         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48255         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48256         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48257         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48258         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48259         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48260         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48263         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48264         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48265         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48266         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48267         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48268         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48270         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48272         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48273         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48274         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48275         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48276         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48283         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48284         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48286         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48287         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48289         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48290         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48291         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48294         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48296         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48299         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48301         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48302         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48304         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48305         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48306         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48307         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48308         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48309         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48310         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48311         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48312         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48313         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48314         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48315         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48316         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48317         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48318         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48319         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48320         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48321         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48322         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48323         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48324         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48325         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48326         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48327         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48328         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48329         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48330         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48331         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48332         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48333         * sysdeps/ieee754/s_matherr.c: Likewise.
48334         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48335         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48338
48339 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48340
48341         * crypt/md5.h: Remove __STDC__ conditionals.
48342         * libio/libioP.h: Likewise.
48343         * locale/programs/config.h: Likewise.
48344         * sysdeps/generic/sysdep.h: Likewise.
48345         * sysdeps/i386/asm-syntax.h: Likewise.
48346         * sysdeps/s390/asm-syntax.h: Likewise.
48347         * sysdeps/unix/sysdep.h: Likewise.
48348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48350
48351 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48352
48353         * libio/libio.h: Remove __STDC__ conditionals.
48354         * malloc/obstack.h: Likewise.
48355         * math/complex.h: Likewise.
48356         * math/math.h: Likewise.
48357         * sysdeps/generic/_G_config.h: Likewise.
48358         * sysdeps/gnu/_G_config.h: Likewise.
48359         * sysdeps/mach/hurd/_G_config.h: Likewise.
48360         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48361         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48362         * sysdeps/sparc/bits/mathdef.h: Likewise.
48363
48364 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48365
48366         [BZ #13583]
48367         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48368         Clean up HAS_* macros.
48369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48370         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48371         possible.
48372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48373         HAS_AVX.
48374         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48375         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48376         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48377         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48378         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48379
48380 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48381
48382         * elf/tst-unique3.cc (gets): Remove declaration.
48383         * elf/tst-unique3lib.cc (gets): Likewise.
48384         * elf/tst-unique3lib2.cc (gets): Likewise.
48385         * elf/tst-unique4.cc (gets): Likewise.
48386
48387 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48388
48389         * include/stdio.h: Add C++ protection.  Add gets declarations and
48390         definitions.
48391         * debug/tst-chk1.c: Don't declare gets here.
48392         * stdio-common/tst-gets.c: Likewise.
48393
48394 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48395
48396         * posix/glob: Remove directory.
48397
48398 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48399
48400         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48401
48402 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48403
48404         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48405         of the non-standard EPFNOSUPPORT.
48406
48407 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48408
48409         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48410         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48411         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48412
48413 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48414
48415         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48416
48417 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48418
48419         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48420         transient errors.
48421         * nscd/grpcache.c (cache_addgr): Likewise.
48422         * nscd/hstcache.c (cache_addhst): Likewise.
48423         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48424         * nscd/pwdcache.c (cache_addpw): Likewise.
48425         * nscd/servicescache.c (cache_addserv): Likewise.
48426
48427 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48428
48429         * malloc/malloc.c: Various cleanups.
48430         * malloc/hooks.c: Likewise.
48431
48432         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48433         * stdlib/bug-fmtmsg1.c: New file.
48434
48435         * stdlib/fmtmsg.c (init): Add missing unlock.
48436         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48437
48438 2012-01-12  Marek Polacek  <polacek@redhat.com>
48439
48440         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48441         and _GNU_SOURCE.
48442
48443 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48444
48445         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48446         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48447         macro to ensure uniqueness of label name.
48448         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48449         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48450
48451 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48452
48453         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48454
48455         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48456         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48459
48460 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48461
48462         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48463
48464         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48465         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48466         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48467
48468         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48469
48470         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48471         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48472         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48474
48475         * math/bits/math-finite.h: Add ldexp support.
48476
48477 2012-01-10  Marek Polacek  <polacek@redhat.com>
48478
48479         * locale/programs/localedef.h (show_archive_content): Add noreturn
48480         attribute.
48481
48482 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48483
48484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48485
48486 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48487
48488         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48489
48490         * io/Makefile (headers): Add bits/poll2.h.
48491
48492 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48493
48494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48495         typo #include statement.
48496
48497 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48498
48499         * include/sys/cdefs.h: Define __attribute_alloc_size.
48500         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48501         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48502         * elf/pldd.c: Likewise.
48503         * iconv/iconv_charmap.c: Likewise.
48504         * iconv/iconvconfig.c: Likewise.
48505         * iconv/strtab.c: Likewise.
48506         * locale/programs/locale.c: Likewise.
48507         * locale/programs/localedef.h: Likewise.
48508         * locale/programs/simple-hash.c: Likewise.
48509         * nscd/nscd.h: Likewise.
48510         * nss/makedb.c: Likewise.
48511         * sysdeps/generic/ldconfig.h: Likewise.
48512         * locale/programs/localedef.c: Remove xmalloc prototype.
48513         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48514
48515 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48516
48517         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48518         appropriate.
48519
48520 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48521
48522         * math/Makefile (tests): Add tst-CMPLX.
48523         * math/tst-CMPLX.c: New file.
48524
48525         * math/complex.h (CMPLXL): Fix typo.
48526
48527         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48528         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48529         GLIBC_2.16.
48530         * debug/tst-chk1.c: Add poll and ppoll tests.
48531         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48532         * include/sys/poll.h: Add hidden proto for ppoll.
48533         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48534         * sysdeps/mach/hurd/ppoll.c: Likewise.
48535         * io/ppoll.c: Likewise.
48536         * debug/poll_chk.c: New file.
48537         * debug/ppoll_chk.c: New file.
48538         * include/bits/poll2.h: New file.
48539         * io/bits/poll2.h: New file.
48540
48541         [BZ #1350]
48542         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48543
48544         * configure.in: static is always set to yes.  Remove.
48545         * config.make.in: Don't set build-static.
48546         * Makeconfig: Remove use of build-static.
48547         * dlfcn/Makefile: Likewise.
48548         * elf/Makefile: Likewise.
48549         * math/Makefile: Likewise.
48550         * misc/Makefile: Likewise.
48551         * nptl/Makefile: Likewise.
48552         * sysdeps/mach/hurd/Makefile: Likewise.
48553
48554         * configure.in: PWD_P is not used anymore.
48555         * config.make.in: Remove PWD_P entry.
48556
48557         * configure.in: Remove last remnants of RANLIB.
48558         No need to check for signed size_t anymore.
48559         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48560         and IA-64.
48561         Remove __builtin_expect test because we require at least gcc 3.4.
48562         * aclocal.m4: Likewise.
48563
48564         * wcsmbs/mbrtoc16.c: Implement using towc function.
48565         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48566         * wcsmbs/wcsmbsload.c: Likewise.
48567         * iconv/gconv_simple.c: Likewise.
48568         * iconv/gconv_int.h: Likewise.
48569         * iconv/gconv_builtin.h: Likewise.
48570         * iconv/iconv_prog.c: Remove CHAR16 handling.
48571
48572         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48573
48574         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48575
48576         * configure.in: Remove --with-elf and --enable-bounded options.
48577         Dont set base_machine for ia64.  More non-ELF conditions removed.
48578         Remove testing and setting of leading underscore information.
48579         * config.make.in (build-bounded): Set to no.
48580         * config.h.in: Remove NO_UNDERSCORES entry.
48581         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48582         them.
48583         * csu/start.c: Remove !NO_UNDERSCORE code.
48584         * locale/localeinfo.h: Likewise.
48585         * sysdeps/generic/machine-gmon.h: Likewise.
48586         * sysdeps/generic/sysdep.h: Likewise.
48587         * sysdeps/i386/sysdep.h: Likewise.
48588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48589         * sysdeps/mach/sysdep.h: Likewise.
48590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48591         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48592         * sysdeps/sh/sysdep.h: Likewise.
48593         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48594         * sysdeps/unix/i386/sysdep.S: Likewise.
48595         * sysdeps/unix/sparc/start.c: Likewise.
48596         * sysdeps/unix/sparc/sysdep.S: Likewise.
48597         * sysdeps/unix/sparc/sysdep.h: Likewise.
48598         * sysdeps/unix/start.c: Likewise.
48599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48600         * sysdeps/x86_64/sysdep.h: Likewise.
48601
48602 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48603
48604         [BZ #13553]
48605         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48606         for non-gcc.
48607         * argp/argp-fmtstream.h: Use const instead __const.
48608         * argp/argp.h: Likewise.
48609         * assert/assert.h: Likewise.
48610         * bits/fenv.h: Likewise.
48611         * bits/sched.h: Likewise.
48612         * bits/sigset.h: Likewise.
48613         * bits/sigthread.h: Likewise.
48614         * catgets/nl_types.h: Likewise.
48615         * conform/data/pthread.h-data: Likewise.
48616         * crypt/crypt-private.h: Likewise.
48617         * crypt/crypt.h: Likewise.
48618         * crypt/crypt_util.c: Likewise.
48619         * ctype/ctype.h: Likewise.
48620         * debug/execinfo.h: Likewise.
48621         * debug/mbsnrtowcs_chk.c: Likewise.
48622         * debug/mbsrtowcs_chk.c: Likewise.
48623         * debug/wcsnrtombs_chk.c: Likewise.
48624         * debug/wcsrtombs_chk.c: Likewise.
48625         * debug/wcstombs_chk.c: Likewise.
48626         * dirent/dirent.h: Likewise.
48627         * dlfcn/dlfcn.h: Likewise.
48628         * elf/neededtest4.c: Likewise.
48629         * grp/grp.h: Likewise.
48630         * gshadow/gshadow.h: Likewise.
48631         * iconv/gconv.h: Likewise.
48632         * iconv/gconv_int.h: Likewise.
48633         * iconv/gconv_simple.c: Likewise.
48634         * iconv/iconv.h: Likewise.
48635         * iconv/loop.c: Likewise.
48636         * iconv/skeleton.c: Likewise.
48637         * include/aio.h: Likewise.
48638         * include/aliases.h: Likewise.
48639         * include/argz.h: Likewise.
48640         * include/arpa/inet.h: Likewise.
48641         * include/assert.h: Likewise.
48642         * include/dirent.h: Likewise.
48643         * include/dlfcn.h: Likewise.
48644         * include/execinfo.h: Likewise.
48645         * include/fcntl.h: Likewise.
48646         * include/fenv.h: Likewise.
48647         * include/glob.h: Likewise.
48648         * include/grp.h: Likewise.
48649         * include/libintl.h: Likewise.
48650         * include/mntent.h: Likewise.
48651         * include/netdb.h: Likewise.
48652         * include/pwd.h: Likewise.
48653         * include/rpc/netdb.h: Likewise.
48654         * include/sched.h: Likewise.
48655         * include/search.h: Likewise.
48656         * include/shadow.h: Likewise.
48657         * include/signal.h: Likewise.
48658         * include/stdio.h: Likewise.
48659         * include/stdlib.h: Likewise.
48660         * include/string.h: Likewise.
48661         * include/sys/socket.h: Likewise.
48662         * include/sys/stat.h: Likewise.
48663         * include/sys/statfs.h: Likewise.
48664         * include/sys/statvfs.h: Likewise.
48665         * include/sys/syslog.h: Likewise.
48666         * include/sys/time.h: Likewise.
48667         * include/sys/uio.h: Likewise.
48668         * include/time.h: Likewise.
48669         * include/unistd.h: Likewise.
48670         * include/utmp.h: Likewise.
48671         * include/wchar.h: Likewise.
48672         * include/wctype.h: Likewise.
48673         * inet/aliases.h: Likewise.
48674         * inet/arpa/inet.h: Likewise.
48675         * inet/netinet/ether.h: Likewise.
48676         * inet/netinet/in.h: Likewise.
48677         * intl/libintl.h: Likewise.
48678         * io/bits/fcntl2.h: Likewise.
48679         * io/fcntl.h: Likewise.
48680         * io/ftw.h: Likewise.
48681         * io/sys/poll.h: Likewise.
48682         * io/sys/stat.h: Likewise.
48683         * io/sys/statfs.h: Likewise.
48684         * io/sys/statvfs.h: Likewise.
48685         * io/utime.h: Likewise.
48686         * libio/bits/stdio.h: Likewise.
48687         * libio/bits/stdio2.h: Likewise.
48688         * libio/libio.h: Likewise.
48689         * libio/libioP.h: Likewise.
48690         * libio/stdio.h: Likewise.
48691         * locale/lc-ctype.c: Likewise.
48692         * locale/locale.h: Likewise.
48693         * login/utmp.h: Likewise.
48694         * malloc/arena.c: Likewise.
48695         * malloc/malloc.c: Likewise.
48696         * malloc/malloc.h: Likewise.
48697         * malloc/mcheck.c: Likewise.
48698         * malloc/mtrace.c: Likewise.
48699         * math/bits/mathcalls.h: Likewise.
48700         * math/fenv.h: Likewise.
48701         * math/math_private.h: Likewise.
48702         * misc/bits/error.h: Likewise.
48703         * misc/bits/syslog.h: Likewise.
48704         * misc/err.h: Likewise.
48705         * misc/error.h: Likewise.
48706         * misc/fstab.h: Likewise.
48707         * misc/mntent.h: Likewise.
48708         * misc/regexp.h: Likewise.
48709         * misc/search.h: Likewise.
48710         * misc/sgtty.h: Likewise.
48711         * misc/sys/mman.h: Likewise.
48712         * misc/sys/syslog.h: Likewise.
48713         * misc/sys/uio.h: Likewise.
48714         * misc/sys/xattr.h: Likewise.
48715         * misc/ttyent.h: Likewise.
48716         * nis/rpcsvc/ypclnt.h: Likewise.
48717         * nss/nss.h: Likewise.
48718         * posix/bits/unistd.h: Likewise.
48719         * posix/fnmatch.h: Likewise.
48720         * posix/glob.h: Likewise.
48721         * posix/sched.h: Likewise.
48722         * posix/spawn.h: Likewise.
48723         * posix/sys/wait.h: Likewise.
48724         * posix/unistd.h: Likewise.
48725         * posix/wordexp.h: Likewise.
48726         * pwd/pwd.h: Likewise.
48727         * resolv/netdb.h: Likewise.
48728         * resource/sys/resource.h: Likewise.
48729         * rt/aio.h: Likewise.
48730         * rt/bits/mqueue2.h: Likewise.
48731         * rt/mqueue.h: Likewise.
48732         * shadow/shadow.h: Likewise.
48733         * signal/signal.h: Likewise.
48734         * socket/send.c: Likewise.
48735         * socket/sendto.c: Likewise.
48736         * socket/sys/socket.h: Likewise.
48737         * stdio-common/printf.h: Likewise.
48738         * stdlib/bits/stdlib.h: Likewise.
48739         * stdlib/fmtmsg.h: Likewise.
48740         * stdlib/monetary.h: Likewise.
48741         * stdlib/stdlib.h: Likewise.
48742         * stdlib/ucontext.h: Likewise.
48743         * streams/stropts.h: Likewise.
48744         * string/argz.h: Likewise.
48745         * string/bits/string2.h: Likewise.
48746         * string/string.h: Likewise.
48747         * string/strings.h: Likewise.
48748         * sunrpc/rpc/auth.h: Likewise.
48749         * sunrpc/rpc/auth_des.h: Likewise.
48750         * sunrpc/rpc/clnt.h: Likewise.
48751         * sunrpc/rpc/netdb.h: Likewise.
48752         * sunrpc/rpc/pmap_clnt.h: Likewise.
48753         * sunrpc/rpc/xdr.h: Likewise.
48754         * sysdeps/generic/inttypes.h: Likewise.
48755         * sysdeps/generic/net/if.h: Likewise.
48756         * sysdeps/generic/sys/swap.h: Likewise.
48757         * sysdeps/gnu/net/if.h: Likewise.
48758         * sysdeps/gnu/utmpx.h: Likewise.
48759         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48760         * sysdeps/i386/i486/bits/string.h: Likewise.
48761         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48762         * sysdeps/s390/bits/string.h: Likewise.
48763         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48764         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48765         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48766         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48767         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48768         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48769         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48770         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48771         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48772         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48773         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48774         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48775         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48776         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48777         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48778         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48779         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48781         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48782         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48784         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48785         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48786         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48787         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48788         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48789         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48790         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48791         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48792         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48793         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48794         * sysvipc/sys/ipc.h: Likewise.
48795         * sysvipc/sys/msg.h: Likewise.
48796         * sysvipc/sys/sem.h: Likewise.
48797         * sysvipc/sys/shm.h: Likewise.
48798         * termios/termios.h: Likewise.
48799         * time/sys/time.h: Likewise.
48800         * time/time.h: Likewise.
48801         * wcsmbs/bits/wchar2.h: Likewise.
48802         * wcsmbs/uchar.h: Likewise.
48803         * wcsmbs/wchar.h: Likewise.
48804         * wctype/wctype.h: Likewise.
48805
48806         [BZ #13551]
48807         * Makeconfig: Remove all but ELF support including AIX support.
48808         * Makerules: Likewise.
48809         * config.h.in: Likewise.
48810         * config.make.in: Likewise.
48811         * configure: Likewise.
48812         * configure.in: Likewise.
48813         * csu/Makefile: Likewise.
48814         * csu/version.c: Likewise.
48815         * debug/Makefile: Likewise.
48816         * dlfcn/Makefile: Likewise.
48817         * elf/Makefile: Likewise.
48818         * extra-lib.mk: Likewise.
48819         * iconv/Makefile: Likewise.
48820         * include/libc-symbols.h: Likewise.
48821         * include/shlib-compat.h: Likewise.
48822         * resolv/Makefile: Likewise.
48823         * resolv/res_libc.c: Likewise.
48824         * rt/Makefile: Likewise.
48825         * sysdeps/i386/asm-syntax.h: Likewise.
48826         * sysdeps/i386/sysdep.h: Likewise.
48827         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48828         * sysdeps/mach/sysdep.h: Likewise.
48829         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48830         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48831         * sysdeps/s390/asm-syntax.h: Likewise.
48832         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48833         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48834         * sysdeps/sh/sysdep.h: Likewise.
48835         * sysdeps/unix/sparc/sysdep.h: Likewise.
48836         * sysdeps/wordsize-32/divdi3.c: Likewise.
48837         * sysdeps/x86_64/sysdep.h: Likewise.
48838
48839         * argp/Versions: Remove _argp_unlock_xxx.
48840
48841         [BZ #13559]
48842         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48843         * abilist/libBrokenLocale.abilist: Likewise.
48844         * abilist/libanl.abilist: Likewise.
48845         * abilist/libc.abilist: Likewise.
48846         * abilist/libcrypt.abilist: Likewise.
48847         * abilist/libdl.abilist: Likewise.
48848         * abilist/libm.abilist: Likewise.
48849         * abilist/libnsl.abilist: Likewise.
48850         * abilist/libpthread.abilist: Likewise.
48851         * abilist/libresolv.abilist: Likewise.
48852         * abilist/librt.abilist: Likewise.
48853         * abilist/libthread_db.abilist: Likewise.
48854         * abilist/libutil.abilist: Likewise.
48855         * abilist/libnss_db.abilist: New file.
48856
48857         * scripts/abilist.awk: Add support for indirect functions.
48858
48859         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48860
48861         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48862
48863         * shlib-versions: Remove entries for ports architectures.
48864
48865         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48866         files in ports.
48867         * elf/stackguard-macros.h: Remove support for IA-64.
48868         * elf/tst-auditmod1.c: Likewise.
48869         * sysdeps/generic/ldsodefs.h: Likewise.
48870
48871         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48872         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48873         configure files.
48874
48875         [BZ #13552]
48876         * configure.in: Remove --enable-omitfp support.
48877         * FAQ.in: Adjust.
48878         * config.make.in: Likewise.
48879         * Makeconfig: Likewise.
48880         * manual/install.texi: Likewise.
48881
48882         In case anyone cares, the IA-64 architecture could move to ports.
48883         * sysdeps/ia64/*: Removed.
48884         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48885         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48886
48887         [BZ #13555]
48888         * configure.in: Remove entries for unsupported architectures.
48889
48890         [BZ #13533]
48891         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48892         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48893         routines.
48894         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48895         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48896         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48897         fall back to using wcrtomb.
48898         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48899         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48900         renaming.
48901         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48902         * wcsmbs/tst-c16c32-1.c: New file.
48903
48904         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48905         local variable.
48906
48907         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48908
48909         * elf/tst-unique3.cc: Add explicit declaration of gets.
48910         * elf/tst-unique3lib.cc: Likewise.
48911         * elf/tst-unique3lib2.cc: Likewise.
48912         * elf/tst-unique4.cc: Likewise.
48913
48914         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48915
48916 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48917
48918         [BZ #13566]
48919         * assert/assert.h (static_assert): Don't define for C++.
48920         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48921         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48922
48923 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48924
48925         * iconv/loop.c (single loop): Fix assertion in storing of
48926         remaining bytes.
48927
48928         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48929
48930 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48931
48932         * posix/getconf.c: Update copyright year.
48933         * nss/getent.c: Likewise.
48934         * nss/makedb.c: Likewise.
48935         * iconv/iconvconfig.c: Likewise.
48936         * iconv/iconv_prog.c: Likewise.
48937         * elf/ldconfig.c: Likewise.
48938         * elf/pldd.c: Likewise.
48939         * elf/sotruss.ksh: Likewise.
48940         * catgets/gencat.c: Likewise.
48941         * csu/version.c: Likewise.
48942         * elf/ldd.bash.in: Likewise.
48943         * elf/sprof.c (print_version): Likewise.
48944         * locale/programs/locale.c: Likewise.
48945         * locale/programs/localedef.c: Likewise.
48946         * login/programs/pt_chown.c: Likewise.
48947         * nscd/nscd.c (print_version): Likewise.
48948         * debug/xtrace.sh: Likewise.
48949         * malloc/memusage.sh: Likewise.
48950         * malloc/mtrace.pl: Likewise.
48951         * debug/catchsegv.sh: Likewise.
48952
48953 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48954
48955         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48956         pure attribute.
48957
48958 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48959
48960         [BZ #13533]
48961         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48962         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48963         transformations.
48964         * iconv/gconv_int.h: Likewise.
48965         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48966         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48967         from libc for GLIBC_2.16.
48968         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48969         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48970         * wcsmbs/uchar.h: Really define mbstate_t.
48971         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48972         * wcsmbs/c16rtomb.c: New file.
48973         * wcsmbs/mbrtoc16.c: New file.
48974         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48975         for C/POSIX locale.
48976         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48977         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48978
48979         * wcsmbs/wchar.h: Add missing __restrict.
48980
48981 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48982
48983         [BZ #13532]
48984         * time/Makefile (routines): Add timespec_get.
48985         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48986         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48987         timespec for ISO C11.
48988         * time/timespec_get.c: New file.
48989         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48990         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48991
48992         [BZ #13531]
48993         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48994         * stdlib/stdlib.h: Declare aligned_alloc.
48995         * Versions.def: Add GLIBC_2.16 for libc.
48996         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48997
48998         [BZ 13527]
48999         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49000         ISO C11.
49001
49002         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49003         code.
49004
49005         [BZ #13528]
49006         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49007
49008         [BZ #13529]
49009         * assert/assert.h (static_assert): Define.
49010
49011         * version.h: Update for 2.16 development version.
49012
49013         [BZ #13526]
49014         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49015         _ISOC11_SOURCE.
49016
49017         * version.h (RELEASE): Bump for 2.15 release.
49018         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49019
49020         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49021         Patch by Marek Polacek <mpolacek@redhat.com>.
49022
49023         * bits/byteswap.h: Protect long long constants with __extension__.
49024         * sysdeps/i386/bits/byteswap.h: Likewise.
49025         * sysdeps/ia64/bits/byteswap.h: Likewise.
49026         * sysdeps/s390/bits/byteswap.h: Likewise.
49027         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49028
49029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49030
49031         [BZ #13540]
49032         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49033         destination buffer.
49034         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49035
49036 2011-12-23  Marek Polacek  <polacek@redhat.com>
49037
49038         * elf/dl-addr.c (determine_info): Add inline keyword.
49039         * elf/tst-auditmod4b.c (check_avx): Likewise.
49040         * elf/tst-auditmod6b.c (check_avx): Likewise.
49041         * elf/tst-auditmod6c.c (check_avx): Likewise.
49042         * elf/tst-auditmod7b.c (check_avx): Likewise.
49043
49044 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49045
49046         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49047         !__SSE_MATH__.
49048
49049 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49050
49051         [BZ #13540]
49052         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49053         processing for last bytes.
49054
49055 2011-08-06  Bruno Haible  <bruno@clisp.org>
49056
49057         [BZ #13061]
49058         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49059         U+0385, not to U+1FEE.
49060
49061         [BZ #13062]
49062         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49063         entry for U+00A5 U+0301.
49064
49065 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49066
49067         [BZ #13166]
49068         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49069         buffer for the output is too small.
49070
49071         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49072         optimization.
49073
49074         [BZ #13185]
49075         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49076         SSE flags if possible.
49077
49078 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49079
49080         [BZ #13540]
49081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49082         processing for last bytes.
49083
49084 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49085
49086         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49087         (syscall-list-default-options, syscall-list-default-condition)
49088         (syscall-list-includes): Define.
49089         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49090         list of ABIs and options and #if conditions for each ABI.  Do not
49091         handle common syscalls between ABIs specially.
49092         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49093         Remove.
49094         (syscall-list-variants, syscall-list-32bit-options)
49095         (syscall-list-32bit-condition, syscall-list-64bit-options)
49096         (syscall-list-64bit-condition): Define.
49097         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49098         (syscall-list-variants, syscall-list-32bit-options)
49099         (syscall-list-32bit-condition, syscall-list-64bit-options)
49100         (syscall-list-64bit-condition): Define.
49101         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49102         Remove.
49103         (syscall-list-variants, syscall-list-32bit-options)
49104         (syscall-list-32bit-condition, syscall-list-64bit-options)
49105         (syscall-list-64bit-condition): Define.
49106         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49107         Remove.
49108         (syscall-list-variants, syscall-list-32bit-options)
49109         (syscall-list-32bit-condition, syscall-list-64bit-options)
49110         (syscall-list-64bit-condition): Define.
49111
49112 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49113
49114         * locale/iso-639.def: Add brx entry.
49115
49116         [BZ #13328]
49117         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49118         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49119
49120         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49121         __feraiseexcept_renamed.
49122
49123 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49124
49125         [BZ #13538]
49126         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49127         EPOLLET with unsigned values.
49128         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49129         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49130
49131         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49132         to large cancellation.
49133         * math/s_cacoshf.c: Likewise.
49134         * math/s_cacoshl.c: Likewise.
49135
49136 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49137
49138         [BZ #13305]
49139         [BZ #12786]
49140         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49141         * math/s_cacoshf.c: Likewise.
49142         * math/s_cacoshl.c: Likewise.
49143
49144 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49145
49146         [BZ #13439]
49147         * iconv/gconv.h: Define __GCONV_SWAP.
49148         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49149         * iconvdata/utf-16.c: Likewise.
49150         * iconvdata/utf-32.c: Likewise.
49151
49152 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49153
49154         [BZ #13524]
49155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49156         numerator after shifting it by one limb.
49157
49158 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49159
49160         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49161         under [__USE_EXTERN_INLINES].
49162
49163 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49164
49165         [BZ #13446]
49166         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49167
49168 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49169
49170         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49171         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49172         optimized code.
49173         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49174         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49175         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49176         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49177         for strncasecmp/strncasecmp_l compilation.
49178         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49179         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49180
49181 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49182
49183         [BZ #13484]
49184         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49185         of __asm__.
49186
49187 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49188
49189         [BZ #13506]
49190         * time/tzfile.c (__tzfile_read): Check values from file header.
49191
49192 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49193
49194         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49195         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49196         * powerpc/powerpc32/dl-start.S: Likewise.
49197         * powerpc/powerpc32/elf/start.S: Likewise.
49198         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49199         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49200         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49201         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49202         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49203         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49204         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49205         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49206         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49207         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49208         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49209         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49210         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49211         * powerpc/powerpc32/memset.S: Likewise.
49212         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49213         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49214         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49215         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49216         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49217         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49218         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49219         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49220         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49221         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49222         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49223         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49224         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49225
49226 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49227
49228         * math/libm-test.inc: Added more nearbyint tests.
49229         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49230         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49232         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49233
49234 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49235
49236         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49237         FD_CLOEXEC.
49238
49239 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49240
49241         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49242         Add wcscpy-ssse3 wcscpy-c.
49243         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49244         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49245         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49246         * sysdeps/x86_64/wcschr.S: New file.
49247         * sysdeps/x86_64/wcsrchr.S: New file.
49248         * string/test-strcmp.c: Remove checking of wcscmp function for
49249         wrong alignments.
49250         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49251         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49252         wcsrchr-sse2 wcsrchr-c.
49253         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49254         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49255         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49256         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49257         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49258         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49259         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49260         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49261         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49262         * wcsmbc/wcschr.c (WCSCHR): New macro.
49263
49264 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49265
49266         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49267         * wcsmbs/test-wcsrchr.c: New file.
49268         * string/test-strrchr.c: Add wcsrchr support.
49269         (WIDE): New macro.
49270         * wcsmbs/test-wcscpy.c: New file.
49271         * string/test-strcpy.c: Add wcscpy support.
49272         (WIDE): New macro.
49273
49274 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49275
49276         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49277         the inner loop.
49278
49279 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49280
49281         [BZ #13472]
49282         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49283
49284 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49285
49286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49287         Minor optimizations.
49288
49289         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49290         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49291         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49292
49293 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49294
49295         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49296         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49297         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49298         for gcc to avoid warnings.
49299         * inet/Makefile (tests): Add tst-checks.
49300         * inet/tst-checks.c: New file.
49301
49302         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49303         warning.
49304
49305         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49306         __wmemcmp_sse2.
49307
49308         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49309         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49310
49311         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49312
49313 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49314
49315         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49316         problem.
49317
49318         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49319
49320 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49321
49322         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49323         conditional on GCC version.
49324         (__arch_compare_and_exchange_val_8_acq)
49325         (__arch_compare_and_exchange_val_16_acq)
49326         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49327         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49328         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49329
49330 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49331
49332         * sysdeps/sh/backtrace.c: New file.
49333
49334 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49335
49336         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49337         parenthesis.
49338
49339 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49340
49341         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49342         falling back to utime.
49343
49344 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49345
49346         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49347         expectations for float.
49348
49349 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49350
49351         * locale/weight.h (findidx): Add parameter len.
49352         * locale/weightwc.h (findidx): Likewise.
49353         * posix/fnmatch_loop.c (FCT): Adjust caller.
49354         * posix/regcomp.c (build_equiv_class): Likewise.
49355         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49356         * posix/regexec.c (check_node_accept_bytes): Likewise.
49357         * string/strcoll_l.c (STRCOLL): Likewise.
49358         * string/strxfrm_l.c (STRXFRM): Likewise.
49359
49360 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49361
49362         * Makefile.in: Remove CVSOPT handling.
49363         * configure.in: Remove use of AC_REVISION.
49364         * iconvdata/Makefile (distribute): No need to filter out CVS.
49365         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49366         handling.
49367
49368 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49369
49370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49371         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49372         [USE_AS_STRNCASECMP_L]: Likewise.
49373         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49374         NO_TLS_DIRECT_SEG_REFS.
49375         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49376         Fix argument offsets for non-PIC.
49377         [USE_AS_STRNCASECMP_L]: Likewise.
49378         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49379         NO_TLS_DIRECT_SEG_REFS.
49380
49381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49382
49383         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49384         O_CLOEXEC.
49385         * locale/loadlocale.c (_nl_load_locale): Likewise.
49386
49387 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49388
49389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49390         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49391         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49392         (SYSCALL_GETTIME): Set errno on error.
49393
49394         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49395         count references to noai6ai_cached.
49396
49397 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49398
49399         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49400
49401         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49402         FD_CLOEXEC for /proc/self/maps.
49403
49404         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49405         FD_CLOEXEC for /proc/meminfo.
49406
49407         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49408         gai.conf.
49409
49410         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49411         FD_CLOEXEC for given file.
49412
49413         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49414
49415         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49416         FD_CLOEXEC for /etc/hosts.
49417         (_gethtent): Likewise.
49418
49419         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49420
49421         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49422         cancellation and set FD_CLOEXEC for /etc/netgroup.
49423
49424         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49425         reading /etc/publickey.
49426
49427         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49428         allow cancellation when reading /etc/group.
49429
49430         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49431         cancellation.
49432         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49433
49434         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49435         when using data file.
49436
49437         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49438
49439         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49440         (write_nis_obj): Use "c" and "e" in fopen.
49441
49442         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49443
49444         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49445
49446         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49447
49448         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49449
49450         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49451         locale.alias.
49452
49453         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49454
49455         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49456
49457         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49458
49459         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49460         file parsing and set FD_CLOEXEC.
49461
49462 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49463
49464         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49465
49466 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49467
49468         * malloc/arena.c (arena_get2): Don't call reused_arena when
49469         _int_new_arena failed.
49470
49471 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49472
49473         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49474         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49475         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49476         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49477         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49478         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49479         to compile strcasecmp and strncasecmp.
49480         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49481         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49482
49483         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49484
49485 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49486
49487         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49488         locale-defines.sym to gen-as-const-headers.
49489         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49490         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49492         to compile strcasecmp and strncasecmp.
49493         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49494         strcasecmp_l and strncasecmp_l.
49495         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49496         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49497         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49498         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49499         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49500         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49501         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49502         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49503         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49504         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49505         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49506
49507 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49508
49509         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49510         result of SYSDEP_GETTIME_CPU to retval.
49511         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49512         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49513
49514         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49515         variable.
49516
49517         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49518         mantissa words.
49519         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49520
49521         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49522         from unused variable.
49523
49524         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49525         DWARF definitions.
49526         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49527         for assembling.
49528
49529         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49530         over namespaces.
49531
49532         * sunrpc/rpc_prot.c (rejected): Fix case value.
49533
49534         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49535         unsigned long long int to avoid warnings in shift.
49536
49537         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49538         of use of trans.
49539         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49540         variable tmp.
49541
49542         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49543         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49544         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49545
49546         * nis/nis_table.c (nis_list): Use variable of correct type for
49547         result of __follow_path call.
49548
49549 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49550
49551         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49552         of math functions ceil, trunc, floor, round, and sqrt, when
49553         avaliable on the platform.
49554         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49555         name clash.
49556         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49557         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49558         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49559
49560 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49561
49562         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49563         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49564
49565 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49566
49567         * include/unistd.h: Fix __readlink return type.
49568         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49569
49570 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49571
49572         * stdlib/ucontext.h: Undo last change for makecontext.
49573
49574 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49575
49576         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49577
49578         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49579         * setjmp/setjmp.h: Mark functions as non-leaf.
49580         * setjmp/bits/setjmp2.h: Likewise.
49581         * stdlib/ucontext.h: Likewise.
49582
49583 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49584
49585         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49586         (reused_arena): Don't check arena limit.
49587         (arena_get2): Atomically check arena limit.
49588
49589 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49590
49591         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49592         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49593
49594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49595         instructions.
49596
49597 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49598
49599         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49600         handler when locking.
49601
49602         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49603         Fix size of allocated buffer.
49604
49605 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49606
49607         [BZ #10103]
49608         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49609         declarations for long double functions.
49610         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49611
49612         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49613
49614 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49615
49616         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49617         installed.
49618
49619         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49620         is disabled.
49621
49622 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49623
49624         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49625
49626 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49627
49628         * include/alloca.h (stackinfo_alloca_round): Define.
49629         (extend_alloca): Use it.
49630         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49631         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49632         here.
49633
49634         * scripts/check-local-headers.sh: Ignore libaudit.h.
49635
49636         * nscd/Makefile (extra-objs): Make recursively expanded.
49637
49638 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49639
49640         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49641         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49642
49643         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49644         * posix/tst-rfc3484-2.c: Likewise.
49645         * posix/tst-rfc3484-3.c: Likewise.
49646
49647         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49648         process_vm_writev.
49649         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49650         process_vm_writev.
49651         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49652         process_vm_writev from libc using GLIBC_2.15 version.
49653
49654         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49655
49656 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49657
49658         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49659         stack usage.
49660
49661 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49662
49663         [BZ #13367]
49664         * nss/getent.c (initgroups_keys): Show error message in case no group
49665         names are given.
49666
49667         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49668         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49669         __bump_nl_timestamp.
49670         * nscd/connections (nscd_init): When host database is served open
49671         netlink socket and request notification about configuration changes.
49672         (main_loop_poll): Track netlink file descriptor and bump timestamp
49673         in case data becomes available.
49674         (main_loop_epoll): Likewise.
49675         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49676         (database_pers_head): Add extra_data fileds.
49677         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49678         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49679         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49680         Adjust caller.
49681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49682         in6ai data, call __free_in6ai.
49683         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49684         Add -DHAVE_NETLINK.
49685         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49686         interface information.  Reuse previous data if netlink timestamp
49687         is not changed.
49688         (__bump_nl_timestamp): New function.
49689         (__free_in6ai): New function.
49690
49691 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49692
49693         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49694         close_not_cancel_no_status here.
49695         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49696
49697 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49698
49699         [BZ #13276]
49700         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49701         return value.
49702
49703         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49704         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49705         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49706
49707 2011-07-03  Andreas Jaeger  <aj@suse.de>
49708
49709         [BZ #10709]
49710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49711         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49712         * math/libm-test.inc (sin_test): Add test case.
49713
49714 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49715
49716         [BZ #13337]
49717         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49718         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49719
49720         * elf/chroot_canon.c (chroot_canon): Cleanups.
49721
49722         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49723
49724         [BZ #13335]
49725         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49726         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49727
49728         * string/test-strchr.c: Make usable for strchrnul testing.
49729         * string/test-strchrnul.c: New file.
49730         * string/Makefile (strop-tests): Add strchrnul.
49731
49732         * po/it.po: Update from translation team.
49733         * po/es.po: Likewise.
49734
49735 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49736
49737         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49738         the three constants needed as parameters.  Drop the others.
49739         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49740         __m128i_strloadu_tolower.
49741         Create and initialize variable zero and use it in all the places
49742         where _mm_setzero_si128 was used.
49743
49744         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49745         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49746         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49747         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49748         anymore.
49749         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49750         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49751         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49752         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49753         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49754         __mpranred, __mptan.
49755         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49756         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49757         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49758         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49759         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49760         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49761         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49762         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49763         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49764
49765 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49766
49767         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49768         redefine if SHARED.
49769         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49770
49771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49772         wide char related routines to wcsmbs subdir.
49773
49774 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49775
49776         [BZ #13344]
49777         * misc/sys/cdefs.h (__THROWNL): Define.
49778         * posix/unistd.h: Use __THREADNL instead of __THREAD
49779         for memory synchronization functions.
49780
49781 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49782
49783         [BZ #13349]
49784         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49785         doesn't exist.
49786         * manual/stdio.texi (Obstack Streams): Node removed.
49787
49788 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49789
49790         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49791         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49792         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49793
49794         * math/math_private.h (math_force_eval): Allow non-addressable
49795         arguments.
49796         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49797
49798 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49799
49800         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49801         file is not needed.
49802
49803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49804         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49805         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49806         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49809         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49810         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49811         Add AVX variants.
49812         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49813         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49814         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49815         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49816         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49817         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49818         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49819         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49820         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49821         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49822         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49823         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49824         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49825         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49826         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49827         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49828         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49829         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49830         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49831
49832         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49833         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49834
49835         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49836         place.  Use VEX encoding when compiling for AVX.
49837
49838 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49839
49840         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49841         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49842
49843         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49844
49845 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49846
49847         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49848         useless if() expression.
49849         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49850         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49851         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49853         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49856         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49860         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49861         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49862         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49863         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49864         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49865         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49866         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49867         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49868
49869         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49870
49871 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49872
49873         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49874         condition.
49875         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49876
49877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49878
49879         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49880         .text section.  Avoid duplicate constants.
49881         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49882         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49883         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49889         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49890         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49891         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49893         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49894         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49895         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49896         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49897         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49898         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49899         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49900         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49901         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49902         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49903         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49904         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49905         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49906         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49907         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49908         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49909         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49910         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49911         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49912         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49913         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49914         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49915         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49916         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49917         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49918         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49919         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49920         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49921         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49922         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49923         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49924         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49925         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49926
49927 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49928
49929         * sysdeps/x86_64/dla.h: Move to ...
49930         * sysdeps/x86_64/fpu/dla.h: ...here.
49931         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49932         situations.  Use __builtin_fma only for gcc 4.6 and up.
49933
49934         * config.make.in: Add have-mfma4 entry.
49935         * configure.in: Substitute libc_cv_cc_fma4.
49936         * math/Makefile (dbl-only-routines): Add sincostab.
49937         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49938         Use __sincostab not sincos.
49939         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49940         name is a macro.
49941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49945         using __copysign.
49946         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49947         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49948         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49949         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49950         and __inv.
49951         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49952         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49953         __copysign.
49954         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49955         define aliases when function name is a macro.
49956         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49957         sysdeps/ieee754/dbl-64/sincos.tbl.
49958         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49959         fma4-enabled routines.
49960         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49961         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49962         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49963         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49964         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49965         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49966         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49967         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49968         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49969         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49970         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49971         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49972         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49973         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49974         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49975         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49976         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49977         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49978         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49979         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49980         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49981         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49982         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49984         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49985         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49986         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49987         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49988         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49989         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49990
49991         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49992         rename.
49993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49998         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49999         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50001
50002 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50003
50004         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50005
50006 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50007
50008         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50009
50010         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50011         prediction.
50012         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50013
50014         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50015         Remove unused variable magic_bits.
50016         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50017
50018         * string/strnlen.c: Define and use STRNLEN macro.
50019         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50020         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50022         * wcsmbs/wcslen.c: Define and use WCSLEN.
50023         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50024         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50025         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50026         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50027         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50028         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50029         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50030
50031 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50032
50033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50034         strnlen-sse2-no-bsf.
50035         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50036         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50037         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50038         Add strnlen support.
50039         (USE_AS_STRNLEN): New macro.
50040         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50041         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50042         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50043         * sysdeps/x86_64/wcslen.S: New file.
50044
50045 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50046
50047         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50048         XMM-moves are used for copying on small sizes.
50049
50050 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50051
50052         * wcsmbs/Makefile (strop-tests): Add wcschr.
50053         * wcsmbs/test-wcschr.c: New file.
50054         * string/test-strchr.c: Update.
50055         Add wcschr support.
50056         (WIDE): New macro.
50057
50058 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50059
50060         * wcsmbs/Makefile (strop-tests): Add wcslen.
50061         * wcsmbs/test-wcslen.c: New file.
50062         * string/test-strlen.c: Update.
50063         Add wcslen support.
50064         (WIDE): New macro.
50065
50066 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50067
50068         * po/it.po: Update from translation team.
50069
50070 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50071
50072         * sysdeps/x86_64/wcscmp.S: Update.
50073         Fix wrong comparison semantics.
50074         wcscmp shall use signed comparison not unsigned.
50075         Don't use substraction to avoid overflow bug.
50076         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50077         * wcsmbc/wcscmp.c: Likewise.
50078         * string/test-strcmp.c: Likewise.
50079         Add new tests to check cases with negative values.
50080
50081 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50082
50083         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50084         * sysdeps/x86_64/dla.h: ...here.  New file.
50085         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50086         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50087         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50088         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50089         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50090         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50094
50095 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50096
50097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50098         __ynl_finite aliases.
50099
50100 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50101
50102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50103
50104         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50105         define DLA_FMA.
50106         [DLA_FMA] (EMULV): Use DLA_FMA.
50107         [DLA_FMA] (MUL12): Use EMULV.
50108         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50109         that are not needed.
50110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50112         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50113         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50115         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50117
50118 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50119
50120         * math/s_nan.c: Undef __nan.
50121         * math/s_nanf.c: Undef __nanf.
50122         * math/s_nanl.c: Undef __nanl.
50123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50124         "math_private.h".
50125
50126 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50127
50128         * math/s_catan.c: Add branch predictions.
50129         * math/s_catanf.c: Likewise.
50130         * math/s_catanh.c: Likewise.
50131         * math/s_catanhf.c: Likewise.
50132         * math/s_catanhl.c: Likewise.
50133         * math/s_catanl.c: Likewise.
50134         * math/s_cexp.c: Likewise.
50135         * math/s_cexpf.c: Likewise.
50136         * math/s_cexpl.c: Likewise.
50137         * math/s_clog.c: Likewise.
50138         * math/s_clog10.c: Likewise.
50139         * math/s_clog10f.c: Likewise.
50140         * math/s_clog10l.c: Likewise.
50141         * math/s_clogf.c: Likewise.
50142         * math/s_clogl.c: Likewise.
50143         * math/s_csqrt.c: Likewise.
50144         * math/s_csqrtf.c: Likewise.
50145         * math/s_csqrtl.c: Likewise.
50146         * math/s_ctanf.c: Likewise.
50147         * math/s_ctanh.c: Likewise.
50148         * math/s_ctanhf.c: Likewise.
50149         * math/s_ctanhl.c: Likewise.
50150         * math/s_ctanl.c: Likewise.
50151
50152         * math/math_private.h: Define __nan, __nanf, __nanl.
50153         * math/s_cacosh.c: Include <math_private.h>.
50154         * math/s_cacoshl.c: Likewise.
50155         * math/s_casinh.c: Likewise.
50156         * math/s_casinhf.c: Likewise.
50157         * math/s_casinhl.c: Likewise.
50158         * math/s_ccos.c: Rely entire on ccosh.
50159         * math/s_ccosf.c: Rely entire on ccoshf.
50160         * math/s_ccosl.c: Rely entirely on ccoshl.
50161         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50162         Remove tests for FE_INVALID.
50163         * math/s_ccoshf.c: Likewise.
50164         * math/s_ccoshl.c: Likewise.
50165         * math/s_csin.c: Likewise.
50166         * math/s_csinf.c: Likewise.
50167         * math/s_csinh.c Likewise.
50168         * math/s_csinhf.c: Likewise.
50169         * math/s_csinhl.c: Likewise.
50170         * math/s_csinl.c: Likewise.
50171         * math/s_ctan.c: Likewise.
50172         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50173         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50174         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50175
50176 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50177
50178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50179         compilation problems.
50180
50181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50182         __builtin_expect.
50183
50184 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50185
50186         * sysdeps/i386/configure.in: Test for -mfma4 option.
50187         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50188         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50189         COMMON_CPUID_INDEX_80000001.
50190         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50191         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50192         use it if FMA3 is not supported.
50193         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50194
50195         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50196         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50197
50198 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50199
50200         [BZ #12892]
50201         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50202         it would create a cycle with a link time dependency.
50203
50204 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50205
50206         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50207         instruction.
50208         * string/Makefile (strop-tests): Add rawmemchr.
50209         * string/test-rawmemchr.c: New file.
50210
50211         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50213         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50214         when compiling str{,n}casecmp and when AVX is available.  Hook up
50215         new optimized code in initializers.
50216
50217 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50218
50219         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50220         __feraiseexcept instead of feraiseexcept.
50221
50222 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50223
50224         * math/math_private.h: Define defaults for libc_fetestexcept and
50225         libc_feupdateenv.
50226         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50227         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50228         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50229         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50230         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50231         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50232         libc_fetestexcept and libc_feupdateenv.
50233
50234         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50235         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50236         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50237         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50238         libc_feholdexcept_setround.
50239
50240         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50241         Add s_nearbyint-c and s_nearbyintf-c.
50242         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50243         nearbyintf inlines.
50244         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50245         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50246         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50247         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50248
50249         * math/math_private.h: Define defaults for libc_fegetround,
50250         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50251         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50252         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50253         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50254         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50255         standard functions.
50256         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50257         Remove comments and hacks for old compiler versions.
50258         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50259         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50260         libc_feholdexceptl.
50261
50262 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50263
50264         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50265         (__feraiseexcept_renamed): Add __NTH.
50266         (feraiseexcept): Add __NTH.  Rename local variables to fix
50267         namespace violations.
50268
50269 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50270
50271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50272
50273         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50274
50275         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50276         recently added interfaces.
50277         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50278
50279         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50280         about macro parameter expansion.
50281
50282         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50283         __NO_MATH_INLINES is defined.  Cleanups.
50284
50285         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50286         and __floorf is target has SSE4.1.
50287         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50288         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50289         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50290         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50291
50292         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50293         name.
50294         (floorf): Likewise.
50295
50296         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50297
50298 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50299
50300         * misc/sys/cdefs.h: Fix last change.
50301
50302         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50303         database lookup.
50304
50305 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50306
50307         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50308
50309         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50310         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50311         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50312         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50313         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50314         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50315         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50316         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50317         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50318         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50319         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50320         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50321         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50322         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50323         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50324         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50325         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50326         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50327         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50328         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50329         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50330         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50331
50332         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50333         ceil, ceilf, floor, floorf.
50334
50335         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50336         Perform IRELATIVE relocations last.
50337
50338         * elf/do-rel.h: Add another parameter nrelative, replacing the
50339         local variable with the same name.  Change name of the function
50340         to end in Rel or Rela (uppercase).
50341         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50342         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50343         elf_dynamic_do_##reloc function.
50344
50345 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50346
50347         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50348         is sufficient, at least on modern CPUs.
50349
50350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50351
50352         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50353         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50354
50355         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50356         __expl_finite.
50357         * math/bits/math-finite.h: Add entries for exp.
50358         * math/e_expl.c: Add __*_finite alias.
50359         * sysdeps/i386/fpu/e_exp.S: Likewise.
50360         * sysdeps/i386/fpu/e_expf.S: Likewise.
50361         * sysdeps/i386/fpu/e_expl.c: Likewise.
50362         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50363         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50364         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50366         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50367         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50368         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50369
50370         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50371         is sufficient, at least on modern CPUs.
50372
50373         * ctype/ctype-info.c (__ctype_init): Define.
50374         * include/ctype.h (__ctype_init): Declare.
50375         (__ctype_b_loc): The variable is always initialized.
50376         (__ctype_toupper_loc): Likewise.
50377         (__ctype_tolower_loc): Likewise.
50378         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50379         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50380
50381 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50382
50383         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50384
50385         * configure.in: Also look in $cxxmachine/include for C++ system
50386         headers.
50387
50388 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50389
50390         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50391         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50392         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50393         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50394         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50395         (USE_AS_WMEMCMP): New macro.
50396         Fixing indents.
50397         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50398         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50399         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50400         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50402         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50403         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50404         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50405         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50406         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50407         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50408         (USE_AS_WMEMCMP): New macro.
50409         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50410         * sysdeps/string/test-memcmp.c: Update.
50411         Fix simple_wmemcmp.
50412         Add new tests.
50413         * wcsmbs/wmemcmp.c: Update.
50414         (WMEMCMP): New macro.
50415         Fix overflow bug.
50416
50417 2011-10-12  Andreas Jaeger  <aj@suse.de>
50418
50419         [BZ #13268]
50420         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50421
50422 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50423
50424         * libio/iofwide.c (do_length): Avoid warning.
50425
50426         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50427
50428 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50429
50430         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50431
50432         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50433         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50434         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50435         * sysdeps/i386/i686/fpu/e_log.S: New file.
50436         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50437         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50438
50439         * ctype/ctype.h: Add support for inlined isXXX functions when
50440         compiling C++ code.
50441
50442 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50443
50444         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50445
50446         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50447
50448 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50449
50450         [BZ #13291]
50451         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50452
50453 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50454
50455         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50456         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50457         feraiseexcept.
50458
50459         * sysdeps/x86_64/memrchr.S: Check for zero size.
50460
50461         * string/stratcliff.c: Add memrchr tests.
50462
50463 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50464
50465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50466         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50467         rawmemchr-sse2 rawmemchr-sse2-bsf.
50468         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50469         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50470         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50471         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50472         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50473         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50474         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50475         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50476         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50477         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50478         * string/memrchr.c (MEMRCHR): New macro.
50479
50480 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50481
50482         Add integration with gcc's -ffinite-math-only and optimize wrapper
50483         functions in libm.
50484         * Versions.def: Define GLIBC_2.15 version for libm.
50485         * math/Makefile (headers): Add bits/math-finite.h.
50486         * math/bits/math-finite.h: New file.
50487         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50488         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50489         * math/e_acoshl.c: Add __*_finite alias.
50490         * math/e_acosl.c: Likewise.
50491         * math/e_asinl.c: Likewise.
50492         * math/e_atan2l.c: Likewise.
50493         * math/e_atanhl.c: Likewise.
50494         * math/e_coshl.c: Likewise.
50495         * math/e_exp10.c: Likewise.
50496         * math/e_exp10f.c: Likewise.
50497         * math/e_exp10l.c: Likewise.
50498         * math/e_exp2l.c: Likewise.
50499         * math/e_fmodl.c: Likewise.
50500         * math/e_gammal_r.c: Likewise.
50501         * math/e_hypotl.c: Likewise.
50502         * math/e_j0l.c: Likewise.
50503         * math/e_j1l.c: Likewise.
50504         * math/e_jnl.c: Likewise.
50505         * math/e_lgammal_r.c: Likewise.
50506         * math/e_log10l.c: Likewise.
50507         * math/e_log2l.c: Likewise.
50508         * math/e_logl.c: Likewise.
50509         * math/e_powl.c: Likewise.
50510         * math/e_sinhl.c: Likewise.
50511         * math/e_sqrtl.c: Likewise.
50512         * math/e_scalb.c: Completely rewritten and optimized.
50513         * math/e_scalbf.c: Likewise.
50514         * math/e_scalbl.c: Likewise.
50515         * math/w_acos.c: Likewise.
50516         * math/w_acosf.c: Likewise.
50517         * math/w_acosl.c: Likewise.
50518         * math/w_acosh.c: Likewise.
50519         * math/w_acoshf.c: Likewise.
50520         * math/w_acoshl.c: Likewise.
50521         * math/w_asin.c: Likewise.
50522         * math/w_asinf.c: Likewise.
50523         * math/w_asinl.c: Likewise.
50524         * math/w_atan2.c: Likewise.
50525         * math/w_atan2f.c: Likewise.
50526         * math/w_atan2l.c: Likewise.
50527         * math/w_atanh.c: Likewise.
50528         * math/w_atanhf.c: Likewise.
50529         * math/w_atanhl.c: Likewise.
50530         * math/w_exp10.c: Likewise.
50531         * math/w_exp10f.c: Likewise.
50532         * math/w_exp10l.c: Likewise.
50533         * math/w_fmod.c: Likewise.
50534         * math/w_fmodf.c: Likewise.
50535         * math/w_fmodl.c: Likewise.
50536         * math/w_j0.c: Likewise.
50537         * math/w_j0f.c: Likewise.
50538         * math/w_j0l.c: Likewise.
50539         * math/w_j1.c: Likewise.
50540         * math/w_j1f.c: Likewise.
50541         * math/w_j1l.c: Likewise.
50542         * math/w_jn.c: Likewise.
50543         * math/w_jnf.c: Likewise.
50544         * math/w_log.c: Likewise.
50545         * math/w_logf.c: Likewise.
50546         * math/w_logl.c: Likewise.
50547         * math/w_log10.c: Likewise.
50548         * math/w_log10f.c: Likewise.
50549         * math/w_log10l.c: Likewise.
50550         * math/w_log2.c: Likewise.
50551         * math/w_log2f.c: Likewise.
50552         * math/w_log2l.c: Likewise.
50553         * math/w_pow.c: Likewise.
50554         * math/w_powf.c: Likewise.
50555         * math/w_powl.c: Likewise.
50556         * math/w_remainder.c: Likewise.
50557         * math/w_remainderf.c: Likewise.
50558         * math/w_remainderl.c: Likewise.
50559         * math/w_scalb.c: Likewise.
50560         * math/w_scalbf.c: Likewise.
50561         * math/w_scalbl.c: Likewise.
50562         * math/w_sqrt.c: Likewise.
50563         * math/w_sqrtf.c: Likewise.
50564         * math/w_sqrtl.c: Likewise.
50565         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50566         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50567         used.
50568         * math/math_private.h: Declare __kernel_standard_f.
50569         * math/w_cosh.c: Remove cruft and optimize a bit.
50570         * math/w_coshf.c: Likewise.
50571         * math/w_coshl.c: Likewise.
50572         * math/w_exp2.c: Likewise.
50573         * math/w_exp2f.c: Likewise.
50574         * math/w_exp2l.c: Likewise.
50575         * math/w_hypot.c: Likewise.
50576         * math/w_hypotf.c: Likewise.
50577         * math/w_hypotl.c: Likewise.
50578         * math/w_lgamma.c: Likewise.
50579         * math/w_lgamma_r.c: Likewise.
50580         * math/w_lgammaf.c: Likewise.
50581         * math/w_lgammaf_r.c: Likewise.
50582         * math/w_lgammal.c: Likewise.
50583         * math/w_lgammal_r.c: Likewise.
50584         * math/w_sinh.c: Likewise.
50585         * math/w_sinhf.c: Likewise.
50586         * math/w_sinhl.c: Likewise.
50587         * math/w_tgamma.c: Likewise.
50588         * math/w_tgammaf.c: Likewise.
50589         * math/w_tgammal.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50591         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50592         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50593         Minor optimizations.  Pretty printing.  Remove cruft.
50594         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50595         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50596         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50597         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50598         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50599         * sysdeps/i386/fpu/e_asin.S: Likewise.
50600         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50601         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50602         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50603         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50606         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50607         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50608         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50609         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50610         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50611         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50612         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50613         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50614         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50615         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50616         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50617         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50618         * sysdeps/i386/fpu/e_log.S: Likewise.
50619         * sysdeps/i386/fpu/e_log10.S: Likewise.
50620         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50621         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50622         * sysdeps/i386/fpu/e_log2.S: Likewise.
50623         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50624         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50625         * sysdeps/i386/fpu/e_logf.S: Likewise.
50626         * sysdeps/i386/fpu/e_logl.S: Likewise.
50627         * sysdeps/i386/fpu/e_pow.S: Likewise.
50628         * sysdeps/i386/fpu/e_powf.S: Likewise.
50629         * sysdeps/i386/fpu/e_powl.S: Likewise.
50630         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50631         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50632         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50633         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50634         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50636         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50637         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50638         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50639         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50640         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50642         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50643         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50644         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50645         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50646         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50647         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50648         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50649         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50650         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50651         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50652         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50653         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50656         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50657         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50658         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50659         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50660         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50661         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50662         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50663         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50664         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50665         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50666         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50667         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50668         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50669         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50670         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50671         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50672         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50673         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50674         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50675         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50676         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50677         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50678         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50679         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50680         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50681         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50682         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50685         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50687         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50688         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50689         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50690         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50692         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50694         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50695         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50696         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50697         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50698         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50699         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50703         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50707         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50708         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50709         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50710         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50713         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50715         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50716         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50717         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50718         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50719         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50720         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50722         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50723         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50724         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50725         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50726         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50727         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50728         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50729         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50730         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50731         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50732         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50733         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50734         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50735         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50736         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50737         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50738         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50739         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50740         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50741         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50742         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50743         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50744         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50745         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50746         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50747         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50749         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50750         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50751         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50752         (__isnanf): Likewise.
50753         (__isinf_ns): Likewise.
50754         (__isinf_nsf): Likewise.
50755         (__finite): Likewise.
50756         (__finitef): Likewise.
50757         (__ieee754_sqrt): Define as macro.
50758         (__ieee754_sqrtf): Define as macro.
50759         (__ieee754_sqrtl): Define as macro.
50760         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50761         inlined copy.
50762         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50763         __FINITE_MATH_ONLY__ consistent.
50764         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50765
50766 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50767
50768         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50769         of rawmemchr.
50770
50771         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50772
50773 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50774
50775         * po/ja.po: Update from translation team.
50776
50777 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50778
50779         * locale/programs/locarchive.c (prepare_address_space): New function.
50780         (create_archive, enlarge_archive, open_archive): Use it.
50781
50782         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50783         inside [SHARED], where it is used.
50784
50785         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50786
50787         * nss/getent.c (netgroup_keys): Remove unused variable.
50788         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50789
50790 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50791
50792         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50793         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50796         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50797         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50798         * math/Makefile (libm-calls): Add s_isinf_ns.
50799         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50800         * math/multc3.c: Likewise.
50801         * math/s_casin.c: Likewise.
50802         * math/s_casinf.c: Likewise.
50803         * math/s_casinl.c: Likewise.
50804         * math/s_ccos.c: Likewise.
50805         * math/s_ccosf.c: Likewise.
50806         * math/s_ccosl.c: Likewise.
50807         * math/s_ctan.c: Likewise.
50808         * math/s_ctanf.c: Likewise.
50809         * math/s_ctanh.c: Likewise.
50810         * math/s_ctanhf.c: Likewise.
50811         * math/s_ctanhl.c: Likewise.
50812         * math/s_ctanl.c: Likewise.
50813         * math/w_fmod.c: Likewise.
50814         * math/w_fmodf.c: Likewise.
50815         * math/w_fmodl.c: Likewise.
50816         * math/w_remainder.c: Likewise.
50817         * math/w_remainderf.c: Likewise.
50818         * math/w_remainderl.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50820         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50821         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50823         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50824         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50825         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50826         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50827
50828         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50829         of the number.
50830         * stdio-common/printf_fphex.c: Likewise.
50831         * stdio-common/printf_size.c: Likewise.
50832
50833         * math/e_exp10.c: Include math_private.h using <...> not "...".
50834         * math/e_exp10f.c: Likewise.
50835         * math/e_exp10l.c: Likewise.
50836         * math/e_exp2l.c: Likewise.
50837         * math/e_j0l.c: Likewise.
50838         * math/e_j1l.c: Likewise.
50839         * math/e_jnl.c: Likewise.
50840         * math/e_lgammal_r.c: Likewise.
50841         * math/e_rem_pio2l.c: Likewise.
50842         * math/e_scalb.c: Likewise.
50843         * math/e_scalbf.c: Likewise.
50844         * math/e_scalbl.c: Likewise.
50845         * math/k_cosl.c: Likewise.
50846         * math/k_sinl.c: Likewise.
50847         * math/k_tanl.c: Likewise.
50848         * math/s_cacoshf.c: Likewise.
50849         * math/s_catan.c: Likewise.
50850         * math/s_catanf.c: Likewise.
50851         * math/s_catanh.c: Likewise.
50852         * math/s_catanhf.c: Likewise.
50853         * math/s_catanhl.c: Likewise.
50854         * math/s_catanl.c: Likewise.
50855         * math/s_ccosh.c: Likewise.
50856         * math/s_ccoshf.c: Likewise.
50857         * math/s_ccoshl.c: Likewise.
50858         * math/s_cexp.c: Likewise.
50859         * math/s_cexpf.c: Likewise.
50860         * math/s_cexpl.c: Likewise.
50861         * math/s_clog.c: Likewise.
50862         * math/s_clog10.c: Likewise.
50863         * math/s_clog10f.c: Likewise.
50864         * math/s_clog10l.c: Likewise.
50865         * math/s_clogf.c: Likewise.
50866         * math/s_clogl.c: Likewise.
50867         * math/s_csin.c: Likewise.
50868         * math/s_csinf.c: Likewise.
50869         * math/s_csinh.c: Likewise.
50870         * math/s_csinhf.c: Likewise.
50871         * math/s_csinhl.c: Likewise.
50872         * math/s_csinl.c: Likewise.
50873         * math/s_csqrt.c: Likewise.
50874         * math/s_csqrtf.c: Likewise.
50875         * math/s_csqrtl.c: Likewise.
50876         * math/s_ctan.c: Likewise.
50877         * math/s_ctanf.c: Likewise.
50878         * math/s_ctanh.c: Likewise.
50879         * math/s_ctanhf.c: Likewise.
50880         * math/s_ctanhl.c: Likewise.
50881         * math/s_ctanl.c: Likewise.
50882         * math/s_ldexp.c: Likewise.
50883         * math/s_ldexpf.c: Likewise.
50884         * math/s_ldexpl.c: Likewise.
50885         * math/s_significand.c: Likewise.
50886         * math/s_significandf.c: Likewise.
50887         * math/s_significandl.c: Likewise.
50888         * math/w_acos.c: Likewise.
50889         * math/w_acosf.c: Likewise.
50890         * math/w_acosh.c: Likewise.
50891         * math/w_acoshf.c: Likewise.
50892         * math/w_acoshl.c: Likewise.
50893         * math/w_acosl.c: Likewise.
50894         * math/w_asin.c: Likewise.
50895         * math/w_asinf.c: Likewise.
50896         * math/w_asinl.c: Likewise.
50897         * math/w_atan2.c: Likewise.
50898         * math/w_atan2f.c: Likewise.
50899         * math/w_atan2l.c: Likewise.
50900         * math/w_atanh.c: Likewise.
50901         * math/w_atanhf.c: Likewise.
50902         * math/w_atanhl.c: Likewise.
50903         * math/w_cosh.c: Likewise.
50904         * math/w_coshf.c: Likewise.
50905         * math/w_coshl.c: Likewise.
50906         * math/w_dremf.c: Likewise.
50907         * math/w_exp10.c: Likewise.
50908         * math/w_exp10f.c: Likewise.
50909         * math/w_exp10l.c: Likewise.
50910         * math/w_exp2.c: Likewise.
50911         * math/w_exp2f.c: Likewise.
50912         * math/w_fmod.c: Likewise.
50913         * math/w_fmodf.c: Likewise.
50914         * math/w_fmodl.c: Likewise.
50915         * math/w_hypot.c: Likewise.
50916         * math/w_hypotf.c: Likewise.
50917         * math/w_hypotl.c: Likewise.
50918         * math/w_j0.c: Likewise.
50919         * math/w_j0f.c: Likewise.
50920         * math/w_j0l.c: Likewise.
50921         * math/w_j1.c: Likewise.
50922         * math/w_j1f.c: Likewise.
50923         * math/w_j1l.c: Likewise.
50924         * math/w_jn.c: Likewise.
50925         * math/w_jnf.c: Likewise.
50926         * math/w_jnl.c: Likewise.
50927         * math/w_lgamma.c: Likewise.
50928         * math/w_lgamma_r.c: Likewise.
50929         * math/w_lgammaf.c: Likewise.
50930         * math/w_lgammaf_r.c: Likewise.
50931         * math/w_lgammal.c: Likewise.
50932         * math/w_lgammal_r.c: Likewise.
50933         * math/w_log.c: Likewise.
50934         * math/w_log10.c: Likewise.
50935         * math/w_log10f.c: Likewise.
50936         * math/w_log10l.c: Likewise.
50937         * math/w_log2.c: Likewise.
50938         * math/w_log2f.c: Likewise.
50939         * math/w_log2l.c: Likewise.
50940         * math/w_logf.c: Likewise.
50941         * math/w_logl.c: Likewise.
50942         * math/w_pow.c: Likewise.
50943         * math/w_powf.c: Likewise.
50944         * math/w_powl.c: Likewise.
50945         * math/w_remainder.c: Likewise.
50946         * math/w_remainderf.c: Likewise.
50947         * math/w_remainderl.c: Likewise.
50948         * math/w_scalb.c: Likewise.
50949         * math/w_scalbf.c: Likewise.
50950         * math/w_scalbl.c: Likewise.
50951         * math/w_sinh.c: Likewise.
50952         * math/w_sinhf.c: Likewise.
50953         * math/w_sinhl.c: Likewise.
50954         * math/w_sqrt.c: Likewise.
50955         * math/w_sqrtf.c: Likewise.
50956         * math/w_sqrtl.c: Likewise.
50957         * math/w_tgamma.c: Likewise.
50958         * math/w_tgammaf.c: Likewise.
50959         * math/w_tgammal.c: Likewise.
50960
50961         * po/ja.po: Update from translation team.
50962
50963 2011-09-29  Andreas Jaeger  <aj@suse.de>
50964
50965         [BZ #13179]
50966         * sunrpc/netname.c (netname2host): Fix logic.
50967
50968         [BZ #6779]
50969         [BZ #6783]
50970         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50971         correctly.
50972         * math/w_remainder.c (__remainder): Likewise.
50973         * math/w_remainderf.c (__remainderf): Likewise.
50974         * math/libm-test.inc (remainder_test): Add test cases.
50975
50976 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50977
50978         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50979         sdiv_qrnnd.
50980
50981 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50982
50983         * string/test-memcmp.c: Avoid unncessary #defines.
50984         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50985
50986 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50987
50988         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50989         Use new sse2 version for core i3 - i7 as it's faster
50990         than sse42 version.
50991         (bit_Prefer_PMINUB_for_stringop): New.
50992         * sysdeps/x86_64/rawmemchr.S: Update.
50993         Replace with faster SSE2 version.
50994         * sysdeps/x86_64/memrchr.S: New file.
50995         * sysdeps/x86_64/memchr.S: Update.
50996         Replace with faster SSE2 version.
50997
50998 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50999
51000         * elf/dl-load.c (lose): Add cast to avoid warning.
51001
51002 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51003
51004         * po/ca.po: Update from translation team.
51005
51006         * inet/getnetgrent_r.c: Hook up nscd.
51007         * nscd/Makefile (routines): Add nscd_netgroup.
51008         (nscd-modules): Add netgroupcache.
51009         (CFLAGS-netgroupcache.c): Define.
51010         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51011         (cache_search): Add const to second parameter.
51012         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51013         INNETGR.
51014         (dbs): Add netgrdb entry.
51015         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51016         (verify_persistent_db): Handle netgrdb.
51017         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51018         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51019         GETFDNETGR.
51020         (netgroup_response_header): Define.
51021         (innetgroup_response_header): Define.
51022         (datahead): Add netgroup_response_header and innetgroup_response_header
51023         elements.
51024         * nscd/nscd.conf: Add entries for netgroup cache.
51025         * nscd/nscd.h (dbtype): Add netgrdb.
51026         (_PATH_NSCD_NETGROUP_DB): Define.
51027         (netgroup_iov_disabled): Declare.
51028         (xmalloc, xcalloc, xrealloc): Move declarations here.
51029         (cache_search): Adjust prototype.
51030         Add netgroup-related prototypes.
51031         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51032         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51033         (__nscd_innetgr): Declare.
51034         * nscd/selinux.c (perms): Use access_vector_t as element type and
51035         add netgroup-related initializers.
51036         * nscd/netgroupcache.c: New file.
51037         * nscd/nscd_netgroup.c: New file.
51038         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51039         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51040         For four parameters use innetgr.
51041         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51042         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51043         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51044         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51045
51046         * nscd/connections.c (register_traced_file): Don't register file
51047         for disabled databases.
51048
51049 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51050
51051         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51052
51053         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51054         from tree and freeing node.
51055
51056 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51057
51058         * nss/nsswitch.c (__nss_database_lookup): Handle
51059         nss_parse_service_list out of memory case.
51060
51061 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51062
51063         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51064         out of memory case.
51065
51066 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51067
51068         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51069         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51070         pass it down.
51071         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51072         elf_machine_rela, elf_machine_lazy_rel.
51073         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51074         (ELF_DYNAMIC_DO_REL): Likewise.
51075         (ELF_DYNAMIC_DO_RELA): Likewise.
51076         (ELF_DYNAMIC_RELOCATE): Likewise.
51077         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51078         to ELF_DYNAMIC_DO_REL.
51079         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51080         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51081         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51082         elf_machine_rela.
51083         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51084         skip_ifunc, don't call ifunc function if non-zero.
51085         (elf_machine_rela): Likewise.
51086         (elf_machine_lazy_rel): Likewise.
51087         (elf_machine_lazy_rela): Likewise.
51088         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51089         (elf_machine_lazy_rel): Likewise.
51090         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51091         Likewise.
51092         (elf_machine_lazy_rel): Likewise.
51093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51094         Likewise.
51095         (elf_machine_lazy_rel): Likewise.
51096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51097         (elf_machine_lazy_rel): Likewise.
51098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51099         (elf_machine_lazy_rel): Likewise.
51100         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51101         (elf_machine_lazy_rel): Likewise.
51102         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51103         (elf_machine_lazy_rel): Likewise.
51104         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51105         (elf_machine_lazy_rel): Likewise.
51106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51107         (elf_machine_lazy_rel): Likewise.
51108
51109 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51110
51111         * nss/nss_files/files-init.c (_nss_files_init): Use static
51112         initialization for all the *_traced_file variables.
51113
51114 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51115
51116         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51117
51118 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51119
51120         [BZ #13226]
51121         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51122
51123 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51124
51125         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51126         Reread the line before reparsing it.
51127
51128 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51129
51130         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51131
51132 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51133             Maxim Kuvyrkov  <maxim@codesourcery.com>
51134             Joseph Myers  <joseph@codesourcery.com>
51135
51136         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51137         if needed for __stack_chk_guard.
51138
51139 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51140
51141         * sysdeps/posix/spawni.c (script_execute): Always define it.
51142         It will be optimized away if unused.
51143         (maybe_script_execute): New function.
51144         (__spawni): Call it.
51145
51146         * Makerules: Don't include tls.make.
51147         (config-tls): Always set to thread.
51148         * tls.make.c: File removed.
51149
51150 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51151
51152         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51153         * config.make.in (CPPFLAGS-config): New substituted variable.
51154
51155 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51156
51157         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51158
51159         [BZ #13192]
51160         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51161         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51162
51163 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51164
51165         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51166         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51168         (CALL_FAIL): Likewise.
51169         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51170         (CALL_FAIL): Macro removed.
51171         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51172
51173 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51174
51175         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51176         for __FINITE_MATH_ONLY__ == 1.
51177
51178 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51179
51180         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51181         __ieee754_sqrt instead of sqrt.
51182         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51183         __ieee754_sqrtf instead of sqrtf.
51184         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51185         __floorf instead of floorf.
51186         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51187         __floorf, __truncf instead of floorf, truncf.
51188
51189 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51190
51191         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51192
51193         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51194         __extern_always_inline.
51195         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51196         32-bit.
51197
51198 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51199
51200         * elf/rtld.c (dl_main): Also relocate in dependency order when
51201         doing symbol dependency testing.
51202
51203 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51204
51205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51206         Always define `refsym'.
51207
51208 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51209
51210         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51211         (__FD_ELT): Renamed from __FDELT.
51212         * misc/bits/select2.h (__FD_ELT): Likewise.
51213         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51214         __FD_MASK instead of __FDELT, __FDMASK.
51215         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51216         Likewise.
51217         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51218         Likewise.
51219
51220         * elf/Makefile (gen-ldd): Fix pattern.
51221
51222         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51223         (init_tls): Likewise.
51224
51225 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51226
51227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51228
51229 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51230
51231         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51232         `struct cmsghdr *' instead of `void *'.
51233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51234         Likewise.
51235
51236 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51237
51238         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51239         if non-absolute.
51240         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51241         ldd_rewrite_script.
51242
51243 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51244
51245         * configure.in: Remove --with-tls option.
51246         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51247         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51248         out in case it is missing.
51249         * sysdeps/ia64/elf/configure.in: Likewise.
51250         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51251         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51252         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51253         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51254         * sysdeps/sh/elf/configure.in: Likewise.
51255         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51256         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51257         * sysdeps/x86_64/elf/configure.in: Likewise.
51258         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51259         * sysdeps/mach/hurd/tls.h: Likewise.
51260
51261         [BZ #13067]
51262         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51263
51264         [BZ #13090]
51265         * configure.in: Fix use of AC_INIT.
51266
51267         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51268
51269 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51270
51271         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51272         __set_errno.
51273         * malloc/hooks.c: Likewise.
51274
51275         [BZ #11929]
51276         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51277         variables statically.
51278         (narenas): Initialize.
51279         (list_lock): Initialize.
51280         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51281         initializtion of main_arena and list_lock.  Small cleanups.
51282         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51283         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51284         Add initializers to main_arena and mp_.
51285         (malloc_state): Remove pagesize member.  Change all users to use
51286         GLRO(dl_pagesize).
51287
51288         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51289         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51290         is always initialized.
51291
51292         * malloc/malloc.c: Removed unused configurations and dead code.
51293         * malloc/arena.c: Likewise.
51294         * malloc/hooks.c: Likewise.
51295         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51296
51297         * include/tls.h: Removed.  USE___THREAD must always be defined.
51298         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51299         * elf/dl-libc.c: Likewise.
51300         * elf/dl-tsd.c: Likewise.
51301         * include/errno.h: Likewise.
51302         * include/netdb.h: Likewise.
51303         * include/resolv.h: Likewise.
51304         * inet/herrno-loc.c: Likewise.
51305         * inet/herrno.c: Likewise.
51306         * malloc/arena.c: Likewise.
51307         * malloc/hooks.c: Likewise.
51308         * malloc/malloc.c: Likewise.
51309         * resolv/res-state.c: Likewise.
51310         * resolv/res_libc.c: Likewise.
51311         * sysdeps/i386/dl-machine.h: Likewise.
51312         * sysdeps/ia64/dl-machine.h: Likewise.
51313         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51314         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51315         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51316         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51317         * sysdeps/sh/dl-machine.h: Likewise.
51318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51319         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51320         * sysdeps/unix/i386/sysdep.S: Likewise.
51321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51322         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51323         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51324         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51325         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51327         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51331         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51332         * sysdeps/x86_64/dl-machine.h: Likewise.
51333         * tls.make.c: Likewise.
51334
51335         * configure.in: Remove --with-__thread option.  Make tests for
51336         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51337         tls_model attribute fail if no support is available.  Remove
51338         USE_IN_LIBIO.
51339         * Makeconfig: Adjust for dropped configure option.  All features are
51340         now mandatory.
51341         * Makerules: Likewise.
51342         * Versions.def: Likewise.
51343         * argp/argp-fmtstream.c: Likewise.
51344         * argp/argp-fmtstream.h: Likewise.
51345         * argp/argp-help.c: Likewise.
51346         * assert/assert.c: Likewise.
51347         * config.h.in: Likewise.
51348         * config.make.in: Likewise.
51349         * configure: Likewise.
51350         * configure.in: Likewise.
51351         * csu/Versions: Likewise.
51352         * csu/init.c: Likewise.
51353         * elf/tst-audit2.c: Likewise.
51354         * elf/tst-tls10.c: Likewise.
51355         * elf/tst-tls10.h: Likewise.
51356         * elf/tst-tls11.c: Likewise.
51357         * elf/tst-tls12.c: Likewise.
51358         * elf/tst-tls14.c: Likewise.
51359         * elf/tst-tlsmod11.c: Likewise.
51360         * elf/tst-tlsmod12.c: Likewise.
51361         * elf/tst-tlsmod13.c: Likewise.
51362         * elf/tst-tlsmod13a.c: Likewise.
51363         * elf/tst-tlsmod14a.c: Likewise.
51364         * elf/tst-tlsmod15b.c: Likewise.
51365         * elf/tst-tlsmod16a.c: Likewise.
51366         * elf/tst-tlsmod16b.c: Likewise.
51367         * elf/tst-tlsmod7.c: Likewise.
51368         * elf/tst-tlsmod8.c: Likewise.
51369         * elf/tst-tlsmod9.c: Likewise.
51370         * gmon/gmon.c: Likewise.
51371         * grp/fgetgrent_r.c: Likewise.
51372         * grp/putgrent.c: Likewise.
51373         * hurd/fopenport.c: Likewise.
51374         * include/libc-symbols.h: Likewise.
51375         * include/tls.h: Likewise.
51376         * intl/gettextP.h: Likewise.
51377         * intl/loadinfo.h: Likewise.
51378         * locale/global-locale.c: Likewise.
51379         * locale/localeinfo.h: Likewise.
51380         * mach/devstream.c: Likewise.
51381         * malloc/arena.c: Likewise.
51382         * malloc/set-freeres.c: Likewise.
51383         * misc/err.c: Likewise.
51384         * misc/getttyent.c: Likewise.
51385         * misc/mntent_r.c: Likewise.
51386         * posix/getopt.c: Likewise.
51387         * posix/wordexp.c: Likewise.
51388         * pwd/fgetpwent_r.c: Likewise.
51389         * resolv/Versions: Likewise.
51390         * resolv/res_hconf.c: Likewise.
51391         * shadow/fgetspent_r.c: Likewise.
51392         * shadow/putspent.c: Likewise.
51393         * stdio-common/printf_fphex.c: Likewise.
51394         * stdio-common/tmpfile.c: Likewise.
51395         * stdlib/abort.c: Likewise.
51396         * stdlib/fmtmsg.c: Likewise.
51397         * sunrpc/auth_unix.c: Likewise.
51398         * sunrpc/clnt_perr.c: Likewise.
51399         * sunrpc/clnt_tcp.c: Likewise.
51400         * sunrpc/clnt_udp.c: Likewise.
51401         * sunrpc/clnt_unix.c: Likewise.
51402         * sunrpc/openchild.c: Likewise.
51403         * sunrpc/svc_simple.c: Likewise.
51404         * sunrpc/svc_tcp.c: Likewise.
51405         * sunrpc/svc_udp.c: Likewise.
51406         * sunrpc/svc_unix.c: Likewise.
51407         * sunrpc/xdr.c: Likewise.
51408         * sunrpc/xdr_array.c: Likewise.
51409         * sunrpc/xdr_rec.c: Likewise.
51410         * sunrpc/xdr_ref.c: Likewise.
51411         * sunrpc/xdr_stdio.c: Likewise.
51412
51413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51414
51415         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51416
51417 2011-07-03  Andreas Jaeger  <aj@suse.de>
51418
51419         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51420         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51421         regenerate with gen-libm-tests.pl.
51422
51423 2010-05-12  Petr Baudis  <pasky@suse.cz>
51424
51425         [BZ #11589]
51426         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51427         around j0() zero points by switching to j1().
51428         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51429         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51431         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51432
51433 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51434
51435         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51436         instead of 0.
51437         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51438         instead of 0.
51439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51440         Patch in part by Pavel Roskin <proski@gnu.org>.
51441
51442         [BZ #13138]
51443         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51444         realloc.
51445         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51446         Free memory block if necessary.
51447
51448         [BZ #12847]
51449         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51450         be NULL.  Don't lock in this case.
51451
51452 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51453
51454         * elf/elf.h (ELFOSABI_GNU): New macro.
51455         (ELFOSABI_LINUX): Define to that.
51456
51457 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51458
51459         * string/strncat.c (strncat): Undef the symbol in case it has been
51460         defined in bits/string.h.
51461
51462 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51463
51464         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51465
51466         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51467         link map.
51468
51469 2011-08-17  Andreas Jaeger  <aj@suse.de>
51470
51471         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51472
51473 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51474             Ian Lance Taylor  <iant@google.com>
51475
51476         * math/libm-test.inc (lround_test): New testcase.
51477         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51478
51479 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51480
51481         * Makefile: Remove support for automatic cvs check-ins.
51482         * Makerules: Likewise.
51483         * config.make.in: Likewise.
51484         * configure.in: Likewise.
51485         * intl/Makefile: Likewise.
51486         * locale/Makefile: Likewise.
51487         * po/Makefile: Likewise.
51488         * posix/Makefile: Likewise.
51489         * sysdeps/gnu/Makefile: Likewise.
51490         * sysdeps/mach/hurd/Makefile: Likewise.
51491         * sysdeps/sparc/sparc32/Makefile: Likewise.
51492
51493         [BZ #13118]
51494         * posix/Makefile (bug-regex32-ENV): Define.
51495         Patch by John Stanley <jpsinthemix@verizon.net>.
51496
51497         * misc/Makefile (headers): Add bits/select2.h.
51498         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51499         * misc/bits/select2.h: New file.
51500         * include/bits/select2.h: New file.
51501         * debug/Makefile (routines): Add fdelt_chk.
51502         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51503         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51504         FD_ISSET.
51505         * debug/fdelt_chk.c: New file.
51506
51507         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51508         * wcsmbs/test-wmemcmp.c: Likewise.
51509         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51510         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51511
51512 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51513
51514         * string/Makefile (strop-tests): Add memcmp.
51515         * string/test-wmemcmp.c: New file.
51516         * string/test-memcmp.c: Add wmemcmp support.
51517
51518 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51519
51520         [BZ #13153]
51521         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51522         2011-07-19 change.
51523
51524         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51525         garbage value in a __mach_port_mod_refs call in the cases of the
51526         task-self and thread-self ports.
51527
51528 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51529
51530         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51531
51532 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51533
51534         * elf/dl-load.c (lose): Check for non-null L.
51535
51536 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51537
51538         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51539
51540         * elf/dl-libc.c (dlerror_run): Pass back error code from
51541         dl_catch_error.
51542
51543         [BZ #13123]
51544         * elf/dl-load.c (lose): Free l_origin if it is valid.
51545
51546         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51547         names.
51548         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51549         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51550         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51552         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51553         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51554
51555 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51556
51557         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51558         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51559         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51560         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51561         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51562         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51563         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51564         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51565         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51566         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51567
51568 2011-08-15  Alan Modra  <amodra@gmail.com>
51569
51570         [BZ #13092]
51571         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51572         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51573         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51574         ppc_mcount to static-only-routines.
51575         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51576         __mcount_internal.
51577         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51578         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51579
51580 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51581
51582         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51583         for finite and infinity parameters.
51584
51585 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51586
51587         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51588         and add nop instructions for throughput optimization.
51589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51590
51591 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51592
51593         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51594         aligned copy for power7 with vector-scalar instructions.
51595         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51596
51597 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51598
51599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51600         AVX check.
51601
51602 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51603
51604         [BZ #13144]
51605         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51606         last change.
51607
51608 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51609
51610         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51611         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51612         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51613         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51614         clock_gettime.
51615
51616 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51617
51618         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51619         Forgot to demangle the pointer.
51620
51621         * sysdeps/i386/sysdep.h: Define atom_text_section.
51622         * sysdeps/x86_64/sysdep.h: Likewise.
51623         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51624         section with atom_text_section.
51625         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51626         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51627         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51629         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51630
51631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51632         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51633         already be defined.  Change to take two parameters and don't assign
51634         result to variable.  Adjust all users.
51635         Define INTERNAL_GETTIME if not already defined.
51636         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51637         call.
51638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51639         HAVE_CLOCK_GETTIME_VSYSCALL.
51640         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51641
51642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51643         gettimeofday vsyscall, just use time.
51644
51645 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51646
51647         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51648         <errno.h>.
51649
51650 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51651
51652         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51653         syscall on x86-64.
51654         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51655         syscall.
51656         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51657         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51658         syscall if possible.
51659
51660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51661
51662         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51663         e_ident.  Don't pass to find_mapsXX.
51664         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51665
51666 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51667
51668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51669         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51670         * sysdeps/x86_64/multiarch/strchr.S: Update.
51671         Check bit_slow_BSF bit.
51672         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51673         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51674         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51675
51676 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51677
51678         [BZ #13134]
51679         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51680         before glibc 2.15.
51681         (tryshell): Define.
51682         (__spawni): Change last parameter to be flag.  Test
51683         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51684         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51685         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51686         * posix/spawni.c: Likewise.
51687         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51688         * posix/spawnp.c: Likewise.  Change normal version to use
51689         SPAWN_XFLAGS_USE_PATH.
51690         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51691         SPAWN_XFLAGS_TRY_SHELL.
51692
51693         [BZ #13150]
51694         * posix/glob.h: Remove gcc 1.x support.
51695
51696         [BZ #13068]
51697         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51698
51699 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51700
51701         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51702         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51703         strrchr-sse2-bsf
51704         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51705         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51706         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51707         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51708         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51709         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51710
51711 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51712
51713         * sysdeps/x86_64/wcscmp.S: New file.
51714
51715         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51716         wcscmp-c wcscmp-sse2
51717         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51718         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51719         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51720         * wcsmbs/wcscmp.c: Allow renaming.
51721
51722 2011-09-05  David S. Miller  <davem@davemloft.net>
51723
51724         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51725         stack slot, rather than the struct return pointer slot.
51726         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51727         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51729         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51730
51731 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51732
51733         * po/ja.po: Update from translation team.
51734
51735         [BZ #13144]
51736         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51737         kernel in 64-bit binaries.
51738
51739 2011-09-01  David S. Miller  <davem@davemloft.net>
51740
51741         * elf/elf.h (HWCAP_SPARC_*): Move to..
51742         * sysdeps/sparc/sysdep.h: this new file and add new values.
51743         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51744         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51745         _DL_HWCAP_COUNT to 24.
51746         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51747         entries.
51748         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51749         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51750         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51752         instead of magic constants.
51753         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51754
51755 2011-08-31  David S. Miller  <davem@davemloft.net>
51756
51757         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51759         Reimplement to do errno handling inline.
51760         (SYSCALL_ERROR_HANDLER): New macro.
51761         (__SYSCALL_STRING): Do not do errno handling in asm.
51762         (__CLONE_SYSCALL_STRING): Delete.
51763         (__INTERNAL_SYSCALL_STRING): Delete.
51764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51765         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51766         (PSEUDO): Reimplement to do errno handling inline.
51767         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51768         (SYSCALL_ERROR_HANDLER): New macro.
51769         (__SYSCALL_STRING): Do not do errno handling in asm.
51770         (__CLONE_SYSCALL_STRING): Delete.
51771         (__INTERNAL_SYSCALL_STRING): Delete.
51772         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51773         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51774         i386.
51775         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51776         (inline_syscall*): Add 'err' argument.
51777         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51778         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51779         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51780         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51781
51782         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51783         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51784
51785 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51786
51787         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51788
51789 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51790
51791         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51792         directive.
51793
51794 2011-08-24  David S. Miller  <davem@davemloft.net>
51795
51796         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51797
51798 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51799
51800         * elf/Makefile: Add rules to build and run unload8 test.
51801         * elf/unload8.c: New file.
51802         * elf/unload8mod1.c: New file.
51803         * elf/unload8mod1x.c: New file.
51804         * elf/unload8mod2.c: New file.
51805         * elf/unload8mod3.c: New file.
51806
51807         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51808         it wasn't used.
51809
51810 2011-08-23  David S. Miller  <davem@davemloft.net>
51811
51812         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51813         subtract stack bias.
51814         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51815         %sp not %fp in calculations.
51816         (_JMPBUF_UNWINDS_ADJ): Likewise.
51817
51818         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51819         (aio_suspend): Call it to force an exception region around the
51820         AIO_MISC_WAIT() invocation.
51821
51822 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51823
51824         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51825         backslash.
51826
51827 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51828
51829         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51830         protection macro.
51831         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51832         and <dl-machine.h>.
51833         (Elf64_FuncDesc): Remove.
51834
51835 2011-08-22  David S. Miller  <davem@davemloft.net>
51836
51837         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51838         sigaltstack check, add missing cfi directives.
51839         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51840         missing cfi directives, and sigaltstack handling.
51841
51842 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51843
51844         [BZ #11724]
51845         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51846         object is seen twice.
51847         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51848
51849         * elf/Makefile (distribute): Add tst-initorder2.c.
51850         (tests): Add tst-initorder2.
51851         (modules-names): Add tst-initorder2a tst-initorder2b
51852         tst-initorder2c tst-initorder2d.  Add rules to build them.
51853         ($(objpfx)tst-initorder2.out): New rule.
51854         * elf/tst-initorder2.c: New file.
51855         * elf/tst-initorder2.exp: New file.
51856
51857 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51858
51859         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51860
51861         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51862         dependencies back to end of function.
51863
51864         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51865         $(elfobjdir)/ld.so.
51866
51867 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51868
51869         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51870         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51872         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51873         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51874         of __vdso_gettimeofday.
51875         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51876         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51877         attribute_hidden.
51878         (_libc_vdso_platform_setup): Remove initialization of
51879         __vdso_gettimeofday and __vdso_time.
51880
51881 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51882
51883         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51884         and fgetc_unlocked.
51885         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51886         getc_unlocked.
51887
51888         * elf/dl-open.c (add_to_global): Report additions to the global scope
51889         for LD_DEBUG=scopes.
51890         (dl_open_worker): Also print scope of newly loaded dependencies.
51891         (_dl_show_scope): Indicate if there is no scope.
51892
51893         [BZ #13114]
51894         * stdio-common/Makefile (tests): Add bug24.
51895         * stdio-common/bug24.c: New file.
51896
51897 2011-08-19  Andreas Jaeger  <aj@suse.de>
51898
51899         [BZ #13114]
51900         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51901         non-existant file when using close-on-exec mode.
51902
51903 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51904
51905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51906         the very first instruction.
51907
51908         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51909         the CFI state in the end.
51910         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51911         inclusion of dl-trampoline.h.
51912         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51913
51914 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51915
51916         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51917         expectations for long double.
51918
51919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51920         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51921
51922 2011-08-14  David S. Miller  <davem@davemloft.net>
51923
51924         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51925         artificual limit depends upon the system page size.
51926
51927 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51928
51929         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51930         * resolv/Makefile: Define CFLAGS-libresolv.
51931
51932 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51933
51934         * nss/makedb.c (compute_tables): Make variables used in nested
51935         function static.
51936
51937 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51938
51939         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51940         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51941         if buffer was too small.
51942
51943         * elf/pldd.c (main): Attach to all threads in the process.
51944         Rewrite /proc handling to use *at functions.
51945
51946 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51947
51948         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51949         specifies first scope to show.
51950         (dl_open_worker): Update callers.  Move printing scope of new
51951         object to before the relocation.
51952         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51953         * sysdeps/generic/ldsodefs.h: Update declaration.
51954
51955         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51956         string for the scope number.
51957
51958 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51959
51960         * nscd/servicescache.c (cache_addserv): Make sure written is always
51961         initialized.
51962
51963 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51964
51965         * sysdeps/i386/i486/bits/atomic.h
51966         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51967         statement expression, so as to suppress "set but not used" warning.
51968         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51969
51970         * string/strncat.c (STRNCAT): Use prototype definition.
51971
51972         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51973         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51974         -Iprograms here.
51975         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51976         (localedef-modules): Add localedef.
51977         (locale-modules): Add locale.
51978
51979         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51980         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51981         to avoid a warning.
51982
51983 2011-08-14  David S. Miller  <davem@davemloft.net>
51984
51985         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51986         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51987
51988 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51989
51990         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51991         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51992         * elf/rtld.c (dl_main): Set l_name of vDSO.
51993         Call _dl_show_scope when DL_DEBUG_SCOPES.
51994         (process_dl_debug): Recognize scopes flag and also set it for all.
51995         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51996         Declare _dl_show_scope.
51997
51998         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51999         (do_dlopen): Pass caller_dlopen to dl_open.
52000         (__libc_dlopen_mode): Initialize caller_dlopen.
52001
52002         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52003         of libc.  Make tolower call locale-independent.  Optimize a bit by
52004         using isdigit instead of isalnum.
52005         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52006
52007 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52008
52009         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52010         was a dependency or dynamically loaded.
52011
52012 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52013
52014         * intl/l10nflist.c: Allow architecture-specific pop function.
52015         * sysdeps/x86_64/l10nflist.c: New file.
52016
52017         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52018         classification.
52019
52020 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52021
52022         * include/dirent.h: Add libc_hidden_proto for scandirat and
52023         scandirat64.  Don't declare __scandirat64.
52024         * dirent/scandirat.c: Add libc_hidden_def.
52025         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52026         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52027
52028 2011-08-10  David S. Miller  <davem@davemloft.net>
52029
52030         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52031         enum.
52032         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52033         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52034         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52035
52036 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52037
52038         * Versions.def [libc]: Add GLIBC_2.15.
52039         * dirent/Makefile (routines): Add scandirat and scandirat64.
52040         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52041         GLIBC_2.15.
52042         * dirent/dirent.h: Declare scandirat and scandirat64.
52043         * dirent/scandirat.c: New file.
52044         * dirent/scandirat64.c: New file.
52045         * sysdeps/wordsize-64/scandirat.c: New file.
52046         * sysdeps/wordsize-64/scandirat64.c: New file.
52047         * dirent/opendir.c: Define opendirat.
52048         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52049         using scandirat.
52050         * dirent/scandir64.c: Adjust for scandir.c change.
52051         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52052         __scandirat64, and __scandir_cancel_handler.
52053         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52054         additional parameter and use openat instead of open (outside of ld.so).
52055         Add new __opendir as wrapper around __opendirat.
52056         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52057         here without requiring old scandirat implementation.
52058
52059 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52060
52061         * dirent/scandir.c (cancel_handler): Renamed to
52062         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52063         defined.  Adjust users.
52064         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52065         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52066
52067 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52068
52069         * string/test-string.h (IMPL): Use __STRING to expand name and then
52070         stringify it.
52071
52072         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52073         of cleanups.
52074
52075 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52076
52077         * string/Makefile: Update.
52078         (strop-tests): Append strncat.
52079         * string/test-wcscmp.c: New file.
52080         New comprehensive test for wcscmp.
52081         * string/test-strcmp.c: Update.
52082         (WIDE): New define.
52083
52084 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52085
52086         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52087         line.
52088
52089 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52090
52091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52092         encoding to ACE if AI_IDN.
52093
52094 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52095
52096         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52097         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52098
52099 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52100
52101         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52102         Fix overflow bug in strncat.
52103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52104
52105         * string/test-strncat.c: Update.
52106         Add new tests for checking overflow bugs.
52107
52108 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52109
52110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52111         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52112         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52113         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52114         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52115         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52116         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52117         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52118         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52119
52120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52121         (USE_AS_STRCAT): Define.
52122         Add strcat and strncat support.
52123         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52124
52125 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52126
52127         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52128         __n bigger than INT_MAX+1.
52129         (__strncmp_g): Likewise.
52130
52131 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52132
52133         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52134         * libio/stido.h: Likewise.
52135
52136         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52137         (AF_NFC): Define.
52138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52139         (AF_NFC): Define.
52140
52141         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52144         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52146
52147         [BZ #13021]
52148         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52149         installed.
52150
52151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52152         typo.
52153         (_dl_x86_64_save_sse): Likewise.
52154
52155 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52156
52157         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52158         OSXSAVE.
52159         (_dl_x86_64_save_sse): Likewise.
52160
52161         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52162
52163         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52164
52165 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52166
52167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52168         change.
52169         (_dl_x86_64_save_sse): Use correct AVX check.
52170
52171 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52172
52173         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52174         bug in strncpy/strncat.
52175         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52176
52177 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52178
52179         * string/tester.c (test_strcat): Add tests for different alignments
52180         of source and destination.
52181         (test_strncat): Likewise.
52182
52183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52184
52185         [BZ #12852]
52186         * posix/glob.c (glob): Check passed in values before using them in
52187         expressions to avoid some overflows.
52188         (glob_in_dir): Likewise.
52189
52190         [BZ #13007]
52191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52192         check for AVX enablement so that we don't crash with old kernels and
52193         new hardware.
52194         * elf/tst-audit4.c: Add same checks here.
52195         * elf/tst-audit6.c: Likewise.
52196
52197         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52198
52199 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52200
52201         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52202
52203 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52204
52205         * po/cs.po: Update from translation team.
52206         * po/bg.po: Likewise.
52207
52208 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52209
52210         * misc/sys/cdefs.h: Add support for const attribute.
52211         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52212         to gnu_dev_{major,minor,makedev} functions.
52213
52214 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52215
52216         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52217
52218 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52219
52220         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52221         strlen results.
52222
52223 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52224
52225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52226         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52227         register in order to avoid conflicts with the soft frame pointer
52228         being held in r11 when necessary.
52229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52230         (INTERNAL_VSYSCALL_NCS): Likewise.
52231
52232 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52233
52234         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52235         * elf/dl-fini.c (_dl_fini): Adjust caller.
52236         * elf/dl-close.c (_dl_close_worker): Likewise.
52237         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52238
52239 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52240
52241         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52242         "aux_cache->nlibs < 0".
52243
52244         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52245         in the reload-count case.
52246
52247 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52248
52249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52250         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52251         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52252         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52253         * sysdeps/x86_64/multiarch/strcat.S: New file.
52254         * sysdeps/x86_64/multiarch/strncat.S: New file.
52255         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52256         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52257         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52258         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52259         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52260         (USE_AS_STRCAT): Define.
52261         Add strcat and strncat support.
52262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52263         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52264         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52265         * string/strncat.c: Update.
52266         (USE_AS_STRNCAT): Define.
52267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52268         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52269         and i7.
52270         * sysdeps/x86_64/multiarch/init-arch.h
52271         (bit_Prefer_PMINUB_for_stringop): New.
52272         (index_Prefer_PMINUB_for_stringop): Likewise.
52273         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52274         bit_Prefer_PMINUB_for_stringop.
52275
52276 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52277
52278         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52279         buffer64.
52280         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52281         of casting of buffer.
52282         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52283         buffer32 and buffer64.
52284         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52285         writes instead of casting of buffer.
52286         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52287         buffer32.
52288         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52289         casting of buffer.
52290
52291 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52292
52293         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52294
52295 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52296
52297         * nscd/nscd.c (termination_handler): Don't do anything for a database
52298         if it has not yet been initialized.
52299
52300 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52301
52302         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52303
52304 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52305
52306         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52307
52308 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52309
52310         * po/nl.po: Update from translation team.
52311         * po/sv.po: Likewise.
52312
52313 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52314
52315         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52316         now disallowed by GCC.
52317
52318         * configure.in (use-default-link): Default to yes if a test -shared
52319         link meets our qualifications.
52320         * configure: Regenerated.
52321
52322         * config.make.in (output-format): New variable.
52323         * configure.in: Check for ld --print-output-format support.
52324         * configure: Regenerated.
52325         * Makerules ($(common-objpfx)format.lds)
52326         [$(output-format) != unknown]: Just use $(output-format),
52327         instead of the linker-script munging.
52328
52329 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52330
52331         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52332         of $(common-objpfx)shlib.lds.
52333         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52334
52335         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52336         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52337
52338         * configure.in (-z relro check): Adjust test code to add a large
52339         writable data section after it.
52340         * configure: Regenerated.
52341
52342 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52343
52344         * configure.in (-z relro check): Fix test code to make the variable
52345         truly const.
52346         * configure: Regenerated.
52347
52348 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52349
52350         * nscd/nscd.h (struct traced_file): Define.
52351         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52352         elements.  Add traced_files.
52353         (inotify_fd): Declare.
52354         (register_traced_file): Declare.
52355         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52356         (inotify_fd): Export.
52357         (resolv_conf_descr): Remove.
52358         (nscd_init): Move inotify descriptor creation to main.
52359         Don't register files for notification here.
52360         (register_traced_file): New function.
52361         (invalidate_cache): Don't use reset_res to determine whether to call
52362         res_init, go through the list of registered files.
52363         (main_loop_poll): The inotify descriptors are now stored in the
52364         structures for the traced files.
52365         (main_loop_epoll): Likewise
52366         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52367         to __nss_disable_nscd.
52368         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52369         for a database anymore.  Check the records for all the registered
52370         files instead.
52371         * nss/Makefile (libnss_files-routines): Add files-init.
52372         (libnss_db-routines): Add db-init.
52373         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52374         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52375         * nss/nss_db/db-init.c: New file.
52376         * nss/nss_files/files-init.c: New file.
52377         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52378         __nss_lookup_function.
52379         (__nss_lookup_function): Call nss_load_library.
52380         (nss_load_all_libraries): New function.
52381         (__nss_disable_nscd): Take parameter with callback function for files
52382         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52383         used for the cached services.
52384         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52385         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52386         options for features to all the files in nscd.
52387
52388         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52389
52390 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52391
52392         * csu/elf-init.c (__libc_csu_init): Comment typo.
52393
52394 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52395
52396         * po/pl.po: Update from translation team.
52397         * po/ja.po: Likewise.
52398         * po/ru.po: Likewise.
52399         * po/ko.po: Likewise.
52400         * po/fr.po: Likewise.
52401
52402 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52403
52404         * configure.in (.ctors/.dtors header and trailer check):
52405         Use an empirical test on a built program.
52406         * configure: Regenerated.
52407
52408         * configure.in (-z relro check): Use an empirical test on a built DSO.
52409         Detect, but do not require, on ia64.
52410         * configure: Regenerated.
52411
52412         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52413         Update tests that use readelf to use $READELF instead.
52414         * configure: Regenerated.
52415
52416 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52417
52418         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52419         if the result is not used.
52420
52421 2011-07-05  Andreas Jaeger  <aj@suse.de>
52422
52423         [BZ#9696]
52424         * stdlib/tst-strtod.c: Add testcase.
52425
52426 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52427
52428         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52429         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52430         The latter has a higher limit.  Take additional parameter to pass to
52431         the new function.
52432         (__pathconf): Pass file to __statfs_link_max.
52433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52434         __statfs_link_max.
52435         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52436         __statfs_link_max.
52437
52438         [BZ #12868]
52439         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52440         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52441         Handle Lustre.
52442         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52443         (__statfs_filesize_max): Likewise.
52444         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52445
52446 2011-07-05  Andreas Jaeger  <aj@suse.de>
52447
52448         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52449
52450 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52451
52452         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52453         `status' variable.
52454         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52455         Likewise.
52456
52457 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52458
52459         * Makefile (strop-tests): Add strncat.
52460         * string/test-strncat.c: New file.
52461
52462 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52463
52464         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52465
52466 2011-06-21  Andreas Jaeger  <aj@suse.de>
52467
52468         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52469         Copy rule from iconvdata/Makefile.
52470
52471 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52472
52473         [BZ #12922]
52474         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52475         but no long options are defined, just return 'W'.
52476
52477 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52478
52479         [BZ #9696]
52480         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52481
52482 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52483
52484         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52485         netgroups to read.
52486         (innetgr): Likewise.
52487
52488 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52489
52490         * config.make.in (install_root): Default to $(DESTDIR).
52491
52492 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52493
52494         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52495
52496 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52497
52498         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52499
52500         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52501         containing directory rather than embedding absolute directory names.
52502
52503         * scripts/check-local-headers.sh: Rewritten using awk.
52504         Match by word, not by line.  Print error messages for matches.
52505         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52506
52507         * Makerules [shlib-lds-flags empty]:
52508         ($(common-objpfx)libc_pic.opts): New target.
52509         ($(common-objpfx)libc_pic.os.clean): New target.
52510         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52511
52512         * config.make.in (OBJCOPY): New variable.
52513         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52514         * configure: Regenerated.
52515
52516         * config.make.in (use-default-link): New variable.
52517         * configure.in (use_default_link): Grok --with-default-link to set it.
52518         * configure: Regenerated.
52519         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52520         (shlib-lds, shlib-lds-flags): Define to empty.
52521
52522         * Makerules (shlib-lds): New variable.
52523         (shlib-lds-flags): New variable.
52524         (build-shlib, build-moduile, build-module-asneeded): Use it.
52525         ($(common-objpfx)libc.so): Use $(shlib-lds).
52526         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52527         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52528
52529         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52530         DT_FLAGS/DT_FLAGS_1 with zero flags.
52531
52532         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52533         linker script munging.
52534
52535 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52536
52537         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52538         as 128-bit value.
52539         * crypt/sha512.c (sha512_process_block): Perform total addition using
52540         128-bit if possible.
52541         (__sha512_finish_ctx): Likewise.
52542         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52543         as 64-bit value.
52544         * crypt/sha256.c (SWAP64): Define.
52545         (sha256_process_block): Perform total addition using 64-bit if
52546         possible.
52547         (__sha256_finish_ctx): Likewise.
52548
52549 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52550
52551         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52552         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52553         * nscd/hstcache.c (cache_addhst): Likewise.
52554         * nscd/grpcache.c (cache_addgr): Likewise.
52555         * nscd/aicache.c (addhstaiX): Likewise
52556         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52557
52558 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52559
52560         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52561         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52562         * nscd/hstcache.c (cache_addhst): Likewise.
52563         * nscd/grpcache.c (cache_addgr): Likewise.
52564         * nscd/aicache.c (addhstaiX): Likewise
52565
52566 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52567
52568         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52569         domain only when needed.
52570
52571 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52572
52573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52574         is always restored.
52575
52576 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52577
52578         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52579         are re-adding the entry.
52580         * nscd/servicescache.c (cache_addserv): Likewise.
52581
52582 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52583
52584         * sysdeps/generic/dl-irel.h: fix protection against multiple
52585         inclusions.
52586         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52587
52588 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52589
52590         [BZ #12935]
52591         * malloc/memusage.sh: Fix quoting in message.
52592         * debug/xtrace.sh: Likewise.
52593
52594         * configure.in: Remove support for --experimental-malloc option, make
52595         it the default.
52596         * config.make.in: Likewise.
52597         * malloc/Makefile: Likewise.
52598
52599 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52600
52601         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52602         two-byte characters.
52603
52604 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52605
52606         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52607         AC_CACHE_CHECK invocation.
52608         * configure: Regenerated.
52609
52610         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52611
52612 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52613
52614         [BZ #12350]
52615         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52616         bit from old_res_options.
52617
52618         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52619
52620         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52621         value type for setfct.
52622
52623 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52624
52625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52626         __gettimeofday instead of gettimeofday.
52627
52628 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52629
52630         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52631
52632 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52633
52634         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52635
52636         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52637         info.
52638
52639 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52640
52641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52642         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52643         strcpy-sse2-unaligned strncpy-sse2-unaligned
52644         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52645         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52646         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52647         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52648         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52649         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52650         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52651         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52652         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52653         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52654         (STRCPY): Support SSE2 and SSSE3 versions.
52655
52656 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52657
52658         [BZ #12874]
52659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52660         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52661         kernels which artificially limit size of requests.
52662
52663 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52664
52665         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52666         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52667         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52668         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52669         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52670         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52671         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52672         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52673         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52675         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52676         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52677         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52678         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52679         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52681         Enable unaligned load optimization for Intel Core i3, i5 and i7
52682         processors.
52683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52684         Define.
52685         (index_Fast_Unaligned_Load): Define.
52686         (HAS_FAST_UNALIGNED_LOAD): Define.
52687
52688 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52689
52690         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52691
52692 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52693
52694         [BZ #12907]
52695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52696         until it is clear that the information is realy needed.
52697         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52698
52699 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52700
52701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52702
52703 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52704
52705         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52706         /sys/devices/system/cpu/online if it is usable.
52707
52708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52709         reading the information from the /proc filesystem to once a second.
52710
52711 2011-06-21  Andreas Jaeger  <aj@suse.de>
52712
52713         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52714         NULL after inclusion of kernel headers.
52715
52716 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52717
52718         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52719         calls to internal_setent.
52720
52721         [BZ #12885]
52722         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52723         addresses using gethostbyname4_r ignore IPv4 addresses.
52724
52725         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52726         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52727
52728         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52729
52730 2011-06-20  David S. Miller  <davem@davemloft.net>
52731
52732         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52733         inclusions.
52734         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52735
52736         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52737         (elf_irel): Use it.
52738         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52739         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52740         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52741         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52742         * sysdeps/x86_64/dl-irel.h: Likewise.
52743
52744         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52745         * elf/dl-sym.c: Likewise.
52746
52747 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52748
52749         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52750         need to dereference resplen2.
52751
52752 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52753
52754         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52755
52756 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52757
52758         * Makeconfig: Define vardbdir and inst_vardbdir.
52759         * nss/Makefile: Add rules to install db-Makefile.
52760
52761         * nss/nss_db/db-XXX.c: Cleanup.
52762
52763         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52764         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52765         GLIBC_PRIVATE.
52766         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52767         * nss/makedb.c: Implement -g option to specify that value strings
52768         are generated and should not be added to table iterated over for
52769         get*ent calls.
52770         * nss/nss_db/db-initgroups.c: New file.
52771
52772         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52773         interface.
52774
52775         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52776         (internal_getgrouplist): Adjust to name change.
52777         Update use_initgroups_entry if this is not the first call.
52778         * nss/databases.def: Add initgroups entry.
52779
52780         * nss/makedb.c (compute_tables): Check result of multiple hash table
52781         sizes to minimize maximum chain length.
52782
52783 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52784
52785         * Versions.def: Add entry for libnss_db.
52786         * shlib-versions: Likewise.
52787         * nss/Makefile: Add rules to build libnss_db.
52788         * nss/Versions: Add libnss_db information.  Organize libnss_files
52789         entries better.
52790         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52791         makedb progra.  Some minor improvements to generate smaller files.
52792         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52793         here from...
52794         * nss/makedb.c: ...here.
52795         Improve database format to be smaller and require less memory at
52796         runtime.
52797         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52798         db anymore.
52799         * nss/nss_db/db-netgrp.c: Likewise.
52800         * nss/nss_db/db-open.c: Likewise.
52801         * nss/nss_files/flies-XXX.x: Adjust comments.
52802         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52803         * nss/nss_files/files-grp.c: Likewise.
52804         * nss/nss_files/files-hosts.c: Likewise.
52805         * nss/nss_files/files-network.c: Likewise.
52806         * nss/nss_files/files-proto.c: Likewise.
52807         * nss/nss_files/files-pwd.c: Likewise.
52808         * nss/nss_files/files-rpc.c: Likewise.
52809         * nss/nss_files/files-service.c: Likewise.
52810         * nss/nss_files/files-sgrp.c: Likewise.
52811         * nss/nss_files/files-spwd.c: Likewise.
52812         * nss/nss_db/db-alias.c: Removed.
52813         * nss/nss_db/dummy-db.h: Removed.
52814
52815 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52816
52817         * nss/makedb.c: Rewritten to not use database library.
52818         * nss/Makefile: Update to build new makedb program.
52819
52820 2011-06-14  Andreas Jaeger  <aj@suse.de>
52821
52822         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52823         memset declaration.
52824
52825 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52826
52827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52828         tmpbuf.
52829
52830 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52831
52832         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52833         * elf/Makefile ($(objpfx)ld.so): Likewise.
52834
52835         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52836         Don't list ld.so twice in dependencies.
52837
52838         * posix/bug-regex31.c: Include <stdlib.h>.
52839
52840         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52841
52842         * nis/nss_compat/compat-spwd.c
52843         (getspent_next_nss_netgr): Remove unused variable.
52844         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52845
52846         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52847         nonmembers" output to use the right array.
52848
52849         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52850
52851         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52852
52853         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52854         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52855         * catgets/gencat.c (read_input_file): Likewise.
52856         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52857
52858         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52859         variable definition inside #if's controlling its use.
52860
52861         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52862
52863         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52864
52865         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52866
52867         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52868         unreachable code.
52869
52870         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52871
52872         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52873         * configure: Regenerated.
52874
52875         * Makerules: Revert last change.
52876         * elf/Makefile: Likewise.
52877
52878 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52879
52880         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52881         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52882         (reloc-link): Likewise.
52883
52884 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52885
52886         * elf/Makefile: Add rules to build pldd.
52887         * elf/pldd.c: New file.
52888         * elf/pldd-xx.c: New file.
52889
52890 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52891
52892         * version.h: Update for 2.15 development version.
52893
52894 2011-06-07  David S. Miller  <davem@davemloft.net>
52895
52896         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52897         ifuncs.
52898         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52899         elf_machine_lazy_rel): Likewise.
52900         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52902         elf_machine_lazy_rel): Likewise.
52903         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52904         dl_hwcap via passed in argument.
52905         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52906         Likewise.
52907
52908 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52909
52910         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52911
52912 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52913
52914         [BZ #12849]
52915         * manual/fdl-1.1.texi: New file, verbatim from:
52916         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52917         * manual/lgpl-2.1.texi: New file, verbatim from:
52918         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52919         * manual/Makefile (licenses): New variable, list those new file names.
52920         (texis): Use it.
52921         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52922
52923         * manual/fdl.texi: File removed.
52924         * manual/lesser.texi: File removed.
52925         * manual/libc.texinfo (Copying, Documentation License):
52926         Use new @include file names, put @appendix directive before @include.
52927
52928 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52929
52930         [BZ #12841]
52931         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52932         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52933         (mq_open): Add __NTH.
52934
52935 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52936
52937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52938         Assume Intel Core i3/i5/i7 processor if AVX is available.
52939
52940 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52941
52942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52943         typo.
52944
52945 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52946
52947         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52948         memory.  Use alloca_account.  Fix memory leak when retrying.
52949
52950 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52951
52952         * version.h (RELEASE): Bump for 2.14 release.
52953         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52954
52955         * config.make.in (RANLIB): Remove entry.
52956
52957 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52958
52959         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52960         (libc.pot): Work around missing support for .ksh extension in xgettext.
52961
52962         [BZ #12684]
52963         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52964         if both request failed.
52965         (send_dg): In case of server errors clear resplen or *resplen2.
52966
52967         [BZ #12454]
52968         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52969         when there are multiple maps.
52970         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52971         (_dl_fini): Remove test here.
52972
52973         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52974
52975 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52976
52977         [BZ #12350]
52978         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52979         bit from old_res_options.
52980         (gaih_inet): Likewise.
52981
52982         [BZ #11099]
52983         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52984         as signed.
52985
52986         * resolv/res_init.c (res_setoptions): Make the code more compact.
52987
52988         [BZ #11558]
52989         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52990         set RES_USEVC.
52991
52992         [BZ #11634]
52993         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52994
52995         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52996
52997         [BZ #11781]
52998         * malloc/malloc.h: Declare malloc hook variables as volatile.
52999
53000         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53001         in last patch.
53002
53003         [BZ #11799]
53004         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53005         raise in the comment.
53006         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53008         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53009
53010 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53011
53012         [BZ #12811]
53013         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53014         grow the buffers more if it already has to be sufficient.
53015         (build_wcs_upper_buffer): Likewise.
53016         * posix/regexec.c (check_matching): Likewise.
53017         (clean_state_log_if_needed): Likewise.
53018         (extend_buffers): Don't enlarge buffers beyond size of the input
53019         buffer.
53020         Patches mostly by Emil Wojak <emil@wojak.eu>.
53021         * posix/bug-regex32.c: New file.
53022         * posix/Makefile (tests): Add bug-regex32.
53023
53024         * locale/findlocale.c (_nl_find_locale): Return right away if
53025         _nl_explode_name failed.
53026         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53027
53028         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53029
53030         * debug/xtrace.sh: Unify messages.
53031         * malloc/memusage.sh: Likewise.
53032
53033         [BZ #12813]
53034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53035         time symbol from vDSO.  Substitute with vsyscall if not available.
53036         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53037         __vdso_time.
53038
53039         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53040         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53041         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53042         Add sendmmsg and internal_sendmmsg.
53043         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53044         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53045         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53046
53047         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53048         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53049         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53050
53051 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53052
53053         [BZ #12813]
53054         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53055         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53056         available.
53057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53058         __vdso_getcpu.
53059
53060         [BZ #12814]
53061         * iconvdata/Makefile (tests): Add bug-iconv9.
53062         * iconvdata/bug-iconv9.c: New file.
53063
53064 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53065
53066         [BZ #12814]
53067         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53068
53069 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53070
53071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53072         (struct user_regs_struct): Change intcs field back to cs.
53073
53074 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53075
53076         * po/ja.po: Update from translation team.
53077
53078 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53079
53080         [BZ #12795]
53081         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53082         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53083
53084 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53085
53086         * stdlib/longlong.h: Update from GCC.
53087
53088 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53089
53090         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53091         parameter name.
53092         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53093         Add parameter name.
53094         (__sysconf): Pass it down.
53095
53096 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53097
53098         [BZ #12671]
53099         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53100         some situations.
53101         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53102         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53103         add in in __libc_use_alloca calls.  Adjust callers.
53104         (glob): Use malloc in some situations.
53105
53106         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53107         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53108         pltexit.
53109
53110 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53111
53112         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53113         and CLOCK_BOOTTIME_ALARM.
53114
53115         [BZ #12782]
53116         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53117         is returned.
53118
53119         * string/_strerror.c (__strerror_r): Print negative errors as signed
53120         numbers.
53121
53122         [BZ #12777]
53123         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53124         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53125         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53126
53127         * configure.in: Fix typo in redirection and correct removal of test
53128         files in two cases.
53129
53130         [BZ #12788]
53131         * locale/setlocale.c (new_composite_name): Fix test to check for
53132         identical name of all categories.
53133
53134         [BZ #12792]
53135         * libio/filedoalloc.c (local_isatty): New function.
53136         (_IO_file_doallocate): Use local_isatty.
53137         * stdio-common/perror.c (perror): In case a new stream is used
53138         forward the stream error.
53139         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53140         error flag.
53141
53142 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53143
53144         [BZ #11869]
53145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53146         alloca.
53147         * include/alloca.h (extend_alloca_account): Define.
53148
53149         [BZ #11857]
53150         * posix/regex.h: Fix comments with documentation of user-accessible
53151         fields after compilation and describe correct free'ing of pattern
53152         after re_compile_pattern.
53153         Patch by Reuben Thomas <rrt@sc3d.org>.
53154
53155 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53156
53157         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53158         and -mno-altivec to prevent the compiler from using Altivec and/or
53159         VSX instructions when the corresponding registers are not available.
53160
53161 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53162
53163         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53164
53165 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53166
53167         * libio/freopen.c (freopen): Use __dup2, not dup2.
53168         * libio/freopen64.c (freopen64): Likewise.
53169
53170 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53171
53172         [BZ #12775]
53173         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53174         * math/Makefile (tests): Add test-powl.
53175         (CFLAGS-test-powl.c): Define.
53176         * math/test-powl.c: New file.
53177
53178 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53179
53180         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53181
53182 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53183
53184         [BZ #11837]
53185         * iconvdata/gb18030.c: Update to GB18020-2005.
53186
53187 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53188
53189         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53190         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53191         Patch by Aharon Robbins <arnold@skeeve.com>.
53192
53193         [BZ #11892]
53194         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53195         on the stack.
53196
53197         [BZ #11895]
53198         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53199         through underflows.
53200
53201         [BZ #12766]
53202         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53203         point to strings before performing equality test for error_one_per_line
53204         mode.
53205
53206         [BZ #11697]
53207         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53208
53209         [BZ #11820]
53210         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53211         (struct user_fpregs_struct): Avoid __uint*_t types.
53212
53213         [BZ #6420]
53214         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53215         symbol info.  Use it instead of calling _dl_addr locally.
53216         (lock_and_info): New function.
53217         (tr_freehook): Call lock_and_info and pass symbol info as additional
53218         parameter to tr_where.
53219         (tr_mallochook): Likewise.
53220         (tr_reallochook): Likewise.
53221         (tr_memalignhook): Likewise.
53222
53223         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53224         used and couldn't be at all thread-safe.
53225
53226 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53227
53228         * libio/freopen.c (freopen): Don't close old file descriptor
53229         before the new one is opened.  Instead dup the new file descriptor
53230         to the old one after the new stream is created.
53231         * libio/freopen64.c (freopen64): Likewise.
53232         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53233         * libio/fileops.c (_IO_new_file_close_it): Handle new
53234         _IO_FLAGS2_NOCLOSE flag.
53235         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53236         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53237         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53238         _IO_FLAGS2_NOCLOSE flag.
53239         * include/unistd.h: Add hidden_proto for dup3.
53240         Define __have_dup3.
53241         * io/dup3.c: Define hidden symbol.
53242         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53243
53244         [BZ #7101]
53245         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53246         when an incomplete long option is used.
53247         * posix/tst-getopt_long1.c: New file.
53248         * posix/Makefile (tests): Add tst-getopt_long1.
53249
53250         [BZ #10138]
53251         * scripts/config.guess: Update from autoconf-2.68.
53252         * scripts/config.sub: Likewise.
53253
53254         [BZ #10157]
53255         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53256         tests into ...
53257         (has_cpuclock): ...this.  New function.
53258         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53259         macro here based on has_cpuclock code.
53260
53261         [BZ #10149]
53262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53263         First byte (not low byte) is now always NUL.
53264         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53265
53266         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53267         Use non-cancelable interfaces.
53268
53269         [BZ #9809]
53270         * locale/iso-639.def: Add entry for Sorani.
53271
53272         [BZ #11901]
53273         * include/stdlib.h: Move include protection to the right place.
53274         Define abort_msg_s.  Declare __abort_msg with it.
53275         * stdlib/abort.c (__abort_msg): Adjust type.
53276         * assert/assert.c (__assert_fail_base): New function.  Majority
53277         of code from __assert_fail.  Allocate memory for __abort_msg with
53278         mmap.
53279         (__assert_fail): Now call __assert_fail_base.
53280         * assert/assert-perr.c: Remove bulk of implementation.  Use
53281         __assert_fail_base.
53282         * include/assert.hL Declare __assert_fail_base.
53283         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53284         mmap.
53285         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53286
53287 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53288
53289         [BZ #11952]
53290         [BZ #12453]
53291         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53292         until all modules are registered in the DTV.
53293         * elf/Makefile: Add rules to build and run tst-tls19.
53294         * elf/tst-tls19.c: New file.
53295         * elf/tst-tls19mod1.c: New file.
53296         * elf/tst-tls19mod2.c: New file.
53297         * elf/tst-tls19mod3.c: New file.
53298         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53299
53300         [BZ #12083]
53301         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53302         correctly.
53303
53304         [BZ #12601]
53305         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53306         two-byte sequence errors.
53307         * iconvdata/Makefile (tests): Add bug-iconv8.
53308         * iconvdata/bug-iconv8.c: New file.
53309
53310         [BZ #12626]
53311         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53312         buf2 definition.
53313
53314         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53315
53316         [BZ #12432]
53317         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53318         (dummy_getcfa): New function.
53319         (init): Get _Unwind_GetCFA address, use dummy if not found.
53320         (backtrace_helper): In recursion check, also check whether CFA changes.
53321         (__backtrace): Completely initialize arg.
53322
53323         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53324         storing incomplete byte sequence in state object.  Avoid testing for
53325         guaranteed too small input if we know there is enough data available.
53326
53327 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53328
53329         * Makeconfig (+link-pie): Indent.
53330         * Rules (binaries-pie): Define if $(have-fpie) and
53331         $(build-shared).
53332         (binaries-shared): Also filter out $(binaries-pie).
53333         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53334         * nscd/Makefile (others-pie): Add nscd.
53335         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53336         ($(objpfx)nscd): Remove command override.
53337         * login/Makefile (others-pie): Add pt_chown.
53338         ($(objpfx)pt_chown): Remove command override.
53339         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53340         remove command overrides.
53341
53342 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53343
53344         * libio/tst_putwc.c: Fix error messages.
53345
53346         [BZ #12724]
53347         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53348         currently writing and seek to current position when not.
53349         * libio/Makefile (tests): Add bug-fclose1.
53350         * libio/bug-fclose1.c: New file.
53351
53352 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53353
53354         [BZ #12511]
53355         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53356         don't set DF_1_NODELETE here.
53357         (do_lookup_x): When entering new entry test for copy relocation
53358         and if necessary set DF_1_NODELETE flag.
53359         * elf/tst-unique4.cc: New file.
53360         * elf/tst-unique4.h: New file.
53361         * elf/tst-unique4lib.cc: New file.
53362         * elf/Makefile: Add rules to build and run tst-unique4.
53363         Patch by Piotr Bury <pbury@goahead.com>.
53364
53365 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53366
53367         [BZ #12052]
53368         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53369
53370         [BZ #12625]
53371         * misc/mntent_r.c (addmntent): Flush the stream after the output
53372
53373         [BZ #12393]
53374         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53375         (is_trusted_path_normalize): Skip initial colon.  Append slash
53376         to empty buffer.  Duplicate is_trusted_path code but allow
53377         constructed patch to be prefix.
53378         (is_dst): Allow $ORIGIN followed by /.
53379         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53380         Correct testing of result of is_trusted_path_normalize
53381         (decompose_rpath): Fix warning.
53382
53383 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53384
53385         [BZ #11257]
53386         * grp/initgroups.c (internal_getgrouplist): When we found the service
53387         list through the initgroups entry in nsswitch.conf do not always
53388         continue on a successful lookup.  Don't always use the
53389         __nss_group_database value if it is set.
53390         * nss/nsswitch.conf (initgroups): Change action for successful db
53391         lookup to continue for compatibility.
53392
53393 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53394
53395         [BZ #11532]
53396         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53397         and CP774 modules.
53398         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53399         and CP774 modules.
53400         * iconvdata/tst-tables.sh: Likewise.
53401         * iconvdata/cp770.c: New file.
53402         * iconvdata/cp771.c: New file.
53403         * iconvdata/cp772.c: New file.
53404         * iconvdata/cp773.c: New file.
53405         * iconvdata/cp774.c: New file.
53406         * iconvdata/testdata/CP770: New file.
53407         * iconvdata/testdata/CP770..UTF8: New file.
53408         * iconvdata/testdata/CP771: New file.
53409         * iconvdata/testdata/CP771..UTF8: New file.
53410         * iconvdata/testdata/CP772: New file.
53411         * iconvdata/testdata/CP772..UTF8: New file.
53412         * iconvdata/testdata/CP773: New file.
53413         * iconvdata/testdata/CP773..UTF8: New file.
53414         * iconvdata/testdata/CP774: New file.
53415         * iconvdata/testdata/CP774..UTF8: New file.
53416
53417         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53418         END CHARMAP line.
53419         * iconvdata/gen-8bit-gap.sh: Likewise.
53420         * iconvdata/gen-8bit.sh: Likewise.
53421
53422         * locale/iso-639.def: Add ary entry.
53423
53424         [BZ #11258]
53425         * locale/C-translit.h.in: Add U20A1 transliteration.
53426
53427         [BZ #12178]
53428         * locale/iso-639.def: Add wae entry.
53429         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53430
53431         [BZ #12545]
53432         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53433         for n.
53434
53435         [BZ #12711]
53436         * locale/C-translit.h.in: Add entry for U20B9.
53437         Patch by pravin.d.s@gmail.com.
53438
53439 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53440
53441         [BZ #12713]
53442         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53443         ENAMETOOLONG use generic getcwd.
53444         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53445         in rtld.  Use *stat64.
53446         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53447         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53448         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53449         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53450         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53451         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53452         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53453         __fstatat64 macros.
53454         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53455         * dirent/rewinddir.c: Add libc_hidden_def.
53456         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53457         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53458
53459         * include/dirent.h (__alloc_dir): Add flags parameter.
53460         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53461         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53462         __alloc_dir.
53463         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53464         from fdopendir if O_CLOEXEC is already set.
53465
53466 2011-03-15  Alan Modra  <amodra@gmail.com>
53467
53468         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53469         l_tls_firstbyte_offset non-zero.  Save padding offset in
53470         l_tls_firstbyte_offset for later use.
53471         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53472         freeing static tls block.
53473
53474 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53475
53476         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53477         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53478         being defined by the kernel headers.
53479
53480 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53481
53482         [BZ #12734]
53483         * resolv/resolv.h: Define RES_NOTLDQUERY.
53484         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53485         no-tld-query and set RES_NOTLDQUERY.
53486         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53487         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53488         modern BIND to search name as TLD unless forbidden.
53489
53490 2011-05-07  Petr Baudis  <pasky@suse.cz>
53491             Ulrich Drepper  <drepper@gmail.com>
53492
53493         [BZ #12393]
53494         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53495         (is_trusted_path): ...to here.
53496         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53497         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53498         using is_trusted_path_normalize() in setuid scripts.
53499
53500 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53501
53502         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53503         __BEGIN/__END_DECLS.
53504
53505 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53506
53507         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53508         NSS_STATUS_NOTFOUND if no record was found.
53509
53510 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53511
53512         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53513         (headers-not-in-tirpc): Remove rpc/netdb.h
53514         * resolv/netdb.h: Revert last change.
53515
53516 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53517
53518         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53519         circular dependency between libgcc.a and libc.a.
53520
53521 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53522
53523         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53524         * nis/Makefile: Don't install rpcsvc/*.
53525         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53526         instead of <rpc/types.h>.
53527         (MAXHOSTNAMELEN): Define.
53528
53529 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53530
53531         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53532
53533 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53534
53535         [BZ #12714]
53536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53537         gethostbyname4_r when IPv6 results are possible.
53538
53539 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53540
53541         [BZ #12723]
53542         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53543         _PC_PIPE_BUF handling.
53544
53545 2011-04-30  Bruno Haible  <bruno@clisp.org>
53546
53547         [BZ #12717]
53548         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53549         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53550         to 'int'.
53551         * inet/getnameinfo.c (getnameinfo): Likewise.
53552
53553 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53554
53555         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53556         to groups setting in database lookup.
53557         * nss/nsswitch.conf: Add initgroups entry.
53558
53559 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53560
53561         [BZ #12685]
53562         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53563         mode string.
53564         Patch by Eric Blake <eblake@redhat.com>.
53565
53566 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53567
53568         * sunrpc/Makefile (need-export-routines): Add svc_run.
53569         (routines): Remove svc_run.
53570         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53571         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53572         * sunrpc/svc_run.c (svc_run): Likewise.
53573         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53574
53575 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53576
53577         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53578         problem in reallocation in last patch.
53579
53580 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53581
53582         * sunrpc/Makefile: Move inclusion of Rules.
53583
53584 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53585
53586         * nss/nss_files/files-initgroups.c: New file.
53587         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53588         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53589         _nss_files_initgroups_dyn.
53590
53591 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53592
53593         * elf/elf.h (R_ARM_IRELATIVE): Define.
53594
53595 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53596
53597         * po/ru.po: Update from translation team.
53598
53599 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53600
53601         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53602         dependencies.
53603
53604 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53605
53606         [BZ #12653]
53607         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53608         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53611         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53612
53613 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53614
53615         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53616         differing bytes.
53617         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53618         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53620
53621 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53622
53623         [BZ #12420]
53624         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53625         storing it.
53626         * stdlib/bug-getcontext.c: New file.
53627         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53628
53629 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53630
53631         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53632         instructions into .machine "z9-109".
53633         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53634         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53635
53636 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53637
53638         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53639         between environment variables and auxiliary vector.
53640
53641 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53642
53643         * Makefile: Add rules to build linkobj/libc.so.
53644         * include/libc-symbols.h: Define libc_hidden_nolink.
53645         * include/rpc/auth.h: Mark functions which are to be hidden.
53646         * include/rpc/auth_des.h: Likewise.
53647         * include/rpc/auth_unix.h: Likewise.
53648         * include/rpc/clnt.h: Likewise.
53649         * include/rpc/des_crypt.h: Likewise.
53650         * include/rpc/key_prot.h: Likewise.
53651         * include/rpc/pmap_clnt.h: Likewise.
53652         * include/rpc/pmap_prot.h: Likewise.
53653         * include/rpc/pmap_rmt.h: Likewise.
53654         * include/rpc/rpc_msg.h: Likewise.
53655         * include/rpc/svc.h: Likewise.
53656         * include/rpc/svc_auth.h: Likewise.
53657         * include/rpc/xdr.h: Likewise.
53658         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53659         * nss/Makefile: Likewise.
53660         * sunrpc/Makefile: Don't install headers.  Build library with normal
53661         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53662         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53663         for the compat linking library.  Remove use of INTDEF/INTUSE.
53664         * sunrpc/auth_none.c: Likewise.
53665         * sunrpc/auth_unix.c: Likewise.
53666         * sunrpc/authdes_prot.c: Likewise.
53667         * sunrpc/authuxprot.c: Likewise.
53668         * sunrpc/clnt_gen.c: Likewise.
53669         * sunrpc/clnt_perr.c: Likewise.
53670         * sunrpc/clnt_raw.c: Likewise.
53671         * sunrpc/clnt_simp.c: Likewise.
53672         * sunrpc/clnt_tcp.c: Likewise.
53673         * sunrpc/clnt_udp.c: Likewise.
53674         * sunrpc/clnt_unix.c: Likewise.
53675         * sunrpc/des_crypt.c: Likewise.
53676         * sunrpc/des_soft.c: Likewise.
53677         * sunrpc/get_myaddr.c: Likewise.
53678         * sunrpc/key_call.c: Likewise.
53679         * sunrpc/key_prot.c: Likewise.
53680         * sunrpc/netname.c: Likewise.
53681         * sunrpc/pm_getmaps.c: Likewise.
53682         * sunrpc/pm_getport.c: Likewise.
53683         * sunrpc/pmap_clnt.c: Likewise.
53684         * sunrpc/pmap_prot.c: Likewise.
53685         * sunrpc/pmap_prot2.c: Likewise.
53686         * sunrpc/pmap_rmt.c: Likewise.
53687         * sunrpc/publickey.c: Likewise.
53688         * sunrpc/rpc_cmsg.c: Likewise.
53689         * sunrpc/rpc_common.c: Likewise.
53690         * sunrpc/rpc_dtable.c: Likewise.
53691         * sunrpc/rpc_prot.c: Likewise.
53692         * sunrpc/rpc_thread.c: Likewise.
53693         * sunrpc/rtime.c: Likewise.
53694         * sunrpc/svc.c: Likewise.
53695         * sunrpc/svc_auth.c: Likewise.
53696         * sunrpc/svc_authux.c: Likewise.
53697         * sunrpc/svc_raw.c: Likewise.
53698         * sunrpc/svc_run.c: Likewise.
53699         * sunrpc/svc_simple.c: Likewise.
53700         * sunrpc/svc_tcp.c: Likewise.
53701         * sunrpc/svc_udp.c: Likewise.
53702         * sunrpc/svc_unix.c: Likewise.
53703         * sunrpc/svcauth_des.c: Likewise.
53704         * sunrpc/xcrypt.c: Likewise.
53705         * sunrpc/xdr.c: Likewise.
53706         * sunrpc/xdr_array.c: Likewise.
53707         * sunrpc/xdr_float.c: Likewise.
53708         * sunrpc/xdr_intXX_t.c: Likewise.
53709         * sunrpc/xdr_mem.c: Likewise.
53710         * sunrpc/xdr_rec.c: Likewise.
53711         * sunrpc/xdr_ref.c: Likewise.
53712         * sunrpc/xdr_sizeof.c: Likewise.
53713         * sunrpc/xdr_stdio.c: Likewise.
53714
53715 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53716
53717         [BZ #12650]
53718         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53719         * sysdeps/ia64/dl-tls.h: Likewise.
53720         * sysdeps/powerpc/dl-tls.h: Likewise.
53721         * sysdeps/s390/dl-tls.h: Likewise.
53722         * sysdeps/sh/dl-tls.h: Likewise.
53723         * sysdeps/sparc/dl-tls.h: Likewise.
53724         * sysdeps/x86_64/dl-tls.h: Likewise.
53725         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53726
53727 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53728
53729         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53730         rpath element also skip the following colon.
53731         (expand_dynamic_string_token): Add is_path parameter and pass
53732         down to DL_DST_REQUIRED and _dl_dst_substitute.
53733         (decompose_rpath): Call expand_dynamic_string_token with
53734         non-zero is_path.  Ignore empty rpaths.
53735         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53736         with zero is_path.
53737
53738 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53739
53740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53741         Make cancelable.
53742
53743 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53744
53745         [BZ #12655]
53746         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53747         Patch by Filipe David Manana <fdmanana@apache.org>.
53748
53749 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53750
53751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53752         Maintain aligned stack.
53753         (CHECK_RSP): Remove unused macro.
53754
53755 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53756
53757         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53758         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53759
53760 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53761
53762         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53763
53764         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53765
53766 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53767
53768         [BZ #12518]
53769         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53770         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53771         * sysdeps/x86_64/memmove.c: New file.
53772         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53773         (memcpy): Renamed to ...
53774         (__new_memcpy): This.
53775         (memcpy): Provide GLIBC_2_14 memcpy.
53776         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53777         (memcpy): Provide GLIBC_2_2_5 memcpy.
53778
53779 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53780
53781         [BZ #12631]
53782         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53783
53784 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53785
53786         * misc/syncfs.c: New file.
53787         * misc/Makefile (routines): Add syncfs.
53788         * posix/unistd.h: Declare syncfs.
53789         * sysdeps/unix/syscalls.list: Add syncfs.
53790
53791 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53792
53793         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53794         open_by_handle_at.
53795         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53796         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53798         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53800         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53801         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53802
53803 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53804
53805         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53806         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53807         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53809         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53811         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53812
53813         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53814         sync_file_range.c with -fexceptions.
53815         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53816         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53817         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53818         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53819         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53820         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53822         sync_file_range as cancellation point
53823         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53824         now a wrapper around __call_sync_file_range with cancellation handling.
53825         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53826         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53827         function name to __call_sync_file_range.
53828         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53829         Add call_sync_file_range.
53830
53831 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53832
53833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53834         bits/timex.h.
53835
53836 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53837
53838         * iconv/iconv.h: Fix typo in comment.
53839         * io/fcntl.h: Likewise.
53840         * libio/stdio.h: Likewise.
53841         * posix/spawn.h: Likewise.
53842         * posix/unistd.h: Likewise.
53843         * stdlib/stdlib.h: Likewise.
53844         * time/time.h: Likewise.
53845         * wcsmbs/wchar.h: Likewise.
53846
53847         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53848         open_by_handle): Add.
53849         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53850         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53851         Augment a few comments.
53852         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53854         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53856         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53857         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53858         open_by_handle.
53859
53860         * io/fcntl.h (AT_EMPTY_PATH): Define.
53861
53862 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53863
53864         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53865         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53866         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53867         to...
53868         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53869         * Versions.def: Add GLIBC_2.14.
53870         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53871         Export.
53872
53873 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53874
53875         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53876         round counter.
53877         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53878
53879 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53880
53881         [BZ #12597]
53882         * string/test-strncmp.c (do_page_test): New function.
53883         (check2): Likewise.
53884         (test_main): Call check2.
53885         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53886
53887 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53888
53889         [BZ #12587]
53890         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53891         Handle cache information in CPU leaf 4.
53892         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53893
53894 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53895
53896         [BZ #12583]
53897         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53898         character representation.
53899         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53900
53901 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53902
53903         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53904         END(__isnan) to END(__isnanf) to match function entry point/label
53905         EALIGN(__isnanf,...).
53906
53907 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53908
53909         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53910
53911 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53912
53913         [BZ #12510]
53914         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53915         copy from the symbol referenced in the relocation to initialize the
53916         used variable.
53917         Patch by Piotr Bury <pbury@goahead.com>.
53918         * elf/Makefile: Add rules to build and tst-unique3.
53919         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53920         * elf/tst-unique3.cc: New file.
53921         * elf/tst-unique3.h: New file.
53922         * elf/tst-unique3lib.cc: New file.
53923         * elf/tst-unique3lib2.cc: New file.
53924
53925         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53926
53927 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53928
53929         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53930         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53931         to _start.
53932
53933 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53934
53935         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53936         to-be-loaded object along a path to loader is ld.so.
53937
53938 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53939             Ulrich Drepper  <drepper@gmail.com>
53940
53941         * sysdeps/x86_64/memset.S: After aligning destination, code
53942         branches to different locations depending on the value of
53943         misalignment, when multiarch is enabled. Fix this.
53944
53945 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53946
53947         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53948         Set _x86_64_preferred_memory_instruction for AMD processsors.
53949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53950         Set bit_Prefer_SSE_for_memop for AMD processors.
53951
53952 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53953
53954         * libio/fmemopen.c (fmemopen): Optimize a bit.
53955
53956 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53957
53958         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53959
53960 2011-03-03  Roland McGrath  <roland@redhat.com>
53961
53962         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53963
53964 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53965
53966         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53967         __bzero_ultra1 instead of __memset_ultra1.
53968
53969 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53970             Ulrich Drepper  <drepper@gmail.com>
53971
53972         [BZ #12509]
53973         * include/link.h (struct link_map): Add l_orig_initfini.
53974         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53975         returning unsuccessfully.
53976         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53977         close of a file loaded at startup, restore the original l_initfini
53978         list.
53979         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53980         list, store the pointer.
53981         * elf/Makefile ($(objpfx)noload-mem): New rule.
53982         (noload-ENV): Define.
53983         (tests): Add $(objpfx)noload-mem.
53984         * elf/noload.c: Include <memcheck.h>.
53985         (main): Call mtrace.  Close all opened handles.
53986
53987 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53988
53989         [BZ #12454]
53990         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53991         dependencies are missing.
53992
53993 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53994
53995         Fix __if_freereq crash: Unlike the generic version which uses free,
53996         Hurd needs munmap.
53997         * sysdeps/mach/hurd/ifreq.h: New file.
53998
53999 2011-01-27  Petr Baudis  <pasky@suse.cz>
54000             Ulrich Drepper  <drepper@gmail.com>
54001
54002         [BZ 12445]#
54003         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54004         to extend_alloca().
54005         * stdio-common/bug23.c: New file.
54006         * stdio-common/Makefile (tests): Add bug23.
54007
54008 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54009             Ulrich Drepper  <drepper@gmail.com>
54010
54011         [BZ #12489]
54012         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54013         before performing relro protection.  At old place add assertion
54014         to make sure nothing changed.
54015
54016 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54017             Glauber de Oliveira Costa  <glommer@gmail.com>
54018
54019         * elf/elf.h: Add new ARM TLS relocs.
54020
54021 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54022
54023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54024         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54025         cast from r3.
54026         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54027         'tests' variable.
54028         * sysdeps/wordsize-64/tst-writev.c: New file.
54029
54030 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54031
54032         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54033         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54034         insns in _dl_start to prevent a TOC reference before relocs are
54035         resolved.
54036
54037 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54038
54039         [BZ #12469]
54040         * Makeconfig: Remove RANLIB definition.
54041         * Makerules: Don't use RANLIB.
54042         * aclocal.m4: Remove ranlib test.
54043         * configure.in: No need to check for ranlib.
54044         * elf/rtld-Rules: Don't use RANLIB.
54045
54046 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54047
54048         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54049         protection macro.
54050         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54051         inclusion protection macro.
54052
54053         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54054         SIGRTMIN and SIGRTMAX and print information in that case only when
54055         SIGRTMIN is defined.
54056
54057 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54058
54059         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54060         arginfo fn returning -1.
54061
54062         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54063         and thousands string is zero terminated.
54064
54065 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54066
54067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54068         sysdeps/unix/sysv/linux/bits/socket.h.
54069
54070 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54071
54072         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54073         (__CPU_COUNT): Remove old macros.
54074         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54075         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54076         (__CPU_ALLOC, __CPU_FREE): Add macros.
54077         (__sched_cpualloc, __sched_cpufree): Add declarations.
54078
54079 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54080
54081         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54082         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54083         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54084         (readdhstai): Return value of addhstaiX call.
54085         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54086         (addgrbyX): Return value returned by cache_addgr.
54087         (readdgrbyname): Return value returned by addgrbyX.
54088         (readdgrbygid): Likewise.
54089         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54090         (addpwbyX): Return value returned by cache_addpw.
54091         (readdpwbyname): Return value returned by addhstbyX.
54092         (readdpwbyuid): Likewise.
54093         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54094         (addservbyX): Return value returned by cache_addserv.
54095         (readdservbyname): Return value returned by addservbyX:
54096         (readdservbyport): Likewise.
54097         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54098         (addhstbyX): Return value returned by cache_addhst.
54099         (readdhstbyname): Return value returned by addhstbyX.
54100         (readdhstbyaddr): Likewise.
54101         (readdhstbynamev6): Likewise.
54102         (readdhstbyaddrv6): Likewise.
54103         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54104         (readdinitgroups): Return value returned by addinitgroupsX.
54105         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54106         (prune_cache): Keep track of timeout value of re-added entries.
54107         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54108         * nscd/nscd.h: Adjust prototypes of readd* functions.
54109
54110 2011-02-04  Roland McGrath  <roland@redhat.com>
54111
54112         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54113         (nis_stats): Likewise.
54114         * nis/nis_modify.c (nis_modify): Likewise.
54115         * nis/nis_remove.c (nis_remove): Likewise.
54116         * nis/nis_add.c (nis_add): Likewise.
54117
54118         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54119
54120         * posix/fnmatch_loop.c: Add some consts.
54121
54122         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54123
54124 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54125
54126         [BZ #12460]
54127         * config.make.in (config-cflags-novzeroupper): Define.
54128         * configure.in: Substitute libc_cv_cc_novzeroupper.
54129         * elf/Makefile (AVX-CFLAGS): Define.
54130         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54131         (CFLAGS-tst-auditmod4a.c): Likewise.
54132         (CFLAGS-tst-auditmod4b.c): Likewise.
54133         (CFLAGS-tst-auditmod6b.c): Likewise.
54134         (CFLAGS-tst-auditmod6c.c): Likewise.
54135         (CFLAGS-tst-auditmod7b.c): Likewise.
54136         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54137
54138 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54139
54140         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54141         function to the callback.
54142         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54143
54144 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54145
54146         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54147         of errno.
54148
54149 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54150
54151         [BZ #11724]
54152         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54153         of constructors.
54154         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54155         of destructors.
54156         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54157
54158         [BZ #11724]
54159         * elf/Makefile: Add rules to build and run new test.
54160         * elf/tst-initorder.c: New file.
54161         * elf/tst-initorder.exp: New file.
54162         * elf/tst-initordera1.c: New file.
54163         * elf/tst-initordera2.c: New file.
54164         * elf/tst-initordera3.c: New file.
54165         * elf/tst-initordera4.c: New file.
54166         * elf/tst-initorderb1.c: New file.
54167         * elf/tst-initorderb2.c: New file.
54168         * elf/tst-order-a1.c: New file.
54169         * elf/tst-order-a2.c: New file.
54170         * elf/tst-order-a3.c: New file.
54171         * elf/tst-order-a4.c: New file.
54172         * elf/tst-order-b1.c: New file.
54173         * elf/tst-order-b2.c: New file.
54174         * elf/tst-order-main.c: New file.
54175         New test case by George Gensure <werkt0@gmail.com>.
54176
54177 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54178
54179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54180         decoding ACE if AI_CANONIDN.
54181
54182 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54183
54184         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54185
54186 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54187
54188         * version.h (RELEASE): Bump for 2.13 release.
54189         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54190
54191         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54192
54193         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54194         MADV_NOHUGEPAGE.
54195         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54196         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54197         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54198         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54199         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54200         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54201
54202         * posix/getconf.c: Update copyright year.
54203         * catgets/gencat.c: Likewise.
54204         * csu/version.c: Likewise.
54205         * debug/catchsegv.sh: Likewise.
54206         * debug/xtrace.sh: Likewise.
54207         * elf/ldconfig.c: Likewise.
54208         * elf/ldd.bash.in: Likewise.
54209         * elf/sprof.c (print_version): Likewise.
54210         * iconv/iconv_prog.c: Likewise.
54211         * iconv/iconvconfig.c: Likewise.
54212         * locale/programs/locale.c: Likewise.
54213         * locale/programs/localedef.c: Likewise.
54214         * malloc/memusage.sh: Likewise.
54215         * malloc/mtrace.pl: Likewise.
54216         * nscd/nscd.c (print_version): Likewise.
54217         * nss/getent.c: Likewise.
54218
54219         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54220         PF_CAIF, and PF_ALG.
54221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54222
54223 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54224
54225         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54226         (modules-names): Use them.
54227         (ifunc-test-modules, ifunc-pie-tests): Define.
54228         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54229         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54230         (test-extras): Likewise.
54231         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54232         $(compile-command.c).
54233         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54234         (all-built-dso): Define.
54235         (check-textrel.out, check-execstack.out): Depend on it.
54236
54237         * configure.in: Don't override --enable-multi-arch.
54238
54239 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54240
54241         [BZ #6812]
54242         * nscd/hstcache.c (tryagain): Define.
54243         (cache_addhst): Return tryagain not notfound for temporary errors.
54244         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54245         failed.
54246
54247 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54248
54249         [BZ #10563]
54250         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54251         to make the syscall.
54252         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54253
54254         [BZ #12378]
54255         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54256         and fall back to matching as normal character if the string ends before
54257         the matching ']' is found.  This is what POSIX requires.
54258         * posix/testfnm.c: Adjust test result.
54259         * posix/globtest.sh: Adjust test result.  Add new test.
54260         * posix/tst-fnmatch.input: Likewise.
54261         * posix/tst-fnmatch2.c: Add new test.
54262
54263 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54264
54265         * elf/Makefile (check-execstack): Revert last change.  Depend on
54266         check-execstack.h.
54267         (check-execstack.h): New target.
54268         (generated): Add check-execstack.h.
54269         * elf/check-execstack.c: Include "check-execstack.h".
54270         (main): Revert last change.
54271         (handle_file): Return zero if GNU_STACK is absent and
54272         DEFAULT_STACK_PERMS doesn't include PF_X.
54273
54274 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54275
54276         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54277         in child fails because the descriptor is already closed.
54278         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54279         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54280         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54281
54282         [BZ #12397]
54283         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54284         syscall.
54285
54286         [BZ #10484]
54287         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54288         temporary buffer used to handle multi lookups locally.
54289         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54290
54291 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54292
54293         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54294         loader is ld.so.
54295
54296 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54297
54298         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54299         alignment for SSE2.
54300
54301 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54302
54303         [BZ #12394]
54304         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54305         characters.  When rounding increased number of integer digits recompute
54306         number of groups.
54307         * stdio-common/tst-grouping.c: New file.
54308         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54309
54310 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54311
54312         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54313         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54314
54315         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54316         void.
54317         * bits/select.h: Likewise.
54318
54319 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54320
54321         * po/ja.po: Update from translation team.
54322
54323 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54324
54325         [BZ #11155]
54326         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54327         implementation just like for lxstat, fxstatat, et al.
54328
54329 2010-12-27  Jim Meyering  <meyering@redhat.com>
54330
54331         [BZ #12348]
54332         * posix/regexec.c (build_trtable): Return failure indication upon
54333         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54334
54335 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54336
54337         [BZ #12201]
54338         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54339         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54340         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54341         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54342
54343         [BZ #12207]
54344         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54345
54346         [BZ #12204]
54347         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54348         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54349
54350 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54351
54352         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54353         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54354         script has SORT_BY_INIT_PRIORITY.
54355         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54356         NO_CTORS_DTORS_SECTIONS is defined.
54357         * elf/soinit.c: Likewise.
54358         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54359         NO_CTORS_DTORS_SECTIONS is defined.
54360         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54361         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54362         * sysdeps/sh/init-first.c: Likewise.
54363         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54364
54365 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54366
54367         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54368         always use the slow path.
54369
54370 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54371
54372         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54373         similar rule which adds the sysdep directories to the header search in
54374         order to pick up the correct platform stackinfo.h.
54375         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54376         perform test if it is, otherwise return successfully without testing.
54377         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54378         DEFAULT_STACK_PERMS define in stackinfo.h.
54379         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54380         defined in stackinfo.h.
54381         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54382         DEFAULT_STACK_PERMS defined in stackinfo.h.
54383         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54384         * sysdeps/ia64/stackinfo.h: Likewise.
54385         * sysdeps/s390/stackinfo.h: Likewise.
54386         * sysdeps/sh/stackinfo.h: Likewise.
54387         * sysdeps/sparc/stackinfo.h: Likewise.
54388         * sysdeps/x86_64/stackinfo.h: Likewise.
54389         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54390         PF_X for powerpc64.  Retain PF_X for powerpc32.
54391
54392 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54393
54394         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54395         accurately.
54396         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54397         GETDENTS_64BIT_ALIGNED.
54398
54399 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54400
54401         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54402
54403 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54404
54405         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54406         _GNU_SOURCE.
54407
54408         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54409         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54410         Remove __restrict.
54411         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54412         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54413
54414 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54415
54416         [BZ #11655]
54417         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54418         are initialized.
54419
54420 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54421
54422         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54423
54424 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54425
54426         * po/it.po: Update from translation team.
54427
54428 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54429
54430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54431         unused codes.
54432
54433 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54434
54435         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54436
54437 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54438
54439         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54440         specially.
54441         (gaih_getanswer_slice): Likewise.
54442
54443 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54444
54445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54446
54447 2010-05-31  Petr Baudis  <pasky@suse.cz>
54448
54449         [BZ #11149]
54450         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54451         silently even in the chroot mode.
54452
54453 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54454
54455         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54456         last patch a bit.  Pretty printing
54457
54458 2010-05-31  Petr Baudis <pasky@suse.cz>
54459
54460         [BZ #10085]
54461         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54462         initialization of skip_initgroups_dyn.
54463
54464 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54465
54466         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54467         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54468
54469 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54470
54471         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54472
54473 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54474
54475         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54476         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54477         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54478         ($(objpfx)tst-fnmatch-mem): New rule.
54479         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54480         * posix/tst-fnmatch.c (main): Call mtrace.
54481
54482 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54483
54484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54485         Support Intel processor model 6 and model 0x2c.
54486
54487 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54488
54489         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54490           signed comparison.
54491
54492 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54493
54494         [BZ #12205]
54495         * string/test-strncasecmp.c (check_result): New function.
54496         (do_one_test): Use it.
54497         (check1): New function.
54498         (test_main): Use it.
54499         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54500         Support strcasecmp and strncasecmp.
54501
54502 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54503
54504         [BZ #12194]
54505         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54506         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54507
54508 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54509
54510         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54511         IFUNC support.
54512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54513         memset-x86-64.
54514         * sysdeps/x86_64/multiarch/bzero.S: New file.
54515         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54516         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54517         * sysdeps/x86_64/multiarch/memset.S: New file.
54518         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54520         Set bit_Prefer_SSE_for_memop for Intel processors.
54521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54522         Define.
54523         (index_Prefer_SSE_for_memop): Define.
54524         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54525
54526 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54527
54528         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54529         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54530
54531 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54532
54533         [BZ #12191]
54534         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54535         (__x86_64_raw_data_cache_size_half): Likewise.
54536         (__x86_64_raw_shared_cache_size): Likewise.
54537         (__x86_64_raw_shared_cache_size_half): Likewise.
54538
54539         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54540         (__x86_64_raw_data_cache_size_half): Likewise.
54541         (__x86_64_raw_shared_cache_size): Likewise.
54542         (__x86_64_raw_shared_cache_size_half): Likewise.
54543         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54544         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54545         and __x86_64_raw_shared_cache_size_half.  Round
54546         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54547         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54548         to multiple of 256 bytes.
54549
54550 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54551
54552         [BZ #12167]
54553         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54554         of inacessible symlinks.  Verify result of symlink before returning it.
54555         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54556         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54557
54558 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54559
54560         * math/math.h (isinf): Fix typo in comment.
54561
54562 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54563
54564         * po/da.po: Update from translation team.
54565
54566 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54567
54568         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54569         is added to the list.
54570
54571 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54572             Ulrich Drepper  <drepper@gmail.com>
54573
54574         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54575         the global list here.  Move code to...
54576         (_dl_add_to_namespace_list): ...here.  New function.
54577         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54578         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54579         * elf/dl-load.c (lose): Don't remove the element from the list.
54580         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54581         (_dl_map_object): Likewise.
54582
54583 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54584
54585         [BZ #12159]
54586         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54587         into all bytes of SSE register.
54588         Patch by Richard Li <richardpku@gmail.com>.
54589
54590 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54591
54592         [BZ #12140]
54593         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54594         perturbing.
54595
54596 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54597
54598         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54599         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54600         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54601         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54603         submachine.
54604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54605
54606 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54607
54608         * include/dlfcn.h (__RTLD_SECURE): Define.
54609         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54610         mode & __RTLD_SECURE instead.
54611         (open_path): Rename preloaded parameter to secure.
54612         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54613         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54614         * elf/dl-deps.c (openaux): Likewise.
54615         * elf/rtld.c (struct map_args): Remove is_preloaded.
54616         (map_doit): Don't use it.
54617         (dl_main): Likewise.
54618         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54619         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54620
54621 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54622
54623         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54624         (sysd-rules-targets): Remove duplicates.
54625         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54626         rtld-%.$o dependency.
54627
54628 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54629
54630         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54631         _dl_map_object do it.
54632
54633 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54634
54635         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54636         fast fma builtins, define the macros in the C99 standard.
54637         (FP_FAST_FMAF): Likewise.
54638         (FP_FAST_FMAL): Likewise.
54639         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54640
54641         * bits/mathdef.h: Update copyright year.
54642         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54643
54644 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54645
54646         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54647         builtins, define the macros in the C99 standard.
54648         (FP_FAST_FMAF): Likewise.
54649         (FP_FAST_FMAL): Likewise.
54650         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54651         multiply/add.
54652         (FP_FAST_FMAF): Likewise.
54653
54654 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54655
54656         [BZ #3268]
54657         * math/libm-test.inc (fma_test): Some new testcases.
54658         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54660         y and infinite z.  Do multiplication by C already in long double.
54661         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54663         y and infinite z.  Do bitwise or of inexact bit into u.d.
54664         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54665         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54666         * sysdeps/i386/fpu/s_fma.S: Removed.
54667         * sysdeps/i386/fpu/s_fmal.S: Removed.
54668
54669 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54670
54671         [BZ #3268]
54672         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54674         computation is not scheduled after fetestexcept.  Fix value
54675         of minimum denormal long double.
54676
54677 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54678
54679         [BZ #3268]
54680         * math/libm-test.inc (fma_test): Add some more tests.
54681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54682         correctly.
54683
54684 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54685
54686         * scripts/data/localplt-s390-linux-gnu.data: New file.
54687         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54688
54689 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54690
54691         [BZ #3268]
54692         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54693         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54694         instead of dbl-64.
54695         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54696         inlines.
54697         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54699         if one of x and y is very large and the other is subnormal.
54700         * sysdeps/s390/fpu/s_fmaf.c: New file.
54701         * sysdeps/s390/fpu/s_fma.c: New file.
54702         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54703         * sysdeps/powerpc/fpu/s_fma.S: New file.
54704         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54705         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54706         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54707
54708 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54709
54710         [BZ #3268]
54711         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54712         fma tests.
54713         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54714         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54715         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54716         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54717         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54718         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54720
54721 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54722
54723         [BZ #12078]
54724         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54725         * posix/bug-regex31.input: Add test case.
54726
54727 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54728
54729         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54730         * posix/bug-regex31.input: New file.
54731
54732         [BZ #12078]
54733         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54734         (parse_sub_exp): Fix last change, use postorder.
54735
54736         * posix/bug-regex31.c: New file.
54737         * posix/Makefile: Add rules to build and run bug-regex31.
54738
54739         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54740
54741         [BZ #12078]
54742         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54743
54744         [BZ #12108]
54745         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54746         to have entries in sys_siglist.
54747
54748         [BZ #12093]
54749         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54750         be NULL.
54751
54752 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54753
54754         [BZ #3268]
54755         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54756         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54757         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54758         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54759         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54760         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54761         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54762         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54763         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54764         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54765         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54766         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54767         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54768         * math/ftestexcept.c (fetestexcept): Likewise.
54769         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54770         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54771         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54772         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54773         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54774         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54775         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54776
54777 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54778
54779         [BZ #12107]
54780         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54781         newline.
54782
54783 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54784
54785         * string/bug-strstr1.c: New file.
54786         * string/Makefile: Add rules to build and run bug-strstr1.
54787
54788 2010-10-05  Eric Blake  <eblake@redhat.com>
54789
54790         [BZ #12092]
54791         * string/str-two-way.h (two_way_long_needle): Always clear memory
54792         when skipping input due to the shift table.
54793
54794 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54795
54796         [BZ #12005]
54797         * malloc/mcheck.c: Handle large requests.
54798
54799         [BZ #12077]
54800         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54801         for strncmp and strncasecmp.
54802         * string/stratcliff.c: Add tests for strcmp and strncmp.
54803         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54804
54805 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54806
54807         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54808         __set_fpscr.
54809
54810 2010-09-30  Andreas Jaeger  <aj@suse.de>
54811
54812         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54813         (CGROUP_SUPER_MAGIC): Define.
54814         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54815         Handle btrfs and cgroup file systems.
54816         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54817         Likewise.
54818
54819 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54820
54821         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54822         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54823
54824 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54825
54826         [BZ #12067]
54827         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54828         trying to locate the ELF header.
54829
54830 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54831
54832         [BZ #11611]
54833         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54834         Mask out sign-bit copies when constructing f_fsid.
54835
54836 2010-09-24  Petr Baudis <pasky@suse.cz>
54837
54838         * debug/stack_chk_fail_local.c: Add missing licence exception.
54839         * debug/warning-nop.c: Likewise.
54840
54841 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54842
54843         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54844         implementing getdents64 using getdents syscall, set d_type if
54845         __ASSUME_GETDENTS32_D_TYPE.
54846
54847 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54848
54849         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54850         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54851
54852 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54853
54854         [BZ #12037]
54855         * posix/unistd.h: Undo change of feature selection for ftruncate from
54856         2010-01-11.
54857
54858 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54859
54860         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54861         detection.
54862
54863 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54864
54865         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54866         fanotify_mark.
54867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54868
54869 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54870
54871         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54872         variables after CHECK_SP call.
54873         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54874
54875 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54876             Ulrich Drepper  <drepper@redhat.com>
54877
54878         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54879         re-relocationg ld.so.
54880         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54881         _dl_init_paths call.
54882         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54883         here anymore.
54884
54885 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54886
54887         * resolv/res_init.c (__res_vinit): Count the default server we added.
54888
54889 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54890             Ulrich Drepper  <drepper@redhat.com>
54891
54892         [BZ #11968]
54893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54894         (____longjmp_chk): Use %ebx for saving value across system call.
54895         Add unwind info.
54896
54897 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54898
54899         * manual/Makefile: Don't mix pattern rules with normal rules.
54900
54901 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54902
54903         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54904         operation.
54905         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54906         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54907         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54908         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54910         Likewise.
54911
54912 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54913
54914         [BZ #11979]
54915         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54916         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54917
54918 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54919
54920         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54921         * sysdeps/x86_64/addmul_1.S: Likewise.
54922         * sysdeps/x86_64/lshift.S: Likewise.
54923         * sysdeps/x86_64/mul_1.S: Likewise.
54924         * sysdeps/x86_64/rshift.S: Likewise.
54925         * sysdeps/x86_64/sub_n.S: Likewise.
54926         * sysdeps/x86_64/submul_1.S: Likewise.
54927
54928 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54929
54930         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54931         Define __sched_param instead of SCHED_* and sched_param when
54932         <bits/sched.h> is included with __need_schedparam defined.
54933         * bits/sched.h [__need_schedparam]
54934         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54935         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54936         (__defined_schedparam): Define to 1.
54937         (__sched_param): New structure, identical to sched_param.
54938         (__need_schedparam): Undefine.
54939
54940 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54941
54942         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54943         (epoll_create1): Declare.
54944
54945         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54946
54947 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54948
54949         [BZ #7066]
54950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54951         shifting retval into place.
54952
54953 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54954
54955         * nis/rpcsvc/nis.h: Update copyright notice.
54956         * nis/rpcsvc/nis.x: Likewise.
54957         * nis/rpcsvc/nis_callback.h: Likewise.
54958         * nis/rpcsvc/nis_callback.x: Likewise.
54959         * nis/rpcsvc/nis_object.x: Likewise.
54960         * nis/rpcsvc/nis_tags.h: Likewise.
54961         * nis/rpcsvc/yp.h: Likewise.
54962         * nis/rpcsvc/yp.x: Likewise.
54963         * nis/rpcsvc/ypupd.h: Likewise.
54964         * nis/yp_xdr.c: Likewise.
54965         * nis/ypupdate_xdr.c: Likewise.
54966
54967         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54968         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54969         (pmap_getport): Use __libc_rpc_getport.
54970         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54971         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54972         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54973
54974 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54975
54976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54977         fanotify_mark.
54978
54979 2010-08-27  Roland McGrath  <roland@redhat.com>
54980
54981         * sysdeps/i386/i686/multiarch/Makefile
54982         (CFLAGS-varshift.c): New variable.
54983
54984 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54985
54986         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54987         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54988
54989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54990
54991         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54992
54993 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54994
54995         * sysdeps/x86_64/strlen.S: Unroll the loop.
54996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54997         strlen-sse2 strlen-sse2-bsf.
54998         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54999         __strlen_no_bsf if bit_Slow_BSF is set.
55000         (__strlen_sse42): Removed.
55001         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55002         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55003
55004 2010-08-25  Roland McGrath  <roland@redhat.com>
55005
55006         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55007         * sysdeps/x86_64/multiarch/varshift.c: New file.
55008         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55009         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55010         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55012
55013 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55014
55015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55016         strlen-sse2 strlen-sse2-bsf.
55017         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55018         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55019         (__strlen_sse2): Removed.
55020         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55023         bit_Slow_BSF for Atom.
55024         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55025         (index_Slow_BSF): Define.
55026         (HAS_SLOW_BSF): Define.
55027
55028 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55029
55030         [BZ #10851]
55031         * resolv/res_init.c (__res_vinit): When no server address at all
55032         is given default to loopback.
55033
55034 2010-08-24  Roland McGrath  <roland@redhat.com>
55035
55036         * configure.in: Remove config-name.h generation.
55037         * configure: Regenerated.
55038         * config-name.in: File removed.
55039         * scripts/config-uname.sh: New file.
55040         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55041         ($(objdir)config-name.h): New target.
55042
55043         * sunrpc/rpc_parse.h: Avoid nested comment.
55044
55045 2010-08-24  Richard Henderson  <rth@redhat.com>
55046             Ulrich Drepper  <drepper@redhat.com>
55047             H.J. Lu  <hongjiu.lu@intel.com>
55048
55049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55051         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55052         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55053         _mm_alignr_epi8 with _mm_loadu_si128.
55054         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55055         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55056         (__m128i_shift_right): Removed.
55057         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55058         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55059         * sysdeps/x86_64/multiarch/varshift.h: New file.
55060         * sysdeps/x86_64/multiarch/varshift.S: New file.
55061
55062 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55063
55064         * configure.in: Move assembler checks to before sysdep dir checking.
55065
55066 2010-08-20  Petr Baudis  <pasky@suse.cz>
55067
55068         * LICENSES: Sync the sunrpc license.
55069
55070 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55071
55072         * sunrpc/auth_des.c: Update copyright notice once again.
55073         * sunrpc/auth_none.c: Likewise.
55074         * sunrpc/auth_unix.c: Likewise.
55075         * sunrpc/authdes_prot.c: Likewise.
55076         * sunrpc/authuxprot.c: Likewise.
55077         * sunrpc/bindrsvprt.c: Likewise.
55078         * sunrpc/clnt_gen.c: Likewise.
55079         * sunrpc/clnt_perr.c: Likewise.
55080         * sunrpc/clnt_raw.c: Likewise.
55081         * sunrpc/clnt_simp.c: Likewise.
55082         * sunrpc/clnt_tcp.c: Likewise.
55083         * sunrpc/clnt_udp.c: Likewise.
55084         * sunrpc/clnt_unix.c: Likewise.
55085         * sunrpc/des_crypt.c: Likewise.
55086         * sunrpc/des_soft.c: Likewise.
55087         * sunrpc/get_myaddr.c: Likewise.
55088         * sunrpc/getrpcport.c: Likewise.
55089         * sunrpc/key_call.c: Likewise.
55090         * sunrpc/key_prot.c: Likewise.
55091         * sunrpc/openchild.c: Likewise.
55092         * sunrpc/pm_getmaps.c: Likewise.
55093         * sunrpc/pm_getport.c: Likewise.
55094         * sunrpc/pmap_clnt.c: Likewise.
55095         * sunrpc/pmap_prot.c: Likewise.
55096         * sunrpc/pmap_prot2.c: Likewise.
55097         * sunrpc/pmap_rmt.c: Likewise.
55098         * sunrpc/rpc/auth.h: Likewise.
55099         * sunrpc/rpc/auth_unix.h: Likewise.
55100         * sunrpc/rpc/clnt.h: Likewise.
55101         * sunrpc/rpc/des_crypt.h: Likewise.
55102         * sunrpc/rpc/key_prot.h: Likewise.
55103         * sunrpc/rpc/netdb.h: Likewise.
55104         * sunrpc/rpc/pmap_clnt.h: Likewise.
55105         * sunrpc/rpc/pmap_prot.h: Likewise.
55106         * sunrpc/rpc/pmap_rmt.h: Likewise.
55107         * sunrpc/rpc/rpc.h: Likewise.
55108         * sunrpc/rpc/rpc_des.h: Likewise.
55109         * sunrpc/rpc/rpc_msg.h: Likewise.
55110         * sunrpc/rpc/svc.h: Likewise.
55111         * sunrpc/rpc/svc_auth.h: Likewise.
55112         * sunrpc/rpc/types.h: Likewise.
55113         * sunrpc/rpc/xdr.h: Likewise.
55114         * sunrpc/rpc_clntout.c: Likewise.
55115         * sunrpc/rpc_cmsg.c: Likewise.
55116         * sunrpc/rpc_common.c: Likewise.
55117         * sunrpc/rpc_cout.c: Likewise.
55118         * sunrpc/rpc_dtable.c: Likewise.
55119         * sunrpc/rpc_hout.c: Likewise.
55120         * sunrpc/rpc_main.c: Likewise.
55121         * sunrpc/rpc_parse.c: Likewise.
55122         * sunrpc/rpc_parse.h: Likewise.
55123         * sunrpc/rpc_prot.c: Likewise.
55124         * sunrpc/rpc_sample.c: Likewise.
55125         * sunrpc/rpc_scan.c: Likewise.
55126         * sunrpc/rpc_scan.h: Likewise.
55127         * sunrpc/rpc_svcout.c: Likewise.
55128         * sunrpc/rpc_tblout.c: Likewise.
55129         * sunrpc/rpc_util.c: Likewise.
55130         * sunrpc/rpc_util.h: Likewise.
55131         * sunrpc/rpcinfo.c: Likewise.
55132         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55133         * sunrpc/rpcsvc/key_prot.x: Likewise.
55134         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55135         * sunrpc/rpcsvc/mount.x: Likewise.
55136         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55137         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55138         * sunrpc/rpcsvc/rex.x: Likewise.
55139         * sunrpc/rpcsvc/rstat.x: Likewise.
55140         * sunrpc/rpcsvc/rusers.x: Likewise.
55141         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55142         * sunrpc/rpcsvc/spray.x: Likewise.
55143         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55144         * sunrpc/rtime.c: Likewise.
55145         * sunrpc/svc.c: Likewise.
55146         * sunrpc/svc_auth.c: Likewise.
55147         * sunrpc/svc_authux.c: Likewise.
55148         * sunrpc/svc_raw.c: Likewise.
55149         * sunrpc/svc_run.c: Likewise.
55150         * sunrpc/svc_simple.c: Likewise.
55151         * sunrpc/svc_tcp.c: Likewise.
55152         * sunrpc/svc_udp.c: Likewise.
55153         * sunrpc/svc_unix.c: Likewise.
55154         * sunrpc/svcauth_des.c: Likewise.
55155         * sunrpc/xcrypt.c: Likewise.
55156         * sunrpc/xdr.c: Likewise.
55157         * sunrpc/xdr_array.c: Likewise.
55158         * sunrpc/xdr_float.c: Likewise.
55159         * sunrpc/xdr_mem.c: Likewise.
55160         * sunrpc/xdr_rec.c: Likewise.
55161         * sunrpc/xdr_ref.c: Likewise.
55162         * sunrpc/xdr_sizeof.c: Likewise.
55163         * sunrpc/xdr_stdio.c: Likewise.
55164
55165         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55166         handling.
55167
55168 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55169
55170         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55171
55172 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55173
55174         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55175         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55176         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55177         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55178         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55179         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55180         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55181         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55182         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55183         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55184         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55185         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55186         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55187         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55188
55189 2010-07-26  Anton Blanchard  <anton@samba.org>
55190
55191         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55192         * malloc/arena.c (heap_trim): Likewise.
55193
55194 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55195
55196         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55197         here.  Not...
55198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55199         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55200
55201 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55202
55203         * sysdeps/i386/elf/Makefile: New file.
55204
55205 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55206
55207         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55208         from fanotify_init.
55209         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55210         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55211
55212 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55213
55214         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55215         of strncasecmp_l.
55216         * sysdeps/multiarch/strcmp.S: Likewise.
55217
55218 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55219
55220         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55221         strncase_l-nonascii.
55222         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55223         Add strncase_l-ssse3.
55224         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55225         * sysdeps/x86_64/strcmp.S: Likewise.
55226         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55227         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55228         * sysdeps/x86_64/strncase.S: New file.
55229         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55230         * sysdeps/x86_64/strncase_l.S: New file.
55231         * string/Makefile (strop-tests): Add strncasecmp.
55232         * string/test-strncasecmp.c: New file.
55233
55234         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55235         warning.
55236
55237         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55238         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55239
55240 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55241
55242         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55243
55244 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55245
55246         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55247         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55248         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55249
55250 2010-05-01  Alan Modra  <amodra@gmail.com>
55251
55252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55253         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55254         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55255         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55256         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55257         tidying.  Don't tail-call __sigjmp_save for static lib.
55258         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55259         save location.
55260         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55261         (CALL_MCOUNT): Add eh info, and nop after bl.
55262         (TAIL_CALL_SYSCALL_ERROR): New macro.
55263         (PSEUDO_RET): Use it.
55264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55265         Correct save location of integer regs and cr.
55266         (_dl_profile_resolve): Correct cr save location.  Delete nops
55267         after bl when SHARED.  Reduce cfi size a little by better
55268         placement of cfi directives.
55269         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55270         make a stack frame.  Instead use parm save area as a temp.
55271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55272         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55274         Don't make a stack frame for parent, use parm save area.
55275         Increase child stack frame to 112 bytes.  Don't save unused reg,
55276         and adjust reg usage.  Set up cfi on error recovery and
55277         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55279         (__makecontext): Add dummy nop after jump to exit.
55280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55281         Use correct parm save area and cr save, reduce stack frame.
55282         Correct cfi for possible PSEUDO_RET frame setup.
55283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55284         Branch to local label emitted by PSEUDO_RET rather than
55285         __syscall_error.
55286
55287 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55288
55289         [BZ #11904]
55290         * locale/programs/locale.c (print_assignment): New function.
55291         (show_locale_vars): Use it.
55292
55293 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55294
55295         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55296         field.
55297         (struct statfs64): Likewise.
55298         (_STATFS_F_FLAGS): Define.
55299         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55301         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55302         (ST_VALID): Define locally.
55303         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55304         __statvfs_getflags, use the provided value.
55305         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55306         __ASSUME_STATFS_F_FLAGS.
55307
55308         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55309
55310         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55311         Add sys/fanotify.h.
55312         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55313         fanotify_mask for GLIBC_2.13.
55314         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55315         fanotify_init and fanotify_mark.
55316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55317         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55318
55319         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55320         Add prlimit.
55321         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55322         prlimit64 for GLIBC_2.13.
55323         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55324         prlimit64.
55325         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55326         syscall.
55327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55329         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55331         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55332         add prlimit alias.
55333         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55334
55335         [BZ #11903]
55336         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55337         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55338
55339         * nss/Makefile: Add rules to build and run tst-nss-test1.
55340         * shlib-versions: Add entry for libnss_test1.
55341         * nss/nss_test1.c: New file.
55342         * nss/tst-nss-test1.c: New file.
55343
55344         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55345         (__nss_configure_lookup): Set appropriate entry in
55346         __nss_configure_lookup to true.
55347         * nss/nsswitch.h: Define enum with indeces of databases in
55348         databases and __nss_database_custom arrays.  Declare
55349         __nss_database_custom.
55350         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55351         to avoid using nscd when custom rules are installed.
55352         * nss/getXXbyYY_r.c: Likewise.
55353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55354
55355         * nss/nss_files/files-parse.c: Whitespace fixes.
55356
55357 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55358
55359         [BZ #11883]
55360         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55361         * posix/fnmatch_loop.c: Likewise.
55362
55363 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55364
55365         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55366         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55367         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55368         * Versions.def [GLIBC_2.13]: Add.
55369
55370 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55371
55372         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55373         Also fail if tpwd after pwuid call is NULL.
55374
55375 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55376
55377         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55378         when converting to ms.
55379
55380 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55381
55382         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55383         EOPNOTSUPP errors with ENOTTY.
55384         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55385         EOPNOTSUPP errors with ENOTTY.
55386
55387 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55388
55389         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55390         Add strcasecmp_l-ssse3.
55391         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55392         strcasecmp.
55393         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55394         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55395         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55396
55397 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55398
55399         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55400
55401         * string/Makefile (strop-tests): Add strcasecmp.
55402         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55403         strcasecmp_l-nonascii.
55404         (gen-as-const-headers): Add locale-defines.sym.
55405         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55406         * sysdeps/x86_64/strcasecmp.S: New file.
55407         * sysdeps/x86_64/strcasecmp_l.S: New file.
55408         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55409         * sysdeps/x86_64/locale-defines.sym: New file.
55410         * string/test-strcasecmp.c: New file.
55411
55412         * string/test-strcasestr.c: Test both ends of the range of characters.
55413         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55414
55415 2010-07-29  Roland McGrath  <roland@redhat.com>
55416
55417         [BZ #11856]
55418         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55419
55420 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55421
55422         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55423         for ld.so.
55424
55425 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55426
55427         * manual/memory.texi (Malloc Tunable Parameters): Document
55428         M_PERTURB.
55429
55430 2010-07-26  Roland McGrath  <roland@redhat.com>
55431
55432         [BZ #11840]
55433         * configure.in (-fgnu89-inline check): Set and substitute
55434         gnu89_inline, not libc_cv_gnu89_inline.
55435         * configure: Regenerated.
55436         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55437
55438 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55439
55440         * string/test-strnlen.c: New file.
55441         * string/Makefile (strop-tests): Add strnlen.
55442         * string/tester.c (test_strnlen): Add a few more test cases.
55443         * string/tst-strlen.c: Better error reporting.
55444
55445         * sysdeps/x86_64/strnlen.S: New file.
55446
55447 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55448
55449         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55450         lower-latency instructions.
55451
55452 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55453
55454         * string/test-strcasestr.c: New file.
55455         * string/test-strstr.c: New file.
55456         * string/Makefile (strop-tests): Add strstr and strcasestr.
55457         * string/str-two-way.h: Don't undefine MAX.
55458         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55459
55460 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55461
55462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55463         strcasestr-nonascii.
55464         (CFLAGS-strcasestr-nonascii.c): Define.
55465         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55466         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55467         Remove unused attribute.
55468
55469 2010-07-20  Roland McGrath  <roland@redhat.com>
55470
55471         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55472         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55473         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55474         like LD_HWCAP_MASK can disable hwcaps.
55475
55476 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55477
55478         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55479
55480 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55481
55482         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55483         call in strcasestr.
55484         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55485         __strcasestr_sse42_nonascii.
55486         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55487         strcasestr-nonascii.c.
55488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55489
55490 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55491
55492         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55493         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55494         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55495         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55496
55497 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55498
55499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55500         fcntl.
55501
55502 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55503
55504         [BZ #11577]
55505         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55506         dl_signal_cerror.
55507
55508 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55509
55510         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55511         _PC_PIPE_BUF using F_GETPIPE_SZ.
55512
55513 2010-07-05  Roland McGrath  <roland@redhat.com>
55514
55515         * manual/arith.texi (Rounding Functions): Fix rint description
55516         implicit in round description.
55517
55518 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55519
55520         * elf/Makefile: Fix linking for a few tests to make recent linker
55521         happy.
55522
55523 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55524
55525         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55526         $(common-objpfx)libc_nonshared.a.
55527
55528 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55529
55530         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55531         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55532         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55533         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55534         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55535         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55536         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55537         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55552         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55553         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55554         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55555         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55556         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55557         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55558         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55559         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55560         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55561         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55562         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55563         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55578
55579 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55580
55581         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55582         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55583         * string/memmove.c (memmove): Renamed to ...
55584         (MEMMOVE): ...this.  Default to memmove.
55585         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55586         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55587         (END_CHK): Define.
55588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55589         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55590         mempcpy-ssse3-back memmove-ssse3-back.
55591         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55594         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55595         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55596         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55597         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55598         * sysdeps/x86_64/multiarch/memmove.c: New file.
55599         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55600         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55601         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55602         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55603         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55604         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55605         Define.
55606         (index_Fast_Copy_Backward): Define.
55607         (HAS_ARCH_FEATURE): Define.
55608         (HAS_FAST_REP_STRING): Define.
55609         (HAS_FAST_COPY_BACKWARD): Define.
55610
55611 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55612
55613         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55614         Restore proper fallback handling.
55615
55616 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55617
55618         [BZ #11701]
55619         * posix/group_member.c (__group_member): Correct checking loop.
55620
55621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55622         OOM in getpwuid_r correctly.  Return error number when the caller
55623         should return, otherwise -1.
55624         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55625         call returning > 0 value.
55626         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55627
55628 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55629
55630         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55631         libc_nonshared.a from targets in modules-names.
55632
55633 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55634
55635         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55636         requires it.
55637
55638 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55639
55640         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55641         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55644
55645 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55646
55647         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55648
55649 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55650
55651         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55652         and F_GETPIPE_SZ.
55653         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55657         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55658         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55659
55660 2010-06-14  Roland McGrath  <roland@redhat.com>
55661
55662         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55663
55664 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55665
55666         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55667         __REDIRECT followed by __THROW.
55668         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55669         * posix/getopt.h (getopt): Likewise.
55670
55671 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55672
55673         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55674         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55675         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55676         in AT_FLAGS.
55677         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55678         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55679
55680 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55681
55682         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55683
55684 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55685
55686         [BZ #11640]
55687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55688         Properly check family and model.
55689
55690 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55691
55692         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55693
55694 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55695
55696         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55697
55698 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55699
55700         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55701         symbol reference.
55702
55703 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55704
55705         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55706         symbol reference.
55707
55708 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55709
55710         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55711         and internal_recvmmsg.
55712         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55713         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55714         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55715         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55716
55717         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55718         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55719         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55720
55721 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55722
55723         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55724
55725 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55726
55727         POWER7 optimizations.
55728         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55729         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55730
55731 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55732
55733         * version.h: Update for 2.13 development version.
55734
55735 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55736
55737         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55738         exceptions.  Return 0.
55739
55740 2010-05-07  Roland McGrath  <roland@redhat.com>
55741
55742         * elf/ldconfig.c (main): Add a const.
55743
55744 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55745
55746         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55747         (args_options): Add no-idn option.
55748         (ahosts_keys_int): Add idn_flags to ai_flags.
55749         (parse_option): Handle 'i' option to clear idn_flags.
55750
55751         * malloc/malloc.c (_int_free): Possible race in the most recently
55752         added check.  Only act on the data if no current modification
55753         happened.
55754
55755 See ChangeLog.17 for earlier changes.