powerpc: Optimize POWER7 strcmp trailing checks
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3
4         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5         trailing byte check.
6
7 2015-01-13  David S. Miller  <davem@davemloft.net>
8
9         * include/signal.h (__sigreturn): Guard with __USE_MISC.
10
11 2015-01-13  Roland McGrath  <roland@hack.frob.com>
12
13         * login/logout.c (logout): Use memset rather than bzero.
14         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17         (_gethtbyaddr): Likewise.
18         * locale/programs/simple-hash.c (bcopy): Macro removed.
19
20 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21
22         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23         Add strcmp-power8 object.
24         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28         __strcmp_power8 implementation.
29         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30         * NEWS: Update.
31
32         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33         Add strncpy-power8 and stpncpy-power8 objects.
34         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36         implementations.
37         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39         __stpncpy_power8 implementation.
40         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
42         __strncpy_power8 implementation.
43         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
44         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
45         * NEWS: Update.
46
47         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
48         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
49         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
50
51         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
52         strncat-power8 object.
53         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
54         __strcat_power8 implementation.
55         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
57         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
58         optimized strcat for power8.
59
60         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
61         strcpy-power8 and stpcpy-power8 objects.
62         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
63         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
64         implementations.
65         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
66         multiarch stpcpy implementation for POWER8.
67         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
68         multiarch strcpy implementation for POWER8.
69         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
70         __strcpy_power8 function.
71         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
72         stpcpy for POWER8.
73         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
74         strcpy for POWER8.
75         * NEWS: Update.
76
77 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
78
79         [BZ #16009]
80         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
81         weights and rules. Use do_xfrm_cached if data fits in cache,
82         do_xfrm otherwise.  Moved former main loop to...
83         * (do_xfrm_cached): New function.
84         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
85         find_idx, find_position and stack_push.
86         * (find_idx): New function.
87         * (find_position): Likewise.
88         * localedata/sort-test.sh: Added test run for do_xfrm.
89         * localedata/xfrm-test.c (main): Added command line option
90         -nocache to run the test with strings that are too large for
91         the STRXFRM cache.
92
93 2015-01-13  Torvald Riegel  <triegel@redhat.com>
94
95         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
96         variable to lll_futex_wake call, not the value itself.
97
98 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
99
100         [BZ #17803]
101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
102         twom64.  Adjust value to 0x1p-64L.
103         (__scalblnl): Only return standard underflowing result for K <=
104         -64 not K <= -63; adjust exponent for underflowing result by 64
105         not 63.
106         * math/libm-test.inc (scalbn_test_data): Add more tests.
107         (scalbln_test_data): Likewise.
108
109         [BZ #17834]
110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
111         0x1p63L.
112         (__scalblnl): Get new exponent of adjusted subnormal value from ES
113         not HX.
114         * math/libm-test.inc (scalbn_test_data): Add more tests.
115         (scalbln_test_data): Likewise.
116
117 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
118             Stefani Seibold  <stefani@seibold.net>
119
120         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
121         (sysdep_routines): Add dl-vdso here, ...
122         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
123         (sysdep_routines): ... not here.
124         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
125         fallback when vDSO is not presented.
126         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
127         Define with libc_hidden_proto/libc_hidden_data_def definitions.
128         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
129         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
130         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
131         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
132         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
134         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
136         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
137         fallback configurable symbol when vDSO is not available.
138         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
139         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
140         be able to redefine fallback symbol when vDSO is not available.
141         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
142         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
143
144 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
145
146         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
147         (TLS_INIT_TP): Add tm_capable initialization.
148         (TLS_DEFINE_INIT_TP): Likewise.
149         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
150         TCB.
151         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
152         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
153         calculation.
154         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
155         transactoion is lock elision is built and TCB tm_capable is set.
156         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
158         (INTERNAL_SYSCALL_NCS): Likewise.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
160         (INTERNAL_SYSCALL_NCS): Likewise.
161         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
162
163         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
164         for powerpc.
165         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
166         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
167         and remove it for 32 bits case.
168         [pthread_rwlock_t] (__rwelision): New field for lock elision.
169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
170         initialization.
171         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
172         Disable lock elision with rdlocks if elision is not available.
173
174         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
175         (sysdep_routines): Add lock elision objects.
176         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
177         [pthread_mutex_t] (__spins): Rework to add lock elision field.
178         [pthread_mutex_t] (__elision): Add field.
179         [__PTHREAD_SPINS]: Adjust to init lock elision field.
180         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
181         elision definitions for powerpc.
182         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
183         implementation of lock elision for powerpc.
184         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
185         implementation of timed lock elision for powerpc.
186         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
187         implementation of trylock with lock elision for powerpc.
188         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
189         implementaion of unlock for lock elision for powerpc.
190         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
191         automatic enable lock elision for mutexes.
192         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
193         transaction execution definitions for powerpc.
194         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
195         definitions.
196         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
197         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
199         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
200         * NEWS: Update.
201
202 2015-01-09  Roland McGrath  <roland@hack.frob.com>
203
204         * sysdeps/posix/shm-directory.c: Use <> rather than ""
205         for #include of <shm-directory.h>.
206
207 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
208
209         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
210         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
211
212 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
213
214         [BZ #17791]
215         * NEWS: Mention bug fix.
216         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
217         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
218         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
219
220 2015-01-09  Torvald Riegel <triegel@redhat.com>
221
222         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
223
224 2015-01-09  Torvald Riegel <triegel@redhat.com>
225
226         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
227
228 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
229
230         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
231         pointer and cast to uintptr_t.
232
233 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
234
235         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
236         removed.
237         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
238
239 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
240
241         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
242         of 0.
243
244 2015-01-08  Roland McGrath  <roland@hack.frob.com>
245
246         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
247         <nptl/pthreadP.h> instead.
248         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
249
250         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
251         already defined.
252         [__SIGRTMIN] (init): Function removed.
253         [__SIGRTMIN] (initialized): Variable removed.
254         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
255         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
256         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
257         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
258         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
259         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
260         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
261         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
262         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
263         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
264         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
265         * sysdeps/nptl/allocrtsig.c: New file.
266         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
267         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
268         * sysdeps/generic/testrtsig.h: File removed.
269
270         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
271         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
272
273         * nptl/nptl-init.c (pthread_functions): Conditionalize
274         .ptr__nptl_setxid initialization on [SIGSETXID].
275
276         * sysdeps/nptl/sys/procfs.h: New file.
277         * nptl_db/Makefile (headers): Add it.
278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
279
280         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
281         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
282         * nptl/pthread_attr_setaffinity.c: Include it.
283         * nptl/pthread_setattr_default_np.c: Likewise.
284         * nptl/check-cpuset.h: New file.
285
286 2015-01-08  Richard Henderson  <rth@redhat.com>
287
288         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
289         (CFLAGS-tst-execstack-prog.c): Likewise.
290         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
291
292 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
293             Sandra Loosemore  <sandra@codesourcery.com>
294             Andrew Jenner  <andrew@codesourcery.com>
295             Joseph Myers  <joseph@codesourcery.com>
296             Nathan Sidwell  <nathan@codesourcery.com>
297
298         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
299         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
300         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
301         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
302         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
303         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
304         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
305         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
306         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
307         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
308         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
309         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
310         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
311         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
312         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
313         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
314         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
315
316 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
317
318         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
319         timespec struct member in syscall macro.
320         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
321         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
322         first timeval struct member in syscall macro.
323         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
324
325 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
326
327         [BZ #17748]
328         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
329         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
330         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
331         __feupdateenv and define as weak alias of __feupdateenv.  Use
332         libm_hidden_weak.
333         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
334         libm_hidden_def.
335         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
336         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
337         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
338         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
339         libm_hidden_def.
340         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
341         __feupdateenv and define as weak alias of __feupdateenv.  Use
342         libm_hidden_weak.
343         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
344         libm_hidden_def.
345         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
346         __feupdateenv and define as weak alias of __feupdateenv.  Use
347         libm_hidden_weak.
348         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
349         libm_hidden_def.
350         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
351         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
352         (__feupdateenv): Likewise.
353         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
354         __feupdateenv and define as weak alias of __feupdateenv.  Use
355         libm_hidden_weak.
356         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
357         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
358         libm_hidden_def.
359         * sysdeps/tile/math_private.h (__feupdateenv): New inline
360         function.
361         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
362         libm_hidden_def.
363         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
364         __feupdateenv instead of feupdateenv.
365         (default_libc_feupdateenv_test): Likewise.
366         (libc_feresetround_ctx): Likewise.
367
368 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
369
370         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
371         prototype.
372
373 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
374
375         * posix/regcomp.c (parse_bracket_exp): Initialize type to
376         COLL_SYM in a couple of places to avoid uninitialized variable
377         wanings on tilegx gcc 4.8.2.
378
379 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
380
381         * sysdeps/aarch64/strcpy.S: New file.
382         * sysdeps/aarch64/stpcpy.S: New file.
383         * NEWS: Updated.
384
385 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
386
387         * sysdeps/aarch64/strrchr.S: New file.
388         * NEWS: Updated.
389
390 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
391
392         [BZ #17658]
393         * stdlib/setenv.c: Fix memory leak when setting large,
394         duplicate string.
395
396 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
397
398         [BZ #17273]
399         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
400         and tabs from buffer before parsing fstab entry.
401         * misc/tst-mntent.c (main): Add test for mount entry with
402         trailing spaces and tabs.
403
404 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
405
406         [BZ #17748]
407         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
408         * math/fesetround.c (fesetround): Rename to __fesetround and
409         define as weak alias of __fesetround.  Use libm_hidden_weak.
410         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
411         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
412         * sysdeps/arm/fesetround.c (fesetround): Likewise.
413         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
414         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
415         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
416         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
417         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
418         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
419         __fesetround_inline.
420         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
421         __fesetround_inline instead of __fesetround.
422         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
423         __fesetround and define as weak alias of __fesetround.  Use
424         libm_hidden_weak.  Call __fesetround_inline instead of
425         __fesetround.
426         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
427         __fesetround and define as weak alias of __fesetround.  Use
428         libm_hidden_weak.
429         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
430         Likewise.
431         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
432         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
433         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
434         * sysdeps/tile/math_private.h (__fesetround): New inline function.
435         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
436         __fesetround and define as weak alias of __fesetround.  Use
437         libm_hidden_weak.
438         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
439         __fesetround instead of fesetround.
440         (default_libc_feholdexcept_setround): Likewise.
441         (libc_feholdsetround_ctx): Likewise.
442         (libc_feholdsetround_noex_ctx): Likewise.
443
444         [BZ #17748]
445         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
446         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
447         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
448         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
449         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
450         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
451         define as weak alias of __fesetenv.  Use libm_hidden_weak.
452         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
453         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
454         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
455         define as weak alias of __fesetenv.  Use libm_hidden_weak.
456         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
457         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
458         define as weak alias of __fesetenv.  Use libm_hidden_weak.
459         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
460         libm_hidden_def.
461         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
462         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
463         Likewise.
464         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
465         define as weak alias of __fesetenv.  Use libm_hidden_weak.
466         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
467         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
468         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
469         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
470         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
471         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
472         __fesetenv instead of fesetenv.
473         (libc_feresetround_noex_ctx): Likewise.
474         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
475         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
476         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
477         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
478         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
479         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
480         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
481         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
482         (__feupdateenv): Likewise.
483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
484         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
485         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
486         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
487
488 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
489
490         [BZ #17806]
491         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
492         addresses have been freed.
493
494 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
495
496         * resolv/res_init.c (__res_vinit): Improve comments about nserv
497         and nservall.
498
499 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
500
501         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
502         Clean up check_pf allocation pattern. addresses
503
504 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
505
506         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
507         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
508         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
509         * nptl/pthread_exit.c (__pthread_exit): Likewise.
510         * nptl/pthread_join.c (pthread_join): Likewise.
511         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
512         * sysdeps/posix/waitid.c (__waitid): Likewise.
513         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
514         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
515         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
516         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
518         Likewise.
519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
520         (__libc_pread64): Likewise.
521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
522         (__libc_pwrite): Likewise.
523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
524         (__libc_pwrite64): Likewsie.
525         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
526         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
527         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
528         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
529         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
530         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
531         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
533         Likewise.
534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
535         (__libc_pread64): Likewise.
536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
537         Likewise.
538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
539         (__libc_pwrite64): Likewise.
540         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
541         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
542         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
543         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
544         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
545         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
546         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
547         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
548         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
549         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
550         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
551         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
552         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
553         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
554         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
555         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
556         Likewise.
557
558 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
559
560         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
561         (CFLAGS-test-double.c): Likewise.
562         (CFLAGS-test-ldouble.c): Likewise.
563         (CPPFLAGS-test-ifloat.c): Likewise.
564         (CPPFLAGS-test-idouble.c): Likewise.
565         (CPPFLAGS-test-ildoubl.c): Likewise.
566         (CFLAGS-test-test-fenv.c): Remove variable.
567         (CFLAGS-test-misc.c): Likewise.
568
569 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
570
571         [BZ #17797]
572         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
573         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
574         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
575         CLOCKS_PER_SEC == 1000000.
576         * time/clocktest.c (main): Replace %ld with %jd and cast to
577         intmax_t.
578
579 2015-01-05  Roland McGrath  <roland@hack.frob.com>
580
581         * sysdeps/generic/unwind-resume.h: New file.
582         * sysdeps/gnu/unwind-resume.c: Include it.
583         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
584         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
585         argument list.
586         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
587         global rather than static.
588         (_Unwind_Resume): Update user.
589         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
590         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
591         rather than static.  Add __attribute__ ((cold)).
592         (_Unwind_Resume, __gcc_personality_v0): Update callers.
593         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
594         * sysdeps/arm/arm-unwind-resume.S: New file.
595         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
596         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
597         * sysdeps/arm/Makefile [$(subdir) = csu]
598         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
599         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
600         Add rt-arm-unwind-resume.
601         [$(subdir) = nptl]
602         (libpthread-sysdep_routines, libpthread-shared-only-routines):
603         Add pt-arm-unwind-resume.
604         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
605         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
606
607 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
608
609         [BZ #17748]
610         * include/fenv.h (__feholdexcept): Declare.  Use
611         libm_hidden_proto.
612         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
613         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
614         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
615         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
616         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
617         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
618         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
619         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
620         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
621         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
622         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
623         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
624         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
625         (feholdexcept): Likewise.
626         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
627         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
628         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
629         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
630         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
631         __feholdexcept instead of feholdexcept.
632         (default_libc_feholdexcept_setround): Likewise.
633
634 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
635
636         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
637         to avoid using stl/str to align destination.
638
639 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
640
641         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
642
643 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
644
645         [BZ #17796]
646         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
647         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
648         Define as weak alias not strong alias.
649
650 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
651
652         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
653         bltzal with addiupc.
654         (RTLD_START): Ditto.
655
656 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
657
658         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
659         for __vdso_* functions in declarations.
660         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
661         definitions.
662         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
663         INTERNAL_VSYSCALL): Use struct return types to check for error.
664
665         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
666         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
667         function with cast from llround().
668         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
669         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
670         Define.
671
672 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
673
674         [BZ #17793]
675         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
676         Define as weak alias not strong alias.
677
678         [BZ #17635]
679         * ctype/ctype-c99.c: New file.  isblank implementation moved from
680         ...
681         * ctype/ctype-extn.c: ... here.
682         (__isblank_l): Move to ...
683         * ctype/ctype-c99_l.c: ... here.  New file.
684         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
685         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
686         Remove variable.
687         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
688         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
689         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
690         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
691         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
692
693         [BZ #17777]
694         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
695         (posix_fadvise64): Define as weak alias not strong alias.
696         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
697         (posix_fallocate64): Likewise.
698         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
699         Remove variable.
700         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
701         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
702         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
703         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
704         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
705
706 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
707
708         [BZ #16191]
709         * NEWS: Mention bug fix.
710         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
711         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
712         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
713         (HOST_STACK_END_ADDR): Likewise.
714
715 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
716
717         [BZ #17748]
718         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
719         * math/fegetround.c (fegetround): Rename to __fegetround and
720         define as weak alias of __fegetround.  Use libm_hidden_weak.
721         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
722         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
723         * sysdeps/arm/fegetround.c (fegetround): Likewise.
724         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
725         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
726         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
727         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
728         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
729         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
730         Undefine after rather than before function definition; use
731         parentheses around function name in definition.
732         (__fegetround): Also undefine macro after function definition.
733         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
734         __fegetround and define as weak alias of __fegetround.  Use
735         libm_hidden_weak.  Do not undefine as macro.
736         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
737         Likewise.
738         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
739         __fegetround and define as weak alias of __fegetround.  Use
740         libm_hidden_weak.
741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
742         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
743         * sysdeps/tile/math_private.h (__fegetround): New inline function.
744         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
745         __fegetround and define as weak alias of __fegetround.  Use
746         libm_hidden_weak.
747         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
748         __fegetround instead of fegetround.
749
750         [BZ #17782]
751         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
752         Condition macro definition on [__USE_MISC].
753
754         [BZ #17781]
755         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
756         (struct sigaction): Change type of sa_flags field to int.
757
758         [BZ #17780]
759         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
760         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
761         __glibc_reserved0.
762
763         * nptl/version.c (banner): Use single year in copyright notice.
764
765         * NEWS: Update copyright dates.
766         * catgets/gencat.c (print_version): Likewise.
767         * csu/version.c (banner): Likewise.
768         * debug/catchsegv.sh: Likewise.
769         * debug/pcprofiledump.c (print_version): Likewise.
770         * debug/xtrace.sh (do_version): Likewise.
771         * elf/ldconfig.c (print_version): Likewise.
772         * elf/ldd.bash.in: Likewise.
773         * elf/pldd.c (print_version): Likewise.
774         * elf/sotruss.sh: Likewise.
775         * elf/sprof.c (print_version): Likewise.
776         * iconv/iconv_prog.c (print_version): Likewise.
777         * iconv/iconvconfig.c (print_version): Likewise.
778         * locale/programs/locale.c (print_version): Likewise.
779         * locale/programs/localedef.c (print_version): Likewise.
780         * login/programs/pt_chown.c (print_version): Likewise.
781         * malloc/memusage.sh (do_version): Likewise.
782         * malloc/memusagestat.c (print_version): Likewise.
783         * malloc/mtrace.pl: Likewise.
784         * manual/libc.texinfo: Likewise.
785         * nptl/version.c (banner): Likewise.
786         * nscd/nscd.c (print_version): Likewise.
787         * nss/getent.c (print_version): Likewise.
788         * nss/makedb.c (print_version): Likewise.
789         * posix/getconf.c (main): Likewise.
790         * scripts/test-installation.pl: Likewise.
791         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
792
793 2015-01-02  Will Newton  <will.newton@linaro.org>
794
795         * sysdeps/arm/armv7/configure: Removed.
796         * sysdeps/arm/armv7/configure.ac: Likewise.
797
798 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
799
800         * All files with FSF copyright notices: Update copyright dates
801         using scripts/update-copyrights.
802         * intl/plural.c: Regenerated.
803         * locale/programs/charmap-kw.h: Likewise.
804         * locale/programs/locfile-kw.h: Likewise.
805
806 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
807
808         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
809
810 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
811
812         [BZ #17748]
813         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
814         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
815         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
816         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
817         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
818         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
819         define as weak alias of __fegetenv.  Use libm_hidden_weak.
820         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
821         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
822         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
823         define as weak alias of __fegetenv.  Use libm_hidden_weak.
824         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
825         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
826         define as weak alias of __fegetenv.  Use libm_hidden_weak.
827         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
828         libm_hidden_def.
829         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
831         Likewise.
832         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
833         define as weak alias of __fegetenv.  Use libm_hidden_weak.
834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
835         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
836         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
837         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
838         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
839         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
840         __fegetenv instead of fegetenv.
841         (libc_feholdsetround_noex_ctx): Likewise.
842
843 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
844
845         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
846         (Elf_MIPS_ABIFlags_v0): New structure.
847         (EF_MIPS_FP64): Define.
848         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
849         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
850         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
851         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
852         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
853         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
854         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
855         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
856         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
857         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
858         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
859         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
860         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
861         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
862         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
863         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
864         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
865         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
866         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
867         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
868         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
869         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
870         field.
871         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
872         EF_MIPS_FP64.
873         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
874         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
875         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
876         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
877         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
878         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
879         * sysdeps/mips/tst-abi-interlink.c: Likewise.
880         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
881         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
882         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
883         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
884         record the current FP ABI extension.
885         (mips-mode-switch): Define to show if kernel headers support mode
886         switching.
887         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
888         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
889         supported SYSV ABI version to 3.
890         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
891         feature.
892
893 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
895
896         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
897         path.
898         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
899
900 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
901
902         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
903         __fegetround and redefine to call __fegetround.  Remove condition
904         on [!__NO_MATH_INLINES].
905         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
906         function.
907         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
909         Remove macro.
910         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
911         instead of <fenv_libc.h>.
912         (__llrintl): Call fegetround instead of __fegetround.
913         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
914         instead of <fenv_libc.h>.
915         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
916         (__lrintl): Call fegetround instead of __fegetround.
917         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
918         instead of <fenv_libc.h>.
919         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
920         (__rintl): Call fegetround instead of __fegetround.
921
922 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
923
924         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
925         arrays.
926
927 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
928
929         [BZ #17775]
930         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
931         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
932         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
933
934 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
935
936         * sysdeps/i386/tls-macros.h: Include <features.h>.
937         (TLS_LE): Use non-PIC version for GCC >= 5.0.
938         (TLS_IE): Likewise.
939         (TLS_LD): Likewise.
940         (TLS_GD): Likewise.
941         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
942         define for GCC >= 5.0.
943
944 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
945
946         * math/test-fenv.c (test_single_exception, set_single_exc,
947         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
948         feexcp_mask_test, feenable_test, fe_single_test): Add
949         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
950         case where they are not used.
951         * math/libm-test.inc: Likewise.
952         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
953         unused in the absence of FP rounding/exception support.
954         * stdio-common/tst-printf-round.c: Likewise.
955         * stdlib/tst-strtod-round.c: Likewise.
956         * stdlib/tst-strtod-underflow.c: Likewise.
957
958 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
959
960         [BZ #17723]
961         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
962         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
963         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
964         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
965         libm_hidden_weak.
966         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
967         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
968         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
969         libm_hidden_def.
970         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
971         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
972         libm_hidden_weak.
973         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
974         Likewise.
975         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
976         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
977         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
978         libm_hidden_weak.
979         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
980         libm_hidden_def.
981         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
982         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
983         (__feraiseexcept): Likewise.
984         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
985         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
986         libm_hidden_weak.
987         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
988         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
989         libm_hidden_def.
990         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
991         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
992         Use libm_hidden_def.
993         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
994         libm_hidden_def.
995         (feraiseexcept): Define as weak not strong alias.  Use
996         libm_hidden_weak.
997         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
998         New inline function.  Factored out of ...
999         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1000         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1001         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1002         feraiseexcept.
1003         * math/w_acos.c (__acos): Likewise.
1004         * math/w_asin.c (__asin): Likewise.
1005         * math/w_ilogb.c (__ilogb): Likewise.
1006         * math/w_j0.c (y0): Likewise.
1007         * math/w_j1.c (y1): Likewise.
1008         * math/w_jn.c (yn): Likewise.
1009         * math/w_log.c (__log): Likewise.
1010         * math/w_log10.c (__log10): Likewise.
1011         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1012         * sysdeps/aarch64/fpu/math_private.h
1013         (libc_feupdateenv_test_aarch64): Likewise.
1014         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1015         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1016         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1017         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1018         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1019         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1020         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1021         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1022         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1023         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1024
1025 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1026
1027         [BZ #17732]
1028         * io/test-utime.c (main): Replace %ld with %jd and cast to
1029         intmax_t.
1030         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1031         * nptl/tst-mutex5.c: Include <stdint.h>.
1032         (do_test): Replace %ld with %jd and cast to intmax_t.
1033         * posix/tst-regex.c (run_test): Likewise.
1034         (run_test_backwards): Likewise.
1035         * rt/tst-clock.c: Include <stdint.h>.
1036         (clock_test): Replace %ld with %jd and cast to intmax_t.
1037         * rt/tst-cpuclock1.c: Include <stdint.h>.
1038         (do_test): Replace %lu with %ju and cast to uintmax_t.
1039         * rt/tst-cpuclock2.c: Include <stdint.h>.
1040         (do_test): Replace %lu with %ju and cast to uintmax_t.
1041         * rt/tst-mqueue1.c: Include <stdint.h>.
1042         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1043         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1044         intmax_t.
1045         * rt/tst-mqueue4.c (do_test): Likewise.
1046         * rt/tst-timer4.c: Include <stdint.h>.
1047         (check_ts): Replace %ld with %jd and cast to intmax_t.
1048         (do_test): Likewise.
1049         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1050         and cast to intmax_t.
1051         * sysdeps/pthread/tst-timer.c (main): Likewise.
1052         * time/clocktest.c (main): Likewise.
1053         * time/tst-posixtz.c (do_test): Likewise.
1054         * timezone/tst-timezone.c (main): Likewise.
1055
1056 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1057             H.J. Lu  <hongjiu.lu@intel.com>
1058
1059         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1060         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1061         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1062         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1063         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1064         version if bit_Fast_Unaligned_Load is set.
1065         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1066         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1067         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1068         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1069         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1072         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1073         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1074         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1075         to 4.
1076         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1077         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1078         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1079         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1080
1081 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1082
1083         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1084         instead of #if to avoid a Wundef warning.
1085         * stdlib/tst-limits.c (do_test): Likewise.
1086
1087         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1088         parallel other exception macros.
1089         (fegetenv): Convert from macro to extern inline so that it applies
1090         retroactively to inline functions already seen by the compiler.
1091         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1092
1093         * posix/Makefile (before-compile): Use $(objpfx) for
1094         posix-conf-vars-def.h.
1095
1096 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1097
1098         * posix/getconf.c (main): Use size_t for type of I.
1099         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1100         NSPEC.
1101
1102         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1103         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1104         * posix/posix-envs.def: Likewise.
1105         * sysdeps/posix/sysconf.c: Likewise.
1106         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1107         (specs): Remove array.
1108         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1109         array.
1110
1111         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1112         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1113         (__sysconf): Use CONF_IS_* macros.
1114
1115         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1116         ($(objpfx)posix-conf-vars-def.h): New target.
1117         * posix/posix-conf-vars.list: New file.
1118         * posix/posix-conf-vars.h: New file.
1119         * posix/confstr.c: Include posix-conf-vars.h.
1120         (confstr): Use CONF_IS_* macros.
1121         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1122         CONF_IS_* macros.
1123         * scripts/gen-posix-conf-vars.awk: New file.
1124
1125 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1126
1127         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1128         fegetround): Add no-op macros to avoid linknamespace issues.
1129
1130         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1131         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1132
1133         * sysdeps/unix/sysv/linux/tile/sysdep.h
1134         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1135         assembly-specific section to avoid a redefinition warning.
1136
1137         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1138         long before casting to pointer to avoid a cast warning.
1139
1140 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1141
1142         * sysdeps/tile/tilegx/Implies: New file.
1143
1144 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1145
1146         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1147
1148 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1149
1150         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1151
1152 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1153
1154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1155         not define.
1156         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1157         <kernel-features.h>.
1158         (__utimes) [__NR_utimes]: Make code unconditional.
1159         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1160         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1161         (__ASSUME_UTIMES): Do not undefine.
1162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1163         (__ASSUME_UTIMES): Likewise.
1164         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1165         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1166         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1167         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1168
1169 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1170
1171         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1172
1173 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1174
1175         [BZ #17747]
1176         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1177         alias to weak alias for j0l, y0l.
1178         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1179         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1180
1181         [BZ #17746]
1182         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1183         conversion.
1184
1185 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1186
1187         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1188         to zero if not already defined.
1189
1190 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1191
1192         [BZ #17724]
1193         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1194         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1195         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1196         (char *) casts added.
1197         * sysdeps/ieee754/k_standardf.c: New file.
1198         * sysdeps/ieee754/k_standardl.c: Likewise.
1199         * math/Makefile (libm-support): Remove k_standard.
1200         (libm-calls): Add k_standard.
1201
1202 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1203
1204         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1205         Optimize to avoid an unnecessary FPCR read.
1206
1207 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1208
1209         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1210         Optimize to reduce FPCR/FPSR accesses.
1211
1212 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1213
1214         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1215         Call libc_fetestexcept_aarch64.
1216
1217 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1218
1219         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1220         Call libc_fesetround_aarch64.
1221
1222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1223
1224         [BZ #17733]
1225         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1226         (__bind): Do not define as weak alias.
1227         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1228         define.
1229         (__getsockname): Do not define as weak alias.
1230
1231 2014-12-22  Will Newton  <will.newton@linaro.org>
1232
1233         * manual/install.texi: Document that we require bison 2.7
1234         or above.
1235         * INSTALL: Regenerate.
1236         * configure.ac: Use AC_CHECK_PROG_VER instead of
1237         AC_PATH_PROG when checking for bison and check for
1238         version 2.7 or above.
1239         * configure: Regenerate.
1240
1241 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1242
1243         [BZ #17745]
1244         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1245         * sysdeps/tile/ffsll.c (ffsll): To here.
1246
1247         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1248
1249 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1250
1251         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1252         if not defined.
1253         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1254         definition.
1255         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1256         hidden ___tls_get_addr.
1257         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1258         hidden __tls_get_addr.
1259         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1260         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1261         Likewise.
1262
1263 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1264
1265         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1266         _dl_init call.
1267
1268 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1269
1270         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1271         from "call _dl_init@PLT".
1272         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1273
1274 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1275
1276         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1277         guarantees.
1278
1279 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1280
1281         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1282
1283 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1284
1285         [BZ #17744]
1286         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1287         strnlen.
1288
1289 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1290
1291         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1292         of multu on MIPSr6.
1293         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1294         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1295         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1296         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1297         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1298
1299 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1300
1301         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1302         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1303         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1304         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1305         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1306         mips32r6/mips64r6.
1307         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1308
1309 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1310
1311         * string/strncat.c (STRNCAT): Simplify implementation.
1312
1313 2014-12-19  David S. Miller  <davem@davemloft.net>
1314
1315         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1316         access the quad as both a long double and as a series of 4 words.
1317
1318         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1319         link_map->l_info array access.
1320
1321 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1322
1323         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1324
1325         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1326         * math/atest-exp2.c (TIMEOUT): Likewise.
1327         * math/atest-sincos.c (TIMEOUT): Likewise.
1328
1329 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1330
1331         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1332         -Wno-error with -fno-builtin-lround.
1333
1334 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1335
1336         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1337         Contains futex constants and functions moved over from ...
1338         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1339         <lowlevellock-futex.h>.
1340         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1341         (lll_timedwait_tid): Add comments and parentheses around macro
1342         arguments.
1343
1344 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1345
1346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1347         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1348         (__lll_private_flag): Remove.
1349         (lll_futex_wait): Likewise.
1350         (lll_futex_timed_wait): Likewise.
1351         (lll_futex_wake): Likewise.
1352         (lll_futex_requeue): Likewise.
1353         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1354         (__lll_timedwait_tid): Spell out argument names.
1355         (lll_timedwait_tid): Add comments and parentheses around macro
1356         arguments.
1357         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1358         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1359
1360 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1361
1362         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1363         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1365         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1366         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1367         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1369         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1370         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1376         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1377         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1378         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1379         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1380         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1381
1382 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1383
1384         * sysdeps/x86_64/x32/Makefile: New file.
1385
1386 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1387
1388         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1389         1L with (mp_limb_t) 1.
1390
1391 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1392
1393         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1394         * nptl/libc_pthread_init.c: ... here.
1395         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1396         * nptl/register-atfork.c: ... here.
1397
1398         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1399         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1400         Use assert_perror to check its return value.
1401         (__gai_create_helper_thread): Likewise.
1402
1403         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1404
1405         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1406
1407 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1408
1409         [BZ #17725]
1410         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1411         __profil_counter.
1412         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1413         Likewise.
1414         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1415         Likewise.
1416         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1417         Likewise.
1418         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1419         (profil_counter): Likewise.
1420         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1421         (profil_counter): Likewise.
1422         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1423         Likewise.
1424         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1425         Likewise.
1426         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1427         (profil_counter): Likewise.
1428         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1429         Likewise.
1430         [!__profil_counter] (profil_counter): Define as weak alias of
1431         __profil_counter.
1432         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1433         (profil_counter): Rename to __profil_counter.
1434         [!__profil_counter] (profil_counter): Define as weak alias of
1435         __profil_counter.
1436         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1437         (profil_counter): Rename to __profil_counter.
1438         [!__profil_counter] (profil_counter): Define as weak alias of
1439         __profil_counter.
1440         * sysdeps/posix/profil.c: Update comment referring to
1441         profil_counter.
1442         (__profil): Use __profil_counter instead of profil_counter.
1443         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1444         __profil_counter.  Use __profil_counter_ushort and
1445         __profil_counter_uint in definitions.
1446         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1447         instead of profil_counter_uint and profil_counter_ushort.
1448
1449         [BZ #17722]
1450         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1451         define as weak alias of __inet_makeaddr.
1452         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1453         as weak alias of __inet_addr.
1454         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1455         as weak alias of __inet_pton.  Use libc_hidden_weak.
1456         * include/arpa/inet.h (__inet_pton): Declare.  Use
1457         libc_hidden_proto.
1458         (inet_makeaddr): Don't use libc_hidden_proto.
1459         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1460         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1461         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1462         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1463         Remove variable.
1464         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1465         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1466
1467 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1468
1469         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1470
1471 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1472
1473         * stdio-common/bug-vfprintf-nargs.c (do_test):
1474         Cast value to intptr_t to avoid format warning
1475         for usage with PRIdPTR printing macro.
1476
1477 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1478
1479         * libio/tst-widetext.c (do_test):
1480         Use format type %td instead of %Zd for ptrdiff_t
1481         in order to avoid format warning.
1482
1483 2014-12-17  Andreas Schwab  <schwab@suse.de>
1484
1485         * nscd/mem.c (gc): Add size_t cast to match printf format.
1486
1487 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1488
1489         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1490         (init): Apply PTR_MANGLE to pointers before storing them.
1491         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1492         before using them.
1493
1494 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1495
1496         [BZ #17719]
1497         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1498         define as weak alias of __memrchr.
1499         (__memrchr): Do not define as strong alias of memrchr.
1500         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1501         Remove variable.
1502         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1503         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1504         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1505
1506         [BZ #17717]
1507         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1508         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1509         (if_indextoname): Rename to __if_indextoname and define as weak
1510         alias of __if_indextoname.  Use libc_hidden_weak.
1511         (if_freenameindex): Rename to __if_freenameindex and define as
1512         weak alias of __if_freenameindex.
1513         (if_nameindex): Rename to __if_nameindex and define as weak alias
1514         of __if_nameindex.
1515         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1516         __if_nametoindex and define as weak alias of __if_nametoindex.
1517         Use libc_hidden_weak.
1518         (if_freenameindex): Rename to __if_freenameindex and define as
1519         weak alias of __if_freenameindex.
1520         (if_nameindex): Rename to __if_nameindex and define as weak alias
1521         of __if_nameindex.
1522         (if_indextoname): Rename to __if_indextoname and define as weak
1523         alias of __if_indextoname.  Use libc_hidden_weak.
1524         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1525         __if_nametoindex and define as weak alias of __if_nametoindex.
1526         Use libc_hidden_weak.
1527         (if_freenameindex): Rename to __if_freenameindex and define as
1528         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1529         (if_nameindex_netlink): Use __if_freenameindex instead of
1530         if_freenameindex.
1531         (if_nameindex): Rename to __if_nameindex and define as weak alias
1532         of __if_nameindex.  Use libc_hidden_weak.
1533         (if_indextoname): Rename to __if_indextoname and define as weak
1534         alias of __if_indextoname.  Use libc_hidden_weak.
1535         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1536         libc_hidden_proto.
1537         [!_ISOMAC] (__if_freenameindex): Likewise.
1538         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1539         if_nametoindex.
1540         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1541         variable.
1542         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1543         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1544         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1545         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1546         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1547         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1548         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1549
1550         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1551         Remove variable.
1552         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1553         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1554
1555 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1556
1557         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1558         subscript above bounds'
1559
1560         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1561         bounds.
1562
1563 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1564
1565         * libio/tst-fopenloc.c: Use test-skeleton.c.
1566
1567         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1568         (entry): Rename to ITEM.
1569         (do_test, comp): Adjust.
1570
1571         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1572
1573 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1574
1575         * string/tester.c: Include <libc-internal.h>.
1576         (test_memset): Ignore -Wmemset-transposed-args.
1577
1578 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1579
1580         * misc/tst-mntent2.c (do_test): Fix warning.
1581
1582 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1583
1584         * elf/tst-unique4lib.cc(a): Mark as used.
1585
1586 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1587
1588         [BZ #17630]
1589         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1590         names.
1591
1592 2014-12-16  Allan McRae  <allan@archlinux.org>
1593
1594         * stdio-common/Makefile (tests): Re-add bug26.
1595
1596 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1597
1598         [BZ #17657]
1599         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1600         static array.
1601
1602 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1603
1604         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1605         (__lll_lock_wait): Likewise.
1606         (__lll_timedlock_wait): Likewise.
1607         (__lll_timedwait_tid): Likewise.
1608         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1609         (__lll_robust_timedlock_wait): Likewise.
1610         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1611         (lll_cond_trylock): Likewise.
1612         (__lll_lock): Likewise.
1613         (__lll_robust_lock): Likewise.
1614         (__lll_cond_lock): Likewise.
1615         (lll_robust_cond_lock): Likewise.
1616         (__lll_timedlock): Likewise.
1617         (__lll_robust_timedlock): Likewise.
1618         (__lll_unlock): Likewise.
1619         (__lll_robust_unlock): Likewise.
1620         (lll_wait_tid): Likewise.
1621         (lll_timedwait_tid): Likewise.
1622
1623 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1624
1625         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1626
1627 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1628
1629         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1630
1631 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1632
1633         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1634         * stdio-common/tst-sprintf.c: Likewise.
1635
1636 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1637
1638         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1639
1640 2014-12-15  Jeff Law  <law@redhat.com>
1641
1642         [BZ #16617]
1643         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1644         on the heap.  (CVE-2012-3406)
1645         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1646         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1647         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1648
1649 2014-12-15  Will Newton  <will.newton@linaro.org>
1650
1651         * manual/install.texi: Bump required version of texinfo
1652         to 4.7 from 4.5.
1653         * INSTALL: Regenerated.
1654         * configure.ac: Check for makeinfo version 4.7 and above.
1655         * configure: Regenerated.
1656
1657 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1658
1659         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1660         PREFIX, string constant to insert between directory and name.
1661         * sysdeps/posix/shm_open.c: Update caller.
1662         * sysdeps/posix/shm_unlink.c: Likewise.
1663         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1664         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1665         (SEM_SHM_PREFIX): New macro.
1666         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1667         [$(have-thread-library) = no].
1668         * nptl/Makefile (libpthread-routines): Add shm-directory.
1669         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1670         * sysdeps/nptl/shm-directory.h: New file.
1671         * sysdeps/posix/shm-directory.c
1672         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1673         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1674         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1675         INTERNAL_SYSCALL.
1676         (__where_is_shmfs): Function removed.
1677         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1678         Variables removed.
1679         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1680         Use SHM_GET_NAME.
1681         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1682
1683         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1684         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1685         unconditional for use inside libpthread.
1686         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1687
1688 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1689
1690         * nptl/pthread_getaffinity.c: New file.
1691         * nptl/pthread_setaffinity.c: New file.
1692         * nptl/pthread_getname.c: New file.
1693         * nptl/pthread_setname.c: New file.
1694
1695         * nptl/pthread_create.c (START_THREAD_DEFN)
1696         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1697
1698 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1699             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1700
1701         * resolv/res_send.c (send_vc): Disable warning resplen may
1702         be used uninitialized.
1703
1704 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705
1706         * nptl/tst-mutex6.c
1707         (ATTR_NULL): New define checks ATTR against NULL.
1708         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1709         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1710
1711 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1712
1713         [BZ #17581]
1714         * malloc/hooks.c
1715         (mem2mem_check): Revert my previous change.
1716         (malloc_check_get_size): Revert my previous change.
1717         (mem2chunk_check): Revert my previous change.
1718
1719 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1720
1721         * sysdeps/posix/shm-directory.c: New file.
1722         * sysdeps/posix/shm-directory.h: New file.
1723         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1724         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1725         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1726         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1727         Transmute EPERM to EACCES.
1728         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1729         from ...
1730         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1731         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1732
1733 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1734
1735         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1736         pointer and cast to uintptr_t.
1737         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1738         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1739         Add cast to avoid warning.
1740         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1741
1742 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1743
1744         * nptl/semaphore.h: Move to ...
1745         * sysdeps/pthread/semaphore.h: ... here.
1746         * Makefile (installed-headers): Change nptl/semaphore.h to
1747         sysdeps/pthread/semaphore.h.
1748
1749 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1750
1751         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1752         generated error format strings.
1753
1754         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1755         -Wformat-extra-args warnings for scanf formats.
1756         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1757         test of zero-length format (duh).
1758         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1759         corner-case scanf format test.
1760         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1761         generated fprintf format string.
1762         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1763         corner-case sprintf format tests.
1764         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1765         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1766         -Wformat-extra-args warnings throughout.
1767         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1768         (CFLAGS-scanf4.c): Likewise.
1769         (CFLAGS-scanf7.c): Likewise.
1770         (CFLAGS-tst-sprintf.c): Likewise.
1771         (CFLAGS-tst-printf.c): Likewise.
1772         (CFLAGS-tst-printfsz.c): Likewise.
1773
1774 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1775
1776         * include/cpio.h: New file.
1777         * include/fmtmsg.h: Likewise.
1778
1779         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1780         corresponding format argument to size_t.
1781         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1782         arguments.
1783         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1784         corresponding format argument to size_t.
1785         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1786         arguments.
1787         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1788         corresponding format argument to size_t.
1789         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1790         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1791         (CFLAGS-tst-mbswcs2.c): Likewise.
1792         (CFLAGS-tst-mbswcs3.c): Likewise.
1793         (CFLAGS-tst-mbswcs4.c): Likewise.
1794         (CFLAGS-tst-mbswcs5.c): Likewise.
1795         (CFLAGS-tst-trans.c): Likewise
1796
1797 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1798
1799         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1800         rather than assuming they won't contain any '%'s.
1801
1802 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1803
1804         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1805         inhibit_loop_to_libcall to avoid recursive calls.
1806         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1807         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1808
1809 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1810
1811         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1812         prototype.
1813
1814 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1815
1816         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1817         integer value instead of boolean.
1818
1819 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1820
1821         * malloc/malloc.c: Fix powerof2 check.
1822
1823 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1824
1825         * locale/programs/locfile.h (maybe_swap_uint32):
1826         Remove inline and add unused attribute.
1827
1828 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1829
1830         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1831         Truncating assembler expression to a .long expression.
1832
1833 2014-12-11  Andreas Schwab  <schwab@suse.de>
1834
1835         * elf/rtld.c (struct map_args): Constify str member.
1836         (do_preload): Constify fname argument.
1837
1838 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1839
1840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1841         constants definition.
1842
1843 2014-12-11  Andreas Schwab  <schwab@suse.de>
1844
1845         [BZ #16657]
1846         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1847         FORCE_ELISION instead of DO_ELISION.
1848         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1849         Remove.
1850         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1851         Likewise.
1852
1853         * iconvdata/gconv-modules: Remove duplicate entry.
1854
1855 2014-12-11  Will Newton  <will.newton@linaro.org>
1856
1857         Merge gettext 0.19.3 into intl/.
1858
1859         This involves a number of cosmetic changes to comments
1860         and ANSI function definitions and prototypes throughout
1861         all the files. The gettext copyright header is used but
1862         with the date ranges taken from the glibc copy.
1863
1864         * NEWS: Add gettext merge to 2.21.
1865         * intl/bindtextdom.c: Switch to gettext copyright.
1866         Use ANSI definitions and prototypes.
1867         Use gl_* locking primitives rather than __libc_* ones.
1868         Use __builtin_expect rather than __glibc_likely/unlikely.
1869         * intl/dcgettext.c: Switch to gettext copyright.
1870         Use ANSI definitions and prototypes.
1871         * intl/dcigettext.c: Switch to gettext copyright.
1872         Use ANSI definitions and prototypes.
1873         (INTDIV0_RAISES_SIGFPE): New define.
1874         Use gl_* locking primitives rather than __libc_* ones.
1875         Include eval-plural.h instead of plural-eval.c.
1876         Use __builtin_expect rather than __glibc_likely/unlikely.
1877         * intl/dcngettext.c: Switch to gettext copyright.
1878         Use ANSI definitions and prototypes.
1879         * intl/dgettext.c: Likewise.
1880         * intl/dngettext.c: Likewise.
1881         * intl/plural-eval.c: Renamed to...
1882         * intl/eval-plural.h: ...this.
1883         * intl/explodename.c: Switch to gettext copyright.
1884         Use ANSI definitions and prototypes.
1885         (_nl_explode_name): Use strchr instead of __rawmemchr.
1886         * intl/finddomain.c: Switch to gettext copyright.
1887         Use ANSI definitions and prototypes.
1888         Use gl_* locking primitives rather than __libc_* ones.
1889         (_nl_find_domain): Use malloc rather than alloca for
1890         allocation of temporary locale name.
1891         * intl/gettext.c: Switch to gettext copyright.
1892         Use ANSI definitions and prototypes.
1893         * intl/gettextP.h: Switch to gettext copyright.
1894         Use ANSI definitions and prototypes.
1895         Use gl_* locking primitives rather than __libc_* ones.
1896         * intl/gmo.h: Switch to gettext copyright.
1897         (struct sysdep_string): Move struct segment_pair outside of
1898         struct definition.
1899         * intl/hash-string.c: Use ANSI definitions and prototypes.
1900         * intl/hash-string.h: Switch to gettext copyright.
1901         Use ANSI definitions and prototypes.
1902         * intl/l10nflist.c: Switch to gettext copyright.
1903         Use ANSI definitions and prototypes.
1904         (_nl_normalize_codeset): Avoid integer overflow.
1905         * intl/loadinfo.h: Switch to gettext copyright.
1906         Use ANSI definitions and prototypes.
1907         (LIBINTL_DLL_EXPORTED): New define.
1908         (PATH_SEPARATOR): New define.
1909         * intl/loadmsgcat.c: Switch to gettext copyright.
1910         * intl/localealias.c: Switch to gettext copyright.
1911         Use ANSI definitions and prototypes.
1912         (_nl_expand_alias): Use PATH_SEPARATOR.
1913         * intl/ngettext.c: Switch to gettext copyright.
1914         Use ANSI definitions and prototypes.
1915         * intl/plural-exp.c: Likewise.
1916         * intl/plural-exp.h: Switch to gettext copyright.
1917         Use ANSI definitions and prototypes.
1918         (struct expression): Move definition of enum operator outside
1919         of struct definition.
1920         * intl/plural.c: Regenerate.
1921         * intl/plural.y: Switch to gettext copyright.
1922         Use ANSI definitions and prototypes.
1923         Port to bison 3.0.
1924         * intl/textdomain.c: Switch to gettext copyright.
1925         Use ANSI definitions and prototypes.
1926         Use gl_* locking primitives rather than __libc_* ones.
1927
1928 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1929
1930         * debug/warning-nop.c: Add used atrribute.
1931
1932 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1933
1934         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1935
1936         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1937         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1938         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1939
1940 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1941             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1942
1943         [BZ #17634]
1944         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1945         Undefine after defining function.  Define as weak alias of
1946         __wcschr.  Use libc_hidden_weak.
1947         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1948         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1949         (libc_hidden_def): Also define __GI___wcschr alias.
1950         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1951         __wcschr and define as weak alias of __wcschr.
1952         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1953         __wcschr.
1954         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1955         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1956         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1957         libc_hidden_weak.  Do not use libc_hidden_def.
1958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1959         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1960         __GI___wcschr alias.
1961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1962         [IS_IN (libc)] (wcschr): Define as macro expanding to
1963         __redirect_wcschr.
1964         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1965         [IS_IN (libc)] (__wcschr_power6): Likewise.
1966         [IS_IN (libc)] (__wcschr_power7): Likewise.
1967         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1968         instead of wcschr.
1969         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1970         __libc_wcschr.
1971         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1972         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1973         __wcschr and define as weak alias of __wcschr.  Use
1974         libc_hidden_builtin_def.
1975         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1976         as weak alias of __wcschr.  Use libc_hidden_weak.
1977         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1978         wcschr.
1979         * time/era.c (_nl_init_era_entries): Likewise.
1980         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1981         variable.
1982         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1983         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1984
1985 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1986
1987         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1988         format for long int variable.
1989
1990 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1991
1992         [BZ #10672]
1993         * manual/search.texi: (Array Sort Function): Remove claim how to make
1994         qsort stable.
1995
1996 2014-12-10  Andreas Schwab  <schwab@suse.de>
1997
1998         [BZ #12847]
1999         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2000         user-controlled locks.
2001
2002 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2003
2004         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2005         register.
2006
2007 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2008
2009         * configure.ac (--disable-werror): New configure option.
2010         (enable_werror): New AC_SUBST.
2011         * configure: Regenerated.
2012         * config.make.in (enable-werror): New variable.
2013         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2014         -Wno-error=undef.
2015         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2016         * manual/install.texi (Configuring and compiling): Document
2017         --disable-werror.
2018         * INSTALL: Regenerated.
2019         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2020         (CFLAGS-tst-chk2.c): Likewise.
2021         (CFLAGS-tst-chk3.c): Likewise.
2022         (CFLAGS-tst-chk4.cc): Likewise.
2023         (CFLAGS-tst-chk5.cc): Likewise.
2024         (CFLAGS-tst-chk6.cc): Likewise.
2025         (CFLAGS-tst-lfschk1.c): Likewise.
2026         (CFLAGS-tst-lfschk2.c): Likewise.
2027         (CFLAGS-tst-lfschk3.c): Likewise.
2028         (CFLAGS-tst-lfschk4.cc): Likewise.
2029         (CFLAGS-tst-lfschk5.cc): Likewise.
2030         (CFLAGS-tst-lfschk6.cc): Likewise.
2031
2032         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2033         (main): Disable -Wdeprecated-declarations around calls to
2034         register_printf_function.
2035
2036         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2037         (do_test): Disable -Wdiv-by-zero around some calls to
2038         fwrite_unlocked and fread_unlocked.
2039
2040         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2041         (DIAG_POP_NEEDS_COMMENT): Likewise.
2042         (_DIAG_STR1): Likewise.
2043         (_DIAG_STR): Likewise.
2044         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2045         * stdio-common/bug21.c: Include <libc-internal.h>.
2046         (do_test): Disable -Wformat around call to sscanf.
2047         * stdio-common/scanf14.c: Include <libc-internal.h>.
2048         (main): Disable -Wformat around some calls to scanf functions.
2049
2050 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2051
2052         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2053
2054 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2055
2056         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2057         stack variable alignment.
2058
2059 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2060
2061         [BZ #17682]
2062         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2063         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2064         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2065         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2066         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2067         __getrlimit instead of getrlimit.
2068         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2069         __gettimeofday instead of gettimeofday.
2070         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2071         Likewise.
2072         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2073         Likewise.
2074         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2075         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2076         Remove variable.
2077         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2078         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2079
2080 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2081
2082         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2083         for wide-character tests.
2084
2085 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2086
2087         * io/openat64.c: #include <libc-internal.h>
2088         (__openat64): Prototypify.  Use ignore_value on MODE.
2089         * io/openat.c: Likewise.
2090         * misc/reboot.c: #include <libc-internal.h>
2091         (reboot): Prototypify.  Use ignore_value on HOWTO.
2092         * misc/ptrace.c: #include <libc-internal.h>
2093         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2094
2095 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2096
2097         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2098         XPG4, UNIX98 and XOPEN2K.
2099         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2100         Remove variable.
2101         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2102
2103 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2104
2105         * libio/fileops.c: Use ISO C style for function definitions.
2106         * libio/iofopen.c: Likewise.
2107         * libio/wfileops.c: Likewise.
2108
2109         [BZ #17653]
2110         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2111         offset on EOF.
2112         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2113         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2114         (fgets_func): Function pointer to fgets and fgetws.
2115         (do_ftell_test): Add test to verify ftell value after read
2116         EOF.
2117         (do_test): Set fgets_func.
2118
2119         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2120         O_TRUNC flag for w and w+ modes.
2121         (do_rewind_test): Likewise.
2122         (do_ftell_test): Likewise.
2123         (do_write_test): Likewise.
2124
2125         [BZ #17647]
2126         * libio/fileops.c (do_ftell): Seek only when there are
2127         unflushed writes.
2128         * libio/wfileops.c (do_ftell_wide): Likewise.
2129         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2130         test case.
2131         (do_one_test): Call it.
2132
2133 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2134
2135         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2136         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2137         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2138         Remove variable.
2139         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2140         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2141         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2142
2143 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2144
2145         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2146         Remove variable.
2147         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2148
2149         [BZ #17668]
2150         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2151         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2152         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2153         __freeifaddrs.  Use libc_hidden_weak.
2154         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2155         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2156         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2157         __freeifaddrs.  Use libc_hidden_weak.
2158         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2159         __getifaddrs and define as weak alias of __getifaddrs.  Use
2160         libc_hidden_weak.
2161         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2162         __freeifaddrs.  Use libc_hidden_weak.
2163         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2164         Remove variable.
2165         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2166         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2167
2168 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2169
2170         [BZ #17601]
2171         * sysdeps/mips/start.S (__start): Use indirect jump to call
2172         __libc_start_main.
2173
2174 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2175
2176         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2177
2178         * nptl/tst-mutex1.c: Include <stdbool.h>.
2179         [!ATTR] (ATTR_NULL): New macro.
2180         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2181         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2182         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2183
2184         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2185         to char *.
2186
2187         [BZ #17665]
2188         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2189         Change conditional to [__USE_MISC].
2190
2191         [BZ #17664]
2192         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2193         fgets_unlocked.
2194         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2195         __fgets_unlocked.
2196         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2197         fgets_unlocked.
2198         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2199         Remove variable.
2200         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2201         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2202         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2203         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2204         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2205         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2206         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2207         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2208         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2209
2210         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2211
2212 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2213
2214         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2215         Remove strpbrk objects.
2216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2217         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2218         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2220         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2221         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2222
2223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2224         Remove strcspn objects.
2225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2226         (__libc_ifunc_impl_list): Remove strcspn implementation.
2227         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2228         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2229         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2230         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2231
2232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2233         Remove strspn objetcs.
2234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2235         (__libc_ifunc_impl_list): Remove strspn implementation.
2236         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2237         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2238         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2239         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2240
2241 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2242
2243         [BZ #17581]
2244         * malloc/hooks.c
2245         (mem2mem_check): Add a terminator to the chain of checking blocks.
2246         (malloc_check_get_size): Use it here.
2247         (mem2chunk_check): Ditto.
2248
2249 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2250
2251         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2252         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2253
2254 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2255
2256         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2257
2258         * nptl/nptl-init.c: Include libc-internal.h.
2259         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2260
2261         * elf/ldconfig.c (search_dir): Expand comment.
2262
2263 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2264
2265         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2266         variable.
2267         (linknamespace-symlist-stdlibs-tests): Likewise.
2268         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2269         instead of $(objpfx)symlist-stdlibs.
2270         (linknamespace-libs-isoc): New variable.
2271         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2272         (linknamespace-libs-ISO): New variable.
2273         (linknamespace-libs-ISO99): Likewise.
2274         (linknamespace-libs-ISO11): Likewise.
2275         (linknamespace-libs-XPG3): Likewise.
2276         (linknamespace-libs-XPG4): Likewise.
2277         (linknamespace-libs-POSIX): Likewise.
2278         (linknamespace-libs-UNIX98): Likewise.
2279         (linknamespace-libs-XOPEN2K): Likewise.
2280         (linknamespace-libs-POSIX2008): Likewise.
2281         (linknamespace-libs-XOPEN2K8): Likewise.
2282         ($(objpfx)symlist-stdlibs): Replace by
2283         $(linknamespace-symlist-stdlibs-tests).  Use
2284         $(linknamespace-libs-$*) as set of libraries.
2285         ($(linknamespace-header-tests)): Update dependencies.  Use
2286         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2287         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2288         * conform/linknamespace.pl: Remove comment about considering
2289         definitions of symbols from irrelevant libraries.
2290
2291 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2292
2293         [BZ #13862]
2294         * elf/dl-tls.c: Include <atomic.h>.
2295         (oom): Remove #ifdef SHARED/#endif.
2296         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2297         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2298         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2299         big enough.
2300         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2301         * nptl/Makefile (tests): Add tst-stack4.
2302         (modules-names): Add tst-stack4mod.
2303         ($(objpfx)tst-stack4): New.
2304         (tst-stack4mod.sos): Likewise.
2305         ($(objpfx)tst-stack4.out): Likewise.
2306         ($(tst-stack4mod.sos)): Likewise.
2307         (clean): Likewise.
2308         * nptl/tst-stack4.c: New file.
2309         * nptl/tst-stack4mod.c: Likewise.
2310
2311 2014-11-27  J. Brown  <jb999@gmx.de>
2312
2313         * sysdeps/x86/bits/string.h: Add recent CPUs.
2314
2315 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2316
2317         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2318         sigblock.
2319
2320         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2321         feof.
2322
2323         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2324         variable.
2325
2326 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2327
2328         * nscd/connections.c: Include libc-internal.h because of macro
2329         usage ignore_value.
2330
2331 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2332
2333         * string/bits/string3.h (__warn_memset_zero_len): Don't
2334         declare for gcc newer than 5.0.
2335         (memset): Don't test for zero-length __LEN for gcc newer than
2336         5.0.
2337
2338 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2339
2340         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2341         size_t for %zu format.
2342
2343         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2344         difference, not %ju.
2345
2346 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2347
2348         * include/libc-internal.h (ignore_value): New macro.
2349         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2350         with ignore_value.
2351
2352         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2353         definition.
2354
2355         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2356         pthread_cleanup_push to void *.
2357
2358         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2359         Undefine.
2360
2361         [BZ #16619]
2362         [BZ #16740]
2363         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2364         instead of 1L << 52.
2365
2366         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2367         * libio/bug-rewind2.c (do_test): Likewise.
2368
2369         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2370         * debug/test-strcpy_chk-ifunc.c: Likewise.
2371         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2372         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2373         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2374         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2375         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2376         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2377         * Rules [$(multi-arch) = no] (tests): Do not filter out
2378         $(tests-ifunc).
2379         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2380         * debug/Makefile (tests-ifunc): Remove variable.
2381         (tests): Do not add $(tests-ifunc).
2382         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2383         (tests): Do not add $(tests-ifunc).
2384         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2385         [TEST_IFUNC]: Remove conditionals.
2386         * string/test-string.h (TEST_IFUNC): Remove macro.
2387         [TEST_IFUNC]: Remove conditionals.
2388
2389         * string/test-strchr.c [!WIDE] (L): New macro.
2390         [WIDE] (L): Likewise.
2391         (check1): Use CHAR instead of char.  Use L on string and character
2392         constants.
2393
2394 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2395
2396         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2397         tests.
2398         * sysdeps/powerpc/bits/atomic.h
2399         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2400         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2401         (atomic_exchange_and_add_acq): Likewise.
2402         (atomic_exchange_and_add_rel): Likewise.
2403         * sysdeps/powerpc/powerpc32/bits/atomic.h
2404         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2405         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2406         * sysdeps/powerpc/powerpc64/bits/atomic.h
2407         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2408         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2409
2410 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2411
2412         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2413         Change synchronization of __sched_fifo_min_prio and
2414         __sched_fifo_max_prio.
2415         * nptl/pthread_mutexattr_getprioceiling.c
2416         (pthread_mutexattr_getprioceiling): Likewise.
2417         * nptl/pthread_mutexattr_setprioceiling.c
2418         (pthread_mutexattr_setprioceiling): Likewise.
2419         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2420         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2421         Likewise.
2422
2423 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2424
2425         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2426         void.
2427
2428 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2429
2430         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2431         third argument const.
2432
2433 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2434
2435         fnmatch: work around GCC compiler warning bug with uninit var
2436         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2437         This works around a bug with x86-64 GCC 4.9.2 and earlier
2438         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2439         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2440         used uninitialized in this function [-Wmaybe-uninitialized]".
2441
2442 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2443
2444         * posix/bug-regex31.c (main): Return RES not 0.
2445
2446 2014-11-25  Anton Blanchard <anton@samba.org>
2447
2448         * sysdeps/powerpc/bits/atomic.h
2449         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2450
2451 2014-11-24  Sterling Augustine  <saugustine@google.com>
2452
2453         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2454
2455 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2456
2457         [BZ #17608]
2458         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2459
2460 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2461
2462         [BZ #17633]
2463         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2464         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2465         variable.
2466         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2467         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2468
2469 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2470
2471         * string/strncpy.c (strncpy): Improve performance by using memset.
2472
2473 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2474
2475         * string/strcpy.c (strcpy):
2476         Improve performance by using strlen and memcpy.
2477
2478 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2479
2480         * string/strcoll_l.c (get_next_seq): __always_inline.
2481         * string/strcoll_l.c (do_compare): __always_inline.
2482
2483 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2484
2485         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2486         defined.
2487         * include/mqueue.h: Likewise.
2488         * include/stdlib.h: Likewise.
2489
2490         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2491         (get_null_defines): Adjust.
2492         * sunrpc/Makefile: Adjust comment.
2493         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2494         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2495         (CFLAGS-interp.c): Likewise.
2496         (CFLAGS-ldconfig.c): Likewise.
2497         (CPPFLAGS-.os): Likewise.
2498         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2499         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2500         * extra-modules.mk (extra-modules.mk): Likewise.
2501         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2502         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2503         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2504         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2505         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2506         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2507         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2508         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2509         * iconvdata/Makefile (CPPFLAGS): Likewise.
2510         (cpp-srcs-left): Add libof for all iconvdata routines.
2511         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2512         * include/assert.h: Likewise.
2513         * include/ctype.h: Likewise.
2514         * include/errno.h: Likewise.
2515         * include/libc-symbols.h: Likewise.
2516         * include/math.h: Likewise.
2517         * include/netdb.h: Likewise.
2518         * include/resolv.h: Likewise.
2519         * include/stdio.h: Likewise.
2520         * include/stdlib.h: Likewise.
2521         * include/string.h: Likewise.
2522         * include/sys/stat.h: Likewise.
2523         * include/wctype.h: Likewise.
2524         * intl/l10nflist.c: Likewise.
2525         * libidn/idn-stub.c: Likewise.
2526         * libio/libioP.h: Likewise.
2527         * nptl/libc_multiple_threads.c: Likewise.
2528         * nptl/pthreadP.h: Likewise.
2529         * posix/regex_internal.h: Likewise.
2530         * resolv/res_hconf.c: Likewise.
2531         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2532         * sysdeps/arm/memmove.S: Likewise.
2533         * sysdeps/arm/sysdep.h: Likewise.
2534         * sysdeps/generic/_itoa.h: Likewise.
2535         * sysdeps/generic/symbol-hacks.h: Likewise.
2536         * sysdeps/gnu/errlist.awk: Likewise.
2537         * sysdeps/gnu/errlist.c: Likewise.
2538         * sysdeps/i386/i586/memcpy.S: Likewise.
2539         * sysdeps/i386/i586/memset.S: Likewise.
2540         * sysdeps/i386/i686/memcpy.S: Likewise.
2541         * sysdeps/i386/i686/memmove.S: Likewise.
2542         * sysdeps/i386/i686/mempcpy.S: Likewise.
2543         * sysdeps/i386/i686/memset.S: Likewise.
2544         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2545         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2546         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2547         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2549         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2550         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2551         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2552         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2554         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2555         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2556         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2557         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2558         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2559         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2560         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2561         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2562         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2563         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2564         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2565         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2566         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2567         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2568         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2569         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2570         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2572         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2573         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2574         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2575         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2577         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2578         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2579         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2580         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2581         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2582         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2583         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2584         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2585         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2586         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2587         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2588         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2589         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2590         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2591         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2592         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2593         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2594         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2595         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2596         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2597         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2598         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2599         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2600         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2601         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2602         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2603         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2604         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2605         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2606         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2607         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2608         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2609         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2610         * sysdeps/posix/closedir.c: Likewise.
2611         * sysdeps/posix/opendir.c: Likewise.
2612         * sysdeps/posix/readdir.c: Likewise.
2613         * sysdeps/posix/rewinddir.c: Likewise.
2614         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2615         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2616         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2617         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2620         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2625         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2626         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2627         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2628         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2629         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2631         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2633         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2637         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2642         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2650         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2651         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2652         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2653         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2654         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2655         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2656         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2657         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2658         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2659         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2660         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2661         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2662         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2663         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2664         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2665         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2666         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2668         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2669         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2671         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2672         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2673         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2674         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2676         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2677         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2678         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2679         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2680         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2681         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2682         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2683         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2684         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2685         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2686         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2687         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2688         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2689         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2690         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2691         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2692         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2693         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2694         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2696         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2698         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2700         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2701         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2702         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2703         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2704         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2705         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2706         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2710         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2712         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2713         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2714         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2715         * sysdeps/unix/alpha/sysdep.S: Likewise.
2716         * sysdeps/unix/alpha/sysdep.h: Likewise.
2717         * sysdeps/unix/make-syscalls.sh: Likewise.
2718         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2720         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2721         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2722         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2723         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2724         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2725         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2726         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2727         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2728         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2729         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2732         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2733         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2734         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2735         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2736         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2737         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2738         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2739         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2740         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2741         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2742         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2743         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2747         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2752         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2756         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2757         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2759         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2760         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2761         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2762         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2765         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2768         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2769         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2770         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2771         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2774         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2776         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2777         * sysdeps/x86_64/memcpy.S: Likewise.
2778         * sysdeps/x86_64/memmove.c: Likewise.
2779         * sysdeps/x86_64/memset.S: Likewise.
2780         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2781         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2782         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2783         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2784         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2785         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2786         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2787         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2788         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2789         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2790         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2791         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2792         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2793         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2794         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2795         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2796         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2797         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2798         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2799         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2800         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2801         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2802         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2803         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2804         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2805         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2806         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2807         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2808         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2809         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2810         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2811         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2812         * sysdeps/x86_64/strcmp.S: Likewise.
2813
2814         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2815
2816         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2817         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2818         * elf/rtld-Rules: Likewise.
2819         * elf/setup-vdso.h: Likewise.
2820         * include/assert.h: Likewise.
2821         * include/bits/stdlib-float.h: Likewise.
2822         * include/errno.h: Likewise.
2823         * include/sys/stat.h: Likewise.
2824         * include/unistd.h: Likewise.
2825         * sysdeps/aarch64/setjmp.S: Likewise.
2826         * sysdeps/alpha/setjmp.S: Likewise.
2827         * sysdeps/arm/__longjmp.S: Likewise.
2828         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2829         * sysdeps/arm/setjmp.S: Likewise.
2830         * sysdeps/arm/sysdep.h: Likewise.
2831         * sysdeps/generic/_itoa.h: Likewise.
2832         * sysdeps/generic/dl-sysdep.h: Likewise.
2833         * sysdeps/generic/ldsodefs.h: Likewise.
2834         * sysdeps/i386/dl-tls.h: Likewise.
2835         * sysdeps/i386/setjmp.S: Likewise.
2836         * sysdeps/m68k/setjmp.c: Likewise.
2837         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2838         * sysdeps/mach/hurd/opendir.c: Likewise.
2839         * sysdeps/posix/getcwd.c: Likewise.
2840         * sysdeps/posix/opendir.c: Likewise.
2841         * sysdeps/posix/profil.c: Likewise.
2842         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2845         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2846         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2847         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2848         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2849         * sysdeps/s390/dl-tls.h: Likewise.
2850         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2851         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2852         * sysdeps/sh/sh3/setjmp.S: Likewise.
2853         * sysdeps/sh/sh4/setjmp.S: Likewise.
2854         * sysdeps/unix/alpha/sysdep.h: Likewise.
2855         * sysdeps/unix/arm/sysdep.S: Likewise.
2856         * sysdeps/unix/i386/sysdep.S: Likewise.
2857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2858         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2859         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2860         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2862         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2863         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2864         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2865         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2866         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2867         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2872         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2875         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2876         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2880         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2881         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2885         * sysdeps/x86_64/setjmp.S: Likewise.
2886
2887         * include/math.h: Use IS_IN instead of IS_IN_libm.
2888         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2900         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2901         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2903         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2904         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2905         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2906         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2907         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2908         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2909         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2910         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2911         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2912         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2913         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2914         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2915         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2916         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2917         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2918         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2919         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2920         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2922         Likewise.
2923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2924         Likewise.
2925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2926         Likewise.
2927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2928         Likewise.
2929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2930         Likewise.
2931         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2932         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2933         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2934         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2935         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2936         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2942         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2944         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2945         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2946         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2947         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2951         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2952         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2955         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2957         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2958
2959         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2960         * nptl/pthreadP.h: Likewise.
2961         * nptl_db/structs.def: Likewise.
2962         * sysdeps/arm/sysdep.h: Likewise.
2963         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2964         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2965         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2966         * sysdeps/unix/alpha/sysdep.h: Likewise.
2967         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2969         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2970         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2971         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2972         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2973         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2974         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2975         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2976         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2977         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2978         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2979         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2980         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2984         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2985         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2986         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2988         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2989         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2990         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2991         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2992         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2993
2994         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2995         * nptl/pthreadP.h: Likewise.
2996         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2997         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2999         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3000         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3001         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3002         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3003         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3004         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3005         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3006         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3007         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3014         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3017         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3018         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3019         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3020
3021         * dlfcn/dladdr.c: Use IS_IN.
3022         * dlfcn/dladdr1.c: Likewise.
3023         * dlfcn/dlclose.c: Likewise.
3024         * dlfcn/dlerror.c: Likewise.
3025         * dlfcn/dlinfo.c: Likewise.
3026         * dlfcn/dlmopen.c: Likewise.
3027         * dlfcn/dlopen.c: Likewise.
3028         * dlfcn/dlsym.c: Likewise.
3029         * dlfcn/dlvsym.c: Likewise.
3030
3031         * include/ifaddrs.h: Use IS_IN.
3032         * inet/check_pf.c: Likewise.
3033         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3034         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3035
3036         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3037         IS_IN_ldconfig.
3038         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3039         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3040
3041         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3042         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3043         IS_IN (libc).
3044
3045         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3046
3047         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3048         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3049         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3050         * include/libc-symbols.h (IS_IN_LIB): New macro.
3051         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3052         * include/netdb.h: Likewise.
3053         * include/stap-probe.h: Remove all uses of IN_LIB.
3054
3055         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3056         instead of IN_MODULE.
3057         * include/libc-symbols.h (IN_MODULE): Define using
3058         MODULE_NAME.
3059         (PASTE_NAME, PASTE_NAME1): New macros.
3060         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3061         of IN_LIB.
3062         (STAP_PROBE_ASM): Likewise.
3063
3064 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3065
3066         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3067         __mach_init in dlopened libc.
3068
3069 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3070
3071         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3072         * sysdeps/arm/preconfigure: Regenerate.
3073
3074 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3075
3076         * nptl/pthread_create.c (__pthread_create_2_1): Set
3077         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3078         when copying values from IATTR into PD.
3079
3080 2014-11-21  Will Newton  <will.newton@linaro.org>
3081             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3082
3083         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3084         Refactor inline-asm.  Also add comment.
3085
3086         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3087         ElfW macro instead of hardcoded Elf64 types.
3088         (la_aarch64_gnu_pltenter): Likewise.
3089         * sysdeps/aarch64/dl-machine.h
3090         (elf_machine_runtime_setup): Use ElfW(Addr).
3091
3092         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3093         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3094         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3095         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3096         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3097         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3098         (R_AARCH64_TLS_DTPMOD): This.
3099         (R_AARCH64_TLS_DTPREL64): Rename to ...
3100         (R_AARCH64_TLS_DTPREL): This.
3101         (R_AARCH64_TLS_TPREL64): Rename to ...
3102         (R_AARCH64_TLS_TPREL): This.
3103         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3104         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3105         R_AARCH64_TLS_TPREL64.
3106         (elf_machine_rela): Likewise.
3107
3108 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3109
3110         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3111         by setting it to 0.  64b atomics are not supported currently.
3112
3113 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3114
3115         [BZ #16469]
3116         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3117         search domain names.
3118
3119 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3120
3121         [BZ #16469]
3122         * NEWS: Update.
3123         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3124         trailing dot.
3125         * posix/tst-getaddrinfo5.c: New.
3126         * posix/Makefile (tests): Add it.
3127
3128 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3129
3130         [BZ #14498]
3131         * NEWS: Fixed.
3132         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3133         after parsing line but before break_if_match.
3134         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3135         if there is a protocol mismatch.
3136
3137 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3138
3139         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3140         because the potential race is on the user-supplied stream.
3141
3142 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3143
3144         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3145         string literal if not passed a buffer.
3146         * manual/job.texi (ctermid): Update reasoning, note deviation
3147         from posix, suggest mtasurace when not passed a buffer, for
3148         future non-preliminary safety notes.
3149
3150 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3151
3152         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3153         of not passing it a buffer.
3154         Reported by Peng Haitao.
3155
3156 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3157
3158         * manual/Makefile ($(objpfx)stamp-summary): Require
3159         check-safety.sh to pass.
3160         * manual/check-safety.sh: Wish for verification that every
3161         @deftypefn and @deftypefun is followed by a @safety remark.
3162
3163 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3164
3165         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3166
3167         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3168         PTHREAD_CANCEL_ASYNCHRONOUS.
3169         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3170         send SIGCANCEL.
3171
3172         * nptl/default-sched.h: New file.
3173         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3174         * nptl/pthread_create.c: Include it.
3175         (__pthread_create_2_1): Use collect_default_sched instead of making
3176         Linux syscalls here directly.
3177
3178 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3179
3180         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3181         __pthread_once): Use C11 atomics.
3182
3183 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3184
3185         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3186
3187 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3188
3189         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3190         atomic_thread_fence_acquire, atomic_thread_fence_release,
3191         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3192         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3193         atomic_compare_exchange_weak_relaxed,
3194         atomic_compare_exchange_weak_acquire,
3195         atomic_compare_exchange_weak_release,
3196         atomic_exchange_acquire, atomic_exchange_release,
3197         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3198         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3199         atomic_fetch_and_acquire,
3200         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3201
3202 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3203
3204         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3205         USE_ATOMIC_COMPILER_BUILTINS): Define.
3206         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3208         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3210         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3212         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3214         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3216         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3218         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3220         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3222         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3224         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3226         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3228         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3230         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3232         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3234         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3236         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3238         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3240         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3241         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3242         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3244         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3246
3247 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3248
3249         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3250         the sched_priority value here.  It was already checked when the user
3251         called pthread_attr_setschedparam.
3252
3253         * nptl/tst-bad-schedattr.c: New file.
3254         * nptl/Makefile (tests): Add it.
3255
3256 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3257             Florian Weimer  <fweimer@redhat.com>
3258             Joseph Myers  <joseph@codesourcery.com>
3259             Adam Conrad  <adconrad@0c3.net>
3260             Andreas Schwab  <schwab@suse.de>
3261             Brooks  <bmoses@google.com>
3262
3263         [BZ #17625]
3264         * wordexp-test.c (__dso_handle): Add prototype.
3265         (__register_atfork): Likewise.
3266         (__app_register_atfork): New function.
3267         (registered_forks): New global.
3268         (register_fork): New function.
3269         (test_case): Add 3 new tests for WRDE_CMDSUB.
3270         (main): Call __app_register_atfork.
3271         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3272         fork count is non-zero fail the test.
3273         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3274         is set.
3275         (parse_dollars): Remove check for WRDE_NOCMD.
3276         (parse_dquote): Likewise.
3277
3278 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3279
3280         * Makeconfig (built-modules): List non-library modules to be
3281         built.
3282         (module-cppflags): Include libc-modules.h for
3283         everything except shlib-versions.v.i.
3284         (CPPFLAGS): Use it.
3285         (before-compile): Add libc-modules.h.
3286         ($(common-objpfx)libc-modules.h,
3287         $(common-objpfx)libc-modules.stmp): New targets.
3288         (common-generated): Add libc-modules.h and libc-modules.stmp.
3289         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3290         * include/libc-symbols.h: Don't include libc-modules.h.
3291         * include/libc-modules.h: Remove file.
3292         * scripts/gen-libc-modules.awk: New script to generate
3293         libc-modules.h.
3294         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3295         Depend on libc-modules.stmp.
3296
3297         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3298
3299         * Makeconfig (in-module): Get value of libof set for the
3300         translation unit.
3301         (CPPFLAGS): Use $(in-module).
3302         * Makerules: Don't suffix routine names for nonlib.
3303         * include/libc-modules.h: New file.
3304         * include/libc-symbols.h: Include libc-modules.h
3305         (IS_IN): New macro to replace IS_IN_* macros.
3306         * elf/Makefile: Set libof-* for each routine.
3307         * elf/rtld-Rules: Likewise.
3308         * extra-modules.mk: Likewise.
3309         * iconv/Makefile: Likewise.
3310         * iconvdata/Makefile: Likewise.
3311         * locale/Makefile: Likewise.
3312         * malloc/Makefile: Likewise.
3313         * nss/Makefile: Likewise.
3314         * sysdeps/gnu/Makefile: Likewise.
3315         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3316         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3317         * sysdeps/s390/s390-64/Makefile: Likewise.
3318         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3319         CPPFLAGS for nscd instead of nonlib.
3320
3321 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3322
3323         * nptl/createthread.c: New file.
3324
3325         * nptl/createthread.c: Moved ...
3326         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3327
3328         * nptl/createthread.c: Add proper top-line comment.
3329         (do_clone): Folded into ...
3330         (create_thread): ... here.  Take new arguments STOPPED_START and
3331         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3332         increment __nptl_threads, do event-reporting logic, do
3333         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3334         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3335         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3336         just send SIGCANCEL.
3337         * nptl/pthread_create.c: Forward-declare create_thread before
3338         including createthread.c.
3339         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3340         declaration, and new macro START_THREAD_SELF to replace argument.
3341         Remove return statement.
3342         (report_thread_creation): New function.
3343         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3344         synchronization logic, and __nptl_nthreads increment here, around
3345         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3346         PD->parent_cancelhandling here, before create_thread.  When
3347         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3348         __deallocate_stack, and ENOMEM translation here.
3349
3350 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3351
3352         [BZ #17616]
3353         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3354         (mptwo): Rename to __mptwo.
3355         (__inv): Use __mptwo instead of mptwo.
3356         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3357         (mptwo): Rename to __mptwo.
3358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3359         of mpone and __mptwo instead of mptwo.
3360         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3361         instead of mpone.
3362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3363         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3364         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3365         of mpone and __mptwo instead of mptwo.
3366         (__mpranred): Use __mpone instead of mpone.
3367         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3368         variable.
3369         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3370         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3371         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3372         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3373         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3374         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3375         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3376         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3377         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3378         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3379         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3380         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3381         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3382         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3383         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3384         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3385         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3386         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3387         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3388
3389 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3390
3391         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3392         replace BSD Handler xref with BSD Signal Handling.
3393
3394 2014-11-17  Richard Henderson  <rth@redhat.com>
3395
3396         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3397         (_FP_PACK_RAW_2): Remove.
3398         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3399         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3400         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3401         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3402         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3403         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3404         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3405         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3406         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3407         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3408         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3409         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3410         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3411         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3412         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3413         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3414
3415 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3416
3417         * signal/signal.h [__USE_MISC]
3418         (struct sigvec): Remove type.
3419         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3420         (sigvec): Remove declaration.
3421         * sysdeps/posix/sigvec.c: Moved ...
3422         * signal/sigvec.c: ... here, replacing old file.
3423         (struct sigvec): New type, copied from old signal.h definition.
3424         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3425         (__sigvec): Convert definition to prototype.
3426         (sigvec): Replace weak_alias with compat_symbol.
3427         * signal/Versions (libc: GLIBC_2.21): New version set.
3428         * include/signal.h: Remove __sigvec declaration.
3429         * sysdeps/unix/bsd/sigvec.c: Remove file.
3430         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3431         * manual/signal.texi (BSD Handler): Remove subsection.
3432         Move siginterrupt up to ...
3433         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3434         (Blocking in BSD): Fold subsection into its parent.
3435         * NEWS: Mention sigvec removal.
3436
3437 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3438
3439         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3440         (DLA_FMS): Make definition conditional only on [__FMA4__].
3441         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3442         definition.
3443
3444         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3445         Make definition conditional only on [PROF].
3446         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3447         definition.
3448         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3449         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3450
3451         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3452         !__GNUC__].
3453         * include/signal.h (__sigpause): Move declaration above call to
3454         libc_hidden_proto.
3455         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3456         variable.
3457         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3458         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3459
3460 2014-11-14  David S. Miller  <davem@davemloft.net>
3461
3462         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3463         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3464
3465 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3466
3467         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3468         * configure: Regenerated.
3469         * manual/install.texi (Tools for Compilation): Document a
3470         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3471         compiler verified to work.
3472         * INSTALL: Regenerated.
3473
3474         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3475         redeclare with asm name.
3476         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3477         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3478         including <string.h>.
3479         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3480         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3481         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3483         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3485         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3486
3487 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3488
3489         * stdlib/strtol.c (__strtol): Use prototype definition.
3490
3491         [BZ #17594]
3492         * stdlib/strtol.c (SYM__): New macro.
3493         (SYM__1): Likewise.
3494         (__strtol): Likewise.
3495         (strtol): Rename to __strtol and define as weak alias of
3496         __strtol.  Use libc_hidden_weak.
3497
3498 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3499
3500         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3501         Use numbered labels in inline assembly.
3502
3503 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3504
3505         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3506         Add setjmp LIBC_PROBE.
3507         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3508         Likewise.
3509         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3510         Add longjmp, longjmp_target LIBC_PROBE.
3511         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3512         Likewise.
3513
3514 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3515
3516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3517         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3518         to get rid of unused variable warning.
3519
3520 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3521
3522         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3523         Check for unwind_backtrace ==  NULL only in SHARED case.
3524         (__backchain_backtrace): Compile only in SHARED case.
3525         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3526         Likewise.
3527         (__backchain_backtrace): Declare as static.
3528
3529 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3530
3531         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3532         (__libc_multiple_threads_ptr): Variable moved ...
3533         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3534
3535 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3536
3537         * conform/GlibcConform.pm: New file.
3538         * conform/conformtest.pl: Use GlibcConform module.
3539         * conform/linknamespace.pl: New file.
3540         * conform/list-header-symbols.pl: Likewise.
3541         * conform/Makefile (linknamespace-symlists-base): New variable.
3542         (linknamespace-symlists-tests): Likewise.
3543         (linknamespace-header-base): Likewise.
3544         (linknamespace-header-tests): Likewise.
3545         (tests-special): Add new tests.
3546         ($(linknamespace-symlists-tests)): New rule.
3547         (linknamespace-libs): New variable.
3548         ($(objpfx)symlist-stdlibs): New rule.
3549         ($(linknamespace-header-tests)): Likewise.
3550         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3551         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3552         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3553         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3554         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3555         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3556         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3557         (test-xfail-ISO/math.h/linknamespace): Likewise.
3558         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3559         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3560         (test-xfail-ISO/time.h/linknamespace): Likewise.
3561         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3562         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3563         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3564         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3565         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3566         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3567         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3568         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3569         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3570         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3571         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3572         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3573         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3574         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3575         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3576         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3577         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3578         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3579         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3580         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3581         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3582         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3583         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3584         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3585         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3586         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3587         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3588         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3589         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3590         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3591         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3592         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3593         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3594         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3595         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3596         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3597         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3598         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3599         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3600         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3601         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3602         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3603         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3604         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3605         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3606         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3607         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3608         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3609         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3610         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3611         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3612         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3613         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3614         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3615         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3616         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3617         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3618         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3619         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3620         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3621         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3622         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3623         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3624         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3625         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3626         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3627         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3628         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3629         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3630         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3631         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3632         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3633         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3634         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3635         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3636         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3637         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3638         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3639         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3640         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3641         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3642         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3643         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3644         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3645         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3646         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3647         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3648         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3649         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3650         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3651         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3652         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3653         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3654         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3655         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3656         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3657         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3658         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3659         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3660         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3661         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3662         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3663         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3664         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3665         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3666         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3667         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3668         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3669         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3670         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3671         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3672         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3673         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3674         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3675         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3676         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3677         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3678         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3679         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3680         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3681         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3682         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3683         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3684         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3685         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3686         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3687         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3688         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3689         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3690         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3691         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3692         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3693         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3694         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3695         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3696         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3697         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3698         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3699         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3700         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3701         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3702         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3703         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3704         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3705         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3706         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3707         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3708         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3709         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3710         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3711
3712         [BZ #17589]
3713         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3714         of fgets_unlocked.
3715
3716         [BZ #17585]
3717         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3718         (memmem): Rename to __memmem and define as weak alias of
3719         __memmem.  Use libc_hidden_weak.
3720         (__memmem): Use libc_hidden_def.
3721         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3722         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3723         memmem.
3724
3725         [BZ #17582]
3726         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3727         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3728         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3729         and define as weak alias of __fgets_unlocked.  Use
3730         libc_hidden_weak.
3731         (__fgets_unlocked): Use libc_hidden_def.
3732         * include/stdio.h (__fgets_unlocked): Declare.  Use
3733         libc_hidden_proto.
3734         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3735         __fgets_unlocked instead of fgets_unlocked.
3736         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3737         (GET_NPROCS_CONF_PARSER): Likewise.
3738         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3739         (GET_NPROCS_CONF_PARSER): Likewise.
3740
3741         [BZ #17574]
3742         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3743         weak alias of __wmemset.  Use libc_hidden_weak.
3744         (__wmemset): Use libc_hidden_def.
3745         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3746         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3747         of wmemset.
3748
3749         [BZ #17573]
3750         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3751         with asm name __mempcpy.
3752         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3753
3754         [BZ #17572]
3755         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3756         and define as weak alias of __rawmemchr.
3757         (__rawmemchr): Do not define as strong alias of rawmemchr.
3758
3759         [BZ #17571]
3760         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3761         alias of __qsort_r.
3762         (qsort): Call __qsort_r instead of qsort_r.
3763         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3764         (__qsort_r): Declare.  Call libc_hidden_proto.
3765         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3766         instead of qsort_r.
3767         * nscd/gai.c (__qsort_r): Define to qsort_r.
3768         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3769         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3770         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3771
3772         [BZ #17570]
3773         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3774         define as weak alias of __malloc_info.
3775
3776         [BZ #17584]
3777         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3778         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3779         (__rewinddir): Use libc_hidden_def.
3780         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3781         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3782         (__rewinddir): Use libc_hidden_def.
3783         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3784         weak alias of __rewinddir.  Don't use libc_hidden_def.
3785         (__rewinddir): Use libc_hidden_def.
3786         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3787         (__rewinddir): Use libc_hidden_proto.
3788         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3789         rewinddir.
3790         (__getcwd): Use __rewinddir instead of rewinddir.
3791
3792         [BZ #17583]
3793         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3794         alias of __fileno.  Use libc_hidden_weak.
3795         (__fileno): Use libc_hidden_def.
3796         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3797         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3798         alias of __ftello.
3799         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3800         __ftello.
3801         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3802         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3803         libc_hidden_def.
3804         (fread_unlocked): Don't use libc_hidden_ver.
3805         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3806         and define as weak alias of __fread_unlocked.  Don't use
3807         libc_hidden_def.
3808         (__fread_unlocked): Use libc_hidden_def.
3809         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3810         (ftello): Don't use libc_hidden_proto.
3811         (__ftello): Declare.  Use libc_hidden_proto.
3812         (fread_unlocked): Don't use libc_hidden_proto.
3813         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3814         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3815         and __ftello instead of fileno, fread_unlocked and ftello.
3816
3817 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3818
3819         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3820         GOT12.
3821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3822         Likewise.
3823         (_dl_start_user): Likewise.
3824         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3825
3826 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3827             Siddhesh Poyarekar  <siddhesh@redhat.com>
3828
3829         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3830         Move argv and envp down instead of moving argc up.
3831         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3832
3833 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3834
3835         [BZ #17506]
3836         * test-skeleton.c (main): Return successful if one of
3837         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3838         * string/tst-strcoll-overflow.c: Define expected status.
3839
3840 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3841
3842         [BZ #17475]
3843         * locale/iso-639.def: Define Bhili and Tulu language codes.
3844
3845 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3846
3847         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3848
3849 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3850
3851         [BZ #17555]
3852         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3853
3854 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3855
3856         * configure.ac: Updated check of minimal required version to
3857         2.22.
3858         * manual/install.texi (Tools for Compilation): Updated version
3859         number.
3860         * configure: Regenerated.
3861         * INSTALL: Likewise.
3862
3863 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3864
3865         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3866         __tls_get_addr.
3867
3868 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3869
3870         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3871         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3872         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3873         libc_hidden_weak.
3874         (waitpid): Define as alias of __waitpid.
3875         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3876         __waitpid.
3877         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3878         libc_hidden_weak.
3879         (waitpid): Define as alias of __waitpid.
3880         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3881         __libc_waitpid alias.
3882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3883         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3886         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3887         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3888         alias.
3889         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3890         __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
3895 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3896
3897         * manual/llio.texi: Add comment that write safety has been
3898         fixed in Linux.
3899
3900         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3901         (localplt-build-dso): Add elf/ld.so.
3902         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3903         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3904         and free for ld.so.
3905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3906         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3912         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3913         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3914         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3915         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3916         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3917         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3918         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3919         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3920         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3921         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3922
3923 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3924
3925         [BZ #14132]
3926         * include/libc-symbols.h (INTUSE): Remove macro.
3927         (INTDEF): Likewise.
3928         (INTVARDEF): Likewise.
3929         (_INTVARDEF): Likewise.
3930         (INTDEF2): Likewise.
3931         (INTVARDEF2): Likewise.
3932         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3933         rtld_hidden_def instead of INTVARDEF.
3934         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3935         (_dl_starting_up_internal): Remove declaration.
3936         (_dl_starting_up): Use rtld_hidden_proto.
3937         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3938         declaration.
3939         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3940         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3941         _dl_starting_up.
3942         * elf/dl-writev.h (_dl_writev): Likewise.
3943         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3944         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3945         _dl_starting_up_internal.
3946
3947 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3948
3949         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3950         test-skeleton.c.
3951
3952 2014-11-05  Will Newton  <will.newton@linaro.org>
3953
3954         * benchtests/Makefile: (bench-malloc): Add malloc thread
3955         scalability benchmark.
3956         * benchtests/bench-malloc-threads.c: New file.
3957
3958 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3959
3960         * sysdeps/aarch64/strchrnul.S: New file.
3961
3962 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3963
3964         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3965         definition.
3966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3967         Likwise.
3968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3969         Likewise.
3970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3971         Likewise.
3972         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3973         Likewise.
3974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3975         Likewise.
3976
3977 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3978
3979         * catgets/test-gencat.c: Use test-skeleton.c.
3980         * catgets/tst-catgets.c: Likewise.
3981         * csu/tst-empty.c: Likewise.
3982         * elf/tst-audit2.c: Likewise.
3983         * elf/tst-global1.c: Likewise.
3984         * elf/tst-pathopt.c: Likewise.
3985         * elf/tst-piemod1.c: Likewise.
3986         * elf/tst-tls10.c: Likewise.
3987         * elf/tst-tls11.c: Likewise.
3988         * elf/tst-tls12.c: Likewise.
3989         * gnulib/tst-gcc.c: Likewise.
3990         * iconvdata/tst-e2big.c: Likewise.
3991         * iconvdata/tst-loading.c: Likewise.
3992         * iconv/tst-iconv1.c: Likewise.
3993         * iconv/tst-iconv2.c: Likewise.
3994         * inet/test-inet6_opt.c: Likewise.
3995         * inet/tst-gethnm.c: Likewise.
3996         * inet/tst-network.c: Likewise.
3997         * inet/tst-ntoa.c: Likewise.
3998         * intl/tst-codeset.c: Likewise.
3999         * intl/tst-gettext2.c: Likewise.
4000         * intl/tst-gettext3.c: Likewise.
4001         * intl/tst-ngettext.c: Likewise.
4002         * intl/tst-translit.c: Likewise.
4003         * io/test-stat.c: Likewise.
4004         * libio/test-fmemopen.c: Likewise.
4005         * libio/tst-freopen.c: Likewise.
4006         * libio/tst-sscanf.c: Likewise.
4007         * libio/tst-ungetwc1.c: Likewise.
4008         * libio/tst-ungetwc2.c: Likewise.
4009         * libio/tst-widetext.c: Likewise.
4010         * localedata/tst-ctype.c: Likewise.
4011         * localedata/tst-digits.c: Likewise.
4012         * localedata/tst-leaks.c: Likewise.
4013         * localedata/tst-mbswcs1.c: Likewise.
4014         * localedata/tst-mbswcs2.c: Likewise.
4015         * localedata/tst-mbswcs3.c: Likewise.
4016         * localedata/tst-mbswcs4.c: Likewise.
4017         * localedata/tst-mbswcs5.c: Likewise.
4018         * localedata/tst-setlocale.c: Likewise.
4019         * localedata/tst-trans.c: Likewise.
4020         * localedata/tst-wctype.c: Likewise.
4021         * localedata/tst-xlocale1.c: Likewise.
4022         * login/tst-grantpt.c: Likewise.
4023         * malloc/tst-calloc.c: Likewise.
4024         * malloc/tst-malloc.c: Likewise.
4025         * malloc/tst-mallocstate.c: Likewise.
4026         * malloc/tst-mcheck.c: Likewise.
4027         * malloc/tst-mtrace.c: Likewise.
4028         * malloc/tst-obstack.c: Likewise.
4029         * math/atest-exp2.c: Likewise.
4030         * math/atest-exp.c: Likewise.
4031         * math/atest-sincos.c: Likewise.
4032         * math/test-matherr.c: Likewise.
4033         * math/test-misc.c: Likewise.
4034         * math/test-powl.c: Likewise.
4035         * math/tst-definitions.c: Likewise.
4036         * misc/tst-dirname.c: Likewise.
4037         * misc/tst-efgcvt.c: Likewise.
4038         * misc/tst-fdset.c: Likewise.
4039         * misc/tst-hsearch.c: Likewise.
4040         * misc/tst-mntent2.c: Likewise.
4041         * nptl/tst-sem7.c: Likewise.
4042         * nptl/tst-sem8.c: Likewise.
4043         * nptl/tst-sem9.c: Likewise.
4044         * nss/test-netdb.c: Likewise.
4045         * posix/tst-fnmatch.c: Likewise.
4046         * posix/tst-getlogin.c: Likewise.
4047         * posix/tst-gnuglob.c: Likewise.
4048         * posix/tst-mmap.c: Likewise.
4049         * pwd/tst-getpw.c: Likewise.
4050         * resolv/tst-inet_ntop.c: Likewise.
4051         * rt/tst-timer.c: Likewise.
4052         * stdio-common/test-fseek.c: Likewise.
4053         * stdio-common/test-popen.c: Likewise.
4054         * stdio-common/test-vfprintf.c: Likewise.
4055         * stdio-common/tst-cookie.c: Likewise.
4056         * stdio-common/tst-fileno.c: Likewise.
4057         * stdio-common/tst-gets.c: Likewise.
4058         * stdio-common/tst-obprintf.c: Likewise.
4059         * stdio-common/tst-perror.c: Likewise.
4060         * stdio-common/tst-sprintf2.c: Likewise.
4061         * stdio-common/tst-sprintf3.c: Likewise.
4062         * stdio-common/tst-sprintf.c: Likewise.
4063         * stdio-common/tst-swprintf.c: Likewise.
4064         * stdio-common/tst-tmpnam.c: Likewise.
4065         * stdio-common/tst-unbputc.c: Likewise.
4066         * stdio-common/tst-wc-printf.c: Likewise.
4067         * stdlib/tst-environ.c: Likewise.
4068         * stdlib/tst-fmtmsg.c: Likewise.
4069         * stdlib/tst-limits.c: Likewise.
4070         * stdlib/tst-rand48-2.c: Likewise.
4071         * stdlib/tst-rand48.c: Likewise.
4072         * stdlib/tst-random2.c: Likewise.
4073         * stdlib/tst-random.c: Likewise.
4074         * stdlib/tst-strtol.c: Likewise.
4075         * stdlib/tst-strtoll.c: Likewise.
4076         * stdlib/tst-tls-atexit.c: Likewise.
4077         * stdlib/tst-xpg-basename.c: Likewise.
4078         * string/test-ffs.c: Likewise.
4079         * string/tst-bswap.c: Likewise.
4080         * string/tst-inlcall.c: Likewise.
4081         * string/tst-strtok.c: Likewise.
4082         * string/tst-strxfrm.c: Likewise.
4083         * sysdeps/x86_64/tst-audit10.c: Likewise.
4084         * sysdeps/x86_64/tst-audit3.c: Likewise.
4085         * sysdeps/x86_64/tst-audit4.c: Likewise.
4086         * sysdeps/x86_64/tst-audit5.c: Likewise.
4087         * time/tst-ftime_l.c: Likewise.
4088         * time/tst-getdate.c: Likewise.
4089         * time/tst-mktime3.c: Likewise.
4090         * time/tst-mktime.c: Likewise.
4091         * time/tst-posixtz.c: Likewise.
4092         * time/tst-strptime2.c: Likewise.
4093         * time/tst-strptime3.c: Likewise.
4094         * wcsmbs/tst-btowc.c: Likewise.
4095         * wcsmbs/tst-mbrtowc.c: Likewise.
4096         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4097         * wcsmbs/tst-wchar-h.c: Likewise.
4098         * wcsmbs/tst-wcpncpy.c: Likewise.
4099         * wcsmbs/tst-wcrtomb.c: Likewise.
4100         * wcsmbs/tst-wcsnlen.c: Likewise.
4101         * wcsmbs/tst-wcstof.c: Likewise.
4102
4103 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4104
4105         [BZ #14132]
4106         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4107         INTDEF.
4108         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4109         declaration.
4110         (_dl_mcount): Use rtld_hidden_proto.
4111         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4112         _dl_mcount.
4113         * elf/rtld.c (_rtld_global_ro): Likewise.
4114
4115         [BZ #14132]
4116         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4117         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4118         of _dl_init_internal.
4119         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4120         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4121         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4122         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4123         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4124         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4125         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4126         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4127         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4128         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4129         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4130         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4131         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4132         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4133         * sysdeps/tile/dl-start.S (_start): Likewise.
4134         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4135         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4136
4137         [BZ #14132]
4138         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4139         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4140         (rtld_progname): Make macro definition unconditional.
4141         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4142         INTDEF.
4143         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4144         (dl_main): Likewise.
4145         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4146         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4147         instead of _dl_argv_internal.
4148         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4149         __GI__dl_argv instead of INTUSE(_dl_argv).
4150         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4151         __GI__dl_argv instead of _dl_argv_internal.
4152
4153         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4154         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4155         macro.
4156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4157         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4158         New macro.
4159         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4160         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4161         macro.
4162         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4163         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4164
4165 2014-11-04  Andreas Schwab  <schwab@suse.de>
4166
4167         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4168
4169 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4170
4171         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4172         mtvsrd instruction in binary form.
4173
4174 2014-11-03  Andreas Schwab  <schwab@suse.de>
4175
4176         [BZ #17522]
4177         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4178         for less than MB_LEN_MAX use a local buffer of that size.
4179         * libio/tst-fputws.c: New file.
4180         * libio/Makefile (tests): Add tst-fputws.
4181
4182 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4183
4184         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4185         the size of the fpu_fr.fpu_dregs[] array.
4186
4187 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4188
4189         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4190         (__nanosleep): Do not define as alias.
4191         (nanosleep): Define as alias of __nanosleep.
4192         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4193         __libc_nanosleep name.
4194
4195 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4196
4197         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4198         install.texi in comment.
4199
4200 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4201
4202         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4203         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4204         ... add here and use lwsync or sync ...
4205         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4206         ... and add here using lwsync.
4207
4208 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4209
4210         * elf/dl-machine-reject-phdr.h: New file.
4211         * elf/dl-load.c: #include that.
4212         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4213         if that returned true.
4214
4215 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4216
4217         [BZ #17496]
4218         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4219         gen-as-const-headers chunk.  Add a big scare comment after the last
4220         safe place to touch before-compile.
4221
4222 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4223
4224         * manual/install.texi (Tools for Compilation): Update autoconf
4225         version requirements.
4226         * INSTALL: Regenerated.
4227
4228         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4229         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4230         (__libc_pselect): Likewise.
4231
4232         [BZ #14138]
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4237
4238 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4239
4240         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4241         correct barrier instruction.
4242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4243         Likewise.
4244         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4245         Likewise.
4246
4247 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4248
4249         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4250         after defining inlines.  Instead, just use parens to defeat macro
4251         expansion of __isctype in its declaration.
4252
4253 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4254
4255         * include/sys/uio.h (__libc_readv): Remove declaration.
4256         (__libc_writev): Likewise.
4257         * misc/readv.c (__libc_readv): Rename to __readv.
4258         (__readv): Do not define as alias.
4259         (readv): Define as alias of __readv.
4260         * misc/writev.c (__libc_writev): Rename to __writev.
4261         (__writev): Do not define as alias.
4262         (writev): Define as alias of __writev.
4263         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4264         (__readv): Do not define as alias.
4265         (readv): Define unconditionally as alias of __readv.
4266         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4267         (__writev): Do not define as alias.
4268         (writev): Define unconditionally as alias of __writev.
4269         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4270         name.
4271         (writev): Do not define __libc_writev name.
4272
4273 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4274
4275         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4276         (convert_charseq): New function, broken out of ...
4277         (use_from_charmap): ... here.  Call it.
4278         (use_to_charmap): Use convert_charseq and free instead of duplicating
4279         its code with a variable-length stack struct.
4280
4281 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4282
4283         * include/fcntl.h (__libc_creat): Remove declaration.
4284         * io/creat.c (__libc_creat): Rename to creat.
4285         (creat): Do not define as alias.
4286         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4287         of creat instead of __libc_creat.
4288         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4289         to creat.
4290         (creat): Do not define as alias.
4291         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4292         __libc_creat.
4293         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4294         __libc_creat name.
4295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4296         Likewise.
4297
4298 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4299
4300         * manual/llio.texi: Add comments discussing why write() may be
4301         considered MT-unsafe on Linux.
4302
4303 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4304
4305         * dl-load.c (local_strdup): Remove.
4306         (expand_dynamic_string_token): Use __strdup.
4307         (decompose_rpath): Likewise.
4308         (_dl_map_object): Likewise.
4309
4310 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4311
4312         [BZ #14132]
4313         * sysdeps/generic/unwind-dw2-fde.c
4314         (__register_frame_info_bases_internal): Do not declare.
4315         (__register_frame_info_table_bases_internal): Likewise.
4316         (__deregister_frame_info_bases_internal): Likewise.
4317         (__register_frame_info_bases): Declare and use hidden_proto before
4318         definition.  Use hidden_def instead of INTDEF.
4319         (__register_frame_info_table_bases): Likewise.
4320         (__deregister_frame_info_bases): Likewise.
4321         (__register_frame_info): Do not use INTUSE.
4322         (__register_frame): Likewise.
4323         (__register_frame_info_table): Likewise.
4324         (__register_frame_table): Likewise.
4325         (__deregister_frame_info): Likewise.
4326         (__deregister_frame): Likewise.
4327
4328 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4329
4330         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4331         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4332         not undefine.
4333         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4334         Likewise.
4335         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4336         Likewise.
4337
4338 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4339
4340         [BZ #14138]
4341         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4342         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4343         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4344         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4345         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4346         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4347         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4348         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4349         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4350         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4351         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4352         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4353         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4354         syscall.
4355         (setfsuid): Likewise.
4356         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4357         (setfsuid): Likewise.
4358         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4359         (setfsuid): Likewise.
4360         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4361         Likewise.
4362         (setfsuid): Likewise.
4363         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4364         (setfsuid): Likewise.
4365         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4366         Likewise.
4367         (setfsuid): Likewise.
4368
4369 2014-10-27  Andreas Schwab  <schwab@suse.de>
4370
4371         [BZ #17501]
4372         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4373         check for Slow_SSE4_2 feature bit.
4374         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4375         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4376         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4377         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4378
4379 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4380
4381         * configure.ac: Validate compiler version with a empirical test of
4382         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4383         $CC -v output.
4384         * configure: Regenerated.
4385
4386         * inet/htons.c (htons): Prototypify.
4387         * inet/htonl.c (htonl): Likewise.
4388
4389 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4390
4391         * string/strncat.c (strncat): Improve performance by using strlen.
4392
4393 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4394
4395         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4396
4397 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4398
4399         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4400         Call libc_fetestexcept_aarch64.
4401
4402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4403
4404         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4405         Call libc_feholdexcept_aarch64.
4406
4407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4408
4409         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4410         Call get_rounding_mode.
4411
4412 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4413
4414         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4415         Simplify logic.
4416
4417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4418
4419         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4420         Simplify logic.
4421
4422 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4423
4424         [BZ #14138]
4425         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4426         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4427         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4428         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4429         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4430         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4431         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4432         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4433         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4434         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4435         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4436         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4437         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4438         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4439         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4440         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4441         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4442         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4443         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4444         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4445         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4446         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4447         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4448         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4449         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4450         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4451         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4452         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4453         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4454         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4455         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4456         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4457         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4458         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4459         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4460         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4461         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4462         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4463         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4464         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4465         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4466         syscall.
4467         (geteuid): Likewise.
4468         (getgid): Likewise.
4469         (getuid): Likewise.
4470         (getresgid): Likewise.
4471         (getresuid): Likewise.
4472         (getgroups): Likewise.
4473         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4474         (geteuid): Likewise.
4475         (getgid): Likewise.
4476         (getuid): Likewise.
4477         (getresgid): Likewise.
4478         (getresuid): Likewise.
4479         (getgroups): Likewise.
4480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4481         (geteuid): Likewise.
4482         (getgid): Likewise.
4483         (getuid): Likewise.
4484         (getresgid): Likewise.
4485         (getresuid): Likewise.
4486         (getgroups): Likewise.
4487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4488         Likewise.
4489         (geteuid): Likewise.
4490         (getgid): Likewise.
4491         (getuid): Likewise.
4492         (getresgid): Likewise.
4493         (getresuid): Likewise.
4494         (getgroups): Likewise.
4495         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4496         (geteuid): Likewise.
4497         (getgid): Likewise.
4498         (getuid): Likewise.
4499         (getresgid): Likewise.
4500         (getresuid): Likewise.
4501         (getgroups): Likewise.
4502         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4503         Likewise.
4504         (geteuid): Likewise.
4505         (getgid): Likewise.
4506         (getuid): Likewise.
4507         (getgroups): Likewise.
4508
4509         [BZ #14138]
4510         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4511         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4512         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4513         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4514         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4515         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4516         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4517         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4518         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4519         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4520         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4521         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4522         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4523         __chown.
4524         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4525         (lchown): Likewise.
4526         (fchown): Likewise.
4527         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4528         Likewise.
4529         (lchown): Likewise.
4530         (fchown): Likewise.
4531         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4532         (lchown): Likewise.
4533         (fchown): Likewise.
4534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4535         Likewise.
4536         (lchown): Likewise.
4537         (fchown): Likewise.
4538
4539 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4540
4541         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4542         Simplify logic.
4543
4544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4545
4546         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4547         Cleanup logic.
4548
4549 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4550
4551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4552         Remove unused include.
4553
4554 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4555
4556         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4557         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4558         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4559         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4560
4561 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4562             Helge Deller <deller@gmx.de>
4563
4564         [BZ #17508]
4565         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4566         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4567         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4568
4569 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4570
4571         [BZ #14132]
4572         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4573         Remove macro definition.
4574         (__ashrdi3_v_glibc20): Likewise.
4575         (__lshrdi3_v_glibc20): Likewise.
4576         (__cmpdi2_v_glibc20): Likewise.
4577         (__ucmpdi2_v_glibc20): Likewise.
4578         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4579         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4581         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4582         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4583         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4584
4585 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4586
4587         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4588         old GNU extension [0] syntax.
4589         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4590         alloca rather than an array member with variable length.
4591         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4592         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4593         (parse_opt): ... here.  Likewise use alloca there.
4594         Validate the -i argument before checking for rootness.
4595         (send_shutdown): New function, broken out of ...
4596         (parse_opt): ... here.
4597
4598 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4599
4600         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4601         macro to get at the _rt_local_ro field.
4602         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4603         ([PIC] case) or _dl_hwcap ([!PIC] case).
4604         * sysdeps/arm/setjmp.S: Likewise.
4605
4606         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4607         * sysdeps/arm/configure.ac: New check to define it.
4608         * sysdeps/arm/configure: Regenerated.
4609         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4610         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4611         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4612         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4613         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4614         Use move/movt pair instead of a load.
4615         (LDST_GLOBAL): Macro removed.
4616         (LDR_GLOBAL): New macro replaces it.
4617         (LDR_HIDDEN): New macro.
4618         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4619         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4620
4621         * setjmp/tst-setjmp-static.c: New file.
4622         * setjmp/Makefile (tests): Add it.
4623         (tests-static): New variable.
4624
4625 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4626
4627         [BZ #17485]
4628         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4629
4630 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4631
4632         [BZ #14132]
4633         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4634
4635 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4636
4637         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4638
4639 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4640
4641         * io/fts.c (dirent_not_directory): New function.
4642         (fts_build): Call it.
4643
4644 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4645
4646         * nptl/version.c (__nptl_main): Use normal __write rather than
4647         INTERNAL_SYSCALL.
4648         (banner): Update copyright years.
4649
4650         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4651         gettimeofday.
4652         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4653         * nptl/pthread_cond_timedwait.c: Likewise.
4654         * nptl/pthread_mutex_timedlock.c: Likewise.
4655         * nptl/sem_timedwait.c: Likewise.
4656
4657         * sysdeps/nptl/bits/libc-lock.h
4658         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4659         (__libc_lock_init_recursive): Return void, not 0.
4660         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4661         (__libc_rwlock_init): Likewise.
4662         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4663
4664 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4665
4666         [BZ #15215]
4667         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4668         (__pthread_once_slow): ... here.
4669         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4670         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4671
4672 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4673
4674         [BZ #15215]
4675         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4676         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4677         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4678         * nptl/pthread_once.c (__pthread_once): Likewise.
4679         Update comments.
4680
4681 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4682
4683         [BZ #14138]
4684         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4685         name.
4686         (writev): Use __libc_writev as strong name.
4687         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4688         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4689
4690 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4691
4692         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4693
4694         * sysdeps/i386/nptl/tls.h
4695         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4696         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4697         New macros.
4698         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4699         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4700         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4701         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4702         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4703         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4704
4705         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4706         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4707         on [__NR_futex].
4708         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4709         broken out of ...
4710         (__pthread_mutex_init): ... here.  Call it.
4711         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4712         Conditionalize PI cases on [__NR_futex].
4713         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4714         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4715         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4716
4717         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4718         conditional on [SIGSETXID].
4719         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4720         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4721         is defined.  Likewise for SIGSETXID.
4722         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4723         Conditionalize definitions on [SIGSETXID].
4724         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4725         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4726         unblocking on [SIGCANCEL].
4727
4728         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4729         [__NR_set_robust_list].
4730
4731 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4732
4733         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4734         (do_compare): Likewise.
4735
4736 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4737
4738         [BZ #15884]
4739         * string/strcoll_l.c: Don't include stdio.h.
4740         (coll_seq): Remove members idxarr and rulearr.
4741         (get_next_seq_cached): Remove function.
4742         (get_next_seq): Likewise.
4743         (get_next_seq_nocache): Rename to get_next_seq.
4744         (do_compare): Remove function.
4745         (do_compare_nocache): Rename to do_compare.
4746         (STRCOLL): Remove weight and rules cache.
4747
4748 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4749
4750         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4751         * sysdeps/arm/sfp-machine.h: ... to here.
4752         * sysdeps/arm/Implies: Remove arm/soft-fp.
4753
4754 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4755
4756         * conform/data/sys/utsname.h-data (*_t): Allow.
4757         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4758         [POSIX] (WEXITED): Do not expect constant.
4759         [POSIX] (WSTOPPED): Likewise.
4760         [POSIX] (WNOHANG): Likewise.
4761         [POSIX] (WNOWAIT): Likewise.
4762         [POSIX] (siginfo_t): Do not expect type or elements.
4763         [POSIX] (pid_t): Do not expect type.
4764         [POSIX] (signal.h): Do not allow header.
4765         [POSIX] (sys/resource.h): Likewise.
4766         [POSIX] (si_*): Do not allow pattern.
4767         [POSIX] (W*): Likewise.
4768         [POSIX] (P_*): Likewise.
4769         [POSIX] (BUS_*): Likewise.
4770         [POSIX] (CLD_*): Likewise.
4771         [POSIX] (FPE_*): Likewise.
4772         [POSIX] (ILL_*): Likewise.
4773         [POSIX] (POLL_*): Likewise.
4774         [POSIX] (SEGV_*): Likewise.
4775         [POSIX] (SI_*): Likewise.
4776         [POSIX] (TRAP_*): Likewise.
4777         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4778         variable.
4779
4780 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4781
4782         [BZ #12926]
4783         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4784         infinite loop when __recvmsg returns 0.
4785
4786 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4787
4788         * CANCEL-FCT-WAIVE: Remove file.
4789         * CANCEL-FILE-WAIVE: Likewise.
4790
4791         [BZ #14132]
4792         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4793         instead of INTVARDEF.
4794         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4795         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4796         rtld_hidden_data_def instead of INTVARDEF.
4797         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4798         * elf/dl-deps.c (expand_dst): Likewise.
4799         * elf/dl-load.c (_dl_dst_count): Likewise.
4800         (_dl_dst_substitute): Likewise.
4801         (decompose_rpath): Likewise.
4802         (_dl_init_paths): Likewise.
4803         (open_path): Likewise.
4804         (_dl_map_object): Likewise.
4805         * elf/rtld.c (dl_main): Likewise.
4806         (process_dl_audit): Likewise.
4807         (process_envvars): Likewise.
4808         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4809         Remove declaration.
4810         (__libc_enable_secure): Use rtld_hidden_proto.
4811
4812 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4813
4814         * elf/dl-load.c
4815         (add_path): New function broken out of _dl_rtld_di_serinfo.
4816         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4817
4818 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4819
4820         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4821         parentheses around macro arguments.
4822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4833         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4837         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4838         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4851         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4855         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4856         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4857         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4858         Likewise.
4859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4866         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4870         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4871         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4880         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4884         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4885         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4886         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4887         (_FP_FRAC_SRS_1): Likewise.
4888         (_FP_FRAC_CLZ_1): Likewise.
4889         (_FP_MUL_MEAT_1_imm): Likewise.
4890         (_FP_MUL_MEAT_1_wide): Likewise.
4891         (_FP_MUL_MEAT_1_hard): Likewise.
4892         (_FP_SQRT_MEAT_1): Likewise.
4893         (_FP_FRAC_ASSEMBLE_1): Likewise.
4894         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4895         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4896         (__FP_CLZ_2): Likewise.
4897         (_FP_MUL_MEAT_2_wide): Likewise.
4898         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4899         (_FP_MUL_MEAT_2_gmp): Likewise.
4900         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4901         (_FP_SQRT_MEAT_2): Likewise.
4902         (_FP_FRAC_ASSEMBLE_2): Likewise.
4903         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4904         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4905         (_FP_FRAC_CLZ_4): Likewise.
4906         (_FP_MUL_MEAT_4_wide): Likewise.
4907         (_FP_MUL_MEAT_4_gmp): Likewise.
4908         (_FP_SQRT_MEAT_4): Likewise.
4909         (_FP_FRAC_ASSEMBLE_4): Likewise.
4910         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4911         * soft-fp/op-common.h (_FP_CMP): Likewise.
4912         (_FP_CMP_EQ): Likewise.
4913         (_FP_CMP_UNORD): Likewise.
4914         (_FP_TO_INT): Likewise.
4915         (_FP_FROM_INT): Likewise.
4916         [!__FP_CLZ] (__FP_CLZ): Likewise.
4917         (_FP_DIV_HELP_imm): Likewise.
4918         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4919         Likewise.
4920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4931         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4935         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4936         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4949         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4954         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4955         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4956         (FP_UNPACK_RAW_SP): Likewise.
4957         (FP_PACK_RAW_S): Likewise.
4958         (FP_PACK_RAW_SP): Likewise.
4959         (FP_UNPACK_S): Likewise.
4960         (FP_UNPACK_SP): Likewise.
4961         (FP_UNPACK_SEMIRAW_S): Likewise.
4962         (FP_UNPACK_SEMIRAW_SP): Likewise.
4963         (FP_PACK_S): Likewise.
4964         (FP_PACK_SP): Likewise.
4965         (FP_PACK_SEMIRAW_S): Likewise.
4966         (FP_PACK_SEMIRAW_SP): Likewise.
4967         (_FP_SQRT_MEAT_S): Likewise.
4968         (FP_CMP_S): Likewise.
4969         (FP_CMP_EQ_S): Likewise.
4970         (FP_CMP_UNORD_S): Likewise.
4971         (FP_TO_INT_S): Likewise.
4972         (FP_FROM_INT_S): Likewise.
4973
4974         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4975
4976         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4977         (FP_EX_INVALID_IMZ): Likewise.
4978         (FP_EX_INVALID_IMZ_FMA): Likewise.
4979         (FP_EX_INVALID_ISI): Likewise.
4980         (FP_EX_INVALID_ZDZ): Likewise.
4981         (FP_EX_INVALID_IDI): Likewise.
4982         (FP_EX_INVALID_SQRT): Likewise.
4983         (FP_EX_INVALID_CVI): Likewise.
4984         (FP_EX_INVALID_VC): Likewise.
4985         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4986         "invalid" exceptions.
4987         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4988         (_FP_ADD_INTERNAL): Likewise.
4989         (_FP_MUL): Likewise.
4990         (_FP_FMA): Likewise.
4991         (_FP_DIV): Likewise.
4992         (_FP_CMP_CHECK_NAN): Likewise.
4993         (_FP_SQRT): Likewise.
4994         (_FP_TO_INT): Likewise.
4995         (FP_EXTEND): Likewise.
4996
4997 2014-10-09  Allan McRae  <allan@archlinux.org>
4998
4999         * po/fr.po: Update French translation from translation project.
5000
5001 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5002
5003         [BZ #14132]
5004         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5005         of INTDEF.
5006         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5007         (__cxa_atexit): Use libc_hidden_proto.
5008         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5009
5010         [BZ #14132]
5011         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5012         declaration.
5013         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5014         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5015         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5016         [!_ISOMAC] (__iswctype_internal): Likewise.
5017         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5018         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5019         alias.
5020         (fcntl): Remove __fcntl_internal alias.
5021         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5022         __connect_internal alias.
5023         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5024         Likewise.
5025
5026         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5027         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5028         FP_DENORM_ZERO.
5029         (_FP_CHECK_FLUSH_ZERO): New macro.
5030         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5031         (_FP_CMP): Likewise.
5032         (_FP_CMP_EQ): Likewise.
5033         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5034         FP_DENORM_ZERO.
5035         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5036         (FP_TRUNC): Likewise.
5037
5038         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5039         treated as invalid conversion, not as normal exponent.
5040
5041         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5042         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5043         (_FP_CMP_EQ): Likewise.
5044         (_FP_CMP_UNORD): Likewise.
5045         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5046         (FP_CMP_EQ_D): Likewise.
5047         (FP_CMP_UNORD_D): Likewise.
5048         * soft-fp/extended.h (FP_CMP_E): Likewise.
5049         (FP_CMP_EQ_E): Likewise.
5050         (FP_CMP_UNORD_E): Likewise.
5051         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5052         (FP_CMP_EQ_Q): Likewise.
5053         (FP_CMP_UNORD_Q): Likewise.
5054         * soft-fp/single.h (FP_CMP_S): Likewise.
5055         (FP_CMP_EQ_S): Likewise.
5056         (FP_CMP_UNORD_S): Likewise.
5057         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5058         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5059         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5060         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5061         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5062         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5063         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5064         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5065         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5066         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5067         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5068         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5069         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5070         to FP_CMP_Q.
5071         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5072         FP_CMP_Q.
5073         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5074         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5075         FP_CMP_EQ_Q.
5076         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5077         FP_CMP_Q.
5078         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5079         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5080         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5081         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5082         FP_CMP_EQ_Q.
5083         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5084         FP_CMP_Q.
5085         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5086         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5087         FP_CMP_EQ_Q.
5088         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5089         FP_CMP_Q.
5090         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5091         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5092         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5093         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5094         FP_CMP_EQ_Q.
5095
5096         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5097         a subnormal result, set the underflow exception if trapping on
5098         underflow is enabled.
5099         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5100         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5101         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5102         redefine to 0.
5103         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5104         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5105         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5106         * soft-fp/extendxftf2.c (__extendxftf2): Use
5107         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5108
5109         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5110         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5111         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5112         FP_HANDLE_EXCEPTIONS.
5113         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5114         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5115         FP_HANDLE_EXCEPTIONS.
5116         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5117         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5118         FP_HANDLE_EXCEPTIONS.
5119         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5120         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5121         FP_HANDLE_EXCEPTIONS.
5122
5123 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5124
5125         [BZ #14132]
5126         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5127         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5128         use INTUSE.
5129         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5130         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5131         Remove alias.
5132         (__adjtimex): Define using libc_hidden_ver.
5133         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5134         Remove declaration.
5135         (ntp_gettime): Call __adjtimex directly.
5136         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5137         Remove declaration.
5138         (ntp_gettimex): Call __adjtimex directly.
5139         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5140         __adjtimex_internal alias.
5141
5142 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5143
5144         [BZ #17460]
5145         * nscd/nscd.c (more_help): Rewrite list of tables collection
5146         using xstrdup and asprintf.
5147
5148         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5149
5150 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5151             Roland McGrath  <roland@hack.frob.com>
5152
5153         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5154         (do_lookup_unique): ... local function 'enter' here; update callers.
5155
5156 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5157
5158         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5159         compat_symbol calls on [SHARED].
5160         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5161         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5162         Remove.
5163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5164         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5165         (oldsetrlimit): Remove.
5166         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5168         (lchown): New syscall entry.
5169         (oldsetrlimit): Remove.
5170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5172         (oldsetrlimit): Remove.
5173         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5174
5175         [BZ #14138]
5176         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5177         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5178         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5179         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5180         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5181         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5182         (fchown): Likewise.
5183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5184         (fchown): Likewise.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5186         Likewise.
5187
5188 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5189
5190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5191         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5192         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5193         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5194         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5195         Likewise.
5196         (__old_sem_post): Likewise.
5197
5198 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5199
5200         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5201         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5202         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5203         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5204         Use INLINE_VSYSCALL macro.
5205         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5206         __vdso_clock_gettime.
5207         * sysdeps/unix/sysv/linux/tile/init-first.c
5208         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5209         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5210         __vdso_clock_gettime.
5211
5212         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5213         to set up frame more cleanly.
5214
5215         * sysdeps/tile/memcmp.c: New file.
5216
5217         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5218
5219         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5220         * sysdeps/tile/tilegx/strcasestr.c: New file.
5221         * sysdeps/tile/tilegx/strnlen.c: New file.
5222         * sysdeps/tile/tilegx/strstr.c: New file.
5223
5224         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5225
5226 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5227
5228         * nptl/tst-setuid3.c: Write errors to stdout.
5229
5230 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5231
5232         * elf/dl-deps.c
5233         (preload): New functions broken out of _dl_map_object_deps.
5234         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5235
5236 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5237
5238         [BZ #14138]
5239         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5240         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5241
5242 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5243
5244         * sysdeps/mips/strcmp.S: New.
5245
5246 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5247
5248         [BZ #14138]
5249         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5250         (linkat): Likewise.
5251         (mkdirat): Likewise.
5252         (readlinkat): Likewise.
5253         (renameat): Likewise.
5254         (symlinkat): Likewise.
5255         (unlinkat): Likewise.
5256         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5257         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5258         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5259         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5260         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5261         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5262         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5263
5264 2014-09-30  Will Newton  <will.newton@linaro.org>
5265
5266         * math/math.h: Define long double math functions if
5267         _LIBC_TEST is defined.
5268         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5269
5270         * localedata/Makefile: Move assignment to tests-special
5271         into an ifdef testing run-built-tests.
5272         * timezone/Makefile: Likewise.
5273
5274 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5275
5276         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5277         with $(BASH) not $(SHELL).
5278
5279 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5280             Matthew LeGendre  <legendre1@llnl.gov>
5281
5282         [BZ #17411]
5283         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5284         l_reloc_result.
5285
5286 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5287
5288         * stdio-common/printf_fp.c
5289         (hack_digit): New function, broken out of ...
5290         (__printf_fp): ... local function here.  Update call sites.
5291         hack_digit now takes an additional parameter that is a pointer
5292         to a struct of the referenced locals.  Those locals moved inside
5293         the struct and references updated.
5294
5295 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5296
5297         * aclocal.m4: Require autoconf 2.69.
5298         * configure: Regenerated.
5299         * sysdeps/aarch64/configure: Likewise.
5300         * sysdeps/alpha/configure: Likewise.
5301         * sysdeps/arm/armv7/configure: Likewise.
5302         * sysdeps/arm/configure: Likewise.
5303         * sysdeps/ia64/configure: Likewise.
5304         * sysdeps/mach/configure: Likewise.
5305         * sysdeps/mips/configure: Likewise.
5306         * sysdeps/s390/configure: Likewise.
5307         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5309
5310         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5311         file.
5312         * sysdeps/ia64/configure.ac: Likewise.
5313
5314 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5315
5316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5317         specify symbol version for ld.so.  Do not include entry for
5318         libpthread.
5319         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5321         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5322
5323         [BZ #14171]
5324         * Makeconfig [$(build-shared) = yes]
5325         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5326         makefiles.
5327         [$(build-shared) = yes && $(soversions.mk-done) = t]
5328         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5329         [$(build-shared) = yes && $(soversions.mk-done) = t]
5330         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5331         to Makerules.
5332         [$(build-shared) = yes && $(soversions.mk-done) = t]
5333         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5334         here.
5335         [$(build-shared) = yes && $(soversions.mk-done) = t]
5336         (common-generated): Don't append gnu/lib-names.h and
5337         gnu/lib-names.stmp here.
5338         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5339         (lib-names-h-abi): New variable.
5340         [$(build-shared) = yes && $(soversions.mk-done) = t]
5341         (lib-names-stmp-abi): Likewise.
5342         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5343         abi-variants] (before-compile): Append
5344         $(common-objpfx)$(lib-names-h-abi).
5345         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5346         abi-variants] (common-generated): Append gnu/lib-names.h.
5347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5348         abi-variants] (install-others-nosubdir): Depend on
5349         $(inst_includedir)/$(lib-names-h-abi).
5350         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5351         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5352         [$(build-shared) = yes && $(soversions.mk-done) = t]
5353         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5354         [$(build-shared) = yes && $(soversions.mk-done) = t]
5355         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5356         [$(build-shared) = yes && $(soversions.mk-done) = t]
5357         (common-generated): Append $(lib-names-h-abi) and
5358         $(lib-names-stmp-abi).
5359         * scripts/lib-names.awk: Do not handle multi being set.
5360         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5361         Remove variable.
5362         (abi-lp64_be-ld-soname): Likewise.
5363         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5364         Likewise.
5365         (abi-hard-ld-soname): Likewise.
5366         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5367         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5368         Remove variable.
5369         (abi-o32_hard-ld-soname): Likewise.
5370         (abi-o32_soft_2008-ld-soname): Likewise.
5371         (abi-o32_hard_2008-ld-soname): Likewise.
5372         (abi-n32_soft-ld-soname): Likewise.
5373         (abi-n32_hard-ld-soname): Likewise.
5374         (abi-n32_soft_2008-ld-soname): Likewise.
5375         (abi-n32_hard_2008-ld-soname): Likewise.
5376         (abi-n64_soft-ld-soname): Likewise.
5377         (abi-n64_hard-ld-soname): Likewise.
5378         (abi-n64_soft_2008-ld-soname): Likewise.
5379         (abi-n64_hard_2008-ld-soname): Likewise.
5380         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5381         Likewise.
5382         (abi-64-v2-ld-soname): Likewise.
5383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5384         ld.so entries.
5385         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5386         variable.
5387         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5388         entry.
5389         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5390         variable.
5391         (abi-64-ld-soname): Likewise.
5392         (abi-x32-ld-soname): Likewise.
5393         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5394         entry.
5395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5396
5397 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5398
5399         [BZ #14138]
5400         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5401         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5402         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5403         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5404         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5405         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5406         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5407         syscall entry for GLIBC_2.2 symbol version.
5408         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5409         Likewise.
5410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5411         (setrlimit): Likewise.
5412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5413         Likewise.
5414
5415 2014-09-23  Will Newton  <will.newton@linaro.org>
5416
5417         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5418         _LINUX_ARM_SYSDEP_H include guard too.
5419         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5420         define.
5421
5422 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5423
5424         * sysdeps/unix/sysv/linux/eventfd.c:
5425         Make first argument unsigned.
5426         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5427         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5428
5429 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5430
5431         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5432         * socket/sys/socket.h: Likewise
5433         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5434
5435 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5436
5437         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5438
5439 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5440
5441         * time/tst-ftime.c: New test.
5442         * time/Makefile (tests): Add tst-ftime.
5443
5444 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5445
5446         * soft-fp/extended.h: Fix comment formatting.
5447         * soft-fp/op-1.h: Likewise.
5448         * soft-fp/op-2.h: Likewise.
5449         * soft-fp/op-4.h: Likewise.
5450         * soft-fp/op-8.h: Likewise.
5451         * soft-fp/op-common.h: Likewise.
5452         * soft-fp/soft-fp.h: Likewise.
5453
5454         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5455
5456 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5457
5458         [BZ #6652]
5459         * Makeconfig (soversions-default-setname): Remove variable.
5460         ($(common-objpfx)soversions.i): Don't pass default_setname to
5461         soversions.awk.
5462         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5463         oldest_abi to abi-versions.awk.
5464         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5465         * config.make.in (oldest-abi): Remove variable.
5466         * configure.ac (--enable-oldest-abi): Remove configure option.
5467         * configure: Regenerated.
5468         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5469         text.
5470         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5471         * scripts/soversions.awk: Do not handle default_setname variable.
5472         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5473         variable.
5474         * sysdeps/mach/hurd/configure: Regenerated.
5475         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5476         variable.
5477         * sysdeps/unix/sysv/linux/configure: Regenerated.
5478
5479 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480
5481         * elf/Makefile (CFLAGS-interp.c): Remove.
5482         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5483         path string.
5484         * elf/interp.c: Include generated runtime-linker.h
5485
5486         * Makerules (lib%.so): Don't include $(+interp) in
5487         prerequisites.
5488         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5489         * dlfcn/eval.c: Remove file.
5490
5491         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5492         macros.
5493
5494         [BZ #17266]
5495         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5496         4.2 and newer.
5497
5498         [BZ #17370]
5499         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5500
5501 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5502             Jakub Jelinek  <jakub@redhat.com>
5503
5504         [BZ #17266]
5505         * libio/stdio.h: Check definition of __fortify_function
5506         instead of __extern_always_inline to include bits/stdio2.h.
5507         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5508         check if __extern_always_inline is defined.
5509         [__USE_MISC || __USE_XOPEN]: Likewise.
5510         [__USE_ISOC99] Likewise.
5511         * misc/sys/cdefs.h (__fortify_function): Define only if
5512         __extern_always_inline is defined.
5513         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5514         __extern_always_inline and __extern_inline only for g++-4.3
5515         and newer or a compatible gcc.
5516
5517 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5518
5519         [BZ #17371]
5520         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5521         last change to handle zero prefix length.
5522
5523 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5524
5525         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5526         _SC_REGEX_VERSION.
5527
5528         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5529         _POSIX_RAW_SOCKETS.
5530
5531 2014-09-13  Allan McRae  <allan@archlinux.org>
5532
5533         * po/ru.po: Update Russian translation from translation project.
5534
5535 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5536
5537         * locale/programs/locale.c (show_locale_vars): Inline local function
5538         into its sole call site.  Clean up some style nits.
5539         (print_item): New function, broken out of ...
5540         (show_info): ... local function here.  Clean up style nits.
5541
5542         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5543         out of ...
5544         (set_class_defaults): ... local function set_default here.
5545         Define set_default as a macro locally to pass constant parameters.
5546         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5547         rather than a shared local.
5548
5549         * stdlib/rpmatch.c (try): New function, broken out of ...
5550         (rpmatch): ... local function here.  Also, prototypify definition.
5551
5552 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5553
5554         * scripts/soversions.awk: Do not handle configuration names.
5555         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5556         vendor and os variables to soversions.awk.
5557         * configure.ac: Do not modify gnu-* host_os.
5558         * configure: Regenerated
5559         * shlib-versions: Remove first column with configuration names.
5560         * nptl/shlib-versions: Likewise.
5561         * nptl_db/shlib-versions: Likewise.
5562         * sysdeps/hppa/shlib-versions: Likewise.
5563         * sysdeps/m68k/shlib-versions: Likewise.
5564         * sysdeps/mach/hurd/shlib-versions: Likewise.
5565         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5566         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5567         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5568         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5569         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5570         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5571         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5572         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5574         Likewise.
5575         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5576         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5577         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5578         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5579         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5580         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5581         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5582         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5583
5584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5585         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5587         Regenerated.
5588         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5590         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5591
5592         * shlib-versions: Remove OS-specific entries.  Moved to files in
5593         sysdeps.
5594         * sysdeps/mach/hurd/shlib-versions: New file.
5595         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5596
5597         * nptl/shlib-versions: Remove architecture-specific entries.
5598         Moved to files in sysdeps.
5599         * shlib-versions: Likewise.
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5601         file.
5602         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5603         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5604         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5605         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5606
5607         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5608         (UDP_NO_CHECK6_RX): Likewise.
5609
5610 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5611
5612         * sysdeps/posix/sysconf.c (__sysconf): Spell
5613         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5614
5615 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5616
5617         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5618         loading.
5619         * iconv/Versions (__gconv_transliterate): Export for use from
5620         gconv modules.
5621         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5622         (struct __gconv_trans_data, __gconv_trans_fct,
5623         __gconv_trans_context_fct, __gconv_trans_query_fct,
5624         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5625         definitions.
5626         (struct __gconv_step_data): Remove __trans member.
5627         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5628         longer hidden.  Remove unused trans_data argument.
5629         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5630         (__gconv_translit_find): Remove declaration.
5631         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5632         prototype.
5633         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5634         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5635         trans_data argument.  Add hidden definition.
5636         (__gconv_translit_find): Remove.
5637         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5638         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5639         * iconv/skeleton.c: Remove transliteration initialization.
5640         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5641         __gconv_step_data initialization.
5642         * libio/iofwide.c (__libio_translit_): Remove.
5643         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5644         * wcsmbs/btowc.c (__btowc): Likewise.
5645         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5646         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5647         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5648         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5649         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5650         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5651         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5652         * wcsmbs/wctob.c (wctob): Likewise.
5653
5654 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5655
5656         [BZ #16194]
5657         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5658         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5659         register usage.
5660         * sysdeps/x86/Makefile: Adjust.
5661
5662 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5663             Roland McGrath  <roland@hack.frob.com>
5664
5665         * locale/weight.h: Add include guard.
5666         (findidx): Make static rather than auto; take new parameters
5667         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5668         * locale/weightwc.h: Likewise.
5669         * posix/fnmatch_loop.c
5670         (FCT): Change type of EXTRA from int32_t to wint_t.
5671         Don't include either header inside the function.
5672         Call FINDIDX rather than findidx, and pass new arguments.
5673         #undef FINDIDX at the end of the file.
5674         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5675         FINDIDX before including fnmatch_loop.c for the non-wide version.
5676         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5677         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5678         for the wide version.
5679         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5680         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5681         Pass new arguments to findidx.
5682         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5683         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5684         Don't #include it inside the function.  Pass new arguments to findidx.
5685         * posix/regex_internal.h
5686         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5687         (re_string_elem_size_at): Don't #include it inside the function.
5688         Pass new arguments to findidx.
5689         * string/strcoll_l.c: #include WEIGHT_H at top level.
5690         (get_next_seq): Don't #include it inside the function.
5691         Pass new arguments to findidx.
5692         (get_next_seq_nocache): Likewise.
5693         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5694         (STRXFRM): Don't #include it inside the function.
5695         Pass new arguments to findidx.
5696
5697 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5698
5699         [BZ #17344]
5700         * malloc/malloc.c (unlink): Turn asserts into a call to
5701         malloc_printerr.
5702
5703 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5704
5705         [BZ #17370]
5706         * libio/wfileops (do_ftell_wide): Free OUT.
5707
5708 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5709
5710         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5711
5712 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5713
5714         [BZ #17363]
5715         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5716         group if the current group is empty.
5717
5718 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5719
5720         * benchtests/bench-memset.c (test_main): Add more test from size
5721         from 32 to 512 bytes.
5722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5723         Add POWER8 memset object.
5724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5725         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5726         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5727         implementation.
5728         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5729         Likewise.
5730         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5731         multiarch POWER8 memset optimization.
5732         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5733         POWER8 memset optimization.
5734
5735         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5736         Remove bzero multiarch objects.
5737         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5738         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5740         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5741         Remove define.
5742         [__bzero]: Redefine to specific name.
5743         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5744         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5745         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5746         define.
5747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5748         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5749
5750 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5751
5752         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5753         warnings into errors.
5754
5755         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5756         __cxa_thread_atexit_impl prototype.
5757
5758 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5759
5760         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5761         Fix capitalization of error message.
5762
5763 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5764
5765         * sysdeps/mips/preconfigure: Modify ABI tests.
5766
5767 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5768
5769         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5770
5771 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5772             Carlos O'Donell  <carlos@systemhalted.org>
5773
5774         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5776         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5777         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5778         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5779         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5780         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5781         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5782         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5795         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5796         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5797         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5798         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5799         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5800         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5801         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5802         Deconditionalize the code that was previously under [RESET_PID].
5803         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5804         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5805         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5806         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5807         include sysdep.h.
5808
5809 2014-09-08  Allan McRae  <allan@archlinux.org>
5810
5811         * version.h (RELEASE): Set to "development".
5812         (VERSION): Set to "2.20.90"
5813
5814 2014-09-07  Allan McRae  <allan@archlinux.org
5815
5816         * version.h (RELEASE): Set to "stable".
5817         (VERSION): Set to "2.20"
5818         * include/features.h (__GLIBC_MINOR__): Set to 20.
5819
5820         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5821         Liebler.
5822
5823         * po/ko.po: Update Korean translation from translation project.
5824
5825 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5826
5827         [BZ #17354]
5828         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5829         macro for handling signed relocations.
5830
5831 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5832
5833         [BZ #17325]
5834         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5835         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5836         assert.
5837         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5838         * iconvdata/ibm935.c (BODY): Likewise.
5839         * iconvdata/ibm937.c (BODY): Likewise.
5840         * iconvdata/ibm939.c (BODY): Likewise.
5841         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5842         assert.
5843         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5844         script.
5845         * iconvdata/run-iconv-test.sh: New test loop for checking for
5846         decoder crashers.
5847
5848 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5849
5850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5851         libm_hidden_ver.
5852
5853 2014-09-01  Allan McRae  <allan@archlinux.org>
5854
5855         * po/eo.po: Update Esperanto translation from translation project.
5856
5857         * po/ca.po: Update Catalan translation from translation project.
5858
5859 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5860
5861         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5862         __proc_dostop call.
5863
5864 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5865
5866         [BZ #17319]
5867         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5868         to call set_thread_area instead of hand written asm.
5869         (__NR_set_thread_area): Removed define.
5870         (TLS_FLAG_WRITABLE): Likewise.
5871         (__ASSUME_SET_THREAD_AREA): Remove check.
5872         (TLS_EBX_ARG): Remove define.
5873         (TLS_LOAD_EBX): Likewise.
5874
5875 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5876
5877         Simplify atomicity of socket creation in bind.
5878
5879         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5880         looking up the name after linking the file.
5881
5882 2014-08-27  Allan McRae  <allan@archlinux.org>
5883
5884         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5885
5886 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5887
5888         [BZ #17187]
5889         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5890         trans_compare, open_translit, __gconv_translit_find):
5891         Remove module loading code.
5892
5893 2014-08-26  Allan McRae  <allan@archlinux.org>
5894
5895         * po/vi.po: Update Vietnamese translation from translation project.
5896
5897         * po/uk.po: Update Ukrainian translation from translation project.
5898
5899         * po/fr.po: Update French translation from translation project.
5900
5901         * po/ru.po: Update Russian translation from translation project.
5902
5903         * po/pl.po: Update Polish translation from translation project.
5904
5905         * po/cs.po: Update Czech translation from translation project.
5906
5907         * po/de.po: Update German translation from translation project.
5908
5909         * po/bg.po: Update Bulgarian translation from translation project.
5910
5911         * po/sv.po: Update Sweedish translation from translation project.
5912
5913         * po/nl.po: Update Dutch translation from translation project.
5914
5915         * po/es.po: Update Spanish translation from translation project.
5916
5917 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5918
5919         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5920
5921         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5922         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5923         (CPPFLAGS-iconvconfig): Likewise.
5924         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5925
5926         * include/libc-symbols.h: Remove unnecessary check for
5927         NOT_IN_libc.
5928         * nptl/pthreadP.h: Likewise.
5929         * sysdeps/aarch64/setjmp.S: Likewise.
5930         * sysdeps/alpha/setjmp.S: Likewise.
5931         * sysdeps/arm/sysdep.h: Likewise.
5932         * sysdeps/i386/setjmp.S: Likewise.
5933         * sysdeps/m68k/setjmp.c: Likewise.
5934         * sysdeps/posix/getcwd.c: Likewise.
5935         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5937         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5938         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5939         * sysdeps/sh/sh3/setjmp.S: Likewise.
5940         * sysdeps/sh/sh4/setjmp.S: Likewise.
5941         * sysdeps/unix/alpha/sysdep.h: Likewise.
5942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5944         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5950         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5953         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5955         * sysdeps/x86_64/setjmp.S: Likewise.
5956
5957 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5958
5959         [BZ #17263]
5960         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5961         <stdint.h>.
5962         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5963         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5964
5965 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5966
5967         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5968
5969         [BZ #17262]
5970         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5971         and __x86_64__ when disabling x87 inline functions.
5972
5973 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5974
5975         [BZ #17259]
5976         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5977         asm statement with __cpuid_count.
5978
5979 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5980
5981         * configure.ac: Change __ehdr_start code to dereference the struct.
5982         Run readelf on the output to look for relocations.
5983         * configure: Regenerated.
5984
5985 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5986
5987         [BZ #17261]
5988         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5989         value to 0.
5990         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5991
5992 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5993
5994         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5995
5996 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5997
5998         [BZ #16892]
5999         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6000         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6001
6002 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6003
6004         * malloc/malloc.c: Fix typo in comment.
6005
6006 2014-08-09  Allan McRae  <allan@archlinux.org>
6007
6008         * Regenerate libc.po.
6009
6010 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6011
6012         * intl/tst-gettext2.sh: Check every lang file for creation.
6013
6014 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6015
6016         * sysdeps/aarch64/fpu/math_private.h
6017         (libc_feholdsetround_noex_aarch64_ctx): New function.
6018
6019 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6020
6021         * sysdeps/arm/armv6/strcpy.S (strcpy):
6022         Fix performance issue in misaligned cases.
6023
6024 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6025
6026         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6027         Move definition from termios.h.
6028         (struct termio): Likewise.
6029         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6030         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6031         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6032         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6035         Move definition to ioctl-types.h
6036         (struct termio): Likewise.
6037         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6038         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6039         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6040         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6041         Likewise.
6042
6043 2014-08-05  Richard Henderson  <rth@redhat.com>
6044
6045         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6046         exceptions.
6047         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6048         Add fraiseexcpt.
6049         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6050         Use __feraiseexcept.
6051         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6052         Protect libm symbols with IS_IN_libm.
6053
6054         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6055
6056 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6057
6058         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6059
6060 2014-08-04  Will Newton  <will.newton@linaro.org>
6061
6062         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6063         file.
6064
6065 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6066
6067         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6068         variants for each function.
6069
6070 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6071
6072         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6073         appended ...
6074         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6075         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6076         appended ...
6077         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6078         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6079         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6080         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6081         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6082         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6083         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6084         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6085         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6086         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6089         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6090         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6091         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6099         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6100         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6101         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6102         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6103         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6105         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6112         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6113         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6114         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6115         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6116         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6117         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6119         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6121         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6123         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6125         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6127         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6128         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6129         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6130         Update #include.
6131         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6132         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6133
6134 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6135
6136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6137         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6139         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6141         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6142
6143 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6144
6145         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6146         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6147         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6148         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6149
6150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6151
6152         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6153         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6154         (__libc_vfork): Define function under this name.
6155         (__vfork): Define as an alias.
6156         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6157         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6158
6159 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6160
6161         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6162         that was previously under [RESET_PID].
6163         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6164
6165 2014-08-04  Andreas Schwab  <schwab@suse.de>
6166
6167         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6168
6169 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6170
6171         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6172         (main): Likewise.
6173
6174 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6175
6176         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6177
6178 2014-08-01  Richard Henderon  <rth@redhat.com>
6179
6180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6181         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6182         typo in exact zero test.
6183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6184         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6185         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6186
6187 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6188
6189         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6190         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6191         * sysdeps/arm/sysdep.h: ... here.
6192         [!__ASSEMBLER__]: Include <stdint.h>.
6193
6194 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6195
6196         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6197         (HAVE_WCTYPE_H): Likewise.
6198         (HAVE_ISWCTYPE): Likewise.
6199         (ENABLE_NLS): Likewise.
6200         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6201         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6202
6203         * posix/regex_internal.c: Check if DEBUG is defined and is
6204         set.
6205
6206         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6207         (HAVE_MBSRTOWCS): Likewise.
6208         * posix/fnmatch.c: Include string.h unconditionally.
6209
6210 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6211
6212         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6213         reversal.
6214
6215 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6216
6217         * sysdeps/generic/safe-fatal.h: New file.
6218         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6219         * nptl/forward.c: Include it.
6220         (__pthread_unwind): Use __safe_fatal as default action, rather
6221         than a bogus use of INTERNAL_SYSCALL that could never work.
6222
6223         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6224         * configure.ac (libc_cv_builtin_trap): New test.
6225         * configure: Regenerated.
6226         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6227         (ABORT_INSTRUCTION): Define using __builtin_trap.
6228
6229         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6230         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6231         * sysdeps/nptl/nptl-signals.h: New file.
6232         * nptl/pthreadP.h: Include <nptl-signals.h>.
6233
6234 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6235
6236         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6237         (ONE_DIRECTION): Define.
6238         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6239         (ONE_DIRECTION): Define.
6240         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6241         (ONE_DIRECTION): Define.
6242
6243 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6244
6245         * sysdeps/s390/Makefile: Delete file.
6246         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6247         * sysdeps/s390/__longjmp.c: Delete file.
6248         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6249         Remove fields __flags and __reserved.
6250         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6251         and add versioning.
6252         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6253         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6254         * sysdeps/s390/rtld-setjmp.S: Likewise.
6255         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6256         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6257         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6258         * sysdeps/s390/s390-32/setjmp.S: ... here.
6259         Add versioning.
6260         (__sigsetjmp): Remove setting __flags field.
6261         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6262         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6263         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6264         * sysdeps/s390/s390-64/setjmp.S: ... here.
6265         Add versioning.
6266         (__sigsetjmp): Remove setting __flags field.
6267         * sysdeps/s390/setjmp.S: Delete file.
6268         * sysdeps/s390/sigjmp.c: Likewise.
6269         * sysdeps/s390/v1-longjmp.c: Likewise.
6270         * sysdeps/s390/v1-setjmp.h: Likewise.
6271         * sysdeps/s390/v1-sigjmp.c: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6273         Remove v1-longjmp_chk.
6274         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6275         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6276         Include debug/longjmp_chk.c and add versioning.
6277         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6278         Include nptl/pt-longjmp.c and add versioning.
6279         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6280         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6281         Include __longjmp.c.
6282         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6283         Move to ...
6284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6285         (__getcontext): Remove setting __flags field.
6286         Add versioning.
6287         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6288         Don't restore upper high grps.
6289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6290         Likewise.
6291         (__swapcontext): Remove setting uc_flags field.
6292         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6293         Delete file.
6294         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6295         Include __longjmp.c.
6296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6297         Move to ...
6298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6299         (__getcontext): Remove setting __flags field.
6300         Add versioning.
6301         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6302         (__swapcontext): Remove setting uc_flags field.
6303         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6304         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6305         Remove fields uc_high_gprs and __reserved.
6306         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6307         New file with reverted content.
6308         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6309         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6310         Regenerated.
6311         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6312         Regenerated.
6313
6314 2014-07-31  Andreas Schwab  <schwab@suse.de>
6315
6316         * config.h.in (HAVE_IFUNC): Define to 0.
6317         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6318         definedness.
6319
6320 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6321
6322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6323         memmove-avx-unaligned, memcpy-avx-unaligned and
6324         mempcpy-avx-unaligned.
6325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6326         Add tests for AVX memcpy functions.
6327         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6329         memcpy_chk.
6330         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6331         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6332         memmove_chk.
6333         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6334         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6335         mempcpy_chk.
6336         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6337         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6338         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6339
6340 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341
6342         [BZ #17213]
6343         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6344         powerpc64le.
6345
6346 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6347
6348         [BZ #16839]
6349         * manual/llio.texi: Add section about open file description locks.
6350         * manual/examples/ofdlocks.c: Example of open file description
6351         lock usage.
6352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6353         F_OFD_SETLK, and F_OFD_SETLKW.
6354
6355 2014-07-23  Allan McRae  <allan@archlinux.org>
6356
6357         * po/es.po: Update Spanish translation from translation project.
6358
6359 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6360
6361         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6362
6363 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6364
6365         [BZ #17078]
6366         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6367         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6368         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6369
6370 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6371
6372         [BZ #17088]
6373         * math/fesetenv.c (__fesetenv)
6374         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6375         * math/feupdateenv.c (__feupdateenv)
6376         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6377
6378         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6380         (__ASSUME_SOCKETCALL): Do not define.
6381
6382         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6383         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6384         (__ASSUME_SOCKETCALL): Do not define.
6385         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6386         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6388         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6390         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6392         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6393
6394         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6395         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6396         (__ASSUME_SOCKETCALL): Do not define.
6397         (__ASSUME_IPC64): Define unconditionally.
6398         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6400         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6402         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6404         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6405         Likewise.
6406
6407         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6408         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6409         (__ASSUME_SOCKETCALL): Do not define.
6410         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6411         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6412         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6413         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6414         (__ASSUME_REQUEUE_PI): Define unconditionally.
6415         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6416         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6417         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6418         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6420         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6421
6422         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6423         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6424         (__ASSUME_SOCKETCALL): Do not define.
6425         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6427         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6428         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6430         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6431
6432         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6433         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6434         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6435         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6436         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6437         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6438         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6439         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6440         (__ASSUME_GETCPU_SYSCALL): Likewise.
6441
6442         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6443         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6444         cases for individual architectures.
6445         * sysdeps/gnu/configure: Regenerated.
6446         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6447         LIBC_SLIBDIR_RTLDDIR.
6448         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6449         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6450         LIBC_SLIBDIR_RTLDDIR.
6451         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6453         LIBC_SLIBDIR_RTLDDIR.
6454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6455         Regenerated.
6456         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6457         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6458         file.
6459         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6460         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6461         file.
6462         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6463         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6464         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6465         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6466
6467         * sysdeps/aarch64/shlib-versions: Move to ...
6468         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6469         * sysdeps/alpha/shlib-versions: Move to ...
6470         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6471         * sysdeps/arm/shlib-versions: Move to ...
6472         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6473         * sysdeps/hppa/shlib-versions: Move all contents except for
6474         libgcc_s entry to ...
6475         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6476         entry from ...
6477         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6478         * sysdeps/ia64/shlib-versions: Move to ...
6479         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6480         entry from ...
6481         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6482         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6483         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6484         * sysdeps/microblaze/shlib-versions: Move to ...
6485         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6486         * sysdeps/mips/shlib-versions: Move to ...
6487         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6488         entry from ...
6489         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6490         * sysdeps/tile/shlib-versions: Move to ...
6491         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6492         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6493         from ...
6494         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6495         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6496         entry from ...
6497         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6498
6499 2014-07-17  Will Newton  <will.newton@linaro.org>
6500
6501         * sysdeps/arm/bits/atomic.h
6502         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6503         (__arch_compare_and_exchange_bool_16_int): Likewise.
6504         (__arch_compare_and_exchange_bool_64_int): Likewise.
6505
6506         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6507         into an #else block.
6508
6509 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6510
6511         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6512         just Linux configurations.  Test empirically that the compiler sets
6513         __ARM_EABI__, rather than using the tuple to decide.
6514         * sysdeps/arm/preconfigure: Regenerated.
6515         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6516         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6517         contents appended ...
6518         * sysdeps/arm/configure.ac: ... here.
6519         * sysdeps/arm/configure: Regenerated.
6520
6521 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6522
6523         * nptl/pthread_kill.c: New file.
6524         * nptl/pthread_sigmask.c: New file.
6525         * nptl/pthread_sigqueue.c: New file.
6526
6527         * sysdeps/nptl/lowlevellock.h: New file.
6528         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6529         * sysdeps/nptl/lowlevellock-futex.h: New file.
6530
6531         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6532         Remove dead declarations.
6533
6534 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6535
6536         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6537         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6538         config-cflags-avx2.
6539         * sysdeps/x86_64/configure.ac: Likewise.
6540         * sysdeps/i386/configure: Regenerated.
6541         * sysdeps/x86_64/configure: Likewise.
6542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6543         memset-avx2 only if config-cflags-avx2 is yes.
6544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6545         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6546         defined.
6547         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6548         only if HAVE_AVX2_SUPPORT is defined.
6549         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6550
6551 2014-07-14  Alan Modra  <amodra@gmail.com>
6552
6553         [BZ #17153]
6554         * elf/elf.h (DT_PPC64_NUM): Correct value.
6555         * NEWS: Add to fixed bug list.
6556
6557 2014-07-13  Jim Meyering  <meyering@fb.com>
6558
6559         [BZ 17150]
6560         regex: don't deref NULL upon heap allocation failure
6561         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6562         failure in one more place.
6563         To trigger the segfault, configure grep -with-included-regex,
6564         build it, and run these commands:
6565         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6566
6567 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6568
6569         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6570
6571 2014-07-11  Richard Henderson  <rth@redhat.com>
6572
6573         * sysdeps/aarch64/libm-test-ulps: Update.
6574
6575 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6576
6577         [BZ #17135]
6578         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6579         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6580         (__nptl_setxid): Initialize error member.  Call
6581         __nptl_setxid_error.
6582         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6583         * nptl/descr.h (struct xid_command): Add error member.
6584         * nptl/tst-setuid3.c: New file.
6585         * nptl/Makefile (tests): Add it.
6586
6587 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6588
6589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6590         New define.
6591         (__lll_trylock): Use __lll_base_trylock.
6592         (__lll_cond_trylock): Likewise.
6593
6594 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6595
6596         * nptl/pthread_create.c (start_thread): Use atomic_or and
6597         lll_futex_wake directly rather than lll_robust_dead.
6598         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6599         (lll_robust_dead): Macro removed.
6600         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6601         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6602         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6603         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6605         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6606         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6607         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6608         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6611         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6612         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6615
6616         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6617         Use atomic_compare_and_exchange_val_acq directly rather than
6618         lll_robust_trylock.
6619         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6620         (__lll_robust_trylock, lll_robust_trylock): Removed.
6621         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6622         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6623         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6624         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6626         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6628         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6633         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6634         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6635
6636 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6637
6638         * manual/locale.texi (Locale Names): New section documenting
6639         locale name syntax.  Adjust menu and node chaining accordingly.
6640         (Choosing Locale): Reference Locale Names, Locale Categories.
6641         Mention setting LC_ALL=C.  Reflect that name syntax is now
6642         documented.
6643         (Locale Categories): New section title.  Reference Locale Names.
6644         LC_ALL is an environment variable, but not a category.
6645         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6646         description, now in Locale Name.  Reference that section.  Locale
6647         name syntax is now documented.
6648
6649 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6650
6651         [BZ #17137]
6652         * locale/findlocale.c (name_present, valid_locale_name): New
6653         functions.
6654         (_nl_find_locale): Use the loc_name variable to store name
6655         candidates.  Call name_present and valid_locale_name to check and
6656         validate locale names.  Return an error if the locale is invalid.
6657
6658 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6659
6660         * locale/setlocale.c (setlocale): Use strdup for allocating
6661         composite name copy.
6662
6663 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6664
6665         Sync up with gnulib.
6666         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6667         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6668         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6669         and _GL_ARG_NONNULL.
6670         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6671         [!_LIBC]: Include code for Windows and Cygwin.
6672         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6673         Include prototype for int strerror_r.
6674         [!_LIBC] (is_open): New function.
6675         (flush_stdout): New function.
6676         (print_errno_message): Use it.
6677         (error): Likewise.
6678         (error_at_line): Likewise.
6679         (error_tail) Add function attribute macros.  Use
6680         __builtin_expect.
6681
6682         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6683
6684         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6685
6686         * io/ftw.c: Include sys/param.h unconditionally.
6687
6688         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6689
6690         [BZ #17125]
6691         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6692         libc_freeres_ptr.
6693         (freecache): New function to free CACHE on exit.
6694
6695         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6696         initialization.
6697
6698 2014-07-09  David S. Miller  <davem@davemloft.net>
6699
6700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6701
6702         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6703         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6704         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6705         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6706         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6707         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6708         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6709         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6710         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6711         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6712         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6713         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6714         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6715
6716 2014-07-09  Andreas Schwab  <schwab@suse.de>
6717
6718         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6719         output.
6720         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6721         (do_test): Likewise.
6722
6723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6724
6725 2014-07-09  Will Newton  <will.newton@linaro.org>
6726
6727         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6728         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6729         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6730         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6731         * sysdeps/hppa/start.S (_start): Likewise.
6732
6733 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6734
6735         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6736
6737         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6738         defined.
6739
6740 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6741
6742         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6743         after checking that it is non-NULL.
6744
6745         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6746
6747 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748
6749         * sysdeps/powerpc/memmove.c: Remove file.
6750         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6751         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6752         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6757         string memmove instead of removed powerpc one.
6758
6759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6760         [weak_alias]: Fix compiler warning due trailing data.
6761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6762         [weak_alias]: Likewise.
6763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6764         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6765
6766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6767         (__libc_ifunc_impl_list): Add memmove functions.
6768
6769 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6770
6771         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6772         Remove code.
6773         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6774         Likewise
6775         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6776         Likewise
6777         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6778         Likewise
6779         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6780         Likewise
6781         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6782         Likewise
6783         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6784         Likewise
6785         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6786         Likewise
6787         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6788         Likewise
6789         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6790         Likewise
6791         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6792         Likewise
6793         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6794         Likewise
6795         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6796         Likewise
6797         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6798         Likewise
6799         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6800         Likewise
6801         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6802         Likewise
6803         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6804         Likewise
6805
6806 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6807
6808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6809         to avoid alignment traps in non-cacheable memory.
6810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6811
6812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6813         multiarch objects.
6814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6815         file: multiarch power7 memmove.
6816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6817         multiarch default memmove.
6818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6819         multiarch memove for powerpc32/power4.
6820
6821         * string/bcopy.c: Use full path to include memmove.c.
6822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6823         multiarch objects.
6824         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6825         bcopy for powerpc64.
6826         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6827         bcopy for powerpc64.
6828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6829         and memmove implementations.
6830         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6831         optimized multiarch memmove for POWER7/powerpc64.
6832         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6833         default multiarch memmove for powerpc64.
6834         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6835         multiarch for powerpc64.
6836         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6837         for POWER7/powerpc64.
6838         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6839         memmove for POWER7/powerpc64.
6840
6841         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6842         glibc default one.
6843
6844         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6845         __ELF_NATIVE_CLASS equal to 64.
6846
6847 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6848
6849         * sysdeps/nptl/lowlevellock.h: File removed.
6850
6851         * NEWS: NPTL is no longer an add-on!
6852         * nptl/internaltypes.h: Moved ...
6853         * sysdeps/nptl/internaltypes.h: ... here.
6854         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6855         * sysdeps/nptl/fork.c: Likewise.
6856         * sysdeps/nptl/gai_misc.h: Likewise.
6857         * sysdeps/nptl/librt-cancellation.c: Likewise.
6858         * sysdeps/nptl/jmp-unwind.c: Likewise.
6859         * sysdeps/nptl/setxid.h: Likewise.
6860         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6861         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6862         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6863         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6864         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6865         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6866         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6867         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6868         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6869         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6870         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6871         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6872         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6873         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6874         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6875         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6876         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6877         * nptl/Makeconfig: Moved ...
6878         * sysdeps/nptl/Makeconfig: ... here.
6879         * nptl/configure: File removed.
6880         * nptl/ANNOUNCE: File removed.
6881         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6882         * sysdeps/unix/sysv/linux/configure: Regenerated.
6883
6884         * nptl/Makefile (routines): Add libc_pthread_init,
6885         libc_multiple_threads, register-atfork and unregister-atfork.
6886         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6887         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6888         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6889         pthread-pi-defines.sym, structsem.sym.
6890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6891         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6892         [$(subdir) = nptl] (tests): Add tst-setgetname.
6893         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6894         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6895         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6896         [!LIBC_SIGACTION]: Remove aliases.
6897         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6898         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6899         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6900         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6901         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6902         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6903         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6906         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6907         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6908         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6909         __libc_allocate_rtsig_private.
6910         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6911         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6912         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6913         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6914         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6915         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6916         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6917         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6918         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6919         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6920         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6921         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6922         * nptl/internaltypes.h: ... here.
6923         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6924         * sysdeps/nptl/jmp-unwind.c: ... here.
6925         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6926         * nptl/libc-lowlevellock.c: ... here.
6927         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6928         * nptl/libc_multiple_threads.c: ... here.
6929         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6930         * nptl/libc_pthread_init.c: ... here.
6931         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6932         * nptl/lowlevelbarrier.sym: ... here.
6933         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6934         * nptl/lowlevelcond.sym: ... here.
6935         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6936         * nptl/lowlevellock.c: ... here.
6937         * nptl/lowlevellock.h: Moved ...
6938         * sysdeps/nptl/lowlevellock.h: ... here.
6939         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6940         * nptl/lowlevelrobustlock.c: ... here.
6941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6942         * nptl/lowlevelrobustlock.sym: ... here.
6943         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6944         * nptl/lowlevelrwlock.sym: ... here.
6945         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6946         * nptl/pt-fork.c: ... here.
6947         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6948         * nptl/pthread-pi-defines.sym: ... here.
6949         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6950         * nptl/pthread_attr_getaffinity.c: ... here.
6951         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6952         * nptl/pthread_attr_setaffinity.c: ... here.
6953         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6954         * nptl/pthread_mutex_cond_lock.c: ... here.
6955         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6956         Update #include.
6957         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6958         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6959         * nptl/pthread_once.c: ... here, replacing old file.
6960         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6961         * nptl/pthread_yield.c: ... here.
6962         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6963         * nptl/register-atfork.c: ... here.
6964         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6965         * nptl/sem_post.c: ... here.
6966         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6967         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6968         * nptl/sem_timedwait.c: ... here.
6969         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6970         * nptl/sem_trywait.c: ... here.
6971         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6972         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6973         * nptl/sem_wait.c: ... here.
6974         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6975         * nptl/structsem.sym: ... here.
6976         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6977         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6978         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6979         * nptl/unregister-atfork.c: ... here.
6980         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6981         * nptl/unwindbuf.sym: ... here.
6982         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6983         * sysdeps/nptl/fork.c: ... here.
6984         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6985         * sysdeps/nptl/fork.h: ... here.
6986         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6987         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6988         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6989         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6990         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6991         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6992         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6993         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6994         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6995         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6996         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6997         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6998         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6999         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7000         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7001         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7002         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7003         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7004         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7005         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7006         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7007         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7008         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7009         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7010         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7011         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7012         * sysdeps/unix/sysv/linux/raise.c: ... here.
7013         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7014         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7015         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7016         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7017         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7018         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7019         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7020         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7021         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7022         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7023         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7024         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7025         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7026         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7027         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7028
7029 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7030
7031         * sysdeps/generic/memcopy.h: Add comment for
7032         MEMCPY_OK_FOR_FWD_MEMMOVE.
7033
7034 2014-07-04  Will Newton  <will.newton@linaro.org>
7035
7036         * string/memchr.c: Merge from gnulib.
7037         [_LIBC]: Remove conditionals.
7038         (__ptr_t): Remove define.
7039         (LONG_MAX_32_BITS): Likewise.
7040         (LONG_MAX): Likewise.
7041         (MEMCHR): Use ANSI prototype and optimize algorithm.
7042
7043         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7044
7045 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7046
7047         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7048         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7049
7050         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7051         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7052         in a bare environment with no <stdlib.h> installed.
7053         * sysdeps/nptl/configure: Regenerated.
7054
7055         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7056
7057         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7058         AC_EGREP_CPP for kernel header checks, so they only succeed if
7059         including <linux/version.h> actually works right.
7060         * sysdeps/unix/sysv/linux/configure: Regenerated.
7061
7062         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7063         value so it's not diagnosed as unused.
7064
7065         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7066         thing) with "ifeq ($(subdir),rt)".
7067
7068 2014-07-03  Richard Henderson  <rth@redhat.com>
7069
7070         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7071         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7072         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7073
7074         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7075         (math_force_eval): New.
7076
7077         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7078         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7079
7080         * sysdeps/alpha/fpu/s_round.c: Remove file.
7081         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7082
7083         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7084         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7085         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7086         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7087         (_dl_start, print_statistics): Likewise.
7088         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7089         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7090
7091         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7092         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7093         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7094         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7096         (HP_SMALL_TIMING_AVAIL): Define.
7097         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7099         (HP_SMALL_TIMING_AVAIL): Define.
7100         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7101         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7102
7103         * sysdeps/aarch64/hp-timing.h: New file.
7104
7105         * sysdeps/generic/hp-timing.h: Remove dead comment.
7106         * sysdeps/generic/hp-timing-common.h: New file.
7107         * sysdeps/alpha/hp-timing.h: Include it.
7108         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7109         * sysdeps/i386/i686/hp-timing.h: Likewise.
7110         * sysdeps/ia64/hp-timing.h: Likewise.
7111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7114         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7115         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7116         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7117         (hp_timing_t): New.
7118
7119         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7120         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7121         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7122         * elf/rtld.c (_dl_start_final): Likewise.
7123         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7124         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7125         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7126         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7127         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7129         (HP_TIMING_DIFF_INIT): Remove.
7130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7132         (HP_TIMING_DIFF_INIT): Remove.
7133         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7134         * sysdeps/i386/i686/hp-timing.c: Remove file.
7135         * sysdeps/x86_64/hp-timing.c: Remove file.
7136         * sysdeps/ia64/hp-timing.c: Remove file.
7137         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7138         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7140         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7141
7142         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7143         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7144         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7145         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7146         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7147         (HP_TIMING_ACCUM): Remove.
7148         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7150         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7151
7152         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7153         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7154         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7155         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7156         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7157         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7159         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7160
7161         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7162
7163 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7164
7165         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7166
7167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7168
7169         Sync up with gettext.
7170         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7171         [_MSC_VER]: Include malloc.h
7172         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7173         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7174         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7175         TEMP_FAILURE_RETRY.  Cast return of alloca.
7176         [!_LIBC] Call gl_rwlock_init.
7177         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7178
7179 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7180
7181         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7182         before checking its value.
7183
7184 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7185
7186         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7187
7188         * debug/memcpy_chk.c: Don't include pagecopy.h.
7189         * debug/mempcpy_chk.c: Likewise.
7190         * string/memcpy.c: Likewise.
7191         * string/memmove.c: Likewise.
7192         * sysdeps/powerpc/memmove.c: Likewise.
7193         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7194         definition of PAGE_COPY_FWD_MAYBE here...
7195         * sysdeps/generic/pagecopy.h: ... from here.
7196         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7197
7198 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7200
7201         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7203         optimizations.
7204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7205         (__libc_ifunc_impl_list): Likewise.
7206         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7207         multiarch strcat for PPC64.
7208         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7209         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7210
7211 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7212
7213         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7214
7215 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7216
7217         * intl/loadmsgcat.c: Remove declaration of
7218         get_sysdep_segment_value.
7219         (get_sysdep_segment_value): Use ISO C style.
7220         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7221         semicolon.  Fix typo and formatting in comment.
7222         (_nl_unload_domain): Use ISO C style.
7223
7224         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7225
7226 2014-07-02  Will Newton  <will.newton@linaro.org>
7227
7228         * malloc/obstack.c: Merge from gnulib master.
7229         [HAVE_CONFIG_H]: Remove conditional code.
7230         [!_LIBC]: Include config.h.
7231         [!ELIDE_CODE]: Don't include inttypes.h, include
7232         stdint.h unconditionally.
7233         (print_and_abort): Mark as _Noreturn.
7234         (_obstack_allocated_p): Mark as __attribute_pure__.
7235         (obstack_free): Rename to __obstack_free.
7236         [!__attribute__]: Remove conditional code.
7237         * malloc/obstack.h: Merge from gnulib master.
7238         [__cplusplus]: Move conditional down.
7239         [!__attribute_pure__]: Define __attribute_pure__ here
7240         if it is not already defined.
7241         (_obstack_memory_used): Mark as __attribute_pure__.
7242         [!__obstack_free]: Define as obstack_free.
7243         [__GNUC__]: Remove check for ancient NeXT gcc.
7244
7245 2014-07-02  Will Newton  <will.newton@linaro.org>
7246             Paul Eggert  <eggert@cs.ucla.edu>
7247
7248         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7249
7250 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7251
7252         * resolv/gethnamaddr.c: Add comment warning that the file is
7253         not maintained.
7254
7255 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7256
7257         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7258         entries.
7259
7260         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7261         entry for aio_cancel and aio_cancel64.
7262         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7263         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7264         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7265         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7266         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7267         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7269         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7270         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7271         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7272         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7273         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7274         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7275
7276 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7277
7278         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7279         * nptl/pthread_mutex_lock.c: Likewise.
7280         * nptl/pthread_mutex_timedlock.c: Likewise.
7281         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7282
7283 2014-07-01  Richard henderson  <rth@redhat.com>
7284
7285         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7286         (__isnan, __isnanl): Remove.
7287         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7288
7289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7290
7291 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7292
7293         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7294
7295 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7296
7297         * resolv/nss_dns/dns-host.c (getanswer_r)
7298         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7299
7300 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7301
7302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7303         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7304         undefine.
7305         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7306         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7307
7308 2014-07-01  Roland McGrath <roland@hack.frob.com>
7309
7310         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7311         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7312
7313         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7314         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7315
7316         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7318         ... here.
7319         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7320         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7321
7322         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7323         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7324         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7325         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7326
7327         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7328         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7329         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7330         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7331         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7332         Moved ...
7333         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7334         ... here.
7335         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7336         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7338         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7339         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7340         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7341         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7342         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7343         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7344         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7345         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7346         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7347         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7348         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7349         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7350         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7351         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7352         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7353         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7354         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7355         ... here.
7356         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7357         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7358         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7359         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7360         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7361         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7362         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7363         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7364
7365 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7366
7367         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7368         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7369         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7370         Add sysdep.
7371
7372 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7373
7374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7375
7376 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7377
7378         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7379         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7380
7381         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7382
7383         * sysdeps/arm/libm-test-ulps: Regenerated.
7384
7385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7386             Roland McGrath <roland@hack.frob.com>
7387
7388         * test-skeleton.c (signal_handler): Kill the whole process group
7389         before killing the child individually.
7390         (main): Report any failure on `setpgid'.
7391
7392 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7393
7394         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7395         from _TLS_H to _ARM_NPTL_TLS_H.
7396         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7397         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7398
7399 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7400
7401         [BZ #16539]
7402         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7403         (__expm1l): Return argument unchanged when small but not
7404         subnormal.
7405
7406         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7407         include macro name.
7408         (_FP_UNPACK_RAW_1_P): Likewise.
7409         (_FP_PACK_RAW_1): Likewise.
7410         (_FP_PACK_RAW_1_P): Likewise.
7411         (_FP_MUL_MEAT_1_wide): Likewise.
7412         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7413         (_FP_MUL_MEAT_1_hard): Likewise.
7414         (_FP_DIV_MEAT_1_imm): Likewise.
7415         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7416         (_FP_DIV_MEAT_1_udiv): Likewise.
7417         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7418         (_FP_UNPACK_RAW_2): Likewise.
7419         (_FP_UNPACK_RAW_2_P): Likewise.
7420         (_FP_PACK_RAW_2): Likewise.
7421         (_FP_PACK_RAW_2_P): Likewise.
7422         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7423         (_FP_MUL_MEAT_2_wide): Likewise.
7424         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7425         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7426         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7427         (_FP_MUL_MEAT_2_gmp): Likewise.
7428         (_FP_DIV_MEAT_2_udiv): Likewise.
7429         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7430         (_FP_FRAC_SRL_4): Likewise.
7431         (_FP_FRAC_SRST_4): Likewise.
7432         (_FP_FRAC_SRS_4): Likewise.
7433         (_FP_UNPACK_RAW_4): Likewise.
7434         (_FP_UNPACK_RAW_4_P): Likewise.
7435         (_FP_PACK_RAW_4): Likewise.
7436         (_FP_PACK_RAW_4_P): Likewise.
7437         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7438         (_FP_MUL_MEAT_4_wide): Likewise.
7439         (_FP_MUL_MEAT_4_gmp): Likewise.
7440         (umul_ppppmnnn): Likewise.
7441         (_FP_DIV_MEAT_4_udiv): Likewise.
7442         (__FP_FRAC_ADD_4): Likewise.
7443         (__FP_FRAC_SUB_3): Likewise.
7444         (__FP_FRAC_SUB_4): Likewise.
7445         (__FP_FRAC_DEC_3): Likewise.
7446         (__FP_FRAC_DEC_4): Likewise.
7447         (__FP_FRAC_ADDI_4): Likewise.
7448         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7449         (_FP_FRAC_SRL_8): Likewise.
7450         (_FP_FRAC_SRS_8): Likewise.
7451
7452         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7453         include macro name.
7454         (FP_UNPACK_RAW_EP): Likewise.
7455         (FP_PACK_RAW_E): Likewise.
7456         (FP_PACK_RAW_EP): Likewise.
7457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7458         (_FP_ISSIGNAN): Likewise.
7459         (_FP_ADD_INTERNAL): Likewise.
7460         (_FP_FMA): Likewise.
7461         (_FP_CMP): Likewise.
7462         (_FP_SQRT): Likewise.
7463         (_FP_TO_INT): Likewise.
7464         (_FP_FROM_INT): Likewise.
7465         (FP_EXTEND): Likewise.
7466         (_FP_DIV_MEAT_N_loop): Likewise.
7467
7468 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7469
7470         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7471         throughout.
7472
7473 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7474
7475         [BZ #17097]
7476         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7477         result with correct sign in case of exponents that produce
7478         overflow except for X very close to 1.
7479
7480 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7481
7482         mktime: merge #if/#ifdef usage from glibc
7483         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7484         as that works with both Glibc's and Gnulib's style.
7485         See thread starting at Siddhesh Poyarekar's bug report at:
7486         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7487
7488 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7489
7490         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7491         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7492         * sysdeps/tile/tilegx/memmove.c: Remove file.
7493
7494 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7495
7496         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7497         abi-name definition.
7498         * scripts/soversions.awk: Do not handle or generate ABI lines.
7499         * shlib-versions: Remove ABI entries.
7500         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7501         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7502
7503 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7504
7505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7506         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7507         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7510         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7512         Moved ...
7513         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7514         ... here.
7515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7516         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7518         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7520         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7522         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7524         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7526         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7528         Moved ...
7529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7535         Moved ...
7536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7538         Moved ...
7539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7543         Moved ...
7544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7546         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7548         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7550         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7552         Moved ...
7553         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7555         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7556         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7557         Moved ...
7558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7560         Moved ...
7561         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7563         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7567         ... here.
7568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7569         Identical file removed.
7570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7574         Identical file removed.
7575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7576         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7578         Moved ...
7579         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7581         Identical file removed.
7582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7583         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7585         Identical file removed.
7586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7589         Identical file removed.
7590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7591         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7593         Identical file removed.
7594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7595         Moved ...
7596         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7598         Identical file removed.
7599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7600         Moved ...
7601         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7603         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7605         Identical file removed.
7606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7607         Moved ...
7608         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7609         ... here.
7610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7611         Identical file removed.
7612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7613         Moved ...
7614         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7616         Identical file removed.
7617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7618         Moved ...
7619         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7621         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7623         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7625         Moved ...
7626         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7628         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7629
7630         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7631         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7632         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7633         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7634         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7635
7636 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7637
7638         [BZ #17092]
7639         * nscd/nscd.c (monitor_child): Return exit status of child
7640         instead of return value from wait syscall.
7641
7642 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7643
7644         * configure.ac (libc_commonpagesize): Remove variable.
7645         (libc_relro_required): Likewise.
7646         (libc_cv_z_relro): Remove configure test.
7647         * configure: Regenerated.
7648         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7649         variable.
7650         (libc_relro_required): Likewise.
7651         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7652         (libc_relro_required): Likewise.
7653         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7654         (libc_relro_required): Likewise.
7655         * sysdeps/arm/preconfigure: Regenerated.
7656         * sysdeps/ia64/preconfigure: Remove file.
7657         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7658         variable.
7659         (libc_relro_required): Likewise.
7660
7661         [BZ #16561]
7662         [BZ #16562]
7663         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7664         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7665         recompute overflowing results in original rounding mode.
7666         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7667         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7668         recompute overflowing results in original rounding mode.
7669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7670         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7671         recompute overflowing results in original rounding mode.
7672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7673         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7674         recompute overflowing results in original rounding mode.
7675         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7676         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7677         recompute overflowing results in original rounding mode.
7678         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7679         (libc_feholdsetround_ctx): New macro.
7680         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7681         * sysdeps/i386/fpu/libm-test-ulps: Update.
7682         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7683
7684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7685
7686         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7687         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7688         corresponding .cpsetup call.
7689
7690 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7691
7692         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7693         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7694         * sysdeps/arm/Makefile [$(subdir) = csu]
7695         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7696         (static-only-routines): Add aeabi_read_tp here.
7697         (shared-only-routines): Add libc-aeabi_read_tp here.
7698         (CFLAGS-libc-start.c): Add -fexceptions here.
7699         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7700         (sysdep_routines, static-only-routines, shared-only-routines):
7701         Don't add to these here.
7702         (CFLAGS-libc-start.c): Likewise.
7703
7704         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7705         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7706         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7707         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7708         * sysdeps/arm/Makefile [$(subdir) = rt]
7709         (librt-sysdep_routines, librt-shared-only-routines):
7710         Append rt-aeabi_unwind_cpp_pr1 here.
7711         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7712         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7713         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7714         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7715         Append nptl-aeabi_unwind_cpp_pr1 here.
7716         (tests): Filter out tst-cleanupx4 here.
7717         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7718         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7719         Don't do those here.
7720
7721 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7722
7723         * scripts/list-sources.sh: Do not handle ports specially.
7724
7725 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7726
7727         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7728         * sysdeps/arm/feupdateenv.c: Likewise.
7729
7730         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7731
7732 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7733
7734         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7735         trailing whitespace removed.
7736         * scripts/config.guess: Update to version 2014-03-23.
7737         * scripts/config.sub: Update to version 2014-05-01
7738         * scripts/install-sh: Update to version 2013-12-25.23.
7739         * scripts/move-if-change: Update from gnulib.
7740
7741 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7742
7743         * debug/memmove_chk.c: Remove pagecopy.h include.
7744
7745 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7746
7747         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7748         identical to gnulib mktime.
7749
7750 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7751
7752         * configure.ac: Do not test for machine being rs6000.  Do not test
7753         for powerpc*-*soft.
7754         * configure: Regenerated.
7755
7756         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7757         test.
7758         * configure: Regenerated.
7759         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7760         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7761         Remove configure test.
7762         * sysdeps/arm/configure: Regenerated.
7763         * sysdeps/nptl/configure.ac: Do not check
7764         libc_cv_asm_cfi_directives.
7765         * sysdeps/nptl/configure: Regenerated.
7766         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7767         * sysdeps/x86_64/nptl/configure: Remove generated file.
7768         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7769         unconditional.
7770         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7771
7772 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7773
7774         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7775         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7776         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7777         it is defined.
7778
7779         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7780         instead of whether it is defined.
7781         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7782         * sysdeps/hppa/dl-machine.h: Likewise.
7783         * sysdeps/ia64/dl-machine.h: Likewise.
7784         * sysdeps/m68k/dl-machine.h: Likewise.
7785         * sysdeps/microblaze/dl-machine.h: Likewise.
7786         * sysdeps/mips/dl-machine.: Likewise.
7787         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7789         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7790         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7791         * sysdeps/sh/dl-machine.h: Likewise.
7792         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7794         * sysdeps/tile/dl-machine.h: Likewise.
7795         * sysdeps/x86_64/dl-machine.h: Likewise.
7796
7797         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7798         code.
7799         (verify_persistent_db): Likewise.
7800
7801 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7802
7803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7804         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7806         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7808         Moved ...
7809         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7810         ... here.
7811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7812         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7814         Identical file removed.
7815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7816         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7818         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7820         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7822         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7824         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7826         Moved ...
7827         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7829         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7831         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7833         Moved ...
7834         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7836         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7838         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7840         Identical file removed.
7841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7842         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7844         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7846         Moved ...
7847         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7848         ... here.
7849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7850         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7852         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7854         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7856         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7858         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7860         Moved ...
7861         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7863         Moved ...
7864         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7866         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7868         Moved ...
7869         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7872
7873         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7874         folded into ...
7875         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7876         * sysdeps/unix/sysv/linux/s390/Versions
7877         (libpthread: GLIBC_2.19): New version set.
7878         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7879         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7880         (librt: GLIBC_2.3.3): New version set.
7881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7882         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7883         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7885         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7887         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7889         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7891         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7893         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7895         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7897         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7899         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7901         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7903         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7905         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7909         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7911         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7912         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7917         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7919         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7926
7927         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7928         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7929         (__libc_vfork): Define the function under this name.
7930         [!NOT_IN_libc] (__vfork): Make this an alias.
7931         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7933         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7934         (__libc_vfork): Define the function under this name.
7935         [!NOT_IN_libc] (__vfork): Make this an alias.
7936         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7937         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7938         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7941         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7942
7943         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7944         code that was previously under [RESET_PID].
7945         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7948
7949         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7950         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7952         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7954         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7955         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7956         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7957         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7958         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7959         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7960         Moved ...
7961         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7962         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7963         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7964         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7966         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7967         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7968         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7969         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7970         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7971         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7972         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7973         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7974         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7975         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7976         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7977         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7978         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7979         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7980         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7981         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7982         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7983         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7985         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7986         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7987         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7989         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7990
7991 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7992
7993         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7994         that was previously under [RESET_PID].
7995         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7996
7997 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7998
7999         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8000         not undefine and redefine.
8001         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8002         [O_CLOEXEC]: Make code unconditional.
8003         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8004         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8005         <kernel-features.h>.
8006         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8007         conditional variable definition.
8008         (shm_open) [O_CLOEXEC]: Make code unconditional.
8009         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8010         code.
8011
8012         * configure.ac (USE_REGPARMS): Don't define here.
8013         * configure: Regenerated.
8014         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8015         * sysdeps/i386/configure: Regenerated.
8016
8017         * nptl/createthread.c: Don't include kernel-features.h.
8018         * nptl/pthread_cancel.c: Likewise.
8019         * nptl/pthread_condattr_setclock.c: Likewise.
8020         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8021         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8022         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8023         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8024         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8025         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8026         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8027         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8029         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8030         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8031         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8032         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8033         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8034         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8035         * nscd/gai.c: Likewise.
8036         * nss/nss_db/db-open.c: Likewise.
8037         * sysdeps/generic/ldsodefs.h: Likewise.
8038         * sysdeps/sh/nptl/tls.h: Likewise.
8039         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8040         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8041         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8042         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8043         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8044         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8045         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8046         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8047         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8048         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8049         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8050         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8051         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8052         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8053         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8054         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8055         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8056         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8057         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8058         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8061         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8062         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8067         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8068         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8069         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8070         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8071         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8072         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8073         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8074         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8075         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8076         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8077         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8078         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8079         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8080         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8081         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8082         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8083         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8084         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8085         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8086         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8087         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8088         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8089         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8090         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8091         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8092         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8093         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8094         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8095         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8096         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8119         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8120         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8121         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8122         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8123         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8124         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8125         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8126         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8127         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8128         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8129         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8130         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8131         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8132         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8133         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8134         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8135         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8136         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8137         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8138         * sysdeps/unix/sysv/linux/system.c: Likewise.
8139         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8140         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8141         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8142         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8143         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8144         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8145         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8146
8147         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8148         * configure: Regenerated.
8149         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8150
8151         * configure.ac (base_machine): Do not set specially for particular
8152         machines here.
8153         * configure: Regenerated.
8154         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8155         settings from configure.ac.
8156         * sysdeps/i386/preconfigure: New file.
8157         * sysdeps/s390/preconfigure: Likewise.
8158         * sysdeps/sh/preconfigure: Likewise.
8159         * sysdeps/sparc/preconfigure: Likewise.
8160
8161 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8162
8163         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8164         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8165         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8166         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8167         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8168         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8169         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8170         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8171         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8172         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8173         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8174         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8175         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8179         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8180         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8181         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8182
8183         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8184         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8185         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8186         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8187         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8188         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8189         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8190         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8191         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8192         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8193         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8194         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8195         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8196         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8197         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8198         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8199         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8200         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8201         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8202         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8203         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8204         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8206         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8214         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8216         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8218         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8220         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8221
8222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8223         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8227         Moved ...
8228         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8229         ... here.
8230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8235         Moved ...
8236         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8238         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8242         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8244         Moved ...
8245         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8247         Moved ...
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8250         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8252         Moved ...
8253         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8257         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8259         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8261         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8263         Moved ...
8264         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8265         ... here.
8266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8267         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8269         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8274         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8276         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8278         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8280         Moved ...
8281         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8283         Moved ...
8284         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8286         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8288         Moved ...
8289         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8291         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8293         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8294
8295 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8296
8297         * timezone/checktab.awk: Update from tzcode 2014e.
8298         * timezone/private.h: Likewise.
8299         * timezone/tzfile.h: Likewise.
8300         * timezone/zdump.c: Likewise.
8301         * timezone/zic.c: Likewise.
8302
8303         * sysdeps/unix/sysv/linux/kernel-features.h
8304         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8305         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8306         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8307         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8308         Remove conditional code.
8309
8310 2014-06-25  Will Newton  <will.newton@linaro.org>
8311
8312         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8313         (_dl_arm_cap_flags): Add HWCAP2 values.
8314         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8315         (_DL_HWCAP_COUNT): Increase to 37.
8316         (_DL_HWCAP_LAST): New define.
8317         (_DL_HWCAP2_LAST): New define.
8318         (_dl_procinfo): Add support for printing
8319         AT_HWCAP2 entries.
8320         (_dl_string_hwcap): Use _dl_hwcap_string.
8321
8322 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8323
8324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8325
8326 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8327
8328         * README: Do not mention ports directory.
8329
8330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8331         Remove macro.
8332         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8333         <kernel-features.h>.
8334         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8335         conditional variable definition.
8336         (__futimes): Update comment.
8337         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8338         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8339
8340         [BZ #16560]
8341         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8342         arguments close to 0.
8343         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8344         Likewise.
8345         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8346         Likewise.
8347         * math/auto-libm-test-in: Add more tests of exp10.
8348         * math/auto-libm-test-out: Regenerated.
8349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8350
8351         * sysdeps/unix/sysv/linux/kernel-features.h
8352         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8353         * sysdeps/unix/sysv/linux/readv.c: Do not include
8354         <kernel-features.h>.
8355         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8356         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8357         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8358         unconditional.
8359         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8360         conditional code.
8361         * sysdeps/unix/sysv/linux/writev.c: Do not include
8362         <kernel-features.h>.
8363         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8364         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8365         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8366         unconditional.
8367         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8368         conditional code.
8369
8370 2014-06-25  Will Newton  <will.newton@linaro.org>
8371
8372         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8373         comment changes throughout the file.  Remove checks
8374         for HAVE_*_H definitions that are not required.
8375         (__gen_tempname): Call abort if an unknown kind value is
8376         passed.
8377
8378 2014-06-25  Andreas Schwab  <schwab@suse.de>
8379
8380         [BZ #17086]
8381         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8382         scalbln, scalblnf, scalblnl in libc.
8383
8384 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8385
8386         [BZ #17086]
8387         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8388         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8389         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8390
8391 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8392
8393         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8394         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8395         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8396         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8397         Update #include.
8398         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8399         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8400         Update #include.
8401         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8402         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8403         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8404         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8405         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8406         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8407         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8408         * sysdeps/x86/bits/semaphore.h: ... here.
8409         * sysdeps/x86/nptl/elide.h: Moved ...
8410         * sysdeps/x86/elide.h: ... here.
8411         * sysdeps/x86_64/nptl/Implies: File removed.
8412         * sysdeps/i386/nptl/Implies: File removed.
8413
8414 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8415
8416         [BZ #16539]
8417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8418         return the argument for normal arguments with exponent below -64.
8419         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8420         Likewise.
8421         * math/auto-libm-test-in: Add another test of expm1.
8422         * math/auto-libm-test-out: Regenerated.
8423
8424         [BZ #16287]
8425         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8426         calling __erfcl for arguments at least 16.
8427         * math/auto-libm-test-in: Add more tests of erf.
8428         * math/auto-libm-test-out: Regenerated.
8429
8430         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8431         individual architectures.
8432         * sysdeps/unix/sysv/linux/configure: Regenerated.
8433         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8434         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8435         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8436         (ldd_rewrite_script): Define variable.
8437         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8439         file.
8440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8441         generated file.
8442         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8443         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8444         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8445         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8446         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8447         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8448         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8449         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8450
8451 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8452
8453         [BZ #17084]
8454         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8455         Rename member __data.d to __data.__elision_data.
8456
8457 2014-06-24  Wilco  <wdijkstr@arm.com>
8458
8459         * NEWS: Add 16918 to fixed bug list.
8460
8461 2014-06-24  Wilco  <wdijkstr@arm.com>
8462
8463         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8464
8465 2014-06-24  Wilco  <wdijkstr@arm.com>
8466
8467         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8468         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8469         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8470         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8471         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8472         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8473         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8474         Use _FPU_MASK_RM.
8475
8476 2014-06-24  Wilco  <wdijkstr@arm.com>
8477
8478         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8479
8480 2014-06-24  Wilco  <wdijkstr@arm.com>
8481
8482         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8483         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8484         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8485         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8486
8487 2014-06-24  Wilco  <wdijkstr@arm.com>
8488
8489         [BZ #16918]
8490         * sysdeps/arm/feupdateenv.c (feupdateenv):
8491         Rewrite to reduce FPSCR accesses and fix return value.
8492
8493 2014-06-24  Wilco  <wdijkstr@arm.com>
8494
8495         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8496         Optimize to avoid unnecessary FPSCR writes.
8497         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8498         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8499         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8500         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8501
8502 2014-06-24  Wilco  <wdijkstr@arm.com>
8503
8504         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8505         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8506         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8507         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8508         Call libc_fetestexcept_vfp.
8509         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8510         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8511         __SOFTFP__ ifdef so that they can be built for softfp.
8512
8513 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8514
8515         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8516         argument type signed char.
8517
8518         * Makerules (check-abi): Dump diff of symlist if the test
8519         fails.
8520
8521 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8522
8523         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8524         using abort.
8525
8526         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8527         Remove unused variable ST.
8528
8529 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8530
8531         [BZ #16354]
8532         [BZ #17061]
8533         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8534         small arguments before calling __expm1.
8535         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8536         small arguments before calling __expm1f.
8537         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8538         small arguments before calling __expm1l.
8539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8540         Likewise.
8541         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8542         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8543         spurious underflow for some cosh tests.
8544         * math/auto-libm-test-out: Regenerated.
8545         * sysdeps/i386/fpu/libm-test-ulps: Update.
8546
8547         [BZ #17050]
8548         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8549         (__ieee754_y1): Set errno if return value overflows.
8550         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8551         (__ieee754_y1f): Set errno if return value overflows.
8552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8553         (__ieee754_y1l): Set errno if return value overflows.
8554         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8555         (__ieee754_y1l): Set errno if return value overflows.
8556         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8557         * math/auto-libm-test-out: Regenerated.
8558
8559         * math/gen-auto-libm-tests.c: Document use of
8560         ignore-zero-inf-sign.
8561         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8562         (input_flags): Add ignore-zero-inf-sign.
8563         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8564         * math/gen-libm-test.pl (generate_testfile): Handle
8565         ignore-zero-inf-sign.
8566         * math/auto-libm-test-in: Mark some cpow tests with
8567         ignore-zero-inf-sign and some with xfail-rounding.
8568         * math/auto-libm-test-out: Regenerated.
8569         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8570         * sysdeps/i386/fpu/libm-test-ulps: Update.
8571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8572
8573         [BZ #16315]
8574         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8575         overflowing or underflowing operations take place with sign of
8576         result.
8577         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8578         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8579         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8580         (__ieee754_pow): Recompute overflowing and underflowing results in
8581         original rounding mode.
8582         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8583         (__powl_helper): Allow negative argument X and scale negated value
8584         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8585         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8586         overflowing or underflowing operations take place with sign of
8587         result.
8588         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8589         Include <math.h>.
8590         * math/auto-libm-test-in: Add more tests of pow.
8591         * math/auto-libm-test-out: Regenerated.
8592         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8593         (pow_tonearest_test_data): Remove.
8594         (pow_test_tonearest): Likewise.
8595         (pow_towardzero_test_data): Likewise.
8596         (pow_test_towardzero): Likewise.
8597         (pow_downward_test_data): Likewise.
8598         (pow_test_downward): Likewise.
8599         (pow_upward_test_data): Likewise.
8600         (pow_test_upward): Likewise.
8601         (main): Don't call removed functions.
8602         * sysdeps/i386/fpu/libm-test-ulps: Update.
8603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604
8605 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8606
8607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8608         Moved ...
8609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8611         Moved ...
8612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8614         Moved ...
8615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8617         Moved ...
8618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8620         File removed.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8622         File removed.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8624         File removed.
8625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8626         File removed.
8627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8628         File removed.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8630         File removed.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8632         File removed.
8633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8634         File removed.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8636         File removed.
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8638         File removed.
8639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8640         File removed.
8641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8642         File removed.
8643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8644         Moved ...
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8647         Moved ...
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8649         ... here.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8651         Moved ...
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8654         Moved ...
8655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8657         Moved ...
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8660         Moved ...
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8663         Moved ...
8664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8666         Moved ...
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8669         Moved ...
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8673         ... here.
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8675         Moved ...
8676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8678         Moved ...
8679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8680         ... here.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8684         ... here.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8686         Moved ...
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8688         ... here.
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8690         Moved ...
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8693         Moved ...
8694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8698         Moved ...
8699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8700         ... here.
8701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8702         Moved ...
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8704         ... here.
8705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8706         Moved ...
8707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8709         Moved ...
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8712         Moved ...
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8715         Moved ...
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8718         Moved ...
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8720         ... here.
8721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8722         Moved ...
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8728         Moved ...
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8731         Moved ...
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8736         Moved ...
8737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8739         Moved ...
8740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8742         Moved ...
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8744         ... here.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8746         Moved ...
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8748         ... here.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8750         Moved ...
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8752         ... here.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8754         Moved ...
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8757         Moved ...
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8760         Moved ...
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8763         Moved ...
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8765         ... here.
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8767         Moved ...
8768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8769         ... here.
8770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8771         Moved ...
8772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8773         ... here.
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8775         Moved ...
8776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8778         Moved ...
8779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8780
8781 2014-06-23  Will Newton  <will.newton@linaro.org>
8782             Wilco  <wdijkstr@arm.com>
8783
8784         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8785         implementation.  Include get-rounding-mode.h.
8786         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8787         [!libc_feholdsetround_noex_ctx]: Define
8788         libc_feholdsetround_noex_ctx.
8789         [!libc_feholdsetround_noexf_ctx]: Define
8790         libc_feholdsetround_noexf_ctx.
8791         [!libc_feholdsetround_noexl_ctx]: Define
8792         libc_feholdsetround_noexl_ctx.
8793         (libc_feholdsetround_ctx): New function.
8794         (libc_feresetround_ctx): New function.
8795         (libc_feholdsetround_noex_ctx): New function.
8796         (libc_feresetround_noex_ctx): New function.
8797
8798 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8799
8800         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8801         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8802         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8803         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8804         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8805         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8806
8807         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8808         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8809         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8810         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8811         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8812         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8814         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8816         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8818         Moved ...
8819         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8820         ... here.
8821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8822         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8826         Moved ...
8827         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8829         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8831         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8833         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8835         Moved ...
8836         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8838         Moved ...
8839         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8841         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8843         Moved ...
8844         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8846         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8848         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8849         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8850         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8851         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8854         Moved ...
8855         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8856         ... here.
8857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8858         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8860         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8862         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8864         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8868         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8870         Moved ...
8871         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8873         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8875         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8877         Moved ...
8878         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8880         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8881         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8882         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8883
8884         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8885         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8886         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8902         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8903         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8904         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8905         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8906         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8907         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8908         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8909         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8910         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8911         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8912
8913 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8914
8915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8916         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8917         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8918         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8919         (IPV6_PMTUDISC_INTERFACE): Likewise.
8920         (IPV6_PMTUDISC_OMIT): Likewise.
8921
8922 2014-06-23  Andreas Schwab  <schwab@suse.de>
8923
8924         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8925         Remove unused errout label.
8926
8927 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8928
8929         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8930         macro: hardware supports Vector Crypto instructions.
8931
8932 2014-06-23  Will Newton  <will.newton@linaro.org>
8933
8934         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8935         rather than __builtin_expect.
8936
8937         * elf/dl-lookup.c (undefined_msg): Remove variable.
8938         (_dl_lookup_symbol_x): Replace undefined_msg with string
8939         literal.
8940
8941         * elf/dl-lookup.c (do_lookup_unique): New function.
8942         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8943         to a separate function.
8944
8945 2014-06-23  Andreas Schwab  <schwab@suse.de>
8946
8947         [BZ #17079]
8948         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8949         before reading the next line.
8950
8951 2014-06-23  Will Newton  <will.newton@linaro.org>
8952
8953         * test-skeleton.c (signal_handler): Use printf and %m
8954         rather than perror.  Use printf rather than fprintf to
8955         stderr.  Use puts rather than fputs to stderr.
8956         (main): Likewise.
8957
8958 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8959
8960         * nscd/nscd.c (thread_info_t): Remove typedef.
8961         (thread_info): Remove variable.
8962
8963 2014-06-21  Allan McRae  <allan@archlinux.org>
8964
8965         * NEWS: Mention CVE-2014-4043.
8966
8967 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8968
8969         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8970         * nptl/smp.h: ... here.
8971
8972         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8973
8974         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8975         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8976         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8977         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8978
8979         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8980         * nptl/stack-aliasing.h: New file.
8981         * sysdeps/i386/i686/stack-aliasing.h: New file.
8982         * sysdeps/i386/i686/nptl/Makefile: File removed.
8983         * sysdeps/x86_64/stack-aliasing.h: New file.
8984         * sysdeps/x86_64/nptl/Makefile
8985         (CFLAGS-pthread_create.c): Variable removed.
8986
8987         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8988         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8989         old file.
8990         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8991         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8992         old file.
8993
8994 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8995
8996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8997         (__ASSUME_SIGFRAME_V2): Remove macro.
8998         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8999         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9000         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9001         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9002         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9003         Declare as function.  Remove conditional macro definitions.
9004         (__default_rt_sa_restorer): Likewise.
9005         (__default_sa_restorer_v1): Remove declaration.
9006         (__default_sa_restorer_v2): Likewise.
9007         (__default_rt_sa_restorer_v1): Likewise.
9008         (__default_rt_sa_restorer_v2): Likewise.
9009         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9010         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9011         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9012
9013 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9014
9015         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9016         (libpthread-routines): Add sysdep.
9017         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9018         * sysdeps/unix/sysv/linux/sparc/Versions
9019         (libpthread: GLIBC_2.3.3): New version set.
9020         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9021         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9022         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9024         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9025         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9026         Moved ...
9027         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9028         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9029         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9030         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9031         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9032         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9033         * sysdeps/sparc/nptl/sem_init.c: ... here.
9034         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9035         * sysdeps/sparc/nptl/sem_post.c: ... here.
9036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9037         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9039         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9040         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9042         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9043         (libpthread-routines): Add cpu_relax.
9044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9045         File removed.
9046         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9047         (librt: GLIBC_2.3.3): New version set.
9048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9049         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9051         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9054         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9056         Moved ...
9057         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9059         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9061         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9063         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9065         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9067         Moved ...
9068         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9069         Update #include.
9070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9071         Moved ...
9072         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9073         Update #include.
9074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9075         Moved ...
9076         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9077         Update #include.
9078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9079         Moved ...
9080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9081         Update #include.
9082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9083         Moved ...
9084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9085         Update #include.
9086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9087         Moved ...
9088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9089         Update #include.
9090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9091         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9097         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9099         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9101         Moved ...
9102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9107
9108 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9109
9110         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9111         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9112         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9113         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9114         * nscd/nscd.c: Likewise.
9115         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9116         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9117         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9118         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9119
9120         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9121         <kernel-features.h>.
9122         (init_mq_netlink): Remove conditional have_sock_cloexec
9123         definitions.  Remove code conditional on have_sock_cloexec < 0.
9124         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9125         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9126         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9127         <kernel-features.h>.
9128         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9129         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9130
9131 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9132
9133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9134         Add tests for memset_chk and memset.
9135
9136         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9137         with AVX2_Usable.
9138
9139 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9140
9141         [BZ #16046]
9142         * elf/tst-dl-iter-static.c: New file.
9143         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9144
9145         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9146         error.
9147
9148 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9149
9150         * sysdeps/unix/sysv/linux/kernel-features.h
9151         (__ASSUME_F_GETOWN_EX): Remove macro.
9152         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9153         <kernel-features.h>.
9154         (miss_F_GETOWN_EX): Remove variable or macro.
9155         (do_fcntl): Do not check miss_F_GETOWN_EX.
9156         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9157
9158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9159         Remove macro.
9160         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9161         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9162         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9163
9164         * sysdeps/unix/sysv/linux/kernel-features.h
9165         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9166         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9167         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9168         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9169
9170 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9171
9172         [BZ #17075]
9173         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9174         Fix calculation of the symbol's value.
9175         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9176         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9177         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9178         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9179         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9180         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9181         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9182         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9183         (modules-names): Add `tst-armtlsdescmod',
9184         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9185         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9186         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9187         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9188         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9189         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9190         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9191         ($(objpfx)tst-armtlsdescloc): New dependency.
9192         ($(objpfx)tst-armtlsdescextnow): Likewise.
9193         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9194         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9195         TLS scheme support.
9196         * sysdeps/arm/configure: Regenerate.
9197
9198 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9199
9200         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9201         (__atfct_seterrno_2): Likewise.
9202         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9203         <kernel-features.h>.
9204         (__ASSUME_ATFCTS): Do not undefine and redefine.
9205         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9206         (__have_atfcts): Remove conditional definition.
9207         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9208         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9209         unreachable if [__ASSUME_ATFCTS].
9210         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9211         not undefine and redefine.
9212         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9213         <kernel-features.h>.
9214         (faccessat) [__NR_faccessat]: Make code unconditional.
9215         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9216         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9217         <kernel-features.h>.
9218         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9219         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9220         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9221         <kernel-features.h>.
9222         (fchownat) [__NR_fchownat]: Make code unconditional.
9223         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9224         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9225         <kernel-features.h>.
9226         (futimesat) [__NR_futimesat]: Make code unconditional.
9227         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9228         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9229         <kernel-features.h>.
9230         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9231         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9232         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9233         <kernel-features.h>.
9234         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9235         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9236         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9237         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9238         <kernel-features.h>.
9239         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9240         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9241         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9242         <kernel-features.h>.
9243         (linkat) [__NR_linkat]: Make code unconditional.
9244         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9245         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9246         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9247         <kernel-features.h>.
9248         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9249         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9250         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9251         <kernel-features.h>.
9252         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9253         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9254         * sysdeps/unix/sysv/linux/openat.c: Do not include
9255         <kernel-features.h>.
9256         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9257         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9258         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9259         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9260         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9261         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9262         <kernel-features.h>.
9263         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9264         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9265         result of INLINE_SYSCALL directly, not via int variable.
9266         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9267         <kernel-features.h>.
9268         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9269         (renameat) [__NR_renameat]: Make code unconditional.
9270         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9271         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9272         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9273         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9274         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9275         (__ASSUME_ATFCTS): Do not undefine and redefine.
9276         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9277         <kernel-features.h>.
9278         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9279         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9280         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9281         <kernel-features.h>.
9282         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9283         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9285         (__ASSUME_ATFCTS): Do not undefine and redefine.
9286         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9287         <kernel-features.h>.
9288         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9289         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9290         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9291         <kernel-features.h>.
9292         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9293         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9294
9295 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9296
9297         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9298
9299 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9300
9301         [BZ #17069]
9302         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9303         constructed tree before returning error.
9304         * posix/bug-regexp36.c: Expand test case.
9305
9306 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9307
9308         [BZ #6803]
9309         * math/libm-test.inc (scalbln_test_date):
9310         Add errno expectations.
9311         * math/w_scalblnf.c: New File.
9312         Add wrapper which checks for setting errno to ERANGE.
9313         Add weak_alias for corresponding scalbln function.
9314         * math/w_scalbln.c: Likewise.
9315         * math/w_scalblnl.c: Likewise.
9316         * math/Makefile (libm-calls): Add w_scalbln.
9317         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9318         Remove weak_alias for corresponding scalbln function.
9319         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9322         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9323         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9324         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9325         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9326         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9327         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9328         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9329         Remove long_double_symbol for scalblnl function in libm, libc.
9330         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9331         Add wrapper which checks for setting errno to ERANGE.
9332         Add long_double_symbol for scalblnl function in libm, libc.
9333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9334         Remove long_double_symbol for scalblnl in libm.
9335         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9336         Add wrapper which checks for setting errno to ERANGE.
9337         Add long_double_symbol for scalblnl function in libm.
9338         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9339         Do not use wrapper because of own implementation.
9340
9341 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9342
9343         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9344         3 bytes for __pad1 for x32.
9345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9346
9347 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9348             H.J. Lu  <hongjiu.lu@intel.com>
9349
9350         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9351         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9354         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9355
9356 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9357
9358         [BZ #17069]
9359         * posix/regcomp.c (parse_expression): Deallocate partially
9360         constructed tree before returning error.
9361         * posix/Makefile.c (tests): Add bug-regex36.
9362         (generated): Add bug-regex36.mtrace.
9363         (tests-special): Add $(objpfx)bug-regex36-mem.out
9364         (bug-regex36-ENV): New variable.
9365         ($(objpfx)bug-regex36-mem.out): New rule.
9366         * posix/bug-regex36.c: New file.
9367
9368 2014-06-19  Will Newton  <will.newton@linaro.org>
9369
9370         * malloc/malloc.c (systrim): If extra is zero then return
9371         early.
9372
9373 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374
9375         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9376
9377 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9378
9379         * sysdeps/aarch64/strchr.S: New file.
9380
9381 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9382
9383         [BZ #17022]
9384         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9385         from arguments -2 or below.
9386         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9387         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9388
9389 2014-06-18  Andreas Schwab  <schwab@suse.de>
9390
9391         [BZ #17062]
9392         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9393         of a bracket expr not to run off the end of the string.
9394         * posix/Makefile (tests): Add tst-fnmatch3.
9395         * posix/tst-fnmatch3.c: New file.
9396
9397 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9398
9399         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9400         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9401         [$(cross-compiling) = no]: Likewise.
9402         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9403         [$(cross-compiling) = no]: Likewise.
9404
9405 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9406
9407         [BZ #17031]
9408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9409         double, adjusted for any remainder from the high double.
9410         * math/libm-test.inc (nearbyint): Add tests.
9411         (rint): Likewise.
9412
9413 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9414
9415         * nptl/sysdeps/powerpc/Makefile: Moved ...
9416         * sysdeps/powerpc/nptl/Makefile: ... here.
9417         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9418         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9419         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9420         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9421         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9422         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9423         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9424         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9425         * nptl/sysdeps/powerpc/tls.h: Moved ...
9426         * sysdeps/powerpc/nptl/tls.h: ... here.
9427
9428 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9429
9430         [BZ #16681]
9431         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9432         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9433         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9434         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9435         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9436         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9437         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9438         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9439         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9440
9441 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9442
9443         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9444
9445 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9446
9447         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9448         defined operator.
9449
9450         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9451         $TIMEOUTFACTOR.
9452
9453 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9454
9455         [BZ #17058]
9456         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9457         non-executed part of the test.
9458
9459 2014-06-16  Andreas Schwab  <schwab@suse.de>
9460
9461         * string/bits/string2.h (strdup, strndup): Update feature guard.
9462
9463 2014-06-14  David S. Miller  <davem@davemloft.net>
9464
9465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9466
9467 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9468
9469         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9470         that was previously under [RESET_PID].
9471         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9472
9473         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9474         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9475         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9477         (__libc_vfork): New strong alias.
9478         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9479
9480 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9481
9482         * sysdeps/generic/elide.h: New file.
9483
9484 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9485
9486         * Makefile (installed-headers): Adjust path of pthread.h header.
9487
9488 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9489
9490         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9491         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9492         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9493         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9494
9495         * nptl/sysdeps/s390/Makefile: Moved ...
9496         * sysdeps/s390/nptl/Makefile: ... here.
9497         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9498         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9499         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9500         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9501         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9502         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9503         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9504         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9505         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9506         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9507         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9508         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9509         * nptl/sysdeps/s390/tls.h: Moved ...
9510         * sysdeps/s390/nptl/tls.h: ... here.
9511
9512         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9513         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9514
9515 2014-06-13  David S. Miller  <davem@davemloft.net>
9516
9517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9520         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9524         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9525         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9526         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9527         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9528         Remove RESET_PID cpp guards.
9529         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9530         Remove RESET_PID cpp guards.
9531         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9532
9533 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9534
9535         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9536         __sp to uintptr_t.
9537
9538 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9539
9540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9560
9561         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9562         (pthread_rwlock_rdlock): Add elision.
9563         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9564         (pthread_rwlock_wrlock): Add elision.
9565         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9566         (pthread_rwlock_trywrlock): Add elision.
9567         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9568         (pthread_rwlock_tryrdlock): Add elision.
9569         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9570         (pthread_rwlock_tryrdlock): Add elision unlock.
9571         * nptl/sysdeps/pthread/pthread.h:
9572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9573         (PTHREAD_RWLOCK_INITIALIZER,
9574         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9575         Handle new elision field.
9576         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9577         * sysdeps/arm/nptl/bits/pthreadtypes.h
9578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9579         * sysdeps/sh/nptl/bits/pthreadtypes.h
9580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9581         * sysdeps/tile/nptl/bits/pthreadtypes.h
9582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9583         * sysdeps/a/nptl/bits/pthreadtypes.h
9584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9585         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9587         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9589         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9591         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9595         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9597         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9599         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9601         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9602         (elision_init): Set try_xbegin to zero when no RTM.
9603         * sysdeps/x86/nptl/bits/pthreadtypes.h
9604         (pthread_rwlock_t): Change __pad1 to __rwelision.
9605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9606
9607 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9608
9609         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9610         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9611         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9612         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9613
9614 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9615
9616         [BZ #16996]
9617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9618         that the cached result has been set before returning it.
9619
9620 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9621
9622         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9623         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9624         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9625         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9627         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9628
9629         * nptl/sysdeps/sparc/Makefile: Moved ...
9630         * sysdeps/sparc/nptl/Makefile: ... here.
9631         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9632         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9633         * nptl/sysdeps/sparc/tls.h: Moved ...
9634         * sysdeps/sparc/nptl/tls.h: ... here.
9635         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9636         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9637         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9638         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9639         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9640         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9641         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9642         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9643         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9644         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9645         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9646         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9647         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9648         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9649         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9650         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9651         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9652         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9653         Update #include.
9654         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9656         Update #include.
9657         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9659         Update #include.
9660         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9662         Update #include.
9663
9664         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9665
9666         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9667         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9668
9669         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9670         (struct list_links): Type removed.
9671         (struct thread_node, struct timer_node): Replace struct list_links
9672         with struct list_head.
9673         (list_unlink_ip): Likewise.
9674         * sysdeps/pthread/timer_routines.c
9675         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9676         (list_append, list_insbefore): Likewise.
9677         (list_init): Function removed.
9678         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9679         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9680         * sysdeps/pthread/Makefile: ... here, new file.
9681
9682         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9683         * sysdeps/nptl/Implies: ... here.
9684         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9685         * nptl/sysdeps/pthread/list.h: Moved ...
9686         * include/list.h: ... here.
9687         * nptl/sysdeps/pthread/createthread.c: Moved ...
9688         * nptl/createthread.c: ... here.
9689         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9690         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9691         * nptl/pt-longjmp.c: ... here.
9692         * nptl/sysdeps/pthread/Makefile: Moved ...
9693         * sysdeps/nptl/Makefile: ... here.
9694         * nptl/sysdeps/pthread/Subdirs: Moved ...
9695         * sysdeps/nptl/Subdirs: ... here.
9696         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9697         * sysdeps/nptl/aio_misc.h: ... here.
9698         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9699         * sysdeps/nptl/bits/libc-lock.h: ... here.
9700         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9701         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9702         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9703         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9704         * nptl/sysdeps/pthread/configure: Moved ...
9705         * sysdeps/nptl/configure: ... here.
9706         * nptl/sysdeps/pthread/configure.ac: Moved ...
9707         * sysdeps/nptl/configure.ac: ... here.
9708         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9709         * sysdeps/nptl/gai_misc.h: ... here.
9710         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9711         * sysdeps/nptl/librt-cancellation.c: ... here.
9712         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9713         * sysdeps/nptl/malloc-machine.h: ... here.
9714         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9715         * sysdeps/nptl/pthread-functions.h: ... here.
9716         * nptl/sysdeps/pthread/pthread.h: Moved ...
9717         * sysdeps/nptl/pthread.h: ... here.
9718         * nptl/sysdeps/pthread/setxid.h: Moved ...
9719         * sysdeps/nptl/setxid.h: ... here.
9720         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9721         * sysdeps/nptl/sigfillset.c: ... here.
9722         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9723         * sysdeps/nptl/tcb-offsets.h: ... here.
9724         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9725         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9726         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9727         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9728         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9729         * sysdeps/pthread/allocalim.h: ... here.
9730         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9731         * sysdeps/pthread/bits/sigthread.h: ... here.
9732         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9733         * sysdeps/pthread/flockfile.c: ... here.
9734         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9735         * sysdeps/pthread/ftrylockfile.c: ... here.
9736         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9737         * sysdeps/pthread/funlockfile.c: ... here.
9738         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9739         * sysdeps/pthread/posix-timer.h: ... here.
9740         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9741         * sysdeps/pthread/timer_create.c: ... here.
9742         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9743         * sysdeps/pthread/timer_delete.c: ... here.
9744         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9745         * sysdeps/pthread/timer_getoverr.c: ... here.
9746         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9747         * sysdeps/pthread/timer_gettime.c: ... here.
9748         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9749         * sysdeps/pthread/timer_routines.c: ... here.
9750         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9751         * sysdeps/pthread/timer_settime.c: ... here.
9752         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9753         * sysdeps/pthread/tst-timer.c: ... here.
9754         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9755         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9756
9757         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9758         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9759
9760         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9761         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9762         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9763         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9764         Update #include target.
9765         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9766         * sysdeps/i386/i686/nptl/Makefile: ... here.
9767         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9768         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9769         Update #include target.
9770         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9771         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9772         * nptl/sysdeps/i386/Makefile: Moved ...
9773         * sysdeps/i386/nptl/Makefile: ... here.
9774         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9775         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9776         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9777         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9778         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9779         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9780         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9781         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9782         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9783         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9784         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9785         * nptl/sysdeps/i386/tls.h: Moved ...
9786         * sysdeps/i386/nptl/tls.h: ... here.
9787
9788         * sysdeps/sh/Makefile [$(subdir) = csu]
9789         (gen-as-const-headers): Add tcb-offsets.sym.
9790         * nptl/sysdeps/sh/Makefile: File removed.
9791         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9792         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9793         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9794         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9795         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9796         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9797         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9798         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9799         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9800         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9801         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9802         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9803         * nptl/sysdeps/sh/tls.h: Moved ...
9804         * sysdeps/sh/nptl/tls.h: ... here.
9805         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9806         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9807         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9808         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9809         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9810         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9812         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9814         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9816         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9818         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9820         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9822         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9824         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9826         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9830         Moved ...
9831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9833         Moved ...
9834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9839         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9840         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9841         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9842         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9843         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9844         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9845         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9846         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9847         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9848         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9849         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9850         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9851         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9852         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9853
9854 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9855
9856         * posix/spawn_faction_addopen.c: Include string.h.
9857
9858 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9859
9860         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9861         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9862         * nptl/sysdeps/x86_64/Makefile: Moved ...
9863         * sysdeps/x86_64/nptl/Makefile: ... here.
9864         * nptl/sysdeps/x86_64/configure: Moved ...
9865         * sysdeps/x86_64/nptl/configure: ... here.
9866         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9867         * sysdeps/x86_64/nptl/configure.ac: ... here.
9868         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9869         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9870         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9871         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9872         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9873         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9874         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9875         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9876         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9877         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9878         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9879         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9880         * nptl/sysdeps/x86_64/tls.h: Moved ...
9881         * sysdeps/x86_64/nptl/tls.h: ... here.
9882         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9883         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9884         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9885         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9886
9887         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9888
9889 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9890
9891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9892
9893 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9894
9895         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9896         type.
9897         [POSIX] (off_t): Likewise.
9898         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9899         [POSIX] (S_ISBLK): Require macro.
9900         [POSIX] (S_ISCHR): Likewise.
9901         [POSIX] (S_ISDIR): Likewise.
9902         [POSIX] (S_ISFIFO): Likewise.
9903         [POSIX] (S_ISREG): Likewise.
9904         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9905         optional-macro.
9906         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9907         type.
9908         [POSIX] (time_t): Likewise.
9909         [POSIX] (timer_t): Likewise.
9910
9911 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9912
9913         [BZ #17048]
9914         * posix/spawn_int.h (struct __spawn_action): Make the path string
9915         non-const to support deallocation.
9916         * posix/spawn_faction_addopen.c
9917         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9918         * posix/spawn_faction_destroy.c
9919         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9920         path in all spawn_do_open actions.
9921         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9922         posix_spawn_file_actions_addopen.
9923
9924 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9925
9926         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9927         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9928         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9929         conditional code always true.
9930         (__libc_vfork): New alias.
9931
9932 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9933
9934         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9935         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9936
9937         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9938
9939         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9940         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9941
9942         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9943         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9944
9945         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9946         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9947
9948 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9949
9950         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9952         multiarch strcmp for PPC64.
9953         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9954         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9956         multiarch optimizations.
9957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9958         (__libc_ifunc_impl_list): Likewise.
9959
9960 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9961
9962         * benchtests/scripts/validate_benchout.py: New script.
9963         * benchtests/Makefile (bench-func): Call it.
9964         * benchtests/scripts/benchout.schema.json: New file.
9965
9966 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9967
9968         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9969         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9970         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9971         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9972         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9973         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9974         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9975         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9976         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9977         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9978         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9979         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9980         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9981         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9982         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9983         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9985         Moved ...
9986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9987         ... here.
9988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9989         Moved ...
9990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9992         Moved ...
9993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9994         ... here.
9995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9996         Moved ...
9997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9998         ... here.
9999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10000         Moved ...
10001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10003         Moved ...
10004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10005         ... here.
10006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10007         Moved ...
10008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10009         ... here.
10010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10011         Moved ...
10012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10014         Moved ...
10015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10016         ... here.
10017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10018         Moved ...
10019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10020         ... here.
10021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10022         Moved ...
10023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10024         ... here.
10025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10026         Moved ...
10027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10029         Moved ...
10030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10031         ... here.
10032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10033         Moved ...
10034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10035         ... here.
10036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10037         Moved ...
10038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10039         ... here.
10040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10041         Moved ...
10042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10044         Moved ...
10045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10046         ... here.
10047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10048         Moved ...
10049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10050         ... here.
10051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10055         Moved ...
10056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10057         ... here.
10058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10059         Moved ...
10060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10062         Moved ...
10063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10065         Moved ...
10066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10067         ... here.
10068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10069         Moved ...
10070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10071         ... here.
10072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10073         Moved ...
10074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10075         ... here.
10076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10077         Moved ...
10078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10080         Moved ...
10081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10082         ... here.
10083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10084         Moved ...
10085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10086         ... here.
10087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10088         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10090         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10092         Moved ...
10093         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10094         ... here.
10095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10096         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10098         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10100         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10102         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10104         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10106         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10108         Moved ...
10109         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10111         Moved ...
10112         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10116         Moved ...
10117         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10119         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10120         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10121         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10122         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10123         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10124
10125 2014-06-10  Wilco  <wdijkstr@arm.com>
10126
10127         * math/test-fenv-return.c: New file.
10128         * math/Makefile: Add new test test-fenv-return.
10129
10130 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10131
10132         [BZ #17042]
10133         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10134         when x - 1 is zero.
10135         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10136         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10137         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10138         0.0L for an argument of 1.0L.
10139         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10140         Likewise.
10141         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10142         value when x - 1 is zero.
10143         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10144         * sysdeps/i386/fpu/libm-test-ulps: Update.
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10146
10147 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10148
10149         [BZ #15119]
10150         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10151
10152 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10153
10154         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10155         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10156
10157 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10158
10159         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10160         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10161
10162         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10163         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10164
10165         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10166         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10167
10168         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10169         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10170
10171         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10172         if not already defined.
10173         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10174         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10175         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10176         (TLS_INIT_TP): Use it.
10177         (TLS_DEFINE_INIT_TP): New macro.
10178         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10179
10180 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10181
10182         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10183         constant.
10184         [POSIX] (IXANY): Likewise.
10185         [POSIX] (OLCUC): Likewise.
10186         [POSIX || POSIX2008] (CBAUD): Do not allow.
10187         [POSIX || POSIX2008] (DEFECHO): Likewise.
10188         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10189         [POSIX || POSIX2008] (ECHOKE): Likewise.
10190         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10191         [POSIX || POSIX2008] (EXTA): Likewise.
10192         [POSIX || POSIX2008] (EXTB): Likewise.
10193         [POSIX || POSIX2008] (FLUSHO): Likewise.
10194         [POSIX || POSIX2008] (LOBLK): Likewise.
10195         [POSIX || POSIX2008] (PENDIN): Likewise.
10196         [POSIX || POSIX2008] (SWTCH): Likewise.
10197         [POSIX || POSIX2008] (VDISCARD): Likewise.
10198         [POSIX || POSIX2008] (VDSUSP): Likewise.
10199         [POSIX || POSIX2008] (VLNEXT): Likewise.
10200         [POSIX || POSIX2008] (VREPRINT): Likewise.
10201         [POSIX || POSIX2008] (VSTATUS): Likewise.
10202         [POSIX || POSIX2008] (VWERASE): Likewise.
10203         (B*): Change to B[0123456789]*.
10204         * conform/data/time.h-data [POSIX || UNIX98]
10205         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10206         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10207         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10208         [POSIX] (tm_*): Do not allow.
10209
10210 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10211
10212         * Makefile (install): Don't set LANGUAGE.
10213         * Makefile.in (install): Likewise.
10214         * assert/Makefile (test-assert-ENV): Remove variable.
10215         (test-assert-perr-ENV): Likewise.
10216         * elf/Makefile (neededtest4-ENV): Likewise.
10217         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10218         [$(cross-compiling) = no]: Don't set LANGUAGE.
10219         * io/ftwtest-sh (LANG): Remove variable.
10220         * libio/Makefile (tst-widetext-ENV): Likewise.
10221         * manual/install.texi (Running make install): Don't refer to
10222         environment settings for make install.
10223         * INSTALL: Regenerated.
10224         * nptl/tst-tls6.sh: Don't set LANG.
10225         * posix/globtest.sh (LANG): Remove variable.
10226         * string/Makefile (tester-ENV): Likewise.
10227         (inl-tester-ENV): Likewise.
10228         (noinl-tester-ENV): Likewise.
10229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10230         [$(cross-compiling) = no]: Don't set LANGUAGE.
10231         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10232         without explicit environment settings.
10233
10234 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10235
10236         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10237         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10238         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10239         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10240
10241 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10242
10243         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10244         other files in the crypt directory.
10245         * crypt/crypt.c: Remove duplicate includes.
10246         * crypt/crypt-entry.c: Likewise.
10247         * crypt/crypt_util.c: Likewise.
10248
10249 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10250
10251         * Makeconfig (run-program-env): New variable.
10252         (run-program-prefix-before-env): Likewise.
10253         (run-program-prefix-after-env): Likewise.
10254         (run-program-prefix): Define in terms of new variables.
10255         (built-program-cmd-before-env): New variable.
10256         (built-program-cmd-after-env): Likewise.
10257         (built-program-cmd): Define in terms of new variables.
10258         (test-program-prefix-before-env): New variable.
10259         (test-program-prefix-after-env): Likewise.
10260         (test-program-prefix): Define in terms of new variables.
10261         (test-program-cmd-before-env): New variable.
10262         (test-program-cmd-after-env): Likewise.
10263         (test-program-cmd): Define in terms of new variables.
10264         * Rules (make-test-out): Use $(run-program-env).
10265         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10266         (help): Do not mention environment variables.  Mention
10267         --timeoutfactor option.
10268         (timeoutfactor): New variable.
10269         (blacklist_exports): Remove function.
10270         (exports): Remove variable.
10271         (command): Do not include ${exports}.
10272         * manual/install.texi (Configuring and compiling): Do not mention
10273         test wrappers preserving environment variables.  Mention that last
10274         assignment to a variable must take precedence.
10275         * INSTALL: Regenerated.
10276         * benchtests/Makefile (run-bench): Use $(run-program-env).
10277         * catgets/Makefile ($(objpfx)test1.cat): Use
10278         $(built-program-cmd-before-env), $(run-program-env) and
10279         $(built-program-cmd-after-env).
10280         ($(objpfx)test2.cat): Do not specify environment variables
10281         explicitly.
10282         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10283         $(run-program-env) and $(built-program-cmd-after-env).
10284         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10285         $(run-program-env) and $(test-program-cmd-after-env).
10286         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10287         explicitly.
10288         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10289         run_program_env and test_program_cmd_after_env arguments.
10290         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10291         * elf/tst-pathopt.sh: Use run_program_env argument.
10292         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10293         $(test-wrapper-env) and $(run-program-env).
10294         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10295         run_program_env arguments.
10296         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10297         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10298         $(test-program-prefix-before-env), $(run-program-env) and
10299         $(test-program-prefix-after-env).
10300         ($(objpfx)tst-gettext2.out): Likewise.
10301         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10302         run_program_env and test_program_prefix_after_env arguments.
10303         * intl/tst-gettext2.sh: Likewise.
10304         * intl/tst-gettext4.sh: Do not set environment variables
10305         explicitly.
10306         * intl/tst-gettext6.sh: Likewise.
10307         * intl/tst-translit.sh: Likewise.
10308         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10309         $(test-program-prefix-before-env), $(run-program-env) and
10310         $(test-program-prefix-after-env).
10311         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10312         run_program_env and test_program_prefix_after_env arguments.
10313         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10314         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10315         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10316         explicitly with each use of ${test_wrapper_env}.
10317         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10318         $(test-program-prefix-before-env), $(run-program-env) and
10319         $(test-program-prefix-after-env).
10320         * posix/tst-getconf.sh: Do not set environment variables
10321         explicitly.
10322         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10323         run_program_env and test_program_prefix_after_env arguments.
10324         * stdio-common/tst-printf.sh: Do not set environment variables
10325         explicitly.
10326         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10327         $(test-program-prefix-before-env), $(run-program-env) and
10328         $(test-program-prefix-after-env).
10329         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10330         run_program_env and test_program_prefix_after_env arguments.
10331         Split $test calls into $test_pre and $test.
10332         * timezone/Makefile (build-testdata): Use
10333         $(built-program-cmd-before-env), $(run-program-env) and
10334         $(built-program-cmd-after-env).
10335
10336 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10337
10338         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10339         strlen for non SHARED builds.
10340
10341 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10342
10343         * nptl/allocatestack.c (check_list): Inlined function...
10344         (__reclaim_stacks): ... here.
10345
10346 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10347
10348         [BZ #15698]
10349         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10350         memory overrun.
10351
10352 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10353
10354         * Rules (make-test-out): Include
10355         LOCPATH=$(common-objpfx)localedata in default environment.
10356         * debug/Makefile (tst-chk1-ENV): Remove variable.
10357         (tst-chk2-ENV): Likewise.
10358         (tst-chk3-ENV): Likewise.
10359         (tst-chk4-ENV): Likewise.
10360         (tst-chk5-ENV): Likewise.
10361         (tst-chk6-ENV): Likewise.
10362         (tst-lfschk1-ENV): Likewise.
10363         (tst-lfschk2-ENV): Likewise.
10364         (tst-lfschk3-ENV): Likewise.
10365         (tst-lfschk4-ENV): Likewise.
10366         (tst-lfschk5-ENV): Likewise.
10367         (tst-lfschk6-ENV): Likewise.
10368         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10369         (tst-iconv7-ENV): Likewise.
10370         * intl/Makefile (LOCPATH-ENV): Likewise.
10371         (tst-codeset-ENV): Likewise.
10372         (tst-gettext3-ENV): Likewise.
10373         (tst-gettext5-ENV): Likewise.
10374         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10375         (tst-fopenloc-ENV): Likewise.
10376         (tst-fgetws-ENV): Remove variable.
10377         (tst-ungetwc1-ENV): Likewise.
10378         (tst-ungetwc2-ENV): Likewise.
10379         (bug-ungetwc2-ENV): Likewise.
10380         (tst-swscanf-ENV): Likewise.
10381         (bug-ftell-ENV): Likewise.
10382         (tst-fgetwc-ENV): Likewise.
10383         (tst-fseek-ENV): Likewise.
10384         (tst-ftell-partial-wide-ENV): Likewise.
10385         (tst-ftell-active-handler-ENV): Likewise.
10386         (tst-ftell-append-ENV): Likewise.
10387         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10388         (tst-regexloc-ENV): Likewise.
10389         (bug-regex1-ENV): Likewise.
10390         (tst-regex-ENV): Likewise.
10391         (tst-regex2-ENV): Likewise.
10392         (bug-regex5-ENV): Likewise.
10393         (bug-regex6-ENV): Likewise.
10394         (bug-regex17-ENV): Likewise.
10395         (bug-regex18-ENV): Likewise.
10396         (bug-regex19-ENV): Likewise.
10397         (bug-regex20-ENV): Likewise.
10398         (bug-regex22-ENV): Likewise.
10399         (bug-regex23-ENV): Likewise.
10400         (bug-regex25-ENV): Likewise.
10401         (bug-regex26-ENV): Likewise.
10402         (bug-regex30-ENV): Likewise.
10403         (bug-regex32-ENV): Likewise.
10404         (bug-regex33-ENV): Likewise.
10405         (bug-regex34-ENV): Likewise.
10406         (bug-regex35-ENV): Likewise.
10407         (tst-rxspencer-ENV): Likewise.
10408         (tst-rxspencer-no-utf8-ENV): Likewise.
10409         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10410         (tst-sscanf-ENV): Likewise.
10411         (tst-swprintf-ENV): Likewise.
10412         (tst-swscanf-ENV): Likewise.
10413         (test-vfprintf-ENV): Likewise.
10414         (scanf13-ENV): Likewise.
10415         (bug14-ENV): Likewise.
10416         (tst-grouping-ENV): Likewise.
10417         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10418         (tst-strtod3-ENV): Likewise.
10419         (tst-strtod4-ENV): Likewise.
10420         (tst-strtod5-ENV): Likewise.
10421         (testmb2-ENV): Likewise./
10422         * string/Makefile (tst-strxfrm-ENV): Likewise.
10423         (tst-strxfrm2-ENV): Likewise.
10424         (bug-strcoll1-ENV): Likewise.
10425         (test-strcasecmp-ENV): Likewise.
10426         (test-strncasecmp-ENV): Likewise.
10427         * time/Makefile (tst-strptime-ENV): Likewise.
10428         (tst-ftime_l-ENV): Likewise.
10429         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10430         (tst-mbrtowc-ENV): Likewise.
10431         (tst-wcrtomb-ENV): Likewise.
10432         (tst-mbrtowc2-ENV): Likewise.
10433         (tst-c16c32-1-ENV): Likewise.
10434         (tst-mbsnrtowcs-ENV): Likewise.
10435
10436 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10437
10438         * manual/resource.texi (How to get information about the memory
10439         subsystem?): Fix typo.
10440         Reported by Peon de la Parra Ivan <peon@keba.com>
10441
10442 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10443
10444         [BZ #16882]
10445         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10446         (pthread_spin_lock): Branch out of spin loop to proper location.
10447         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10448         (pthread_spin_lock): Likewise.
10449
10450         * nptl/tst-spin4.c: New test.
10451         * nptl/Makefile (tests): Add tst-spin4.
10452
10453 2014-06-03  Andreas Schwab  <schwab@suse.de>
10454
10455         [BZ #15946]
10456         * resolv/res_send.c (send_dg): Reload file descriptor after
10457         calling reopen.
10458
10459 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10460
10461         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10462
10463 2014-06-03  Richard Henderson  <rth@redhat.com>
10464
10465         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10466         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10467         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10468         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10469         in the SAVE_PID block.
10470         (__libc_vfork): New alias.
10471         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10472
10473         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10474         child in registers, not on the stack.  Remove RESET_PID conditionals.
10475         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10476
10477 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10478
10479         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10480
10481 2014-06-03  Wilco  <wdijkstr@arm.com>
10482
10483         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10484         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10485         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10486         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10487         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10488         Likewise.
10489
10490 2014-06-03  Wilco  <wdijkstr@arm.com>
10491
10492         * sysdeps/aarch64/fpu/math_private.h
10493         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10494         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10495         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10496         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10497         Fix declarations.
10498
10499 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10500
10501         * crypt/crypt-private.h: Include ufc-crypt.h.
10502         (__b64_from_24bit): Declare extern.
10503         * crypt/crypt_util.c(__b64_from_24bit): New function.
10504         (b64t): New static const variable.
10505         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10506         (b64t): Remove variable.
10507         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10508         * crypt/sha256-crypt.c: Include crypt-private.h.
10509         (b64t): Remove variable.
10510         (__sha256_crypt_r): Remove b64_from_24bit and replace
10511         with __b64_from_24bit.
10512         * crypt/sha512-crypt.c: Likewise.
10513
10514 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10515
10516         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10517         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10518         Label the code __libc_vfork rather than __vfork.
10519         [!NOT_IN_libc] (vfork): Define as weak alias.
10520         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10521         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10522         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10523
10524 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10525
10526         * malloc/malloc.c (malloc_info): Fix format specifier for
10527         n_mmaps.
10528
10529 2014-06-02  Wilco  <wdijkstr@arm.com>
10530
10531         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10532         FPCR write.
10533
10534 2014-06-02  Wilco  <wdijkstr@arm.com>
10535
10536         [BZ #17009]
10537         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10538         Rewrite to reduce FPCR/FPSR accesses.
10539
10540 2014-06-01  David S. Miller  <davem@davemloft.net>
10541
10542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10543
10544 2014-05-31  David S. Miller  <davem@davemloft.net>
10545
10546         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10547         to occur in round to nearest mode when |x| >= 2.0
10548
10549 2014-05-30  Richard Henderson  <rth@twiddle.net>
10550
10551         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10552         (PSEUDO_RET_NOERRNO): Remove.
10553         (ret): Don't redefine.
10554         (ret_NOERRNO): Define in terms of ret.
10555         (ret_ERRVAL): Likewise.
10556
10557         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10558         use of PSEUDO_RET; perform the error check directly.
10559
10560 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10561
10562         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10563         with __int128_t.
10564
10565 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10566
10567         * malloc/malloc (malloc_info): Fix formatting.
10568
10569 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10570             Roland McGrath  <roland@hack.frob.com>
10571
10572         * malloc/malloc (malloc_info): Also print mmapped statistics.
10573
10574 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10575
10576         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10577         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10578
10579 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10580
10581         * malloc/malloc.c (malloc_info): Inline mi_arena.
10582
10583 2014-05-29  Richard Henderson  <rth@twiddle.net>
10584
10585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10586         Remove comma before expanding ASM_ARGS_##nr.
10587         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10588         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10589         of ASM_ARGS_##nr.
10590         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10591         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10592         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10593         (ASM_ARGS_1): Add leading comma.
10594
10595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10596         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10597         to __errno_location.
10598         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10599         Remove the expected plt for __errno_location.
10600
10601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10602         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10603         call to __read_tp.
10604
10605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10606         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10607         it and break it down.
10608         (DOCARGS_0, DOCARGS_1): Do nothing.
10609         (DOCARGS_2): Update to store into the new stack frame.
10610         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10611         (UNDOCARGS_1): Update to restore from the new stack frame.
10612         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10613         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10614
10615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10616         (SINGLE_THREAD_P): New parameter for result regno.
10617         (PSEUDO): Update to match; use cbz instead of beq.
10618
10619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10620         Use ENTRY to define the _nocancel entry point.  Share the syscall
10621         and syscall error check paths with the cancel path.
10622         (PSEUDO_END): New.
10623
10624         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10625         whitespace; tabs before and after asm mnemonics.
10626
10627 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10628
10629         [BZ #15132]
10630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10631         Call fstat64 or stat64 internally, depending on arguments passed.
10632         Replace stat buffer argument with file descriptor argument.
10633         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10634         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10635         Pass fd to __internal_statvfs instead of calling fstat64.
10636         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10637         Pass fd to __internal_statvfs64 instead of calling fstat64.
10638         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10639         Pass -1 to __internal_statvfs instead of calling stat64.
10640         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10641         Pass -1 to __internal_statvfs64 instead of calling stat64.
10642
10643 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10644
10645         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10646         that was previously under [RESET_PID].
10647         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10648
10649         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10650         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10651
10652 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10653
10654         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10655
10656         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10657         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10658
10659 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10660
10661         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10662
10663 2014-05-27  Andreas Schwab  <schwab@suse.de>
10664
10665         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10666         TLS_INIT_TP macro.
10667         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10668         * elf/rtld.c (init_tls, dl_main): Likewise.
10669         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10670         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10671         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10672         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10673         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10674         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10675         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10676         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10677         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10678         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10679         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10680         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10681         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10682         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10683         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10684         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10685         * sysdeps/generic/tls.h: Update description.
10686
10687 2014-05-27  Will Newton  <will.newton@linaro.org>
10688
10689         [BZ #16990]
10690         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10691         and restore r2 rather than just restoring.
10692
10693 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10694
10695         [BZ #16724]
10696         * libio/tst-ftell-append.c: New test case.
10697         * libio/Makefile (tests): Add test case.
10698         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10699         append mode.
10700         * libio/wfileops.c (do_ftell_wide): Likewise.
10701
10702 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10703
10704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10705
10706         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10707         ...
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10710         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10711         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10712         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10713         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10714         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10717         Moved ...
10718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10720         Moved ...
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10722         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10723         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10724         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10725         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10726         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10727         ...
10728         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10729         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10730         Moved ...
10731         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10732         here.
10733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10734         ...
10735         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10736         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10737         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10738
10739         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10740         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10741         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10742         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10743
10744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10745         merge into ...
10746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10748         ...
10749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10751         ...
10752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10754         Moved ...
10755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10756         here.
10757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10758         Moved ...
10759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10761         Moved ...
10762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10763
10764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10765         conditional [RESET_PID].
10766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10768         removed.
10769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10770         removed.
10771
10772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10773         <tcb-offsets.h>.
10774         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10775         (__libc_vfork): New strong alias.
10776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10777         removed.
10778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10779         Removed.
10780
10781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10782         <tcb-offsets.h>.
10783         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10784         (__libc_vfork): New strong alias.
10785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10786         removed.
10787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10788         removed.
10789
10790 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10791
10792         * malloc/malloc.c (mi_arena): New function.
10793         (malloc_info): Remove nested function mi_arena. Call non-nosted
10794         function mi_arena.
10795
10796 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10797
10798         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10799         by insrwi.
10800         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10801         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10802         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10803         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10804         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10805         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10806         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10807
10808 2014-05-26  Andreas Schwab  <schwab@suse.de>
10809
10810         [BZ #16984]
10811         * locale/programs/repertoire.c (repertoire_read): Add slash
10812         between I18NPATH element and file name.
10813         * locale/programs/locfile.c (locfile_read): Likewise.
10814
10815 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10816
10817         * nptl/pthread_mutexattr_settype.c
10818         (__pthread_mutexattr_settype):
10819         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10820
10821 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10822
10823         * nptl/tst-mutex5 (do_test):
10824         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10825
10826 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10827
10828         * benchtests/README: Document 'init' directive.
10829         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10830         BENCH_INIT.
10831         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10832         (parse_file): Recognize 'init' directive.
10833
10834 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10835
10836         [BZ #16796]
10837         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10838         alignment of struct pthread.
10839
10840 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10841
10842         [BZ #16878]
10843         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10844         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10845         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10846         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10847
10848 2014-05-25  Richard Henderson  <rth@twiddle.net>
10849
10850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10851         (SINGLE_THREAD_P_PIC): Remove.
10852         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10853         (SINGLE_THREAD_P_PIC): Remove.
10854
10855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10856         branch to syscall error ...
10857         (PSEUDO): ... here.
10858         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10859         from __local_syscall_error to .Lsyscall_error.
10860         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10861         (SYSCALL_ERROR): Update label name.
10862
10863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10864         Do not use DOARGS/UNDOARGS.
10865         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10866         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10867         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10868         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10869         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10870
10871         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10872         block comment.
10873
10874         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10875         define if !NOT_IN_libc.
10876         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10877         define with non-default symbol versions.
10878
10879 2014-05-23  Richard Henderson  <rth@twiddle.net>
10880
10881         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10882         (vfork, __vfork): Define via compat_symbol.
10883
10884         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10885         [!HAVE_IFUNC] (vfork_compat): Remove.
10886         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10887
10888 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10889
10890         [BZ #16978]
10891         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10892         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10893         variable.
10894
10895 2014-05-23  Richard Henderson  <rth@twiddle.net>
10896
10897         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10898         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10899         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10900         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10901
10902         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10903         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10905         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10906         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10907         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10909         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10910         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10911         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10912         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10913         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10914         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10915         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10916         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10917         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10919         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10920         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10921         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10922         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10923         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10924         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10925         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10926         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10927         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10928         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10929         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10930         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10931         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10932         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10933         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10934         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10935         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10936         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10937         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10938         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10939         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10940         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10941         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10942         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10943         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10944         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10945         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10946         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10947         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10949         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10951         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10953         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10955         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10957         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10958
10959         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10960         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10961         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10962         before exiting on error.
10963         (__libc_vfork): New strong alias.
10964         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10965         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10966
10967         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10968         that was previously under [RESET_PID].
10969         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10970
10971         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10972
10973 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10974
10975         [BZ #16977]
10976         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10977         value when x - 1 is zero.
10978         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10979         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10980         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10981         0.0L for an argument of 1.0L.
10982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10983         Likewise.
10984         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10985         value when x - 1 is zero.
10986         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10987         * sysdeps/i386/fpu/libm-test-ulps: Update.
10988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
10990 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10991
10992         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10993         alphasort and versionsort.
10994
10995 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10996
10997         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10998         macro.
10999         [copysignf]: Likewise.
11000
11001 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11002
11003         * crypt/md5-crypt.c: Fix formatting.
11004
11005 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11006
11007         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11008         (b64_from_24bit): New function.
11009
11010 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11011
11012         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11013         libc_hidden_builtin_def to ifunc.
11014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11015         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11016
11017 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11018
11019         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11020         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11021
11022 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11023
11024         * nscd/Depend (linuxthreads): Remove.
11025         (nptl): Add.
11026         * resolv/Depend (linuxthreads): Remove.
11027         * rt/Depend (linuxthreads): Remove.
11028
11029         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11030         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11031         $(common-objpfx)elf/.
11032         (link-libc-before-gnulib): Likewise.
11033         (elfobjdir): Remove variable.
11034         * Makefile (install): Use $(elf-objpfx) instead of
11035         $(common-objpfx)elf/.
11036         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11037         $(elfobjdir)/.
11038         (link-libc-deps): Likewise.
11039         ($(common-objpfx)libc.so): Likewise.
11040         ($(common-objpfx)linkobj/libc.so): Likewise.
11041         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11042         instead of $(common-objpfx)elf/.
11043         (symbolic-link-list): Likewise.
11044         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11045         [$(cross-compiling) = no]: Likewise.
11046         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11047         $(elfobjdir)/.
11048         (static-gnulib-arch): Likewise.
11049         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11050         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11051         $(common-objpfx)elf/.
11052
11053 2014-05-21  Richard Henderson  <rth@redhat.com>
11054
11055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11056         (SINGLE_THREAD_P): Use the correct width load.  Fold
11057         into the ldr offset.
11058
11059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11060         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11061
11062 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11063
11064         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11065         (libgcc_s_resume): Use __attribute_used__.
11066         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11067         Likewise.
11068
11069 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11070
11071         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11072         optimization when used with float constants.
11073
11074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11075
11076 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11077
11078         [BZ #16915]
11079         * locale/nl_langinfo_l.c: Make direct reference to every
11080         _nl_current_CATEGORY symbol.
11081         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11082         (tests-static): Add tst-langinfo-static.
11083         (tests-special): Add tst-langinfo-static.out.
11084         ($(objpfx)tst-langinfo.out): Redirect output.
11085         ($(objpfx)tst-langinfo-static.out): New.
11086         * localedata/tst-langinfo.sh: Send output to stdout.
11087         * localedata/tst-langinfo-static.c: New file.
11088
11089         [BZ #16965]
11090         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11091         when the shift amount is modulo the limb size.
11092
11093 2014-05-20  Richard Henderson  <rth@redhat.com>
11094
11095         [BZ #16967]
11096         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11097         Change type of sa_flags from unsigned int to int.
11098
11099         [BZ #16966]
11100         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11101
11102         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11103
11104 2014-05-20  Will Newton  <will.newton@linaro.org>
11105
11106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11107         Test the return value of the system call in the nocancel case.
11108
11109 2014-05-20  Will Newton  <will.newton@linaro.org>
11110             Yvan Roux  <yvan.roux@linaro.org>
11111
11112         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11113         #include of asm/ptrace.h.
11114         (PTRACE_GET_THREAD_AREA): Remove #undef.
11115         (PTRACE_GETHBPREGS): Likewise.
11116         (PTRACE_SETHBPREGS): Likewise.
11117         (struct user_regs_struct): New structure.
11118         (struct user_fpsimd_struct): New structure.
11119         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11120         #include of asm/ptrace.h and second #include of sys/user.h.
11121         (PTRACE_GET_THREAD_AREA): Remove #undef.
11122         (PTRACE_GETHBPREGS): Likewise.
11123         (PTRACE_SETHBPREGS): Likewise.
11124         (ELF_NGREG): Use new struct user_regs_struct.
11125         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11126
11127 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11128
11129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11131
11132 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11133
11134         [BZ #16958]
11135         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11136         membar to avoid block loads/stores to overlap previous stores.
11137
11138 2014-05-17  Richard Henderson  <rth@redhat.com>
11139
11140         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11141         Create the __##syscall_name##_nocancel entry point.
11142         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11143         Remove; let the sysdep-cancel.h code create it.
11144
11145 2014-05-17  David S. Miller  <davem@davemloft.net>
11146
11147         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11148         Protect with __USE_GNU.
11149         (TIOCSET_TEMPT): Likewise.
11150         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11151         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11152         these are already provided in bits/ioctl-types.h
11153
11154 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11155
11156         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11157         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11158
11159         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11160         Use wait4 regardless of [__NR_waitpid].
11161
11162 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11163
11164         PR libgcc/60166
11165         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11166         (_FP_NANSIGN_Q): Set the quiet bit.
11167
11168 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11169
11170         * benchtests/Makefile
11171         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11172         not $(common-objpfx)math/libm.so.
11173         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11174         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11175         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11176         $(common-objpfx)dlfcn/libdl.so.
11177         ($(objpfx)tst-audit8): Depend on $(libm), not
11178         $(common-objpfx)math/libm.so.
11179         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11180         not $(common-objpfx)dlfcn/libdl.so.
11181         * math/Makefile
11182         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11183         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11184         [$(build-shared) = yes].
11185         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11186         $(common-objpfx)nptl/libpthread.so.
11187         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11188         $(common-objpfx)math/libm.so$(libm.so-version) or
11189         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11190         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11191         $(common-objpfx)dlfcn/libdl.so.
11192         * setjmp/Makefile (link-libm): Remove variable.
11193         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11194         * stdio-common/Makefile (link-libm): Remove variable.
11195         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11196         * stdlib/Makefile (link-libm): Remove variable.
11197         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11198         ($(objpfx)tst-strtod-round): Likewise.
11199         ($(objpfx)tst-tininess): Likewise.
11200         ($(objpfx)tst-strtod-underflow): Likewise.
11201         ($(objpfx)tst-strtod6): Likewise.
11202         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11203         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11204         $(common-objpfx)dlfcn/libdl.so.
11205
11206 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11207
11208         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11209         BSD terminal modes definitions.
11210
11211 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11212
11213         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11214         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11215
11216         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11217         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11218         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11219         Don't do #include_next.
11220         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11221         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11222         Don't do #include_next.
11223         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11224         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11225         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11226         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11227
11228 2014-05-16  Allan McRae  <allan@archlinux.org>
11229
11230         * po/sv.po: Update Swedish translation from translation project.
11231
11232         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11233         in sed expression.
11234
11235 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11236
11237         [BZ #16917]
11238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11239         errno if the TIOCGPTN ioctl fails with an error different than
11240         EINVAL.
11241         * login/tst-ptsname.c: New file.
11242         * login/Makefile (tests): Add tst-ptsname.
11243
11244         [BZ #16943]
11245         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11246         and prlimit64.
11247
11248 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11249
11250         [BZ #16849]
11251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11252         herrno to return EAI_AGAIN.
11253
11254 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11255
11256         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11257         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11258         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11259         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11260         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11261         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11262         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11263         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11265         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11266         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11267         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11272         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11273         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11274         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11275         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11276         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11277         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11281         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11282         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11283         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11284         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11285         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11287         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11289         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11291         Moved ...
11292         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11302         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11304         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11306         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11308         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11310         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11312         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11314         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11316         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11318         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11320         Moved ...
11321         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11323         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11325         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11327         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11329         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11331         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11333         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11335         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11337         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11339         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11341         Moved ...
11342         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11344         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11345
11346         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11347         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11348         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11349         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11350         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11351         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11352         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11353         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11354         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11355         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11356         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11357         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11358         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11359         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11360         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11362         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11363         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11364         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11365         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11366         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11367         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11368         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11369         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11370         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11371         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11372         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11377
11378         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11379         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11380
11381         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11382         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11383         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11384         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11385         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11386         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11387         Moved ...
11388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11390         Moved ...
11391         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11393         Moved ...
11394         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11396         Moved ...
11397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11398         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11399         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11401         Moved ...
11402         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11403         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11404         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11407         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11408         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11410         Moved ...
11411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11413         Moved ...
11414         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11415         ... here.
11416         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11417         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11419         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11421         Moved ...
11422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11423         ... here.
11424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11425         Moved ...
11426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11427         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11428         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11429         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11430         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11431         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11432         Moved ...
11433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11435         Moved ...
11436         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11438         Moved ...
11439         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11441         Moved ...
11442         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11443         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11444         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11446         Moved ...
11447         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11449         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11452         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11453         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11455         Moved ...
11456         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11458         Moved ...
11459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11460         ... here.
11461         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11462         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11464         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11466         Moved ...
11467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11468         ... here.
11469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11470         Moved ...
11471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11472         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11473         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11474         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11475         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11476         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11477         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11478         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11479         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11481         Moved ...
11482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11484         Moved ...
11485         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11487         Moved ...
11488         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11489         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11490         Moved ...
11491         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11492         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11493         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11494         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11495         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11497         Moved ...
11498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11499         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11500         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11503         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11504         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11506         Moved ...
11507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11509         Moved ...
11510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11511         ... here.
11512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11513         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11514         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11515         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11517         Moved ...
11518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11519         ... here.
11520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11521         Moved ...
11522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11523         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11524         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11525         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11526         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11527         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11528         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11529         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11530         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11531         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11532         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11533
11534         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11535         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11536
11537         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11538         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11539
11540         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11541         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11542         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11543         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11544         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11545         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11546         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11547         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11548         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11549         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11551         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11552         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11554         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11555         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11556         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11558         Moved ...
11559         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11563         Moved ...
11564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11568         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11572         Moved ...
11573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11575         Moved ...
11576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11582         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11583         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11584         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11585         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11586         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11588         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11590         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11591         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11592         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11593
11594         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11595         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11596         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11597         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11598         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11599
11600         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11601         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11602         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11603         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11604         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11605         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11606         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11607         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11608         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11609         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11610
11611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11613
11614         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11615         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11616         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11617         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11618         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11619         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11620         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11621         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11623         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11625         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11627         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11629         Update #include.
11630         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11631         Likewise.
11632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11633         Likewise.
11634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11635         Likewise.
11636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11637         Likewise.
11638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11639         Likewise.
11640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11641         Likewise.
11642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11643         Likewise.
11644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11645         Likewise.
11646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11647         Likewise.
11648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11663
11664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11665         that was previously under [RESET_PID].
11666         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11667         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11668         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11669
11670         * sysdeps/i386/nptl/Implies: New file.
11671         * sysdeps/x86_64/nptl/Implies: New file.
11672         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11673         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11674         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11675         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11676
11677         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11678         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11679         (__libc_vfork): New strong alias.
11680         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11681         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11682
11683         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11684         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11685         (__libc_vfork): New strong alias.
11686         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11687         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11688
11689         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11690         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11691         (__libc_vfork): New strong alias.
11692         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11693         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11694         * nptl/pt-vfork.c: New file.
11695         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11696         (libpthread: GLIBC_2.20): New version set (empty).
11697
11698 2014-05-14  Will Newton  <will.newton@linaro.org>
11699
11700         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11701         rather than #if.
11702
11703 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11704
11705         [BZ #16564]
11706         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11707         arguments with exponent 65 or above.
11708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11709         arguments 0x1p113L or above.
11710         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11711         to arguments 0x1p107L or above.
11712         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11713         positive arguments with exponent 65 or above.
11714         * math/auto-libm-test-in: Add more tests of log1p.
11715         * math/auto-libm-test-out: Regenerated.
11716
11717         [BZ #16928]
11718         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11719         non-finite arguments is +0.
11720         * math/s_cacosf.c (__cacosf): Likewise.
11721         * math/s_cacosl.c (__cacosl): Likewise.
11722         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11723         * sysdeps/i386/fpu/libm-test-ulps: Update.
11724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11725
11726         [BZ #16927]
11727         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11728         value.
11729         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11730         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11731         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11732         for explicit high bit of mantissa when testing for argument equal
11733         to 1.
11734         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11735         * sysdeps/i386/fpu/libm-test-ulps: Update.
11736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11737
11738         [BZ #16516]
11739         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11740         (__erf): Scale by 16 instead of 8 in potentially underflowing
11741         case.  Ensure exception if result actually underflows.
11742         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11743         (__erff): Scale by 16 instead of 8 in potentially underflowing
11744         case.  Ensure exception if result actually underflows.
11745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11746         (efx8): Remove variable.
11747         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11748         case.  Ensure exception if result actually underflows.
11749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11750         (efx8): Remove variable.
11751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11752         case.  Ensure exception if result actually underflows.
11753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11754         (efx8): Remove variable.
11755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11756         case.  Ensure exception if result actually underflows.
11757         * math/auto-libm-test-in: Add more tests of erf.
11758         * math/auto-libm-test-out: Regenerated.
11759
11760 2014-05-14  Andreas Schwab  <schwab@suse.de>
11761
11762         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11763         Remove code conditionalized on USE___THREAD.
11764
11765         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11766         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11767         not definedness.
11768
11769 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11770
11771         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11772         Define unconditionally.
11773         (__ASSUME_O_CLOEXEC): Likewise.
11774         (__ASSUME_SOCK_CLOEXEC): Likewise.
11775         (__ASSUME_IN_NONBLOCK): Likewise.
11776         (__ASSUME_PIPE2): Likewise.
11777         (__ASSUME_EVENTFD2): Likewise.
11778         (__ASSUME_SIGNALFD4): Likewise.
11779         (__ASSUME_DUP3): Likewise.
11780         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11781         (__ASSUME_DUP3): Do not define.
11782         (__ASSUME_EVENTFD2): Likewise.
11783         (__ASSUME_IN_NONBLOCK): Likewise.
11784         (__ASSUME_O_CLOEXEC): Likewise.
11785         (__ASSUME_PIPE2): Likewise.
11786         (__ASSUME_SIGNALFD4): Likewise.
11787         (__ASSUME_SOCK_CLOEXEC): Likewise.
11788         (__ASSUME_UTIMES): Undefine.
11789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11790         (__ASSUME_UTIMES): Do not define.
11791         (__ASSUME_O_CLOEXEC): Likewise.
11792         (__ASSUME_SOCK_CLOEXEC): Likewise.
11793         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11794         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11795         0x020621].
11796         (__ASSUME_PIPE2): Likewise.
11797         (__ASSUME_EVENTFD2): Likewise.
11798         (__ASSUME_SIGNALFD4): Likewise.
11799         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11800         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11801         Do not define.
11802         (__ASSUME_EVENTFD2): Likewise.
11803         (__ASSUME_SIGNALFD4): Likewise.
11804         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11805         (__ASSUME_32BITUIDS): Likewise.
11806         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11807         (__ASSUME_IPC64): Likewise.
11808         (__ASSUME_ST_INO_64_BIT): Likewise.
11809         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11810         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11811         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11812         (__ASSUME_UTIMES): Do not define.
11813         (__ASSUME_PSELECT): Likewise.
11814         (__ASSUME_PPOLL): Likewise.
11815         (__ASSUME_O_CLOEXEC): Likewise.
11816         (__ASSUME_SOCK_CLOEXEC): Likewise.
11817         (__ASSUME_IN_NONBLOCK): Likewise.
11818         (__ASSUME_PIPE2): Likewise.
11819         (__ASSUME_EVENTFD2): Likewise.
11820         (__ASSUME_SIGNALFD4): Likewise.
11821         (__ASSUME_DUP3): Likewise.
11822         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11823         (__ASSUME_UTIMES): Likewise.
11824         (__ASSUME_O_CLOEXEC): Likewise.
11825         (__ASSUME_SOCK_CLOEXEC): Likewise.
11826         (__ASSUME_IN_NONBLOCK): Likewise.
11827         (__ASSUME_PIPE2): Likewise.
11828         (__ASSUME_EVENTFD2): Likewise.
11829         (__ASSUME_SIGNALFD4): Likewise.
11830         (__ASSUME_DUP3): Likewise.
11831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11832         (__ASSUME_UTIMES): Likewise.
11833         (__ASSUME_O_CLOEXEC): Likewise.
11834         (__ASSUME_SOCK_CLOEXEC): Likewise.
11835         (__ASSUME_IN_NONBLOCK): Likewise.
11836         (__ASSUME_PIPE2): Likewise.
11837         (__ASSUME_EVENTFD2): Likewise.
11838         (__ASSUME_SIGNALFD4): Likewise.
11839         (__ASSUME_DUP3): Likewise.
11840         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11841         Likewise.
11842         (__ASSUME_UTIMES): Likewise.
11843         (__ASSUME_EVENTFD2): Likewise.
11844         (__ASSUME_SIGNALFD4): Likewise.
11845         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11846         (__ASSUME_O_CLOEXEC): Likewise.
11847         (__ASSUME_SOCK_CLOEXEC): Likewise.
11848         (__ASSUME_IN_NONBLOCK): Likewise.
11849         (__ASSUME_PIPE2): Likewise.
11850         (__ASSUME_EVENTFD2): Likewise.
11851         (__ASSUME_SIGNALFD4): Likewise.
11852         (__ASSUME_DUP3): Likewise.
11853         (__ASSUME_UTIMES): Undefine.
11854
11855         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11856         feclearexcept.  Remove symbol versioning code.
11857         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11858         symbol versioning code.
11859         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11860         symbol versioning code.
11861         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11862         feupdateenv.  Remove symbol versioning code.
11863         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11864         fegetexceptflag.  Remove symbol versioning code.
11865         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11866         fesetexceptflag.  Remove symbol versioning code.
11867         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11868         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11869         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11870         (__posix_fadvise64_l32): Remove prototype.
11871         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11872         code.
11873
11874 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11875
11876         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11877         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11878         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11879         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11880
11881 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11882
11883         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11884         current working directory
11885
11886 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11887
11888         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11889         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11890         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11891         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11892         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11893         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11894         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11895         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11896         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11897         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11898         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11899         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11900         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11901         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11902         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11903         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11904         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11905         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11906         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11907         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11908         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11909         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11910         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11911         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11912         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11913         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11914         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11915         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11916         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11917         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11918         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11919         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11920         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11921         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11922         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11923         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11924         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11925         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11926         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11927         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11928         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11929         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11930
11931         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11932         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11933
11934         * sysdeps/unix/sysv/linux/arm/Makefile
11935         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11936         Add rt-aeabi_unwind_cpp_pr1.
11937         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11938         Add nptl-aeabi_unwind_cpp_pr1.
11939         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11940         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11941         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11942         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11943         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11944         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11945
11946         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11947         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11948         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11949         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11950
11951         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11952         Deconditionalize the code that was previously under [RESET_PID].
11953         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11954
11955         * sysdeps/generic/exit-thread.h: New file.
11956         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11957         * include/unistd.h (__exit_thread): Remove declaration.
11958         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11959         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11960         * csu/libc-start.c: Include <exit-thread.h>.
11961         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11962         * nptl/pthread_create.c: Include <exit-thread.h>.
11963         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11964         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11965         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11966         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11967         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11968         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11969         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11970         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11971         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11972         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11973         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11974         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11975         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11976         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11977         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11978         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11979         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11980
11981 2014-05-13  Andreas Schwab  <schwab@suse.de>
11982
11983         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11984
11985 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11986
11987         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11988         (__ASSUME_UTIMES): Do not condition on kernel version.
11989         (__ASSUME_PSELECT): Define unconditionally.
11990         (__ASSUME_PPOLL): Likewise.
11991         (__ASSUME_ATFCTS): Likewise.
11992         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11993         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11994         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11995         (__ASSUME_UTIMENSAT): Define unconditionally.
11996         (__ASSUME_PRIVATE_FUTEX): Likewise.
11997         (__ASSUME_FALLOCATE): Likewise.
11998         (__ASSUME_O_CLOEXEC): Likewise.
11999         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12000         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12001         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12002         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12003         (__ASSUME_IN_NONBLOCK): Likewise.
12004         (__ASSUME_PIPE2): Likewise.
12005         (__ASSUME_EVENTFD2): Likewise.
12006         (__ASSUME_SIGNALFD4): Likewise.
12007         (__ASSUME_DUP3): Likewise.
12008         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12009         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12010         (__ASSUME_AT_RANDOM): Likewise.
12011         (__ASSUME_PREADV): Likewise.
12012         (__ASSUME_PWRITEV): Likewise.
12013         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12014         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12015         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12017         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12018         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12019         (__ASSUME_O_CLOEXEC): Define unconditionally.
12020         (__ASSUME_PSELECT): Do not undefine conditionally.
12021         (__ASSUME_PPOLL): Likewise.
12022         (__ASSUME_ATFCTS): Likewise.
12023         (__ASSUME_SET_ROBUST_LIST): Likewise.
12024         (__ASSUME_UTIMENSAT): Likewise.
12025         (__ASSUME_FDATASYNC): Define unconditionally.
12026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12027         (__ASSUME_SIGFRAME_V2): Likewise.
12028         )__ASSUME_EVENTFD2): Likewise.
12029         (__ASSUME_SIGNALFD4): Likewise.
12030         (__ASSUME_PSELECT): Do not undefine conditionally.
12031         (__ASSUME_PPOLL): Likewise.
12032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12033         (__ASSUME_PSELECT): Define unconditionally.
12034         (__ASSUME_PPOLL): Likewise.
12035         (__ASSUME_O_CLOEXEC): Likewise.
12036         (__ASSUME_SOCK_CLOEXEC): Likewise.
12037         (__ASSUME_IN_NONBLOCK): Likewise.
12038         (__ASSUME_PIPE2): Likewise.
12039         (__ASSUME_EVENTFD2): Likewise.
12040         (__ASSUME_SIGNALFD4): Likewise.
12041         (__ASSUME_DUP3): Likewise.
12042         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12043         (__ASSUME_O_CLOEXEC): Likewise.
12044         (__ASSUME_SOCK_CLOEXEC): Likewise.
12045         (__ASSUME_IN_NONBLOCK): Likewise.
12046         (__ASSUME_PIPE2): Likewise.
12047         (__ASSUME_EVENTFD2): Likewise.
12048         (__ASSUME_SIGNALFD4): Likewise.
12049         (__ASSUME_DUP3): Likewise.
12050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12051         (__ASSUME_EVENTFD2): Likewise.
12052         (__ASSUME_SIGNALFD4): Likewise.
12053         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12054
12055 2014-05-12  Andreas Schwab  <schwab@suse.de>
12056
12057         [BZ #16932]
12058         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12059         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12060         than maximum RPC packet size.
12061         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12062         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12063         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12064         (_nss_nis_getservbyport_r): Likewise.
12065
12066 2014-05-12  Will Newton  <will.newton@linaro.org>
12067
12068         * malloc/Makefile (tests): Add tst-mallopt.
12069         * malloc/tst-mallopt.c: New file.
12070
12071 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12072
12073         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12074         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12075
12076 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12077
12078         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12079         (tst-tlsmod6.so): Likewise.
12080
12081 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12082
12083         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12084
12085 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12086
12087         [BZ #16064]
12088         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12089         and <dl-procinfo.h>.
12090         (__fegetenv): Save SSE state in envp->__eip if supported.
12091         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12092         envp->__eip if supported.
12093         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12094         and <dl-procinfo.h>.
12095         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12096         __data_offset and __data_selector in environment to 0.  Set SSE
12097         state if supported.
12098         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12099         test-fenv-sse.
12100         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12101         -mfpmath=sse.
12102         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12103
12104 2014-05-09  Will Newton  <will.newton@linaro.org>
12105
12106         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12107         and libc_relro_required for ARM.
12108         * sysdeps/arm/preconfigure: Regenerate.
12109
12110 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12111             Stefan Liebler  <stli@linux.vnet.ibm.com>
12112
12113         * config.make.in (enable-lock-elision): New Makefile variable.
12114         * configure.ac: Likewise.
12115         * configure: Regenerate.
12116         * sysdeps/s390/configure.ac:
12117         Add check for gcc transactions support.
12118         * sysdeps/s390/configure: Regenerate.
12119         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12120         Build elision files if enabled.
12121         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12122         Add lock elision support for s390.
12123         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12124         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12125         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12126         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12127         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12128         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12130         Likewise.
12131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12132         Likewise.
12133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12134         Likewise.
12135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12136         Likewise.
12137         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12138         (__lll_timedlock_elision, __lll_lock_elision)
12139         (__lll_unlock_elision, __lll_trylock_elision)
12140         (lll_timedlock_elision, lll_lock_elision)
12141         (lll_unlock_elision, lll_trylock_elision): Add.
12142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12143         (pthread_mutex_t): Add lock elision support for s390.
12144
12145 2014-05-14  Wilco  <wdijkstr@arm.com>
12146
12147         * sysdeps/arm/fclrexcpt.c: Cleanup.
12148         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12149         * sysdeps/arm/feenablxcpt.c: Cleanup.
12150         * sysdeps/arm/fegetenv.c: Cleanup.
12151         * sysdeps/arm/fegetexcept.c: Cleanup.
12152         * sysdeps/arm/fegetround.c: Cleanup.
12153         * sysdeps/arm/feholdexcpt.c: Cleanup.
12154         * sysdeps/arm/fesetenv.c: Cleanup.
12155         * sysdeps/arm/fesetround.c: Cleanup.
12156         * sysdeps/arm/feupdateenv.c: Cleanup.
12157         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12158         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12159         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12160         * sysdeps/arm/ftestexcept.c: Cleanup.
12161         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12162         * sysdeps/arm/setfpucw.c: Cleanup.
12163
12164 2014-05-09  Will Newton  <will.newton@linaro.org>
12165
12166         * sysdeps/arm/armv7/strcmp.S: New file.
12167         * NEWS: Mention addition of ARMv7 optimized strcmp.
12168
12169 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12170
12171         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12172         look for %.ac rather than %.in.
12173
12174         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12175         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12176         * sysdeps/mach/hurd/configure: Regenerated.
12177         * sysdeps/unix/sysv/linux/configure: Regenerated.
12178
12179         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12180
12181 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12182
12183         [BZ# 16922]
12184         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12185         (LONG_SUB): Ditto.
12186         (PTR_SUB): Ditto.
12187
12188 2014-05-07  Andreas Schwab  <schwab@suse.de>
12189
12190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12191         when skipping over non-matching result from nscd.
12192
12193 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12194
12195         [BZ #16876]
12196         * nptl/sockperf.c (client): Check socket return value.
12197
12198         [BZ #16877]
12199         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12200         nscd security class.
12201
12202 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12203
12204         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12205         * sysdeps/arm/unwind.h: ... here.
12206
12207 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12208
12209         [BZ# 16916]
12210         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12211         Define.
12212
12213 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12214
12215         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12216         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12217         multiarch strncpy for PPC64.
12218         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12219         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12221         multiarch optimizations.
12222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12223         (__libc_ifunc_impl_list): Likewise.
12224         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12225         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12226         multiarch stpncpy for PPC64.
12227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12229
12230 2014-05-06  Andreas Schwab  <schwab@suse.de>
12231
12232         [BZ #16912]
12233         * gmon/mcount.c (_MCOUNT_DECL): Use
12234         atomic_compare_and_exchange_bool_acq instead of
12235         catomic_compare_and_exchange_bool_acq.
12236
12237 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12238
12239         * elf/Makefile (others, install-bin): Remove pldd.
12240         (pldd-modules): Variable removed.
12241         ($(objpfx)pldd): Target removed.
12242         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12243         (others, install-bin): Append pldd here.
12244         ($(objpfx)pldd): New target.
12245
12246         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12247         to 0, so the first #if test emitted later doesn't see it undefined.
12248         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12249         * sysdeps/gnu/errlist.c: Regenerated.
12250
12251 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12252
12253         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12254         [libc_hidden_builtin_def]: Define to empty value.
12255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12256         [libc_hidden_builtin_def]: Likewise.
12257         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12258         [libc_hidden_builtin_def]: Likewise.
12259         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12260         [libc_hidden_builtin_def]: Likewise.
12261         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12262         __redirect_memcpy and define ifunc as default hidden symbol.
12263         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12264         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12265
12266 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12267
12268         * locale/iso-4217.def: Reintroduce XDR currency.
12269
12270 2014-05-04  Allan McRae  <allan@archlinux.org>
12271
12272         * po/eo.po: Update Esperanto translation from translation project.
12273
12274 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12275
12276         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12277         and FEATURE_INDEX_MAX to 1.
12278         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12279
12280 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12281
12282         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12283         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12284         * iconvdata/big5.c (ONE_DIRECTION): Define.
12285         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12286         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12287         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12288         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12289         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12290         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12291         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12292         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12293         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12294         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12295         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12296         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12297         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12298         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12299         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12300         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12301         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12302         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12303         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12304         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12305         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12306         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12307         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12308         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12309         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12310         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12311         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12312         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12313         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12314         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12315         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12316         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12317         * iconvdata/johab.c (ONE_DIRECTION): Define.
12318         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12319         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12320         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12321         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12322         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12323         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12324         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12325         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12326         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12327         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12328
12329 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12330
12331         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12332         (_IO_JUMPS_OFFSET): Define to 0.
12333
12334         * nptl/sysdeps/pthread/bits/libc-lock.h
12335         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12336         (__libc_lock_define_initialized_recursive): Always define using
12337         initializer.  Modern compilers treat uninitialized (implicit zero) and
12338         explicit zero initializers the same (i.e. put the datum in bss).
12339
12340 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12341
12342         * nscd/nscd-client.h: Include <string.h>.
12343
12344 2014-05-01  David S. Miller  <davem@davemloft.net>
12345
12346         [BZ #16885]
12347         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12348         multiple zero bytes exist at the end of a string.
12349         Reported by Aurelien Jarno <aurelien@aurel32.net>
12350
12351         * string/test-strcmp.c (check): Add explicit test for situations where
12352         there are multiple zero bytes after the first.
12353
12354 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12355
12356         [BZ #16890]
12357         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12358         when compiling wprintf.
12359         * stdio-common/tstdiomisc.c (t3): New function.
12360         (main): Call it.
12361
12362 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12363
12364         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12365         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12366         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12367         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12368
12369 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12370
12371         * stdlib/longlong.h: Updated from GCC.
12372
12373 2014-05-01  Will Newton  <will.newton@linaro.org>
12374             Bernard Ogden  <bernie.ogden@linaro.org>
12375
12376         * NEWS: Update fixed bug list.
12377
12378         [BZ #15119]
12379         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12380
12381 2014-04-30  David S. Miller  <davem@davemloft.net>
12382
12383         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12384         (libc_feholdexcept_setround_sparc_ctx): New function.
12385         (libc_fesetenv_sparc_ctx): Likewise.
12386         (libc_feupdateenv_sparc_ctx): Likewise.
12387         (libc_feholdsetround_sparc_ctx): Likewise.
12388         (libc_feholdexcept_setround_ctx): Define.
12389         (libc_feholdexcept_setroundf_ctx): Likewise.
12390         (libc_feholdexcept_setroundl_ctx): Likewise.
12391         (libc_fesetenv_ctx): Likewise.
12392         (libc_fesetenvf_ctx): Likewise.
12393         (libc_fesetenvl_ctx): Likewise.
12394         (libc_feupdateenv_ctx): Likewise.
12395         (libc_feupdateenvf_ctx): Likewise.
12396         (libc_feupdateenvl_ctx): Likewise.
12397         (libc_feresetround_ctx): Likewise.
12398         (libc_feresetroundf_ctx): Likewise.
12399         (libc_feresetroundl_ctx): Likewise.
12400         (libc_feholdsetround_ctx): Likewise.
12401         (libc_feholdsetroundf_ctx): Likewise.
12402         (libc_feholdsetroundl_ctx): Likewise.
12403
12404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12405         with __USE_GNU instead of XOPEN cpp guards.
12406
12407         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12408         0.
12409
12410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12411         with XOPEN cpp guards.
12412
12413 2014-04-30  Julian Brown  <julian@codesourcery.com>
12414
12415         [BZ #16888]
12416         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12417         handling.
12418
12419 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12420
12421         [BZ #9894]
12422         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12423         Change to 2.6.32.
12424         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12425         * sysdeps/unix/sysv/linux/configure: Regenerated.
12426         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12427         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12428         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12429         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12430         * README: Update reference to required Linux kernel version.
12431         * manual/install.texi (Linux): Update reference to required Linux
12432         kernel headers version.
12433         * INSTALL: Regenerated.
12434
12435         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12436         header inclusion.
12437         [POSIX] (limits.h): Likewise.
12438         [POSIX] (math.h): Likewise.
12439         [POSIX] (sys/wait.h): Likewise.
12440         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12441         function.
12442         [POSIX] (stddef.h): Do not allow header inclusion.
12443
12444 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12445
12446         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12447
12448 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12449
12450         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12451         Return immediately after lll_futex_wake.
12452
12453 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12454
12455         [BZ #16791]
12456         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12457         structure.
12458         (datahead_init_pos): Call datahead_init_common early.
12459         (datahead_init_neg): Likewise.
12460
12461         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12462         datahead_init_neg): New functions.
12463         * nscd/aicache.c (addhstaiX): Use them.
12464         * nscd/grpcache.c (cache_addgr): Likewise.
12465         * nscd/hstcache.c (cache_addhst): Likewise.
12466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12467         * nscd/netgroupcache.c (do_notfound): Likewise.
12468         (addgetnetgrentX): Likewise.
12469         (addinnetgrX): Likewise.
12470         * nscd/pwdcache.c (cache_addpw): Likewise.
12471         * nscd/servicescache.c (cache_addserv): Likewise.
12472
12473 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12474             Atsushi Onoe  <atsushi@onoe.org>
12475
12476         [BZ #14308]
12477         [BZ #12994]
12478         [BZ #13651]
12479         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12480         one response is valid.
12481         * resolv/res_send.c (send_dg): Check for validity of other
12482         response if the current response is a referral.
12483
12484 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12485
12486         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12487
12488 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12489
12490         [BZ #16823]
12491         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12492         Always divide by positive zero when computing -Inf result.
12493         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12494         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12495
12496 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12497
12498         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12499         FPSCR if value do not change.
12500         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12501         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12502         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12503         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12504         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12505         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12506         function.
12507
12508 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12509
12510         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12511         * sysdeps/unix/sysv/linux/hppa: Move directory from
12512         ports/systeps/unix/sysv/linux/hppa.
12513         * README: Update listing for hppa-*-linux-gnu.
12514
12515 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12516
12517         [BZ #16754]
12518         * manual/stdio.texi (Hook functions): Fix types of stream hook
12519         functions.
12520         [BZ #16854]
12521         * socket/sys/socket.h: Fix typo in comment.
12522
12523 2014-04-28  Wilco  <wdijkstr@arm.com>
12524
12525         * sysdeps/arm/fenv_private.h: New file.
12526         * sysdeps/arm/math_private.h: New file.
12527         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12528
12529 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12530
12531         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12532         with __int128_t.
12533         (La_x86_64_retval): Likewise.
12534
12535 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12536
12537         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12538         fpsr if value didn't change.
12539         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12540         to fpcr if value didn't change.
12541         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12542         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12543         fpsr or fpcr if value didn't change.
12544         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12545         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12546         fpcr if value didn't change.
12547         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12548         to fpsr if value didn't change.
12549
12550 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12551
12552         * nptl/tst-sem3.c: Use test-skeleton.c
12553         (main): Rename to do_test.  Use return instead of
12554         exit.
12555         * nptl/tst-sem4.c: Use test-skeleton.c
12556         (main): Rename to do_test.
12557
12558 2014-04-22  David S. Miller  <davem@davemloft.net>
12559
12560         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12561         (struct sigaction): New struct member __glibc_reserved0, change
12562         type of sa_flags to int.
12563
12564 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12565
12566         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12567         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12568
12569 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570
12571         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12572         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12573
12574 2014-04-22  Will Newton  <will.newton@linaro.org>
12575             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12576
12577         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12578         (__longjmp): Add longjmp and longjmp_target SystemTap
12579         probes.
12580         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12581         (__sigsetjmp): Add setjmp SystemTap probe.
12582
12583 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12584
12585         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12586         match manual order.
12587
12588 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12589
12590         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12591
12592         * sysdeps/powerpc/fpu/fenv_private.h
12593         (libc_feholdexcept_setroundl_ctx): Define to
12594         libc_feholdexcept_setround_ppc_ctx.
12595         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12596         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12597         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12598         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12599
12600 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12601
12602         * sysdeps/aarch64/math-tests.h: New file.
12603
12604 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12605
12606         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12607         New.
12608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12609         Check and set bit_AVX2_Usable.
12610         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12611         macro.
12612         (bit_AVX2): Likewise.
12613         (index_AVX2_Usable): Likewise.
12614         (CPUID_AVX2): Likewise.
12615         (HAS_AVX2): Likewise.
12616
12617 2014-04-17  Will Newton  <will.newton@linaro.org>
12618
12619         * manual/setjmp.texi (System V contexts): Add note that
12620         calling setcontext on a context created by a call to a
12621         signal handler is undefined.  Update text to note that
12622         setcontext from a signal handler is possible but not
12623         recommended.
12624
12625         [BZ #16629]
12626         * stdlib/tst-setcontext.c: Include signal.h.
12627         (main): Check that the signal stack before and
12628         after swapcontext is the same.
12629
12630         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12631         Re-implement to restore registers in user code and avoid
12632         rt_sigreturn system call.
12633
12634 2014-04-17  Wilco  <wdijkstr@arm.com>
12635
12636         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12637         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12638         * math/test-fenv.c: Skip exception trap tests on targets which only
12639         support non-stop mode.
12640
12641 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12642             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12643
12644         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12645         (libc_feholdsetround_aarch64_ctx)
12646         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12647         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12648         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12649         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12650         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12651         (libc_feresetround_noexl_ctx): Define.
12652
12653 2014-04-16  Richard Henderson  <rth@redhat.com>
12654
12655         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12656
12657         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12658         unwind tables.
12659
12660         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12661         const from the non-libc, non-ldso copy.
12662
12663         * sysdeps/alpha/libm-test-ulps: Regenerate.
12664
12665 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12666             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12667
12668         * sysdeps/aarch64/fpu/math_private.h: New file.
12669
12670 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12671
12672         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12673
12674 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12675
12676         [BZ #16275]
12677         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12678         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12680         Intel MPX bound registers before _dl_profile_fixup.
12681         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12682         registers after _dl_profile_fixup.  Save and restore bound
12683         registers bnd0/bnd1 when calling _dl_call_pltexit.
12684         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12685         (LR_BND_OFFSET): Likewise.
12686         (LRV_BND0_OFFSET): Likewise.
12687         (LRV_BND1_OFFSET): Likewise.
12688
12689 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12690
12691         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12692         to...
12693         * sysdeps/mach/hurd/i386/tls.h: ... here.
12694         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12695         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12696         fields.
12697
12698 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12699
12700         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12701
12702 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12703
12704         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12705
12706 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12707
12708         [BZ #14770]
12709         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12710         * sysdeps/s390/configure: Regenerate.
12711
12712         [BZ #16824]
12713         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12714         Set round-to-nearest internally to reduce error accumulation.
12715
12716 2014-04-16  Alan Modra  <amodra@gmail.com>
12717
12718         [BZ #16740]
12719         [BZ #16619]
12720         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12721         * math/libm-test.inc (frexp_test_data): Add tests.
12722         * NEWS: Update fixed bug list.
12723
12724 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12725
12726         * benchtests/Makefile: Depend on libraries in build directory.
12727         (bench-math): Separate out math tests.
12728         (bench-pthread): Separate out pthread tests.
12729         (bench): Include math and pthread tests.
12730
12731 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12732
12733         [BZ #16831]
12734         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12735         _dl_debug_initialize.
12736
12737         * configure.ac: Remove SELinux header check.
12738         * configure: Regenerate.
12739         * nscd/selinux.c (perms): Array of const char* to permission names.
12740         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12741         default policy. Call string_to_security_class and string_to_av_perm to
12742         translate strings. Enforce default policy and call avs_has_perm with
12743         results of translated strings.
12744
12745 2014-04-13  David S. Miller  <davem@davemloft.net>
12746
12747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12748
12749 2014-04-12  Allan McRae  <allan@archlinux.org>
12750
12751         [BZ #16838]
12752         * manual/string.texi (Collation Functions): Fix qsort argument
12753         order in example.
12754         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12755
12756 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12757
12758         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12759         Make the test a no-op if there are no exceptions defined.
12760
12761 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12762
12763         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12764         enable-hardcoded-path-in-tests
12765
12766 2014-04-11  Will Newton  <will.newton@linaro.org>
12767
12768         * benchtests/Makefile (extra-objs): Add json-lib.o.
12769         (bench-func): Tidy up JSON output.
12770         * benchtests/bench-skeleton.c: Include json-lib.h.
12771         (main): Use JSON library functions to do output of
12772         benchmark results.
12773         * benchtests/bench-timing-type.c (main): Output the
12774         timing type simply, leaving formatting to the user.
12775         * benchtests/json-lib.c: New file.
12776         * benchtests/json-lib.h: Likewise.
12777
12778 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12779
12780         [BZ #15215]
12781         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12782         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12783         memory barriers.  Add comments.
12784         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12785         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12786         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12787         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12788         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12789         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12790
12791 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12792
12793         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12794         * sysdeps/s390/s390-64/configure.ac: ... this ...
12795         * sysdeps/s390/configure.ac: ... to here.
12796         * sysdeps/s390/s390-32/configure: Delete file.
12797         * sysdeps/s390/s390-64/configure: Delete file.
12798         * sysdeps/s390/configure: Regenerate.
12799
12800 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12801
12802         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12803
12804 2014-04-11  Will Newton  <will.newton@linaro.org>
12805
12806         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12807         to zero if it is not defined elsewhere.  (mtrim): Test
12808         the value of MALLOC_DEBUG with #if rather than #ifdef.
12809
12810 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12811
12812         * benchtests/pthread_once-inputs: New file.
12813         * benchtests/pthread_once-source.c: New file.
12814         * benchtests/README: Update documentation.
12815
12816 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12817             H.J. Lu  <hongjiu.lu@intel.com>
12818
12819         [BZ #16275]
12820         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12821         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12822         * sysdeps/x86_64/configure: Regenerated.
12823         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12824         macro.
12825         (REGISTER_SAVE_RAX): Likewise.
12826         (REGISTER_SAVE_RCX): Likewise.
12827         (REGISTER_SAVE_RDX): Likewise.
12828         (REGISTER_SAVE_RSI): Likewise.
12829         (REGISTER_SAVE_RDI): Likewise.
12830         (REGISTER_SAVE_R8): Likewise.
12831         (REGISTER_SAVE_R9): Likewise.
12832         (REGISTER_SAVE_BND0): Likewise.
12833         (REGISTER_SAVE_BND1): Likewise.
12834         (REGISTER_SAVE_BND2): Likewise.
12835         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12836         bound registers when calling _dl_fixup.
12837
12838 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12839
12840         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12841         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12842         of its definition.
12843         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12844         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12845         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12846         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12847         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12848         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12849         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12850
12851 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12852
12853         [BZ #15514]
12854         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12855         pathconf(_PC_NAME_MAX).
12856
12857 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12858
12859         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12860         Remove macro usage.
12861         (__PTHREAD_SPINS): Move definition to ...
12862         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12863         (__PTHREAD_SPINS): ... here.
12864         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12865         (__PTHREAD_SPIN): Likewise.
12866         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12867         (__PTHREAD_SPIN): Likewise.
12868         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12869         (__PTHREAD_SPIN): Likewise.
12870         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12871         (__PTHREAD_SPIN): Likewise.
12872         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12873         (__PTHREAD_SPIN): Likewise.
12874         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12875         (__PTHREAD_SPIN): Likewise.
12876         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12877         (__PTHREAD_SPIN): Likewise.
12878         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12879         (__PTHREAD_SPIN): Likewise.
12880         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12881         (__PTHREAD_SPIN): Likewise.
12882         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12883         (__PTHREAD_SPIN): Likewise.
12884         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12885         (__PTHREAD_SPIN): Likewise.
12886         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12887         (__PTHREAD_SPIN): Likewise.
12888
12889         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12890         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12891         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12892         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12893         imply folder.
12894         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12895         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12896         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12897         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12898         correct imply path.
12899         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12900         strlen symbol for non multi-arch builds.
12901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12902         missing hidden_def and weak_alias.
12903
12904 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12905
12906         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12907
12908 2014-04-07  Will Newton  <will.newton@linaro.org>
12909
12910         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12911         and contents.  [!_LIBC] Remove #ifndef and contents.
12912         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12913         * string/memccpy.c (__memccpy): Use ANSI prototype.
12914         * string/memfrob.c (memfrob): Likewise.
12915         * string/strcoll.c (STRCOLL): Likewise.
12916         * string/strlen.c (strlen): Likewise.
12917         * string/strtok.c (STRTOK): Likewise.
12918         * string/strcat.c: Remove unused #include of memcopy.h.
12919         (strcat): Use ANSI prototype.
12920         * string/strchr.c: Remove unused #include of memcopy.h.
12921         (strchr): Use ANSI prototype.
12922         * string/strcmp.c: Remove unused #include of memcopy.h.
12923         (strcmp): Use ANSI prototype.
12924         * string/strcpy.c: Remove unused #include of memcopy.h.
12925         (strcpy): Use ANSI prototype.
12926
12927 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12928
12929         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12930         * config.make.in (config-extra-cppflags): Set it from
12931         libc_extra_cppflags.
12932         * configure.ac (libc_extra_cflags): Make it accumulate over
12933         configure fragments.
12934         (libc_extra_cppflags): New flag.
12935         * configure. Regenerate.
12936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12937         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12938         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12940
12941         [BZ #16815]
12942         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12943         result for FE_DOWNWARD rounding mode.
12944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12945         Likewise.
12946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12947
12948 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12949
12950         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12951         in function argument name.
12952
12953 2014-04-03  David Svoboda  <svoboda@cert.org>
12954
12955         [BZ #5666]
12956         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12957         explicitly.
12958
12959 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12960
12961         * elf/dl-unmap-segments.h: New file.
12962         * sysdeps/generic/ldsodefs.h
12963         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12964         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12965         * elf/dl-fptr.c: Likewise.
12966         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12967         * sysdeps/aarch64/tlsdesc.c: Likewise.
12968         * sysdeps/arm/tlsdesc.c: Likewise.
12969         * sysdeps/i386/tlsdesc.c: Likewise.
12970         * sysdeps/tile/dl-runtime.c: Likewise.
12971         * sysdeps/x86_64/tlsdesc.c: Likewise.
12972         * elf/dl-load.h: New file.
12973         * elf/dl-load.c: Include it.
12974         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12975         Macros moved to dl-load.h.
12976         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12977         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12978         Use _dl_unmap_segments in place of __munmap.
12979         Break out segment-mapping loop into ...
12980         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12981
12982 2014-04-03  Will Newton  <will.newton@linaro.org>
12983
12984         * elf/dl-lookup.c (do_lookup_x): Remove comment
12985         referring to nested function and move variable
12986         declarations down to before first use.
12987
12988 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12989
12990         [BZ #16799]
12991         [BZ #16800]
12992         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12993         with 0 numerator.
12994         * math/s_catanf.c (__catanf): Likewise.
12995         * math/s_catanh.c (__catanh): Likewise.
12996         * math/s_catanhf.c (__catanhf): Likewise.
12997         * math/s_catanhl.c (__catanhl): Likewise.
12998         * math/s_catanl.c (__catanl): Likewise.
12999         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13000         by positive zero when computing -Inf result.
13001         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13002         (catanh_test): Likewise.
13003         * sysdeps/i386/fpu/libm-test-ulps: Update.
13004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005
13006         [BZ #16789]
13007         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13008         instead of using underflowing value in computing result.
13009         * math/s_clog10.c (__clog10): Likewise.
13010         * math/s_clog10f.c (__clog10f): Likewise.
13011         * math/s_clog10l.c (__clog10l): Likewise.
13012         * math/s_clogf.c (__clogf): Likewise.
13013         * math/s_clogl.c (__clogl): Likewise.
13014         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13015         (clog10_test): Likewise.
13016         * sysdeps/i386/fpu/libm-test-ulps: Update.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018
13019 2014-04-02  Alan Modra  <amodra@gmail.com>
13020
13021         [BZ #16739]
13022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13023         output when value is near a power of two.  Use int64_t for lx and
13024         remove casts.  Use decimal rather than hex exponent constants.
13025         Don't use long double multiplication when double will suffice.
13026         * math/libm-test.inc (nextafter_test_data): Add tests.
13027         * NEWS: Add 16739 and 16786 to bug list.
13028
13029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13030
13031         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13032
13033 2014-04-01  Will Newton  <will.newton@linaro.org>
13034
13035         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13036         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13037
13038 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13039
13040         [BZ #13347]
13041         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13042         * nptl/tst-setuid2.c: New file.
13043         * nptl/Makefile (xtests): Add tst-setuid2.
13044
13045 2014-04-01  Alan Modra  <amodra@gmail.com>
13046
13047         [BZ #16786]
13048         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13049
13050 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13051
13052         [BZ #6803]
13053         [BZ #6804]
13054         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13055         set errno as appropriate.
13056         * math/w_scalbf.c (__scalbf): Likewise.
13057         * math/w_scalbl.c (__scalbl): Likewise.
13058         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13059         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13060         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13061         Add more NaN tests.
13062
13063         [BZ #16349]
13064         * math/w_atan2.c: Include <errno.h>.
13065         (__atan2): Set errno for result underflowing to zero.
13066         * math/w_atan2f.c: Include <errno.h>.
13067         (__atan2f): Set errno for result underflowing to zero.
13068         * math/w_atan2l.c: Include <errno.h>.
13069         (__atan2l): Set errno for result underflowing to zero.
13070         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13071         tests.
13072         * math/auto-libm-test-out: Regenerated.
13073
13074 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13075
13076         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13077         Encode instruction correctly in little endian.
13078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13079         Likewise.
13080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13081         Likewise.
13082         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13083         Likewise.
13084         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13085         Likewise.
13086
13087 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13088
13089         [BZ #9894]
13090         * sysdeps/unix/sysv/linux/kernel-features.h
13091         [__sparc__ && !__arch64__ && !__sparc_v9__]
13092         (__ASSUME_SET_ROBUST_LIST): Do not define.
13093         [__sparc__ && !__arch64__ && !__sparc_v9__]
13094         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13095         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13096         Likewise.
13097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13098         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13099         (__ASSUME_REQUEUE_PI): Likewise.
13100         (__ASSUME_SET_ROBUST_LIST): Likewise.
13101         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13102         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13103         Undefine.
13104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13105         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13106         Likewise.
13107         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13108         Likewise.
13109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13110         Likewise.
13111         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13112         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13113         Undefine.
13114         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13115         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13116         Likewise.
13117
13118         [BZ #16648]
13119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13120         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13121         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13122
13123 2014-03-31  Will Newton  <will.newton@linaro.org>
13124
13125         * benchtests/Makefile (bench): Add ffs and ffsll to list
13126         of tests.
13127         * benchtests/ffs-inputs: New file.
13128         * benchtests/ffsll-inputs: Likewise.
13129
13130 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13131
13132         [BZ #16770]
13133         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13134         too large before casting to int.
13135         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13136         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13137         * math/libm-test.inc (scalb_test_data): Add more tests.
13138
13139 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140
13141         * benchtests/Makefile (DETAILED_OPT): New make option.
13142         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13143         set.
13144         * benchtests/bench-skeleton.c: Include stdbool.h.
13145         (main): Store and print timings per input.
13146         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13147         member to each argument value.
13148         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13149         (_print_arg_data): Initialize per-input timing to 0.
13150
13151         * benchtests/Makefile (timing-type): New binary.
13152         (bench-clean): Also remove bench-timing-type.
13153         (bench): New target for timing-type.
13154         (bench-func): Print output in JSON format.
13155         * benchtests/bench-skeleton.c (main): Print output in JSON
13156         format.
13157         * benchtests/bench-timing-type.c: New file.
13158         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13159         (TIMING_PRINT_STATS): Remove.
13160         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13161         name separately.
13162
13163         * benchtests/bench-modf.c: Remove.
13164         * benchtests/modf-inputs: New inputs file.
13165
13166 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13167
13168         [BZ #16362]
13169         * math/s_clog10.c (M_PI_LOG10E): New macro.
13170         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13171         imaginary parts are 0.
13172         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13173         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13174         imaginary parts are 0.
13175         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13176         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13177         imaginary parts are 0.
13178         * math/libm-test.inc (clog10_test_data): Update expected results
13179         for when real and imaginary parts are 0.
13180
13181 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13182
13183         * elf/dl-load.c: Finish conversion of __builtin_expect into
13184         __glibc_{un}likely.
13185
13186 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13187
13188         [BZ #16348]
13189         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13190         1+x for argument with exponent below -67.
13191         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13192         Likewise.
13193         * math/auto-libm-test-in: Add more tests of exp.
13194         * math/auto-libm-test-out: Regenerated.
13195
13196 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13197
13198         [BZ #16759]
13199         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13200         (nscd_getnetgrent): Use it.
13201
13202         [BZ #16760]
13203         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13204         of stpcpy.
13205
13206 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13207
13208         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13209         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13210         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13211         (lll_robust_unlock): Remove out of line section. Use cfi
13212         intrinsics.
13213         (LLL_STUB_UNWIND_INFO*): Remove.
13214         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13215         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13216         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13217         (lll_robust_unlock): Remove out of line section. Use cfi
13218         intrinsics.
13219         (LLL_STUB_UNWIND_INFO*): Remove.
13220
13221 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13222
13223         [BZ #16758]
13224         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13225         blank values.
13226
13227 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13228
13229         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13230
13231 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13232
13233         [BZ #16198]
13234         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13235         fnstenv.
13236         * math/test-fenv-preserve.c: New file.
13237         * math/Makefile (tests): Add test-fenv-preserve.
13238
13239 2014-03-26  Will Newton <will.newton@linaro.org>
13240
13241         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13242
13243 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13244
13245         * scripts/versionlist.awk: Partition the version sets and emit all
13246         GLIBC_* (sorted) before all others (sorted).
13247
13248 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13249
13250         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13251         GLIBC_2.2.5 version.
13252
13253 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13254
13255         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13256         calls.
13257
13258         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13259         previous change.
13260
13261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13262
13263 2014-03-25  Andreas Schwab  <schwab@suse.de>
13264
13265         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13266         label to be used after in6ailist is initialized.
13267
13268 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13269
13270         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13271         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13272
13273 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13274
13275         [BZ #16357]
13276         [BZ #16599]
13277         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13278         min_plus_half.
13279         (fp_formats): Update initializers.
13280         (init_fp_formats): Initialize new field.
13281         (output_for_one_input_case): Allow underflow for results up to
13282         min_plus_half.
13283         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13284         * math/auto-libm-test-in: Don't mark some underflows from asin and
13285         atanh as spurious.
13286         * math/auto-libm-test-out: Regenerated.
13287         * sysdeps/i386/fpu/libm-test-ulps: Update.
13288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13289
13290 2014-03-25  Andreas Schwab  <schwab@suse.de>
13291
13292         * libio/Makefile (tst-ftell-partial-wide-ENV)
13293         (tst-ftell-active-handler-ENV): Define.
13294
13295 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13296
13297         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13298
13299 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13300
13301         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13302
13303 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13304
13305         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13306         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13307         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13308
13309 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13310
13311         [BZ #16634]
13312         * elf/dl-load.c (open_verify): Add mode parameter.
13313         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13314         (open_path): Change from boolean 'secure' to complete flag 'mode'
13315         (_dl_map_object): Adjust.
13316         * elf/Makefile (tests): Add tst-dlopen-aout.
13317         * elf/tst-dlopen-aout.c: New test.
13318
13319 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13320
13321         [BZ #16714]
13322         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13323         (struct stat): Rename member pad0 to __glibc_reserved0.
13324
13325         [BZ #16712]
13326         * sysdeps/s390/s390-32/bits/wordsize.h
13327         (__WORDSIZE32_SIZE_ULONG): New define.
13328         * sysdeps/s390/s390-64/bits/wordsize.h
13329         (__WORDSIZE32_SIZE_ULONG): Likewise.
13330         * sysdeps/generic/stdint.h (SIZE_MAX):
13331         Define as UL if __WORDSIZE32_SIZE_ULONG.
13332
13333         [BZ #16713]
13334         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13335         (__glibc_reserved0): New variable.
13336         (sa_flags): Change type to int.
13337
13338         * posix/Makefile (before-compile): Use += before-compile instead
13339         of a :=.
13340
13341         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13342         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13343
13344 2014-03-20  Andreas Schwab  <schwab@suse.de>
13345
13346         [BZ #16743]
13347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13348         non-matching result from nscd.
13349
13350 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13351
13352         * scripts/bench.py: Moved to ...
13353         * benchtests/scripts/bench.py: ... here.
13354         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13355
13356 2014-03-24  Andreas Schwab  <schwab@suse.de>
13357
13358         [BZ #16002]
13359         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13360         alloca_account and account alloca use for struct in6ailist.
13361
13362 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13363
13364         [BZ #16284]
13365         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13366         rounding mode to recompute results that overflow to infinity or
13367         underflow to zero.
13368         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13369         bug 16284.
13370         * math/auto-libm-test-out: Regenerated.
13371         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13372         (ccosh_test): Likewise.
13373         (csin_test_data): Use plus_oflow.
13374         (csin_test): Use ALL_RM_TEST.
13375         (csinh_test_data): Use plus_oflow.
13376         (csinh_test): Use ALL_RM_TEST.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update.
13378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379
13380 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13381
13382         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13383         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13384         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13385
13386         [BZ #16731]
13387         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13388         when x - 1 is zero.
13389         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13390         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13391         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13392         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13393         argument is 1.
13394         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13395         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13396         zero.
13397         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13398         * sysdeps/i386/fpu/libm-test-ulps: Update.
13399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13400
13401 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13402
13403         * scripts/bench.pl: Remove file.
13404         * scripts/bench.py: New benchmark script.
13405         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13406         * benchtests/README: Mention python dependency.
13407         * scripts/pylintrc: New file.
13408         * scripts/pylint: New file.
13409
13410         * bits/mathdef.h: Use #ifdef instead of #if.
13411         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13412         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13413         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13414         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13415         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13417
13418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13419             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13420
13421         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13423         and strpbrk-ppc64 objects.
13424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13425         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13427         multiarch strpbrk for POWER7.
13428         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13429         multiarch strpbrk for PPC64.
13430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13431         ifunc selector.
13432         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13433         strpbrk for POWER7.
13434
13435 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13436
13437         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13438         (atan_test): Likewise.
13439         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13440         (atanh_test): Use ALL_RM_TEST.
13441         (atan2_test_data): Likewise.
13442         (cabs_test): Likewise.
13443         (cacosh_test): Likewise.
13444         (carg_test): Likewise.
13445         (casin_test): Likewise.
13446         (casinh_test): Likewise.
13447         (cbrt_test): Likewise.
13448         (csqrt_test): Likewise.
13449         (erf_test): Likewise.
13450         (erfc_test): Likewise.
13451         (pow10_test): Likewise.
13452         (exp2_test): Likewise.
13453         (hypot_test): Likewise.
13454         (j0_test): Likewise.
13455         (j1_test): Likewise.
13456         (lgamma_test): Likewise.
13457         (gamma_test): Likewise.
13458         (sincos_test): Likewise.
13459         (tanh_test): Likewise.
13460         (y0_test): Likewise.
13461         (y1_test): Likewise.
13462         * sysdeps/i386/fpu/libm-test-ulps: Update.
13463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13464
13465 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13466
13467         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13469         and strcspn-ppc64 objects.
13470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13471         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13472         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13473         multiarch strcspn for POWER7.
13474         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13475         multiarch strcspn for PPC64.
13476         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13477         ifunc selector.
13478         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13479         strcspn for POWER7.
13480
13481 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13482
13483         * math/gen-libm-test.pl (generate_testfile): Expect only function
13484         name as argument to AUTO_TESTS_* and pass results for all rounding
13485         modes to parse_args.
13486         (parse_auto_input): Separate inputs of automatic tests from
13487         outputs before storing in %auto_tests.
13488         * math/libm-test.inc (acos_test_data): Update call to
13489         AUTO_TESTS_f_f.
13490         (acos_test): Use ALL_RM_TEST.
13491         (acos_tonearest_test_data): Remove.
13492         (acos_test_tonearest): Likewise.
13493         (acos_towardzero_test_data): Likewise.
13494         (acos_test_towardzero): Likewise.
13495         (acos_downward_test_data): Likewise.
13496         (acos_test_downward): Likewise.
13497         (acos_upward_test_data): Likewise.
13498         (acos_test_upward): Likewise.
13499         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13500         (asin_test_data): Likewise.
13501         (asin_test): Use ALL_RM_TEST.
13502         (asin_tonearest_test_data): Remove.
13503         (asin_test_tonearest): Likewise.
13504         (asin_towardzero_test_data): Likewise.
13505         (asin_test_towardzero): Likewise.
13506         (asin_downward_test_data): Likewise.
13507         (asin_test_downward): Likewise.
13508         (asin_upward_test_data): Likewise.
13509         (asin_test_upward): Likewise.
13510         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13511         (atan_test_data): Likewise.
13512         (atanh_test_data): Likewise.
13513         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13514         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13515         (carg_test_data): Likewise.
13516         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13517         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13518         (ccosh_test_data): Likewise.
13519         (cexp_test_data): Likewise.
13520         (clog_test_data): Likewise.
13521         (clog10_test_data): Likewise.
13522         (cos_test_data): Update call to AUTO_TESTS_f_f.
13523         (cos_test): Use ALL_RM_TEST.
13524         (cos_tonearest_test_data): Remove.
13525         (cos_test_tonearest): Likewise.
13526         (cos_towardzero_test_data): Likewise.
13527         (cos_test_towardzero): Likewise.
13528         (cos_downward_test_data): Likewise.
13529         (cos_test_downward): Likewise.
13530         (cos_upward_test_data): Likewise.
13531         (cos_test_upward): Likewise.
13532         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13533         (cosh_test): Use ALL_RM_TEST.
13534         (cosh_tonearest_test_data): Remove.
13535         (cosh_test_tonearest): Likewise.
13536         (cosh_towardzero_test_data): Likewise.
13537         (cosh_test_towardzero): Likewise.
13538         (cosh_downward_test_data): Likewise.
13539         (cosh_test_downward): Likewise.
13540         (cosh_upward_test_data): Likewise.
13541         (cosh_test_upward): Likewise.
13542         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13543         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13544         (ctan_test_data): Likewise.
13545         (ctan_test): Use ALL_RM_TEST.
13546         (ctan_tonearest_test_data): Remove.
13547         (ctan_test_tonearest): Likewise.
13548         (ctan_towardzero_test_data): Likewise.
13549         (ctan_test_towardzero): Likewise.
13550         (ctan_downward_test_data): Likewise.
13551         (ctan_test_downward): Likewise.
13552         (ctan_upward_test_data): Likewise.
13553         (ctan_test_upward): Likewise.
13554         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13555         (ctanh_test): Use ALL_RM_TEST.
13556         (ctanh_tonearest_test_data): Remove.
13557         (ctanh_test_tonearest): Likewise.
13558         (ctanh_towardzero_test_data): Likewise.
13559         (ctanh_test_towardzero): Likewise.
13560         (ctanh_downward_test_data): Likewise.
13561         (ctanh_test_downward): Likewise.
13562         (ctanh_upward_test_data): Likewise.
13563         (ctanh_test_upward): Likewise.
13564         (erf_test_data): Update call to AUTO_TESTS_f_f.
13565         (erfc_test_data): Likewise.
13566         (exp_test_data): Likewise.
13567         (exp_test): Use ALL_RM_TEST.
13568         (exp_tonearest_test_data): Remove.
13569         (exp_test_tonearest): Likewise.
13570         (exp_towardzero_test_data): Likewise.
13571         (exp_test_towardzero): Likewise.
13572         (exp_downward_test_data): Likewise.
13573         (exp_test_downward): Likewise.
13574         (exp_upward_test_data): Likewise.
13575         (exp_test_upward): Likewise.
13576         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13577         (exp10_test): Use ALL_RM_TEST.
13578         (exp10_tonearest_test_data): Remove.
13579         (exp10_test_tonearest): Likewise.
13580         (exp10_towardzero_test_data): Likewise.
13581         (exp10_test_towardzero): Likewise.
13582         (exp10_downward_test_data): Likewise.
13583         (exp10_test_downward): Likewise.
13584         (exp10_upward_test_data): Likewise.
13585         (exp10_test_upward): Likewise.
13586         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13587         (expm1_test_data): Likewise.
13588         (expm1_test): Use ALL_RM_TEST.
13589         (expm1_tonearest_test_data): Remove.
13590         (expm1_test_tonearest): Likewise.
13591         (expm1_towardzero_test_data): Likewise.
13592         (expm1_test_towardzero): Likewise.
13593         (expm1_downward_test_data): Likewise.
13594         (expm1_test_downward): Likewise.
13595         (expm1_upward_test_data): Likewise.
13596         (expm1_test_upward): Likewise.
13597         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13598         (fma_test): Use ALL_RM_TEST.
13599         (fma_towardzero_test_data): Remove.
13600         (fma_test_towardzero): Likewise.
13601         (fma_downward_test_data): Likewise.
13602         (fma_test_downward): Likewise.
13603         (fma_upward_test_data): Likewise.
13604         (fma_test_upward): Likewise.
13605         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13606         (j0_test_data): Update call to AUTO_TESTS_f_f.
13607         (j1_test_data): Likewise.
13608         (jn_test_data): Update call to AUTO_TESTS_if_f.
13609         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13610         (log_test_data): Update call to AUTO_TESTS_f_f.
13611         (log10_test_data): Likewise.
13612         (log1p_test_data): Likewise.
13613         (log2_test_data): Likewise.
13614         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13615         (pow_tonearest_test_data): Likewise.
13616         (sin_test_data): Update call to AUTO_TESTS_f_f.
13617         (sin_test): Use ALL_RM_TEST.
13618         (sin_tonearest_test_data): Remove.
13619         (sin_test_tonearest): Likewise.
13620         (sin_towardzero_test_data): Likewise.
13621         (sin_test_towardzero): Likewise.
13622         (sin_downward_test_data): Likewise.
13623         (sin_test_downward): Likewise.
13624         (sin_upward_test_data): Likewise.
13625         (sin_test_upward): Likewise.
13626         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13627         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13628         (sinh_test): Use ALL_RM_TEST.
13629         (sinh_tonearest_test_data): Remove.
13630         (sinh_test_tonearest): Likewise.
13631         (sinh_towardzero_test_data): Likewise.
13632         (sinh_test_towardzero): Likewise.
13633         (sinh_downward_test_data): Likewise.
13634         (sinh_test_downward): Likewise.
13635         (sinh_upward_test_data): Likewise.
13636         (sinh_test_upward): Likewise.
13637         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13638         (sqrt_test): Use ALL_RM_TEST.
13639         (sqrt_tonearest_test_data): Remove.
13640         (sqrt_test_tonearest): Likewise.
13641         (sqrt_towardzero_test_data): Likewise.
13642         (sqrt_test_towardzero): Likewise.
13643         (sqrt_downward_test_data): Likewise.
13644         (sqrt_test_downward): Likewise.
13645         (sqrt_upward_test_data): Likewise.
13646         (sqrt_test_upward): Likewise.
13647         (tan_test_data): Update call to AUTO_TESTS_f_f.
13648         (tan_test): Use ALL_RM_TEST.
13649         (tan_tonearest_test_data): Remove.
13650         (tan_test_tonearest): Likewise.
13651         (tan_towardzero_test_data): Likewise.
13652         (tan_test_towardzero): Likewise.
13653         (tan_downward_test_data): Likewise.
13654         (tan_test_downward): Likewise.
13655         (tan_upward_test_data): Likewise.
13656         (tan_test_upward): Likewise.
13657         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13658         (tgamma_test_data): Likewise.
13659         (y0_test_data): Likewise.
13660         (y1_test_data): Likewise.
13661         (yn_test_data): Update call to AUTO_TESTS_if_f.
13662         (main): Do not call removed functions.
13663
13664 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13665
13666         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13667         (ldexp_test_data): Remove.
13668         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13669         scalbn_test_data.
13670         (scalb_test): Use ALL_RM_TEST.
13671
13672 2014-03-19  Andreas Schwab  <schwab@suse.de>
13673
13674         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13675
13676 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13677
13678         [BZ #16649]
13679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13680         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13681         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13683         (__ASSUME_PREADV): Undefine.
13684         (__ASSUME_PWRITEV): Likewise.
13685
13686 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13687
13688         * bits/mman-linux.h: Add comment about non-Linux use.
13689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13690         bits/mman-linux.h resting place.
13691
13692         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13693         * bits/mman-linux.h: ... here.
13694
13695 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13696
13697         * conform/conformtest.pl: Add standard definition when calling C
13698         preprocessor on data files.
13699         (checknamespace): Remove unused variable.
13700
13701 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13702
13703         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13704         minus_oflow, plus_uflow and minus_uflow in expected results.
13705         * math/libm-test.inc (scalbn_test_data): Add more tests of
13706         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13707         minus_uflow.
13708         (scalbn_test): Use ALL_RM_TEST.
13709         (scalbln_test_data): Add more tests of negative arguments.  Use
13710         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13711         (scalbln_test): Use ALL_RM_TEST.
13712
13713 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13714
13715         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13716
13717 2014-03-18  Will Newton  <will.newton@linaro.org>
13718
13719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13720         inaccurate comment.
13721
13722 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13723
13724         * Makerules [!subdir] (check-abi): Exit with error status if a
13725         test failed.
13726
13727 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13728
13729         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13730         for rint.  Include results for all rounding modes.
13731         (nearbyint_test): Use ALL_RM_TEST.
13732         (rint_test_data): Include all tests used for nearbyint.
13733
13734 2014-03-17  Will Newton  <will.newton@linaro.org>
13735
13736         * nptl/sysdeps/pthread/pthread.h: Revert previous
13737         change.
13738
13739         * sysdeps/generic/ldsodefs.h: Revert previous
13740         change.
13741
13742         * libio/genops.c: Revert previous change.
13743         * libio/libioP.h: Likewise.
13744         * stdio-common/vfprintf.c: Likewise.
13745
13746         * sysdeps/generic/math_private.h: Revert previous
13747         change.
13748
13749         * sysdeps/generic/math_private.h: Check whether
13750         HAVE_RM_CTX is defined with #ifdef rather
13751         than #if.
13752
13753         * argp/argp-fmtstream.h: Check whether
13754         __STRICT_ANSI__ is defined with #ifdef rather
13755         than #if.
13756         * argp/argp.h: Likewise.
13757
13758         * libio/genops.c: Check whether
13759         _IO_JUMPS_OFFSET is defined with #ifdef rather
13760         than #if.
13761         * libio/libioP.h: Likewise.
13762         * stdio-common/vfprintf.c: Likewise.
13763
13764         * sysdeps/generic/ldsodefs.h: Check whether
13765         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13766         than #if.
13767
13768         * nptl/sysdeps/pthread/pthread.h: Check
13769         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13770         its value.
13771
13772 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13773
13774         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13775         setting O_APPEND.
13776         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13777         test case.
13778
13779         [BZ #16680]
13780         * libio/fileops.c (_IO_file_open): Seek to end of file but
13781         don't cache the offset.
13782         (get_file_offset): Remove function.
13783         (do_ftell): Use cached offset when available.
13784         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13785         don't cache the offset.
13786         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13787         case.
13788         (do_one_test): Call it.
13789         (do_ftell_test): Fix up expected old offset for a+ mode.
13790         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13791         available.
13792
13793         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13794         up test status with function return status.
13795         (do_write_test): Likewise.
13796         (do_append_test): Likewise.
13797
13798         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13799         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13800         Remove.
13801
13802 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13803
13804         * math/gen-libm-test.pl (parse_args): Handle results specified for
13805         each rounding mode separately.
13806         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13807         tests and results from lrint_tonearest_test_data,
13808         lrint_towardzero_test_data, lrint_downward_test_data and
13809         lrint_upward_test_data.
13810         (lrint_test): Use ALL_RM_TEST.
13811         (lrint_tonearest_test_data): Remove.
13812         (lrint_test_tonearest): Likewise.
13813         (lrint_towardzero_test_data): Likewise.
13814         (lrint_test_towardzero): Likewise.
13815         (lrint_downward_test_data): Likewise.
13816         (lrint_test_downward): Likewise.
13817         (lrint_upward_test_data): Likewise.
13818         (lrint_test_upward): Likewise.
13819         (llrint_test_data): Merge in per-rounding-mode tests and results
13820         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13821         llrint_downward_test_data and llrint_upward_test_data.
13822         (llrint_test): Use ALL_RM_TEST.
13823         (llrint_tonearest_test_data): Remove.
13824         (llrint_test_tonearest): Likewise.
13825         (llrint_towardzero_test_data): Likewise.
13826         (llrint_test_towardzero): Likewise.
13827         (llrint_downward_test_data): Likewise.
13828         (llrint_test_downward): Likewise.
13829         (llrint_upward_test_data): Likewise.
13830         (llrint_test_upward): Likewise.
13831         (rint_test_data): Merge in per-rounding-mode tests and results
13832         from rint_tonearest_test_data, rint_towardzero_test_data,
13833         rint_downward_test_data and rint_upward_test_data.  Add
13834         per-rounding-mode results for tests not in those arrays.
13835         (rint_test): Use ALL_RM_TEST.
13836         (rint_tonearest_test_data): Remove.
13837         (rint_test_tonearest): Likewise.
13838         (rint_towardzero_test_data): Likewise.
13839         (rint_test_towardzero): Likewise.
13840         (rint_downward_test_data): Likewise.
13841         (rint_test_downward): Likewise.
13842         (rint_upward_test_data): Likewise.
13843         (rint_test_upward): Likewise.
13844         (main): Don't call removed functions.
13845
13846 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13847
13848         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13849         "Compiled on ..." crapola.  It is anti-useful.
13850
13851 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13852
13853         * scripts/evaluate-test.sh: Handle fourth argument to determine
13854         whether test run should stop on failure.
13855         * Makeconfig (stop-on-test-failure): New variable.
13856         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13857         $(stop-on-test-failure).
13858         * Makefile (tests): Give a summary of results from testing and
13859         exit with failure status if they include an ERROR or FAIL.
13860         (xtests): Likewise.
13861         * manual/install.texi (Configuring and compiling): Mention
13862         stop-on-test-failure=y.
13863         * INSTALL: Regenerated.
13864
13865 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13866
13867         * scripts/versionlist.awk: New file.
13868         * Makerules [$(build-shared) = yes]
13869         (postclean-generated): Add Versions.def, not Versions.def.v and
13870         Versions.def.v.i.
13871         ($(common-objpfx)Versions.def.v.i): Target removed.
13872         ($(common-objpfx)Versions.def): New target.
13873         ($(common-objpfx)Versions.all): Depend on that rather that
13874         $(common-objpfx)Versions.def.v.
13875         * Versions.def: File removed.
13876
13877         * Makeconfig (+gccwarn): Add -Wundef.
13878         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13879         a dl-sysdep.h breaking its contract.
13880         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13881         * include/stackinfo.h: New file.
13882         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13883         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13884         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13885         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13886         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13887         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13888         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13889         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13890         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13891         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13892         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13893         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13894         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13895         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13896         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13897
13898 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13899
13900         [BZ #16707]
13901         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13902         implementation.
13903         * math/libm-test.inc (round_test_data): Add more tests.
13904
13905         [BZ #16706]
13906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13907         implementation.
13908         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13909
13910         [BZ #16701]
13911         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13912         implementation.
13913         * math/libm-test.inc (ceil_test_data): Add more tests.
13914
13915         * math/libm-test.inc (trunc_test_data): Add more tests related to
13916         BZ#16414.
13917
13918 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13919
13920         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13921         with #if rather than #ifdef.
13922         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13923
13924 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13925
13926         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13927         first.  Disable AVX-512 GCC support if assembler doesn't support
13928         it.
13929         * sysdeps/x86_64/configure: Regenerated.
13930
13931 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13932
13933         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13934         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13935         (__old_pthread_attr_setstack): Likewise.
13936         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13937         [!_STACK_GROWS_DOWN]: Likewise.
13938
13939 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13940
13941         * config.make.in (have-bash2): Delete.
13942         * configure.ac (libc_cv_have_bash2): Delete.
13943         * configure: Regenerate.
13944         * elf/Makefile (common-ldd-rewrite): Rename to ...
13945         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13946         (sh-ldd-rewrite): Delete.
13947         (bash-ldd-rewrite): Delete.
13948         (have-bash2): Delete checks.
13949         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13950         ldd-rewrite.
13951
13952         * config.make.in (have-ksh): Delete.
13953         (KSH): Delete.
13954         * configure.ac (libc_cv_have_ksh): Delete.
13955         * configure: Regenerate.
13956
13957         * elf/Makefile: Delete $(have-ksh) check.
13958         ($(objpfx)sotruss): Change KSH to BASH.
13959         * elf/sotruss.ksh: Rename to ...
13960         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13961         function style to match POSIX.  Drop ksh vim mode setting.
13962
13963         * manual/time.texi (Specifying the Time Zone with TZ): Change
13964         Tuesday to Thursday.
13965
13966         * debug/tst-longjmp_chk2.c: Update header comment.
13967         (stackoverflow_handler): Add comment.  Call assert on pass value.
13968
13969 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13970
13971         [BZ #16194]
13972         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13973         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13974         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13975         (La_x86_64_vector): Add zmm.
13976         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13977         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13978         ($(objpfx)tst-audit10): New target.
13979         ($(objpfx)tst-audit10.out): Likewise.
13980         (tst-audit10-ENV): New.
13981         (AVX512-CFLAGS): Likewise.
13982         (CFLAGS-tst-audit10.c): Likewise.
13983         (CFLAGS-tst-auditmod10a.c): Likewise.
13984         (CFLAGS-tst-auditmod10b.c): Likewise.
13985         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13986         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13987         * sysdeps/x86_64/configure: Regenerated.
13988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13989         AVX-512 zmm register support.
13990         (_dl_x86_64_save_sse): Likewise.
13991         (_dl_x86_64_restore_sse): Likewise.
13992         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13993         size vector registers.
13994         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13995         (ZMM_SIZE): Likewise.
13996         * sysdeps/x86_64/tst-audit10.c: New file.
13997         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13998         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13999
14000 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14001
14002         * configure.ac (HAVE_EHDR_START): New check.
14003         * configure: Regenerated.
14004         * config.h.in (HAVE_EHDR_START): New #undef.
14005         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14006         assuming the lowest-addressed segment maps the start of the file.
14007
14008 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14009
14010         * INSTALL: Regenerated.
14011
14012 2014-03-13  Will Newton  <will.newton@linaro.org>
14013
14014         * manual/setjmp.texi (System V contexts): Improve
14015         clarity and grammar of documentation.
14016
14017 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14018
14019         [BZ #16381]
14020         * elf/Makefile (tests): Add tst-pie2.
14021         (tests-pie): Add tst-pie2.
14022         * elf/tst-pie2.c: New file.
14023         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14024         for ET_EXEC.
14025         * elf/rtld.c (map_doit): Load executable as lt_executable.
14026         (dl_main): Likewise.
14027
14028 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14029
14030         [BZ #16642]
14031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14032         (__ASSUME_PSELECT): Undefine.
14033
14034 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14035
14036         [BZ #16689]
14037         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14038         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14039         static build.
14040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14041         selector for static builds.
14042
14043 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14044
14045         [BZ #16695]
14046         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14047         key in the buffer.
14048
14049 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14050
14051         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14052         IFUNC selector for static builds.
14053
14054 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14055
14056         * sysdeps/mips/math_private.h [__mips_hard_float]
14057         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14058         libc_feresetround_mips_ctx.
14059         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14060         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14061         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14062
14063         [BZ #16677]
14064         * math/s_nextafter.c (__nextafter): Do not return value from
14065         overflowing computation.
14066         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14067         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14068         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14069         Likewise.
14070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14071         Likewise.
14072         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14073         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14074
14075 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14076
14077         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14078         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14079         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14080         the new mov targetting sp.
14081
14082 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14083
14084         [BZ #16683]
14085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14086         Define it for static builds as well.
14087         (NO_BZERO_IMPL): Likewise.
14088
14089 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14090
14091         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14092         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14093         multiarch strspn for PPC64.
14094         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14095         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14097         (__libc_ifunc_impl_list): Likewise.
14098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14099         multiarch optimizations
14100         * string/strspn.c (strspn): Using macro to redefine symbol name.
14101
14102 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14103             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14104
14105         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14106         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14107         multiarch strncat for PPC64.
14108         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14109         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14111         (__libc_ifunc_impl_list): Likewise.
14112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14113         multiarch optimizations
14114
14115 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14116
14117         [BZ #16639]
14118         * nscd/nscd.service: Make service type forking.
14119
14120 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14121
14122         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14123         sign in non default rounding modes.
14124         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14125
14126 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14127
14128         * math/libm-test.inc (ALL_RM_TEST): New macro.
14129         (ceil_test): Use ALL_RM_TEST.
14130         (cimag_test): Likewise.
14131         (conj_test): Likewise.
14132         (copysign_test): Likewise.
14133         (cproj_test): Likewise.
14134         (creal_test): Likewise.
14135         (fabs_test): Likewise.
14136         (floor_test): Likewise.
14137         (fmax_test): Likewise.
14138         (fmin_test): Likewise.
14139         (fmod_test): Likewise.
14140         (fpclassify_test): Likewise.
14141         (frexp_test): Likewise.
14142         (ilogb_test): Likewise.
14143         (isfinite_test): Likewise.
14144         (finite_test): Likewise.
14145         (isgreater_test): Likewise.
14146         (isgreaterequal_test): Likewise.
14147         (isinf_test): Likewise.
14148         (isless_test): Likewise.
14149         (islessequal_test): Likewise.
14150         (islessgreater_test): Likewise.
14151         (isnan_test): Likewise.
14152         (isnormal_test): Likewise.
14153         (issignaling_test): Likewise.
14154         (isunordered_test): Likewise.
14155         (logb_test): Likewise.
14156         (logb_downward_test_data): Remove.
14157         (logb_test_downward): Likewise.
14158         (lround_test): Use ALL_RM_TEST.
14159         (llround_test): Likewise.
14160         (modf_test): Likewise.
14161         (nexttoward_test): Likewise.
14162         (remainder_test): Likewise.
14163         (drem_test): Likewise.
14164         (remainder_tonearest_test_data): Likewise.
14165         (remainder_test_tonearest): Likewise.
14166         (drem_test_tonearest): Likewise.
14167         (remainder_towardzero_test_data): Likewise.
14168         (remainder_test_towardzero): Likewise.
14169         (drem_test_towardzero): Likewise.
14170         (remainder_downward_test_data): Likewise.
14171         (remainder_test_downward): Likewise.
14172         (drem_test_downward): Likewise.
14173         (remainder_upward_test_data): Likewise.
14174         (remainder_test_upward): Likewise.
14175         (drem_test_upward): Likewise.
14176         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14177         (round_test): Use ALL_RM_TEST.
14178         (signbit_test): Likewise.
14179         (trunc_test): Likewise.
14180         (significand_test): Likewise.
14181         (main): Don't call removed functions.
14182
14183 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14184
14185         [BZ #16674]
14186         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14187         || __USE_XOPEN2K8].
14188         (ILL_ILLOPN): Likewise.
14189         (ILL_ILLADR): Likewise.
14190         (ILL_ILLTRP): Likewise.
14191         (ILL_PRVOPC): Likewise.
14192         (ILL_PRVREG): Likewise.
14193         (ILL_COPROC): Likewise.
14194         (ILL_BADSTK): Likewise.
14195         (FPE_INTDIV): Likewise.
14196         (FPE_INTOVF): Likewise.
14197         (FPE_FLTDIV): Likewise.
14198         (FPE_FLTOVF): Likewise.
14199         (FPE_FLTUND): Likewise.
14200         (FPE_FLTRES): Likewise.
14201         (FPE_FLTINV): Likewise.
14202         (FPE_FLTSUB): Likewise.
14203         (SEGV_MAPERR): Likewise.
14204         (SEGV_ACCERR): Likewise.
14205         (BUS_ADRALN): Likewise.
14206         (BUS_ADRERR): Likewise.
14207         (BUS_OBJERR): Likewise.
14208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14209         (TRAP_TRACE): Likewise.
14210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14211         __USE_XOPEN2K8].
14212         (CLD_KILLED): Likewise.
14213         (CLD_DUMPED): Likewise.
14214         (CLD_TRAPPED): Likewise.
14215         (CLD_STOPPED): Likewise.
14216         (CLD_CONTINUED): Likewise.
14217         (POLL_IN): Likewise.
14218         (POLL_OUT): Likewise.
14219         (POLL_MSG): Likewise.
14220         (POLL_ERR): Likewise.
14221         (POLL_PRI): Likewise.
14222         (POLL_HUP): Likewise.
14223         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14224         Likewise.
14225         (ILL_ILLOPN): Likewise.
14226         (ILL_ILLADR): Likewise.
14227         (ILL_ILLTRP): Likewise.
14228         (ILL_PRVOPC): Likewise.
14229         (ILL_PRVREG): Likewise.
14230         (ILL_COPROC): Likewise.
14231         (ILL_BADSTK): Likewise.
14232         (FPE_INTDIV): Likewise.
14233         (FPE_INTOVF): Likewise.
14234         (FPE_FLTDIV): Likewise.
14235         (FPE_FLTOVF): Likewise.
14236         (FPE_FLTUND): Likewise.
14237         (FPE_FLTRES): Likewise.
14238         (FPE_FLTINV): Likewise.
14239         (FPE_FLTSUB): Likewise.
14240         (SEGV_MAPERR): Likewise.
14241         (SEGV_ACCERR): Likewise.
14242         (BUS_ADRALN): Likewise.
14243         (BUS_ADRERR): Likewise.
14244         (BUS_OBJERR): Likewise.
14245         (BUS_MCEERR_AR): Likewise.
14246         (BUS_MCEERR_AO): Likewise.
14247         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14248         (TRAP_TRACE): Likewise.
14249         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14250         __USE_XOPEN2K8].
14251         (CLD_KILLED): Likewise.
14252         (CLD_DUMPED): Likewise.
14253         (CLD_TRAPPED): Likewise.
14254         (CLD_STOPPED): Likewise.
14255         (CLD_CONTINUED): Likewise.
14256         (POLL_IN): Likewise.
14257         (POLL_OUT): Likewise.
14258         (POLL_MSG): Likewise.
14259         (POLL_ERR): Likewise.
14260         (POLL_PRI): Likewise.
14261         (POLL_HUP): Likewise.
14262         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14263         (ILL_ILLOPN): Likewise.
14264         (ILL_ILLADR): Likewise.
14265         (ILL_ILLTRP): Likewise.
14266         (ILL_PRVOPC): Likewise.
14267         (ILL_PRVREG): Likewise.
14268         (ILL_COPROC): Likewise.
14269         (ILL_BADSTK): Likewise.
14270         (FPE_INTDIV): Likewise.
14271         (FPE_INTOVF): Likewise.
14272         (FPE_FLTDIV): Likewise.
14273         (FPE_FLTOVF): Likewise.
14274         (FPE_FLTUND): Likewise.
14275         (FPE_FLTRES): Likewise.
14276         (FPE_FLTINV): Likewise.
14277         (FPE_FLTSUB): Likewise.
14278         (SEGV_MAPERR): Likewise.
14279         (SEGV_ACCERR): Likewise.
14280         (BUS_ADRALN): Likewise.
14281         (BUS_ADRERR): Likewise.
14282         (BUS_OBJERR): Likewise.
14283         (BUS_MCEERR_AR): Likewise.
14284         (BUS_MCEERR_AO): Likewise.
14285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14286         (TRAP_TRACE): Likewise.
14287         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14288         __USE_XOPEN2K8].
14289         (CLD_KILLED): Likewise.
14290         (CLD_DUMPED): Likewise.
14291         (CLD_TRAPPED): Likewise.
14292         (CLD_STOPPED): Likewise.
14293         (CLD_CONTINUED): Likewise.
14294         (POLL_IN): Likewise.
14295         (POLL_OUT): Likewise.
14296         (POLL_MSG): Likewise.
14297         (POLL_ERR): Likewise.
14298         (POLL_PRI): Likewise.
14299         (POLL_HUP): Likewise.
14300         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14301         Likewise.
14302         (ILL_ILLOPN): Likewise.
14303         (ILL_ILLADR): Likewise.
14304         (ILL_ILLTRP): Likewise.
14305         (ILL_PRVOPC): Likewise.
14306         (ILL_PRVREG): Likewise.
14307         (ILL_COPROC): Likewise.
14308         (ILL_BADSTK): Likewise.
14309         (ILL_BADIADDR): Likewise.
14310         (ILL_BREAK): Likewise.
14311         (FPE_INTDIV): Likewise.
14312         (FPE_INTOVF): Likewise.
14313         (FPE_FLTDIV): Likewise.
14314         (FPE_FLTOVF): Likewise.
14315         (FPE_FLTUND): Likewise.
14316         (FPE_FLTRES): Likewise.
14317         (FPE_FLTINV): Likewise.
14318         (FPE_FLTSUB): Likewise.
14319         (FPE_DECOVF): Likewise.
14320         (FPE_DECDIV): Likewise.
14321         (FPE_DECERR): Likewise.
14322         (FPE_INVASC): Likewise.
14323         (FPE_INVDEC): Likewise.
14324         (SEGV_MAPERR): Likewise.
14325         (SEGV_ACCERR): Likewise.
14326         (SEGV_PSTKOVF): Likewise.
14327         (BUS_ADRALN): Likewise.
14328         (BUS_ADRERR): Likewise.
14329         (BUS_OBJERR): Likewise.
14330         (BUS_MCEERR_AR): Likewise.
14331         (BUS_MCEERR_AO): Likewise.
14332         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14333         (TRAP_TRACE): Likewise.
14334         (TRAP_BRANCH): Likewise.
14335         (TRAP_HWBKPT): Likewise.
14336         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14337         __USE_XOPEN2K8].
14338         (CLD_KILLED): Likewise.
14339         (CLD_DUMPED): Likewise.
14340         (CLD_TRAPPED): Likewise.
14341         (CLD_STOPPED): Likewise.
14342         (CLD_CONTINUED): Likewise.
14343         (POLL_IN): Likewise.
14344         (POLL_OUT): Likewise.
14345         (POLL_MSG): Likewise.
14346         (POLL_ERR): Likewise.
14347         (POLL_PRI): Likewise.
14348         (POLL_HUP): Likewise.
14349         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14350         (ILL_ILLOPN): Likewise.
14351         (ILL_ILLADR): Likewise.
14352         (ILL_ILLTRP): Likewise.
14353         (ILL_PRVOPC): Likewise.
14354         (ILL_PRVREG): Likewise.
14355         (ILL_COPROC): Likewise.
14356         (ILL_BADSTK): Likewise.
14357         (FPE_INTDIV): Likewise.
14358         (FPE_INTOVF): Likewise.
14359         (FPE_FLTDIV): Likewise.
14360         (FPE_FLTOVF): Likewise.
14361         (FPE_FLTUND): Likewise.
14362         (FPE_FLTRES): Likewise.
14363         (FPE_FLTINV): Likewise.
14364         (FPE_FLTSUB): Likewise.
14365         (SEGV_MAPERR): Likewise.
14366         (SEGV_ACCERR): Likewise.
14367         (BUS_ADRALN): Likewise.
14368         (BUS_ADRERR): Likewise.
14369         (BUS_OBJERR): Likewise.
14370         (BUS_MCEERR_AR): Likewise.
14371         (BUS_MCEERR_AO): Likewise.
14372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14373         (TRAP_TRACE): Likewise.
14374         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14375         __USE_XOPEN2K8].
14376         (CLD_KILLED): Likewise.
14377         (CLD_DUMPED): Likewise.
14378         (CLD_TRAPPED): Likewise.
14379         (CLD_STOPPED): Likewise.
14380         (CLD_CONTINUED): Likewise.
14381         (POLL_IN): Likewise.
14382         (POLL_OUT): Likewise.
14383         (POLL_MSG): Likewise.
14384         (POLL_ERR): Likewise.
14385         (POLL_PRI): Likewise.
14386         (POLL_HUP): Likewise.
14387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14388         (ILL_ILLOPN): Likewise.
14389         (ILL_ILLADR): Likewise.
14390         (ILL_ILLTRP): Likewise.
14391         (ILL_PRVOPC): Likewise.
14392         (ILL_PRVREG): Likewise.
14393         (ILL_COPROC): Likewise.
14394         (ILL_BADSTK): Likewise.
14395         (FPE_INTDIV): Likewise.
14396         (FPE_INTOVF): Likewise.
14397         (FPE_FLTDIV): Likewise.
14398         (FPE_FLTOVF): Likewise.
14399         (FPE_FLTUND): Likewise.
14400         (FPE_FLTRES): Likewise.
14401         (FPE_FLTINV): Likewise.
14402         (FPE_FLTSUB): Likewise.
14403         (SEGV_MAPERR): Likewise.
14404         (SEGV_ACCERR): Likewise.
14405         (BUS_ADRALN): Likewise.
14406         (BUS_ADRERR): Likewise.
14407         (BUS_OBJERR): Likewise.
14408         (BUS_MCEERR_AR): Likewise.
14409         (BUS_MCEERR_AO): Likewise.
14410         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14411         (TRAP_TRACE): Likewise.
14412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14413         __USE_XOPEN2K8].
14414         (CLD_KILLED): Likewise.
14415         (CLD_DUMPED): Likewise.
14416         (CLD_TRAPPED): Likewise.
14417         (CLD_STOPPED): Likewise.
14418         (CLD_CONTINUED): Likewise.
14419         (POLL_IN): Likewise.
14420         (POLL_OUT): Likewise.
14421         (POLL_MSG): Likewise.
14422         (POLL_ERR): Likewise.
14423         (POLL_PRI): Likewise.
14424         (POLL_HUP): Likewise.
14425         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14426         (ILL_ILLOPN): Likewise.
14427         (ILL_ILLADR): Likewise.
14428         (ILL_ILLTRP): Likewise.
14429         (ILL_PRVOPC): Likewise.
14430         (ILL_PRVREG): Likewise.
14431         (ILL_COPROC): Likewise.
14432         (ILL_BADSTK): Likewise.
14433         (FPE_INTDIV): Likewise.
14434         (FPE_INTOVF): Likewise.
14435         (FPE_FLTDIV): Likewise.
14436         (FPE_FLTOVF): Likewise.
14437         (FPE_FLTUND): Likewise.
14438         (FPE_FLTRES): Likewise.
14439         (FPE_FLTINV): Likewise.
14440         (FPE_FLTSUB): Likewise.
14441         (SEGV_MAPERR): Likewise.
14442         (SEGV_ACCERR): Likewise.
14443         (BUS_ADRALN): Likewise.
14444         (BUS_ADRERR): Likewise.
14445         (BUS_OBJERR): Likewise.
14446         (BUS_MCEERR_AR): Likewise.
14447         (BUS_MCEERR_AO): Likewise.
14448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14449         (TRAP_TRACE): Likewise.
14450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14451         __USE_XOPEN2K8].
14452         (CLD_KILLED): Likewise.
14453         (CLD_DUMPED): Likewise.
14454         (CLD_TRAPPED): Likewise.
14455         (CLD_STOPPED): Likewise.
14456         (CLD_CONTINUED): Likewise.
14457         (POLL_IN): Likewise.
14458         (POLL_OUT): Likewise.
14459         (POLL_MSG): Likewise.
14460         (POLL_ERR): Likewise.
14461         (POLL_PRI): Likewise.
14462         (POLL_HUP): Likewise.
14463         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14464         (ILL_ILLOPN): Likewise.
14465         (ILL_ILLADR): Likewise.
14466         (ILL_ILLTRP): Likewise.
14467         (ILL_PRVOPC): Likewise.
14468         (ILL_PRVREG): Likewise.
14469         (ILL_COPROC): Likewise.
14470         (ILL_BADSTK): Likewise.
14471         (ILL_DBLFLT): Likewise.
14472         (ILL_HARDWALL): Likewise.
14473         (FPE_INTDIV): Likewise.
14474         (FPE_INTOVF): Likewise.
14475         (FPE_FLTDIV): Likewise.
14476         (FPE_FLTOVF): Likewise.
14477         (FPE_FLTUND): Likewise.
14478         (FPE_FLTRES): Likewise.
14479         (FPE_FLTINV): Likewise.
14480         (FPE_FLTSUB): Likewise.
14481         (SEGV_MAPERR): Likewise.
14482         (SEGV_ACCERR): Likewise.
14483         (BUS_ADRALN): Likewise.
14484         (BUS_ADRERR): Likewise.
14485         (BUS_OBJERR): Likewise.
14486         (BUS_MCEERR_AR): Likewise.
14487         (BUS_MCEERR_AO): Likewise.
14488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14489         (TRAP_TRACE): Likewise.
14490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14491         __USE_XOPEN2K8].
14492         (CLD_KILLED): Likewise.
14493         (CLD_DUMPED): Likewise.
14494         (CLD_TRAPPED): Likewise.
14495         (CLD_STOPPED): Likewise.
14496         (CLD_CONTINUED): Likewise.
14497         (POLL_IN): Likewise.
14498         (POLL_OUT): Likewise.
14499         (POLL_MSG): Likewise.
14500         (POLL_ERR): Likewise.
14501         (POLL_PRI): Likewise.
14502         (POLL_HUP): Likewise.
14503         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14504         (ILL_ILLOPN): Likewise.
14505         (ILL_ILLADR): Likewise.
14506         (ILL_ILLTRP): Likewise.
14507         (ILL_PRVOPC): Likewise.
14508         (ILL_PRVREG): Likewise.
14509         (ILL_COPROC): Likewise.
14510         (ILL_BADSTK): Likewise.
14511         (FPE_INTDIV): Likewise.
14512         (FPE_INTOVF): Likewise.
14513         (FPE_FLTDIV): Likewise.
14514         (FPE_FLTOVF): Likewise.
14515         (FPE_FLTUND): Likewise.
14516         (FPE_FLTRES): Likewise.
14517         (FPE_FLTINV): Likewise.
14518         (FPE_FLTSUB): Likewise.
14519         (SEGV_MAPERR): Likewise.
14520         (SEGV_ACCERR): Likewise.
14521         (BUS_ADRALN): Likewise.
14522         (BUS_ADRERR): Likewise.
14523         (BUS_OBJERR): Likewise.
14524         (BUS_MCEERR_AR): Likewise.
14525         (BUS_MCEERR_AO): Likewise.
14526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14527         (TRAP_TRACE): Likewise.
14528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14529         __USE_XOPEN2K8].
14530         (CLD_KILLED): Likewise.
14531         (CLD_DUMPED): Likewise.
14532         (CLD_TRAPPED): Likewise.
14533         (CLD_STOPPED): Likewise.
14534         (CLD_CONTINUED): Likewise.
14535         (POLL_IN): Likewise.
14536         (POLL_OUT): Likewise.
14537         (POLL_MSG): Likewise.
14538         (POLL_ERR): Likewise.
14539         (POLL_PRI): Likewise.
14540         (POLL_HUP): Likewise.
14541         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14542         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14543
14544         [BZ #16670]
14545         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14546         before #include of <time.h>.
14547         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14548         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14549         (test-xfail-UNIX98/sched.h/conform): Likewise.
14550
14551 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14552
14553         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14554         error absence of trapping exception support.
14555         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14556
14557 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14558
14559         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14560         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14561         * timezone/Makefile (testdata): Move definition above include of
14562         Rules.
14563         (test-zones): New variable.
14564         (tests-special): Add zone files.
14565         (build-testdata): Use $(evaluate-test).
14566
14567         * elf/Makefile (tests-special): Rename tests to end with .out.
14568         ($(objpfx)noload-mem): Likewise.
14569         ($(objpfx)tst-leaks1-mem): Likewise.
14570         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14571         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14572         $(objpfx)test-iconvconfig.out.
14573         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14574         set -e inside subshell and redirect output to file.
14575         * iconvdata/Makefile (generated): Rename tests to end with .out.
14576         Correct type.
14577         (tests-special): Rename tests to end with .out.
14578         ($(objpfx)mtrace-tst-loading): Likewise.
14579         * intl/Makefile (generated): Likewise.
14580         (tests-special): Likewise.
14581         ($(objpfx)mtrace-tst-gettext): Likewise.
14582         * misc/Makefile (generated): Likewise.
14583         (tests-special): Likewise.
14584         ($(objpfx)tst-error1-mem): Likewise.
14585         * nptl/Makefile (tests-special): Likewise.
14586         ($(objpfx)tst-stack3-mem): Likewise.
14587         (generated): Likewise.
14588         * posix/Makefile (generated): Likewise.
14589         (tests-special): Likewise.
14590         (xtests-special): Likewise.
14591         ($(objpfx)tst-fnmatch-mem): Likewise.
14592         ($(objpfx)bug-regex2-mem): Likewise.
14593         ($(objpfx)bug-regex14-mem): Likewise.
14594         ($(objpfx)bug-regex21-mem): Likewise.
14595         ($(objpfx)bug-regex31-mem): Likewise.
14596         ($(objpfx)tst-vfork3-mem): Likewise.
14597         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14598         ($(objpfx)tst-pcre-mem): Likewise.
14599         ($(objpfx)tst-boost-mem): Likewise.
14600         ($(objpfx)bug-ga2-mem): Likewise.
14601         ($(objpfx)bug-glob2-mem): Likewise.
14602         * resolv/Makefile (generate): Likewise.
14603         (tests-special): Likewise.
14604         (xtests-special): Likewise.
14605         (generated): Likewise.
14606         ($(objpfx)mtrace-tst-leaks): Likewise.
14607         ($(objpfx)mtrace-tst-leaks2): Likewise.
14608
14609         * scripts/merge-test-results.sh: New file.
14610         * Makefile (tests-special-notdir): New variable.
14611         (tests): Run merge-test-results.sh.
14612         (xtests): Likewise.
14613         * Rules (tests-special-notdir): New variable.
14614         (xtests-special-notdir): Likewise.
14615         (tests): Run merge-test-results.sh
14616         (xtests): Likewise.
14617
14618         * Makeconfig (test-xfail-name): New variable.
14619         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14620         compute variable name for expected failures.
14621         * conform/Makefile (conformtest-headers-data): New variable.
14622         (conformtest-standards): Likewise.
14623         (conformtest-headers-ISO): Likewise.
14624         (conformtest-headers-ISO99): Likewise.
14625         (conformtest-headers-ISO11): Likewise.
14626         (conformtest-headers-POSIX): Likewise.
14627         (conformtest-headers-XPG3): Likewise.
14628         (conformtest-headers-XPG4): Likewise.
14629         (conformtest-headers-UNIX98): Likewise.
14630         (conformtest-headers-XOPEN2K): Likewise.
14631         (conformtest-headers-POSIX2008): Likewise.
14632         (conformtest-headers-XOPEN2K8): Likewise.
14633         (conformtest-header-list-base): Likewise.
14634         (conformtest-header-list-tests): Likewise.
14635         (conformtest-header-base): Likewise.
14636         (conformtest-header-tests): Likewise.
14637         (tests-special): Add $(conformtest-header-list-tests).  If
14638         [$(fast-check) && !$(cross-compiling)], add
14639         $(conformtest-header-tests) instead of
14640         $(objpfx)run-conformtest.out.
14641         (generated): Add $(conformtest-header-list-base).  If
14642         [$(fast-check) && !$(cross-compiling)], add
14643         $(conformtest-header-base).  Remove previous setting.
14644         ($(conformtest-header-list-tests)): New target.
14645         (test-xfail-run-conformtest): Remove variable.
14646         ($(objpfx)run-conformtest.out): Remove target.
14647         (test-xfail-ISO11/complex.h/conform): New variable.
14648         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14649         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14650         (test-xfail-XPG3/varargs.h/conform): Likewise.
14651         (test-xfail-XPG4/varargs.h/conform): Likewise.
14652         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14653         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14654         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14655         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14656         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14657         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14658         (test-xfail-XPG3/ftw.h/conform): Likewise.
14659         (test-xfail-XPG3/grp.h/conform): Likewise.
14660         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14661         (test-xfail-XPG3/limits.h/conform): Likewise.
14662         (test-xfail-XPG3/pwd.h/conform): Likewise.
14663         (test-xfail-XPG3/search.h/conform): Likewise.
14664         (test-xfail-XPG3/signal.h/conform): Likewise.
14665         (test-xfail-XPG3/stdio.h/conform): Likewise.
14666         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14667         (test-xfail-XPG3/string.h/conform): Likewise.
14668         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14669         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14670         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14671         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14672         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14673         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14674         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14675         (test-xfail-XPG3/termios.h/conform): Likewise.
14676         (test-xfail-XPG3/time.h/conform): Likewise.
14677         (test-xfail-XPG3/unistd.h/conform): Likewise.
14678         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14679         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14680         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14681         (test-xfail-XPG4/netdb.h/conform): Likewise.
14682         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14683         (test-xfail-XPG4/signal.h/conform): Likewise.
14684         (test-xfail-XPG4/stdio.h/conform): Likewise.
14685         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14686         (test-xfail-XPG4/stropts.h/conform): Likewise.
14687         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14688         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14689         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14690         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14691         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14692         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14693         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14694         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14695         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14696         (test-xfail-XPG4/termios.h/conform): Likewise.
14697         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14698         (test-xfail-XPG4/unistd.h/conform): Likewise.
14699         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14700         (test-xfail-POSIX/sched.h/conform): Likewise.
14701         (test-xfail-POSIX/signal.h/conform): Likewise.
14702         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14703         (test-xfail-POSIX/tar.h/conform): Likewise.
14704         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14705         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14706         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14707         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14708         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14709         (test-xfail-UNIX98/sched.h/conform): Likewise.
14710         (test-xfail-UNIX98/signal.h/conform): Likewise.
14711         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14712         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14713         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14714         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14715         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14716         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14717         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14718         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14719         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14720         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14721         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14722         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14723         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14724         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14725         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14726         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14727         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14728         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14729         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14730         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14731         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14732         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14733         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14734         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14735         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14736         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14737         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14738         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14739         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14740         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14741         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14742         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14743         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14744         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14745         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14746         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14747         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14748         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14749         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14750         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14751         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14752         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14753         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14754         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14755         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14756         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14757         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14758         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14759         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14760         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14761         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14762         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14763         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14764         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14765         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14766         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14767         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14768         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14769         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14770         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14771         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14772         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14773         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14774         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14775         (conformtest-cc-flags): Likewise.
14776         ($(conformtest-header-tests): New target.
14777         * conform/check-header-lists.sh: New file.
14778         * conform/run-conformtest.sh: Remove.
14779
14780         * conform/conformtest.pl: Allow ' and \ in values given for
14781         constants.
14782         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14783         inclusion.
14784         [POSIX] (sys/types.h): Likewise.
14785         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14786         inclusion.
14787         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14788         inclusion.
14789         * conform/data/signal.h-data (SIGIO): Remove expectation.
14790         [XPG3] (SIGBUS): Do not expect.
14791         [POSIX || XPG3] (SIGPOLL): Likewise.
14792         [POSIX || XPG3] (SIGPROF): Likewise.
14793         [POSIX || XPG3] (SIGSYS): Likewise.
14794         [XPG3] (SIGTRAP): Likewise.
14795         [POSIX || XPG3] (SIGURG): Likewise.
14796         [POSIX || XPG3] (SIGVTALRM): Likewise.
14797         [POSIX || XPG3] (SIGXCPU): Likewise.
14798         [POSIX || XPG3] (SIGXFSZ): Likewise.
14799         [POSIX] (SA_SIGINFO): Expect.
14800         [XPG3] (siginfo_t): Do not expect type or contents.
14801         [POSIX] (si_pid): Do not expect element.
14802         [POSIX] (si_uid): Likewise.
14803         [POSIX] (si_addr): Likewise.
14804         [POSIX] (si_status): Likewise.
14805         [POSIX] (si_band): Likewise.
14806         [XPG4] (si_value): Likewise.
14807         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14808         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14809         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14810         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14811         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14812         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14813         [POSIX || XPG3] (ILL_COPROC): Likewise.
14814         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14815         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14816         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14817         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14818         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14819         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14820         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14821         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14822         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14823         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14824         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14825         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14826         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14827         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14828         [POSIX || XPG3] (CLD_EXITED): Likewise.
14829         [POSIX || XPG3] (CLD_KILLED): Likewise.
14830         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14831         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14832         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14833         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14834         [POSIX || XPG3] (POLL_IN): Likewise.
14835         [POSIX || XPG3] (POLL_OUT): Likewise.
14836         [POSIX || XPG3] (POLL_MSG): Likewise.
14837         [POSIX || XPG3] (POLL_ERR): Likewise.
14838         [POSIX || XPG3] (POLL_PRI): Likewise.
14839         [POSIX || XPG3] (POLL_HUP): Likewise.
14840         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14841         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14842         (SIG*): Do not allow.
14843         [XPG3] (si_*): Likewise.
14844         [XPG3] (SI_*): Likewise.
14845         [XPG3 || XPG4] (sigev_*): Likewise.
14846         [XPG3 || XPG4] (SIGEV_*): Likewise.
14847         [XPG3 || XPG4] (sival_*): Likewise.
14848         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14849         [POSIX || XPG3] (BUS_*): Likewise.
14850         [POSIX || XPG3] (CLD_*): Likewise.
14851         [POSIX || XPG3] (FPE_*): Likewise.
14852         [POSIX || XPG3] (ILL_*): Likewise.
14853         [POSIX || XPG3] (POLL_*): Likewise.
14854         [POSIX || XPG3] (SEGV_*): Likewise.
14855         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14856         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14857         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14858         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14859         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14860         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14861         Specify type and value.
14862         (TVERSLEN): Likewise.
14863         (REGTYPE): Likewise.
14864         (AREGTYPE): Likewise.
14865         (LNKTYPE): Likewise.
14866         (SYMTYPE): Likewise.
14867         (CHRTYPE): Likewise.
14868         (BLKTYPE): Likewise.
14869         (DIRTYPE): Likewise.
14870         (FIFOTYPE): Likewise.
14871         (CONTTYPE): Likewise.
14872         (TSUID): Likewise.
14873         (TSGID): Likewise.
14874         (TSVTX): Likewise.
14875         (TUREAD): Likewise.
14876         (TUWRITE): Likewise.
14877         (TUEXEC): Likewise.
14878         (TGREAD): Likewise.
14879         (TGWRITE): Likewise.
14880         (TGEXEC): Likewise.
14881         (TOREAD): Likewise.
14882         (TOWRITE): Likewise.
14883         (TOEXEC): Likewise.
14884         [POSIX] (TSVTX): Expect constant.
14885
14886 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14887
14888         * Makefile (tests): Change dependencies to ....
14889         (tests-special): ... additions to this variable.
14890         (tests): Depend on $(tests-special).
14891         * Makerules (check-abi-list): New variable.
14892         (check-abi): Depend on $(check-abi-list).
14893         [$(subdir) = elf] (tests-special): Add
14894         $(objpfx)check-abi-libc.out.
14895         [$(build-shared) = yes && subdir] (tests-special): Add
14896         $(check-abi-list).
14897         [$(build-shared) = yes && subdir] (tests): Do not depend on
14898         check-abi.
14899         * Rules (tests): Depend on $(tests-special).
14900         (xtests): Depend on $(xtests-special).
14901         * catgets/Makefile (tests): Change dependencies to ....
14902         (tests-special): ... additions to this variable.
14903         * conform/Makefile (tests): Change dependencies to ....
14904         (tests-special): ... additions to this variable.
14905         * elf/Makefile (tests): Change dependencies to ....
14906         (tests-special): ... additions to this variable.
14907         * grp/Makefile (tests): Change dependencies to ....
14908         (tests-special): ... additions to this variable.
14909         * iconv/Makefile (xtests): Change dependencies to ....
14910         (xtests-special): ... additions to this variable.
14911         * iconvdata/Makefile (tests): Change dependencies to ....
14912         (tests-special): ... additions to this variable.
14913         * intl/Makefile (tests): Change dependencies to ....
14914         (tests-special): ... additions to this variable.  Also add
14915         $(objpfx)tst-gettext.out.
14916         * io/Makefile (tests): Change dependencies to ....
14917         (tests-special): ... additions to this variable.
14918         * libio/Makefile (tests): Change dependencies to ....
14919         (tests-special): ... additions to this variable.
14920         * malloc/Makefile (tests): Change dependencies to ....
14921         (tests-special): ... additions to this variable.
14922         * misc/Makefile (tests): Change dependencies to ....
14923         (tests-special): ... additions to this variable.
14924         * nptl/Makefile (tests): Change dependencies to ....
14925         (tests-special): ... additions to this variable.
14926         * nptl_db/Makefile (tests): Change dependencies to ....
14927         (tests-special): ... additions to this variable.
14928         * posix/Makefile (tests): Change dependencies to ....
14929         (tests-special): ... additions to this variable.
14930         (xtests): Change dependencies to ....
14931         (xtests-special): ... additions to this variable.
14932         * resolv/Makefile (tests): Change dependencies to ....
14933         (tests-special): ... additions to this variable.
14934         (xtests): Change dependencies to ....
14935         (xtests-special): ... additions to this variable.
14936         * stdio-common/Makefile (tests): Change dependencies to ....
14937         (tests-special): ... additions to this variable.
14938         (do-tst-unbputc): Remove target.
14939         (do-tst-printf): Likewise.
14940         * stdlib/Makefile (tests): Change dependencies to ....
14941         (tests-special): ... additions to this variable.
14942         * string/Makefile (tests): Change dependencies to ....
14943         (tests-special): ... additions to this variable.
14944         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14945         (tests-special): ... additions to this variable.
14946
14947         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14948         whole file.
14949         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14950         whole file.
14951         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14952         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14953
14954         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14955         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14956         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14957         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14958         * conform/data/libgen.h-data [XPG3]: Likewise.
14959         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14960         * conform/data/ndbm.h-data [XPG3]: Likewise.
14961         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14962         * conform/data/netdb.h-data [XPG3]: Likewise.
14963         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14964         * conform/data/poll.h-data [XPG3]: Likewise.
14965         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14966         * conform/data/strings.h-data [XPG3]: Likewise.
14967         * conform/data/stropts.h-data [XPG3]: Likewise.
14968         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14969         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14970         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14971         Likewise.
14972         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14973         * conform/data/sys/time.h-data [XPG3]: Likewise.
14974         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14975         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14976         * conform/data/sys/un.h-data [XPG3]: Likewise.
14977         * conform/data/syslog.h-data [XPG3]: Likewise.
14978         * conform/data/ucontext.h-data [XPG3]: Likewise.
14979         * conform/data/utmpx.h-data [XPG3]: Likewise.
14980         * conform/data/varargs.h-data [UNIX98]: Enable file.
14981
14982         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14983
14984         * math/libm-test.inc (struct test_f_f_data): Move expected results
14985         into structure for each rounding mode.
14986         (struct test_ff_f_data): Likewise.
14987         (struct test_ff_f_data_nexttoward): Likewise.
14988         (struct test_fi_f_data): Likewise.
14989         (struct test_fl_f_data): Likewise.
14990         (struct test_if_f_data): Likewise.
14991         (struct test_fff_f_data): Likewise.
14992         (struct test_c_f_data): Likewise.
14993         (struct test_f_f1_data): Likewise.
14994         (struct test_fF_f1_data): Likewise.
14995         (struct test_ffI_f1_data): Likewise.
14996         (struct test_c_c_data): Likewise.
14997         (struct test_cc_c_data): Likewise.
14998         (struct test_f_i_data): Likewise.
14999         (struct test_ff_i_data): Likewise.
15000         (struct test_f_l_data): Likewise.
15001         (struct test_f_L_data): Likewise.
15002         (struct test_fFF_11_data): Likewise.
15003         (RM_): New macro.
15004         (RM_FE_DOWNWARD): Likewise.
15005         (RM_FE_TONEAREST): Likewise.
15006         (RM_FE_TOWARDZERO): Likewise.
15007         (RM_FE_UPWARD): Likewise.
15008         (RUN_TEST_LOOP_f_f): Update references to expected results.
15009         (RUN_TEST_LOOP_2_f): Likewise.
15010         (RUN_TEST_LOOP_fff_f): Likewise.
15011         (RUN_TEST_LOOP_c_f): Likewise.
15012         (RUN_TEST_LOOP_f_f1): Likewise.
15013         (RUN_TEST_LOOP_fF_f1): Likewise.
15014         (RUN_TEST_LOOP_fI_f1): Likewise.
15015         (RUN_TEST_LOOP_ffI_f1): Likewise.
15016         (RUN_TEST_LOOP_c_c): Likewise.
15017         (RUN_TEST_LOOP_cc_c): Likewise.
15018         (RUN_TEST_LOOP_f_i): Likewise.
15019         (RUN_TEST_LOOP_f_i_tg): Likewise.
15020         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15021         (RUN_TEST_LOOP_f_b): Likewise.
15022         (RUN_TEST_LOOP_f_b_tg): Likewise.
15023         (RUN_TEST_LOOP_f_l): Likewise.
15024         (RUN_TEST_LOOP_f_L): Likewise.
15025         (RUN_TEST_LOOP_fFF_11): Likewise.
15026         * math/gen-libm-test.pl (parse_args): Output four copies of
15027         expected results for each test.
15028
15029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15030         (__ASSUME_UTIMES): Remove.
15031         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15032         (__ASSUME_UTIMES): Likewise.
15033
15034         * math/gen-auto-libm-tests.c: Update comment on output format.
15035         (output_for_one_input_case): Generate before-rounding and
15036         after-rounding information as conditions on output flags not
15037         floating-point format.
15038         * math/auto-libm-test-out: Regenerated.
15039         * math/gen-libm-test.pl (cond_value): New function.
15040         (or_cond_value): Use cond_value.
15041         (generate_testfile): Handle conditional exceptions.
15042
15043 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15044
15045         * math/libm-test.inc (max_valid_error): New variable.
15046         (init_max_error): Take new argument specifying whether function
15047         results are exactly determined.  Set max_valid_error and bound
15048         other variables for errors based on this argument.
15049         (set_max_error): Do not record results above max_valid_error.
15050         (check_float_internal): Only accept errors of up to 0.5ulps if
15051         also at most max_valid_error.
15052         (START): Take new argument EXACT and pass it to init_max_error.
15053         (acos_test): Update call to START.
15054         (acos_test_tonearest): Likewise.
15055         (acos_test_towardzero): Likewise.
15056         (acos_test_downward): Likewise.
15057         (acos_test_upward): Likewise.
15058         (acosh_test): Likewise.
15059         (asin_test): Likewise.
15060         (asin_test_tonearest): Likewise.
15061         (asin_test_towardzero): Likewise.
15062         (asin_test_downward): Likewise.
15063         (asin_test_upward): Likewise.
15064         (asinh_test): Likewise.
15065         (atan_test): Likewise.
15066         (atanh_test): Likewise.
15067         (atan2_test): Likewise.
15068         (cabs_test): Likewise.
15069         (cacos_test): Likewise.
15070         (cacosh_test): Likewise.
15071         (carg_test): Likewise.
15072         (casin_test): Likewise.
15073         (casinh_test): Likewise.
15074         (catan_test): Likewise.
15075         (catanh_test): Likewise.
15076         (cbrt_test): Likewise.
15077         (ccos_test): Likewise.
15078         (ccosh_test): Likewise.
15079         (ceil_test): Likewise.
15080         (cexp_test): Likewise.
15081         (cimag_test): Likewise.
15082         (clog_test): Likewise.
15083         (clog10_test): Likewise.
15084         (conj_test): Likewise.
15085         (copysign_test): Likewise.
15086         (cos_test): Likewise.
15087         (cos_test_tonearest): Likewise.
15088         (cos_test_towardzero): Likewise.
15089         (cos_test_downward): Likewise.
15090         (cos_test_upward): Likewise.
15091         (cosh_test): Likewise.
15092         (cosh_test_tonearest): Likewise.
15093         (cosh_test_towardzero): Likewise.
15094         (cosh_test_downward): Likewise.
15095         (cosh_test_upward): Likewise.
15096         (cpow_test): Likewise.
15097         (cproj_test): Likewise.
15098         (creal_test): Likewise.
15099         (csin_test): Likewise.
15100         (csinh_test): Likewise.
15101         (csqrt_test): Likewise.
15102         (ctan_test): Likewise.
15103         (ctan_test_tonearest): Likewise.
15104         (ctan_test_towardzero): Likewise.
15105         (ctan_test_downward): Likewise.
15106         (ctan_test_upward): Likewise.
15107         (ctanh_test): Likewise.
15108         (ctanh_test_tonearest): Likewise.
15109         (ctanh_test_towardzero): Likewise.
15110         (ctanh_test_downward): Likewise.
15111         (ctanh_test_upward): Likewise.
15112         (erf_test): Likewise.
15113         (erfc_test): Likewise.
15114         (exp_test): Likewise.
15115         (exp_test_tonearest): Likewise.
15116         (exp_test_towardzero): Likewise.
15117         (exp_test_downward): Likewise.
15118         (exp_test_upward): Likewise.
15119         (exp10_test): Likewise.
15120         (exp10_test_tonearest): Likewise.
15121         (exp10_test_towardzero): Likewise.
15122         (exp10_test_downward): Likewise.
15123         (exp10_test_upward): Likewise.
15124         (pow10_test): Likewise.
15125         (exp2_test): Likewise.
15126         (expm1_test): Likewise.
15127         (expm1_test_tonearest): Likewise.
15128         (expm1_test_towardzero): Likewise.
15129         (expm1_test_downward): Likewise.
15130         (expm1_test_upward): Likewise.
15131         (fabs_test): Likewise.
15132         (fdim_test): Likewise.
15133         (floor_test): Likewise.
15134         (fma_test): Likewise.
15135         (fma_test_towardzero): Likewise.
15136         (fma_test_downward): Likewise.
15137         (fma_test_upward): Likewise.
15138         (fmax_test): Likewise.
15139         (fmin_test): Likewise.
15140         (fmod_test): Likewise.
15141         (fpclassify_test): Likewise.
15142         (frexp_test): Likewise.
15143         (hypot_test): Likewise.
15144         (ilogb_test): Likewise.
15145         (isfinite_test): Likewise.
15146         (finite_test): Likewise.
15147         (isgreater_test): Likewise.
15148         (isgreaterequal_test): Likewise.
15149         (isinf_test): Likewise.
15150         (isless_test): Likewise.
15151         (islessequal_test): Likewise.
15152         (islessgreater_test): Likewise.
15153         (isnan_test): Likewise.
15154         (isnormal_test): Likewise.
15155         (issignaling_test): Likewise.
15156         (isunordered_test): Likewise.
15157         (j0_test): Likewise.
15158         (j1_test): Likewise.
15159         (jn_test): Likewise.
15160         (ldexp_test): Likewise.
15161         (lgamma_test): Likewise.
15162         (gamma_test): Likewise.
15163         (lrint_test): Likewise.
15164         (lrint_test_tonearest): Likewise.
15165         (lrint_test_towardzero): Likewise.
15166         (lrint_test_downward): Likewise.
15167         (lrint_test_upward): Likewise.
15168         (llrint_test): Likewise.
15169         (llrint_test_tonearest): Likewise.
15170         (llrint_test_towardzero): Likewise.
15171         (llrint_test_downward): Likewise.
15172         (llrint_test_upward): Likewise.
15173         (log_test): Likewise.
15174         (log10_test): Likewise.
15175         (log1p_test): Likewise.
15176         (log2_test): Likewise.
15177         (logb_test): Likewise.
15178         (logb_test_downward): Likewise.
15179         (lround_test): Likewise.
15180         (llround_test): Likewise.
15181         (modf_test): Likewise.
15182         (nearbyint_test): Likewise.
15183         (nextafter_test): Likewise.
15184         (nexttoward_test): Likewise.
15185         (pow_test): Likewise.
15186         (pow_test_tonearest): Likewise.
15187         (pow_test_towardzero): Likewise.
15188         (pow_test_downward): Likewise.
15189         (pow_test_upward): Likewise.
15190         (remainder_test): Likewise.
15191         (drem_test): Likewise.
15192         (remainder_test_tonearest): Likewise.
15193         (drem_test_tonearest): Likewise.
15194         (remainder_test_towardzero): Likewise.
15195         (drem_test_towardzero): Likewise.
15196         (remainder_test_downward): Likewise.
15197         (drem_test_downward): Likewise.
15198         (remainder_test_upward): Likewise.
15199         (drem_test_upward): Likewise.
15200         (remquo_test): Likewise.
15201         (rint_test): Likewise.
15202         (rint_test_tonearest): Likewise.
15203         (rint_test_towardzero): Likewise.
15204         (rint_test_downward): Likewise.
15205         (rint_test_upward): Likewise.
15206         (round_test): Likewise.
15207         (scalb_test): Likewise.
15208         (scalbn_test): Likewise.
15209         (scalbln_test): Likewise.
15210         (signbit_test): Likewise.
15211         (sin_test): Likewise.
15212         (sin_test_tonearest): Likewise.
15213         (sin_test_towardzero): Likewise.
15214         (sin_test_downward): Likewise.
15215         (sin_test_upward): Likewise.
15216         (sincos_test): Likewise.
15217         (sinh_test): Likewise.
15218         (sinh_test_tonearest): Likewise.
15219         (sinh_test_towardzero): Likewise.
15220         (sinh_test_downward): Likewise.
15221         (sinh_test_upward): Likewise.
15222         (sqrt_test): Likewise.
15223         (sqrt_test_tonearest): Likewise.
15224         (sqrt_test_towardzero): Likewise.
15225         (sqrt_test_downward): Likewise.
15226         (sqrt_test_upward): Likewise.
15227         (tan_test): Likewise.
15228         (tan_test_tonearest): Likewise.
15229         (tan_test_towardzero): Likewise.
15230         (tan_test_downward): Likewise.
15231         (tan_test_upward): Likewise.
15232         (tanh_test): Likewise.
15233         (tgamma_test): Likewise.
15234         (trunc_test): Likewise.
15235         (y0_test): Likewise.
15236         (y1_test): Likewise.
15237         (yn_test): Likewise.
15238         (significand_test): Likewise.
15239
15240         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15241         individual tests in comment.
15242         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15243         (prev_max_error): New variable.
15244         (prev_real_max_error): Likewise.
15245         (prev_imag_max_error): Likewise.
15246         (compare_ulp_data): Don't refer to test names in comment.
15247         (find_test_ulps): Remove function.
15248         (find_function_ulps): Likewise.
15249         (find_complex_function_ulps): Likewise.
15250         (init_max_error): Take function name as argument.  Look up ulps
15251         for that function.
15252         (print_ulps): Remove function.
15253         (print_max_error): Use prev_max_error instead of calling
15254         find_function_ulps.
15255         (print_complex_max_error): Use prev_real_max_error and
15256         prev_imag_max_error instead of calling find_complex_function_ulps.
15257         (check_float_internal): Take max_ulp parameter instead of calling
15258         find_test_ulps.  Don't call print_ulps.
15259         (check_float): Update call to check_float_internal.
15260         (check_complex): Update calls to check_float_internal.
15261         (START): Pass argument to init_max_error.
15262         * math/gen-libm-test.pl (%results): Don't include "kind"
15263         information.
15264         (parse_ulps): Don't handle ulps of individual tests.
15265         (print_ulps_file): Likewise.
15266         (output_ulps): Likewise.
15267         * math/README.libm-test: Update.
15268         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15269         individual tests.
15270         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15271         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15272         * sysdeps/arm/libm-test-ulps: Likewise.
15273         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15274         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15275         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15277         * sysdeps/microblaze/libm-test-ulps: Likewise.
15278         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15279         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15280         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15281         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15282         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15283         * sysdeps/sh/libm-test-ulps: Likewise.
15284         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15285         * sysdeps/tile/libm-test-ulps: Likewise.
15286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287
15288 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15289
15290         * math/libm-test.inc (print_complex_max_error): Check separately
15291         whether real and imaginary errors are within allowed range and
15292         pass 0 to print_complex_function_ulps instead of value within
15293         allowed range.
15294
15295 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15296
15297         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15298         formatting.
15299         (get_handles_fopen): Likewise.
15300         (do_write_test): Likewise.
15301
15302         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15303
15304         * libio/fileops.c (do_ftell): Use cached offset when
15305         available.
15306         * libio/iofwide.c (do_ftell_wide): Likewise.
15307         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15308         _IO_file_attach.
15309         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15310
15311         [BZ #16532]
15312         * libio/libioP.h (get_file_offset): New function.
15313         * libio/fileops.c (get_file_offset): Likewise.
15314         (do_ftell): Likewise.
15315         (_IO_new_file_seekoff): Split out ftell logic.
15316         * libio/wfileops.c (do_ftell_wide): Likewise.
15317         (_IO_wfile_seekoff): Split out ftell logic.
15318         * libio/tst-ftell-active-handler.c: New test case.
15319         * libio/Makefile (tests): Add it.
15320
15321 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15322
15323         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15324         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15325
15326 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15327
15328         [BZ #16639]
15329         * nscd/connections.c (nscd_init): Call do_exit.
15330         (start_threads): Call do_exit and notify_parent.
15331         (begin_drop_privileges): Call do_exit.
15332         (finish_drop_privileges): Likewise.
15333         * nscd/selinux.c (preserve_capabilities): Likewise.
15334         (install_real_capabilities): Likewise.
15335         (nscd_selinux_enabled): Likewise.
15336         (avc_create_thread): Likewise.
15337         (avc_alloc_lock): Likewise.
15338         (nscd_avc_init): Likewise.
15339         * nscd/nscd.c (parent_fd): New static variable.
15340         (main): Create a pipe between parent and child processes.
15341         Skip closing parent_fd.
15342         (monitor_child): New function.
15343         (do_exit): Likewise.
15344         (notify_parent): Likewise.
15345         * nscd/nscd.h (notify_parent): Likewise.
15346         (do_exit): Likewise.
15347
15348 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15349
15350         * malloc/malloc.c (__libc_calloc): Revert last change.
15351
15352 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15353
15354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15355
15356 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15357
15358         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15360         implementation.
15361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15362         (__libc_ifunc_impl_list): Likewise.
15363         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15364         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15365         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15366         * string/strrchr.c: Define STRRCHR.
15367
15368 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15369
15370         * benchtest/bench-strtok.c (simple_strtok): Delete.
15371         (strtok_string): Use as benchmark.
15372         * string/strtok (STRTOK): New macro.
15373
15374 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15375
15376         * manual/threads.texi: Add header and standard comments to all
15377         functions.
15378
15379         * elf/dl-lookup.c (check_match): New function.
15380         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15381         (do_lookup_x): Remove nested function check_match. Use non-nested
15382         function check_match.
15383
15384 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15385
15386         * csu/Makefile (generated, before-compile): Use += rather than =.
15387         * catgets/Makefile (generated, generated-dirs): Likewise.
15388         * debug/Makefile (generated): Likewise.
15389         * dlfcn/Makefile (generated): Likewise.
15390         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15391         * iconvdata/Makefile (before-compile, generated): Likewise.
15392         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15393         * libio/Makefile (generated): Likewise.
15394         * malloc/Makefile (generated): Likewise.
15395         * manual/Makefile (generated, generated-dirs): Likewise.
15396         * misc/Makefile (generated): Likewise.
15397         * posix/Makefile (generated): Likewise.
15398         * resolv/Makefile (generated): Likewise.
15399         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15400         * timezone/Makefile (generated, generated-dirs): Likewise.
15401
15402         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15403
15404 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15405
15406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15407         power8 implementation.
15408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15409         file: POWER8 llround ifunc implementation.
15410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15411         (__lllround): Add POWER8 implementation.
15412         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15413         POWER8 llround implementation.
15414
15415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15416         power8 implementation.
15417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15418         file: POWER8 llrint ifunc implementation.
15419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15420         Add POWER8 implementation.
15421         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15422         POWER8 llrint implementation.
15423
15424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15425         power8 implementation.
15426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15427         file: POWER8 finite ifunc implementation.
15428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15429         Add POWER8 implementation.
15430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15431         Likewise.
15432         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15433         POWER8 finite implementation.
15434         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15435
15436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15437         power8 implementation.
15438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15439         file: POWER8 isinf ifunc implementation.
15440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15441         POWER8 implementation.
15442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15443         Likewise.
15444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15445         isinf implementation.
15446         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15447
15448         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15449         (INIT_ARCH): Add hwcap2 initialization.
15450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15451         power8 implementation.
15452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15453         file: POWER8 isnan ifunc implementation.
15454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15455         POWER8 implementation.
15456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15457         Likewise.
15458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15459         isnan implementation.
15460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15461
15462 2014-02-27  Joey Ye  <joey.ye@arm.com>
15463
15464         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15465         (_FP_NANFRAC_Q): Set to zero.
15466
15467 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15468
15469         [BZ #16623]
15470         * math/auto-libm-test-in: New test inputs.
15471         * math/auto-libm-test-out: Regenerate.
15472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15473         and DA.
15474         (__cos): Likewise.
15475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15476
15477 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15478
15479         * scripts/evaluate-test.sh: Take new argument indicating whether
15480         failure is expected.
15481         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15482         indicating whether failure is expected.
15483         * conform/Makefile (test-xfail-run-conformtest): New variable.
15484         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15485         level.
15486         * posix/Makefile (test-xfail-annexc): New variable.
15487         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15488
15489 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15490
15491         * argp/Makefile: Include Makeconfig immediately after defining
15492         subdir.
15493         * assert/Makefile: Likewise.
15494         * benchtests/Makefile: Likewise.
15495         * catgets/Makefile: Likewise.
15496         * conform/Makefile: Likewise.
15497         * crypt/Makefile: Likewise.
15498         * csu/Makefile: Likewise.
15499         (all): Remove target.
15500         * ctype/Makefile: Include Makeconfig immediately after defining
15501         subdir.
15502         * debug/Makefile: Likewise.
15503         * dirent/Makefile: Likewise.
15504         * dlfcn/Makefile: Likewise.
15505         * gmon/Makefile: Likewise.
15506         * gnulib/Makefile: Likewise.
15507         * grp/Makefile: Likewise.
15508         * gshadow/Makefile: Likewise.
15509         * hesiod/Makefile: Likewise.
15510         * hurd/Makefile: Likewise.
15511         (all): Remove target.
15512         * iconvdata/Makefile: Include Makeconfig immediately after
15513         defining subdir.
15514         * inet/Makefile: Likewise.
15515         * intl/Makefile: Likewise.
15516         * io/Makefile: Likewise.
15517         * libio/Makefile: Likewise.
15518         (all): Remove target.
15519         * locale/Makefile: Include Makeconfig immediately after defining
15520         subdir.
15521         * login/Makefile: Likewise.
15522         * mach/Makefile: Likewise.
15523         (all): Remove target.
15524         * malloc/Makefile: Include Makeconfig immediately after defining
15525         subdir.
15526         (all): Remove target.
15527         * manual/Makefile: Include Makeconfig immediately after defining
15528         subdir.
15529         * math/Makefile: Likewise.
15530         * misc/Makefile: Likewise.
15531         * nis/Makefile: Likewise.
15532         * nss/Makefile: Likewise.
15533         * po/Makefile: Likewise.
15534         (all): Remove target.
15535         * posix/Makefile: Include Makeconfig immediately after defining
15536         subdir.
15537         * pwd/Makefile: Likewise.
15538         * resolv/Makefile: Likewise.
15539         * resource/Makefile: Likewise.
15540         * rt/Makefile: Likewise.
15541         * setjmp/Makefile: Likewise.
15542         * shadow/Makefile: Likewise.
15543         * signal/Makefile: Likewise.
15544         * socket/Makefile: Likewise.
15545         * soft-fp/Makefile: Likewise.
15546         * stdio-common/Makefile: Likewise.
15547         * stdlib/Makefile: Likewise.
15548         * streams/Makefile: Likewise.
15549         * string/Makefile: Likewise.
15550         * sunrpc/Makefile: Likewise.
15551         (all): Remove target.
15552         * sysvipc/Makefile: Include Makeconfig immediately after defining
15553         subdir.
15554         * termios/Makefile: Likewise.
15555         * time/Makefile: Likewise.
15556         * timezone/Makefile: Likewise.
15557         (all): Remove target.
15558         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15559         subdir.
15560         * wctype/Makefile: Likewise.
15561
15562 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15563
15564         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15565         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15566         (libc_feholdexcept_setround_mips): Ditto.
15567         (libc_feholdsetround): New.
15568         (libc_feholdsetroundf): New.
15569         (libc_feholdsetroundl): New.
15570         (libc_feupdateenv_test_mips): New.
15571         (libc_feupdateenv_test): New.
15572         (libc_feupdateenv_testf): New.
15573         (libc_feupdateenv_testl): New.
15574         (libc_feresetround): New.
15575         (libc_feresetroundf): New.
15576         (libc_feresetroundl): New.
15577         (libc_fetestexcept_mips): New.
15578         (libc_fetestexcept): New.
15579         (libc_fetestexceptf): New.
15580         (libc_fetestexceptl): New.
15581         (HAVE_RM_CTX): New.
15582         (libc_feholdexcept_setround_mips_ctx): New.
15583         (libc_feholdexcept_setround_ctx): New.
15584         (libc_feholdexcept_setroundf_ctx): New.
15585         (libc_feholdexcept_setroundl_ctx): New.
15586         (libc_fesetenv_mips_ctx): New.
15587         (libc_fesetenv_ctx): New.
15588         (libc_fesetenv_ctxf): New.
15589         (libc_fesetenv_ctxl): New.
15590         (libc_feupdateenv_mips_ctx): New.
15591         (libc_feupdateenv_ctx): New.
15592         (libc_feupdateenvf_ctx): New.
15593         (libc_feupdateenvl_ctx): New.
15594         (libc_feholdsetround_mips_ctx): New.
15595         (libc_feholdsetround_ctx): New.
15596         (libc_feholdsetroundf_ctx): New.
15597         (libc_feholdsetroundl_ctx): New.
15598         (libc_feresetround_mips_ctx): New.
15599         (libc_feresetround_ctx): New.
15600         (libc_feresetroundf_ctx): New.
15601         (libc_feresetroundl_ctx): New.
15602
15603 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15604
15605         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15606
15607         * manual/ipc.texi: New file.
15608         * manual/Makefile (chapters): Add ipc.
15609         * manual/job.texi: Add "Inter-Process Communication" to next.
15610         * manual/process.texi: Add "Inter-Process Communication" to prev.
15611
15612 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15613
15614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15615
15616 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15617
15618         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15619
15620         * manual/arith.texi: Fix spaces after sentences.
15621         * manual/charset.texi: Likewise.
15622         * manual/errno.texi: Likewise.
15623         * manual/install.texi: Likewise.
15624         * manual/llio.texi: Likewise.
15625         * manual/locale.texi: Likewise.
15626         * manual/maint.texi: Likewise.
15627         * manual/math.texi: Likewise.
15628         * manual/memory.texi: Likewise.
15629         * manual/message.texi: Likewise.
15630         * manual/probes.texi: Likewise.
15631         * manual/resource.texi: Likewise.
15632         * manual/signal.texi: Likewise.
15633         * manual/socket.texi: Likewise.
15634         * manual/stdio.texi: Likewise.
15635         * manual/string.texi: Likewise.
15636         * manual/time.texi: Likewise.
15637         * manual/users.texi: Likewise.
15638
15639 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15640
15641         [BZ #16632]
15642         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15643         _DEFAULT_SOURCE is defined.
15644
15645 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15646             Carlos O'Donell  <carlos@redhat.com>
15647
15648         [BZ #16613]
15649         * elf/dl-tls.c (_dl_count_modids): New function.
15650         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15651         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15652         audit library and increment generation counter.
15653         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15654         * elf/tst-audit9.c: New file.
15655         * elf/tst-auditmod9a.c: New file.
15656         * elf/tst-auditmod9b.c: New file.
15657         * elf/Makefile: Add rules to build and run tst-audit9.
15658
15659 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15660
15661         [BZ #15347]
15662         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15663
15664 2014-02-25  Will Newton  <will.newton@linaro.org>
15665
15666         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15667         (__longjmp): Restore sp and lr before restoring callee
15668         saved registers.  Add longjmp and longjmp_target
15669         SystemTap probe point.
15670         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15671         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15672         Define to zero to match jmpbuf layout.
15673         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15674         (__sigsetjmp): Save sp and lr before saving callee
15675         saved registers.  Add setjmp SystemTap probe point.
15676
15677 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15678
15679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15680
15681 2014-02-24  Andreas Schwab  <schwab@suse.de>
15682
15683         [BZ #15804]
15684         * elf/pldd.c (wait_for_ptrace_stop): New function.
15685         (main): Call it after attaching.
15686
15687 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15688
15689         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15690         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15691         Versions files is now verboten.
15692         * hurd/Versions (libc: GLIBC_2.0):
15693         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15694         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15695         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15696         * mach/Versions: Likewise.
15697
15698         * csu/Versions: Remove unused %include.
15699         * resolv/Versions: Likewise.
15700
15701 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15702
15703         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15704         ($(objpfx)check-local-headers.out): Likewise.
15705         ($(objpfx)begin-end-check.out): Likewise.
15706         * Makerules (check-abi-%.out): Likewise.
15707         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15708         ($(objpfx)test2.cat): Likewise.
15709         ($(objpfx)de/libc.cat): Likewise.
15710         ($(objpfx)test-gencat.out): Likewise.
15711         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15712         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15713         ($(objpfx)noload-mem): Likewise.
15714         ($(objpfx)tst-pathopt.out): Likewise.
15715         ($(objpfx)tst-rtld-load-self.out): Likewise.
15716         ($(objpfx)tst-array1-cmp.out): Likewise.
15717         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15718         ($(objpfx)tst-array2-cmp.out): Likewise.
15719         ($(objpfx)tst-array3-cmp.out): Likewise.
15720         ($(objpfx)tst-array4-cmp.out): Likewise.
15721         ($(objpfx)tst-array5-cmp.out): Likewise.
15722         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15723         ($(objpfx)check-textrel.out): Likewise.
15724         ($(objpfx)check-execstack.out): Likewise.
15725         ($(objpfx)check-localplt.out): Likewise.
15726         ($(objpfx)order2-cmp.out): Likewise.
15727         ($(objpfx)tst-leaks1-mem): Likewise.
15728         ($(objpfx)tst-leaks1-static-mem): Likewise.
15729         ($(objpfx)tst-initorder-cmp.out): Likewise.
15730         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15731         ($(objpfx)tst-unused-dep.out): Likewise.
15732         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15733         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15734         * iconv/Makefile (test-iconvconfig): Likewise.
15735         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15736         ($(objpfx)iconv-test.out): Likewise.
15737         ($(objpfx)tst-tables.out): Likewise.
15738         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15739         ($(objpfx)tst-gettext.out): Likewise.
15740         ($(objpfx)tst-translit.out): Likewise.
15741         ($(objpfx)tst-gettext2.out): Likewise.
15742         ($(objpfx)tst-gettext4.out): Likewise.
15743         ($(objpfx)tst-gettext6.out): Likewise.
15744         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15745         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15746         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15747         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15748         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15749         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15750         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15751         ($(objpfx)wordexp-tst.out): Likewise.
15752         ($(objpfx)annexc.out): Likewise.
15753         ($(objpfx)tst-fnmatch-mem): Likewise.
15754         ($(objpfx)bug-regex2-mem): Likewise.
15755         ($(objpfx)bug-regex14-mem): Likewise.
15756         ($(objpfx)bug-regex21-mem): Likewise.
15757         ($(objpfx)bug-regex31-mem): Likewise.
15758         ($(objpfx)tst-vfork3-mem): Likewise.
15759         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15760         ($(objpfx)tst-pcre-mem): Likewise.
15761         ($(objpfx)tst-boost-mem): Likewise.
15762         ($(objpfx)tst-getconf.out): Likewise.
15763         ($(objpfx)bug-ga2-mem): Likewise.
15764         ($(objpfx)bug-glob2-mem): Likewise.
15765         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15766         ($(objpfx)mtrace-tst-leaks2): Likewise.
15767         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15768         ($(objpfx)tst-printf.out): Likewise.
15769         ($(objpfx)tst-setvbuf1.out): Likewise.
15770         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15771         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15772         ($(objpfx)tst-fmtmsg.out): Likewise.
15773         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15774         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15775
15776         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15777         * bits/sigaction.h [__USE_MISC]: Likewise.
15778         * bits/waitstatus.h: Update #endif comments.
15779         * ctype/ctype.h: Likewise.
15780         * dirent/dirent.h: Likewise.
15781         [__USE_MISC]: Remove redundant conditionals.
15782         * grp/grp.h: Update #endif comments.
15783         [__USE_GNU]: Remove redundant conditionals.
15784         [__USE_MISC]: Likewise.
15785         * inet/netinet/in.h [__USE_GNU]: Likewise.
15786         * io/sys/stat.h [__USE_MISC]: Likewise.
15787         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15788         * libio/bits/stdio.h: Update #endif comments.
15789         [__USE_MISC]: Remove redundant conditionals.
15790         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15791         * libio/stdio.h: Update #endif comments.
15792         [__USE_MISC]: Remove redundant conditionals.
15793         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15794         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15795         * math/math.h: Update #else and #endif comments.
15796         [__USE_MISC]: Remove redundant conditionals.
15797         * misc/sys/uio.h: Update #endif comments.
15798         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15799         * posix/glob.h [__USE_MISC]: Likewise.
15800         * posix/sys/types.h: Update #endif comments.
15801         [__USE_MISC]: Remove redundant conditionals.
15802         * posix/sys/wait.h: Update #endif comments.
15803         [__USE_MISC]: Remove redundant conditionals.
15804         * posix/unistd.h: Update #endif comments.
15805         [__USE_MISC]: Remove redundant conditionals.
15806         * pwd/pwd.h [__USE_GNU]: Likewise.
15807         [__USE_MISC]: Likewise.
15808         * resolv/netdb.h [__USE_GNU]: Likewise.
15809         * signal/signal.h: Update #endif comments.
15810         [__USE_MISC]: Remove redundant conditionals.
15811         * stdlib/stdlib.h: Update #else and #endif comments.
15812         [__USE_MISC]: Remove redundant conditionals.
15813         [__USE_GNU]: Likewise.
15814         * string/bits/string2.h [__USE_MISC]: Likewise.
15815         * string/string.h: Update #endif comments.
15816         [__USE_MISC]: Remove redundant conditionals.
15817         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15818         Likewise.
15819         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15820         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15821         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15822         Likewise.
15823         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15824         Likewise.
15825         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15826         comments.
15827         [__USE_MISC]: Remove redundant conditionals.
15828         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15829         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15830         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15831         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15832         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15835         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15836         Likewise.
15837         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15838         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15839         Likewise.
15840         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15841         Likewise.
15842         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15843         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15844         Likewise.
15845         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15846         Likewise.
15847         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15848         * sysdeps/x86/bits/string.h: Update #endif comments.
15849         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15850         conditionals.
15851         * time/sys/time.h: Update #endif comments.
15852         * time/time.h: Likewise.
15853         [__USE_MISC]: Remove redundant conditionals.
15854
15855 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15856
15857         [BZ #16600]
15858         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15859
15860 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15861
15862         * Versions.def (librt): Add GLIBC_2.17.
15863
15864 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15865
15866         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15867         synonym for _SYS_AUXV_H to allow direct inclusion.
15868         * sysdeps/sparc/bits/hwcap.h: Likewise.
15869         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15870         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15871         * sysdeps/sparc/sysdep.h: Likewise.
15872
15873 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15874
15875         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15876
15877 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15878
15879         * benchtests/bench-strrchr.c: Print length instead of position.
15880
15881 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15882
15883         [BZ #16611]
15884         * sysdeps/unix/sysv/linux/kernel-features.h
15885         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15886         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15887         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15888         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15889         Likewise.
15890         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15891         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15892         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15893         (__ASSUME_SENDMMSG): Define instead of using previous
15894         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15895         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15896         (__ASSUME_SENDMMSG_SYSCALL): Define.
15897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15898         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15899         Likewise.
15900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15901         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15902         Likewise.
15903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15904         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15905         Likewise.
15906         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15907         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15908         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15909         [__ASSUME_SENDMMSG]: Change conditionals to
15910         [__ASSUME_SENDMMSG_SOCKETCALL].
15911         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15912         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15913         Define.
15914         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15915         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15918         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15919         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15920         [!__ASSUME_SENDMMSG]: Change conditional to
15921         [!__ASSUME_SENDMMSG_SOCKETCALL].
15922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15923         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15924         Define.
15925
15926         [BZ #16610]
15927         * sysdeps/unix/sysv/linux/kernel-features.h
15928         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15929         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15930         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15931         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15932         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15933         [__i386__ || __sparc__]
15934         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15935         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15936         (__ASSUME_RECVMMSG): Define instead of using previous
15937         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15939         (__ASSUME_RECVMMSG_SYSCALL): Define.
15940         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15942         Likewise.
15943         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15945         Likewise.
15946         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15948         Likewise.
15949         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15950         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15951         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15952         [__ASSUME_RECVMMSG]: Change condition to
15953         [__ASSUME_RECVMMSG_SOCKETCALL].
15954         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15955         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15956         Define.
15957         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15959         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15960         Likewise.
15961         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15962         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15963         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15964         [!__ASSUME_RECVMMSG]: Change condition to
15965         [!__ASSUME_RECVMMSG_SOCKETCALL].
15966         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15967         (__ASSUME_RECVMMSG_SYSCALL): Define.
15968
15969         [BZ #16609]
15970         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15971         __powerpc__ || __s390__ || __sh__ || __sparc__]
15972         (__ASSUME_SOCKETCALL): Define.
15973         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15974         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15975         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15976         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15977         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15978         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15979         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15980         (__ASSUME_ACCEPT4): Define instead of using previous
15981         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15982         __powerpc__ || __sparc__ || __s390__)] condition.
15983         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15984         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15985         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15986         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15987         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15988         [!__ASSUME_ACCEPT4]: Change condition to
15989         [!__ASSUME_ACCEPT4_SOCKETCALL].
15990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15991         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15992         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15994         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15995         __ASSUME_ACCEPT4_SYSCALL.
15996         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15997         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15999         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16000         __ASSUME_ACCEPT4_SYSCALL.
16001         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16002         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16003         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16004         [__ASSUME_ACCEPT4]: Change condition to
16005         [__ASSUME_ACCEPT4_SOCKETCALL].
16006         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16007         (__ASSUME_SOCKETCALL): Define.
16008         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16010         (__ASSUME_SOCKETCALL): Define.
16011         (__ASSUME_ACCEPT4): Remove.
16012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16013         Define.
16014         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16015         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16016         Likewise.
16017         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16019
16020         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16021         macro.
16022         (HWCAP_ARM_LPAE): Likewise.
16023         (HWCAP_ARM_EVTSTRM): Likewise.
16024         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16025         Add vpfd32, lpae and evtstrm.
16026         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16027         Increase to 22.
16028
16029 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16030
16031         * math/auto-libm-test-in: Add tests of clog10.
16032         * math/auto-libm-test-out: Regenerated.
16033         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16034         * sysdeps/i386/fpu/libm-test-ulps: Update.
16035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16036
16037 2014-02-18  Andreas Schwab  <schwab@suse.de>
16038
16039         [BZ #16574]
16040         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16041         Store non-zero if the second buffer was newly allocated.
16042         (send_dg): Likewise.
16043         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16044         to send_vc and send_dg.
16045         (res_nsend): Pass NULL for ansp2_malloced.
16046         * resolv/res_query.c (__libc_res_nquery): Add parameter
16047         answerp2_malloced and pass it down to __libc_res_nsend.
16048         (res_nquery): Pass additional NULL to __libc_res_nquery.
16049         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16050         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16051         second answer buffer if answerp2_malloced was set.
16052         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16053         (__libc_res_nquerydomain): Add parameter
16054         answerp2_malloced and pass it down to __libc_res_nquery.
16055         (res_nquerydomain): Pass additional NULL to
16056         __libc_res_nquerydomain.
16057         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16058         additional NULL to __libc_res_nsend and __libc_res_nquery.
16059         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16060         additional NULL to __libc_res_nsearch.
16061         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16062         parameter of __libc_res_nsearch to check for separately allocated
16063         second buffer.
16064         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16065         __libc_res_nquery.
16066         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16067         additional NULL to __libc_res_nquery.
16068         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16069         __libc_res_nsearch.
16070         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16071         * include/resolv.h: Update prototypes of __libc_res_nquery,
16072         __libc_res_nsearch, __libc_res_nsend.
16073
16074 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16075
16076         * math/auto-libm-test-in: Add tests of fma.
16077         * math/auto-libm-test-out: Regenerated.
16078         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16079         (fma_towardzero_test_data): Likewise.
16080         (fma_downward_test_data): Likewise.
16081         (fma_upward_test_data): Likewise.
16082         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16083         mpc_mode.
16084         (rounding_modes): Add values for new field.
16085         (func_calc_method): Add value mpfr_fff_f.
16086         (func_calc_desc): Add mpfr_fff_f union field.
16087         (test_function): Add field exact_args.
16088         (FUNC): Add macro argument EXACT_ARGS.
16089         (FUNC_mpfr_f_f): Update call to FUNC.
16090         (FUNC_mpfr_f_f): Likewise.
16091         (FUNC_mpfr_ff_f): Likewise.
16092         (FUNC_mpfr_if_f): Likewise.
16093         (FUNC_mpc_c_f): Likewise.
16094         (FUNC_mpc_c_c): Likewise.
16095         (test_functions): Add fma.  Update calls to FUNC.
16096         (handle_input_arg): Add argument exact_args.
16097         (add_test): Update call to handle_input_arg.
16098         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16099         (output_for_one_input_case): Update call to calc_generic_results.
16100         Recalculate exact zero results in each rounding mode.
16101
16102         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16103         non-negative before setting low bit.
16104         * math/auto-libm-test-in: Mark one asin test possibly having
16105         spurious underflow.
16106         * math/auto-libm-test-out: Regenerated.
16107         * sysdeps/i386/fpu/libm-test-ulps: Update.
16108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16109
16110 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16111
16112         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16113         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16114         ports/sysdeps/unix/sysv/linux/microblaze.
16115         * README: Add missing listing for microblaze*-*-linux-gnu.
16116
16117 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16118
16119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16120         duplicate code
16121
16122 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16123
16124         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16125         * sysdeps/unix/sysv/linux/ia64: Move directory from
16126         ports/sysdeps/unix/sysv/linux/ia64.
16127         * README: Update listing for ia64-*-linux-gnu.
16128
16129 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16130             Joseph Myers  <joseph@codesourcery.com>
16131
16132         * Makeconfig (test-name): New variable.
16133         (evaluate-test): Likewise.
16134         * Makerules (do-test-clean): Remove .test-result files.
16135         (common-mostlyclean): Likewise.
16136         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16137         * scripts/evaluate-test.sh: New file.
16138
16139 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16140
16141         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16142         separate $(objpfx)tst-fopenloc-cmp.out and
16143         $(objpfx)tst-fopenloc-mem.out targets.
16144         (tests): Update dependencies.
16145         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16146         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16147         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16148         (tst-rxspencer-no-utf8-ARGS): New variable.
16149         (tst-rxspencer-no-utf8-ENV): Likewise.
16150         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16151         instead of $(objpfx)tst-rxspencer-mem.
16152         ($(objpfx)tst-rxspencer-mem): Change target to
16153         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16154         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16155         * posix/tst-rxspencer-no-utf8.c: New file.
16156
16157         * elf/Makefile ($(objpfx)order.out): Remove rule.
16158         [$(run-built-tests) = yes] (tests): Depend on
16159         $(objpfx)order-cmp.out.
16160         ($(objpfx)order-cmp.out): New rule.
16161         [$(run-built-tests) = yes] (tests): Depend on
16162         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16163         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16164         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16165         $(objpfx)tst-array5-static-cmp.out.
16166         ($(objpfx)tst-array1.out): Remove rule.
16167         ($(objpfx)tst-array1-cmp.out): New rule.
16168         ($(objpfx)tst-array1-static.out): Remove rule.
16169         ($(objpfx)tst-array1-static-cmp.out): New rule.
16170         ($(objpfx)tst-array2.out): Remove rule.
16171         ($(objpfx)tst-array2-cmp.out): New rule.
16172         ($(objpfx)tst-array3.out): Remove rule.
16173         ($(objpfx)tst-array3-cmp.out): New rule.
16174         ($(objpfx)tst-array4.out): Remove rule.
16175         ($(objpfx)tst-array4-cmp.out): New rule.
16176         ($(objpfx)tst-array5.out): Remove rule.
16177         ($(objpfx)tst-array5-cmp.out): New rule.
16178         ($(objpfx)tst-array5-static.out): Remove rule.
16179         ($(objpfx)tst-array5-static-cmp.out): New rule.
16180         [$(run-built-tests) = yes] (tests): Depend on
16181         $(objpfx)order2-cmp.out.
16182         ($(objpfx)order2.out): Remove rule.
16183         ($(objpfx)order2-cmp.out): New rule.
16184         ($(objpfx)tst-initorder.out): Remove rule.
16185         [$(run-built-tests) = yes] (tests): Depend on
16186         $(objpfx)tst-initorder-cmp.out.
16187         ($(objpfx)tst-initorder-cmp.out): New rule.
16188         ($(objpfx)tst-initorder2.out): Remove rule.
16189         [$(run-built-tests) = yes] (tests): Depend on
16190         $(objpfx)tst-initorder2-cmp.out.
16191         ($(objpfx)tst-initorder2-cmp.out): New rule.
16192         [$(run-built-tests) = yes] (tests): Depend on
16193         $(objpfx)tst-unused-dep-cmp.out.
16194         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16195         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16196         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16197         on $(objpfx)tst-setvbuf1-cmp.out.
16198         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16199         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16200         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16201         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16202         ($(objpfx)tst-svc.out): Remove rule.
16203         ($(objpfx)tst-svc-cmp.out): New rule.
16204
16205 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16206
16207         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16208         * ctype/ctype.h [__USE_MISC]: Likewise.
16209         * dirent/dirent.h [__USE_MISC]: Likewise.
16210         * grp/grp.h [__USE_MISC]: Likewise.
16211         * io/fcntl.h [__USE_MISC]: Likewise.
16212         * io/sys/stat.h [__USE_MISC]: Likewise.
16213         * libio/stdio.h [__USE_MISC]: Likewise.
16214         * posix/unistd.h [__USE_MISC]: Likewise.
16215         * pwd/pwd.h [__USE_MISC]: Likewise.
16216         * stdlib.h [__USE_MISC]: Likewise.
16217         * string/bits/string2.h [__USE_MISC]: Likewise.
16218         * string/string.h [__USE_MISC]: Likewise.
16219         * time/time.h [__USE_MISC]: Likewise.
16220
16221 2014-02-13  Andreas Schwab  <schwab@suse.de>
16222
16223         [BZ #16574]
16224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16225         second answer buffer if it was separately allocated.
16226
16227 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16228
16229         * sysdeps/mips/math-tests.h: Include <features.h>.
16230         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16231         (ROUNDING_TESTS_long_double): Do not define.
16232         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16233         (EXCEPTION_TESTS_long_double): Likewise.
16234         * sysdeps/mips/mips64/libm-test-ulps: Update.
16235
16236         * include/features.h (__USE_BSD): Remove macro definitions.
16237         (__USE_SVID): Likewise.
16238         (_BSD_SOURCE): Likewise.
16239         (_SVID_SOURCE): Likewise.
16240         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16241         from definition of _DEFAULT_SOURCE.
16242         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16243         [_DEFAULT_SOURCE].
16244         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16245         * bits/mman.h [__USE_BSD]: Likewise.
16246         * bits/termios.h [__USE_BSD]: Likewise.
16247         * bits/waitstatus.h [__USE_BSD]: Likewise.
16248         * ctype/ctype.h [__USE_SVID]: Likewise.
16249         * dirent/dirent.h [__USE_BSD]: Likewise.
16250         * grp/grp.h [__USE_SVID]: Likewise.
16251         [__USE_BSD]: Likewise.
16252         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16253         * io/fcntl.h [__USE_BSD]: Likewise.
16254         * io/ftw.h [__USE_BSD]: Likewise.
16255         * io/sys/stat.h [__USE_BSD]: Likewise.
16256         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16257         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16258         * libio/stdio.h [__USE_SVID]: Likewise.
16259         [__USE_BSD]: Likewise.
16260         * math/math.h [__USE_SVID]: Likewise.
16261         [__USE_BSD]: Likewise.
16262         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16263         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16264         * misc/search.h [__USE_SVID]: Likewise.
16265         * misc/sys/mman.h [__USE_BSD]: Likewise.
16266         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16267         * misc/sys/uio.h [__USE_BSD]: Likewise.
16268         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16269         * posix/glob.h [__USE_BSD]: Likewise.
16270         * posix/regex.h [__USE_BSD]: Likewise.
16271         * posix/sys/types.h [__USE_BSD]: Likewise.
16272         [__USE_SVID]: Likewise.
16273         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16274         * posix/sys/wait.h [__USE_BSD]: Likewise.
16275         [__USE_SVID]: Likewise.
16276         * posix/unistd.h [__USE_BSD]: Likewise.
16277         [__USE_SVID]: Likewise.
16278         * pwd/pwd.h [__USE_SVID]: Likewise.
16279         * resolv/netdb.h [__USE_BSD]: Likewise.
16280         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16281         * signal/signal.h [__USE_BSD]: Likewise.
16282         [__USE_SVID]: Likewise.
16283         * socket/sys/socket.h [__USE_BSD]: Likewise.
16284         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16285         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16286         [__USE_SVID]: Likewise.
16287         * string/bits/string2.h [__USE_BSD]: Likewise.
16288         [__USE_SVID]: Likewise.
16289         * string/bits/string3.h [__USE_BSD]: Likewise.
16290         * string/endian.h [__USE_BSD]: Likewise.
16291         * string/string.h [__USE_SVID]: Likewise.
16292         [__USE_BSD]: Likewise.
16293         * string/strings.h [__USE_BSD]: Likewise.
16294         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16295         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16296         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16297         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16298         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16299         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16300         Likewise.
16301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16302         Likewise.
16303         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16304         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16305         Likewise.
16306         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16307         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16308         Likewise.
16309         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16310         Likewise.
16311         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16312         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16314         Likewise.
16315         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16316         Likewise.
16317         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16318         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16319         * termios/termios.h [__USE_BSD]: Likewise.
16320         * time/sys/time.h [__USE_BSD]: Likewise.
16321         * time/time.h [__USE_BSD]: Likewise.
16322         [__USE_SVID]: Likewise.
16323
16324         * Makefile (subdir_targets): Remove subdir_lint.out.
16325
16326         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16327         (do-tst-printf): Likewise.
16328         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16329         $(objpfx)tst-printf.out.
16330
16331         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16332
16333         * Makerules (check-abi-%): Change target to
16334         $(objpfx)check-abi-%.out.
16335         (check-abi target): Update dependencies.
16336         (check-abi-pattern variable): Redirect output of diff to $@.
16337         (check-abi variable): Likewise.
16338         * elf/Makefile (check-abi): Update dependencies.
16339
16340         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16341         unused.
16342         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16343         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16344         subnormal range.
16345         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16346         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16347         value has largest subnormal exponent.
16348         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16349         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16350         * sysdeps/aarch64/soft-fp/sfp-machine.h
16351         (_FP_TININESS_AFTER_ROUNDING): New macro.
16352         * sysdeps/alpha/soft-fp/sfp-machine.h
16353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16354         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16355         Likewise.
16356         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16358         * sysdeps/mips/soft-fp/sfp-machine.h
16359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16360         * sysdeps/powerpc/soft-fp/sfp-machine.h
16361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16362         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16363         Likewise.
16364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16366         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16368         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16369         Likewise.
16370
16371 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16372
16373         [BZ #16545]
16374         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16375         model 1.
16376
16377 2014-02-12  Richard Henderson  <rth@redhat.com>
16378
16379         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16380         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16381         * sysdeps/unix/sysv/linux/alpha: Move directory from
16382         ports/sysdeps/unix/sysv/linux/alpha.
16383         * README: Update listing for alpha-*-linux-gnu.
16384
16385 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16386
16387         * include/features.h: Update comment documenting feature test
16388         macros.
16389         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16390         _DEFAULT_SOURCE.
16391         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16392         (_SVID_SOURCE): Likewise.
16393         (_DEFAULT_SOURCE): Update description of default features.
16394         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16395         with _GNU_SOURCE.
16396         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16397         (S_ISVTX): Likewise.
16398         * manual/math.texi (Mathematical Constants): Likewise.
16399         * manual/signal.texi (Interrupted Primitives): Likewise.
16400         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16401         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16402         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16403         Don't refer to _SVID_SOURCE in warning text.
16404
16405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16406
16407         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16408         already defined.
16409         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16410         * sysdeps/mips/dl-lookup.c: Remove.
16411         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16412
16413 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16414
16415         [BZ #16447]
16416         * math/auto-libm-test-in: Add testcase for expl.
16417         * math/auto-libm-test-out: Regenerate.
16418         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16419         calculation of unsafe.
16420         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16421
16422 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16423
16424         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16425         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16426         ports/sysdeps/unix/sysv/linux/aarch64.
16427         * README: Update listing for aarch64*-*-linux-gnu.
16428
16429 2014-02-11  Will Newton  <will.newton@linaro.org>
16430
16431         * manual/probes.texi (Mathematical Function Probes): Use
16432         "triggered" instead of "hit".
16433
16434         * manual/probes.texi (Internal Probes): Add documentation
16435         of setjmp, longjmp and longjmp_target probes.
16436
16437         * include/stap-probe.h: Add comment about probe argument
16438         format.
16439
16440         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16441         definition.  (tr_where, tr_freehook, tr_mallochook,
16442         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16443
16444 2014-02-11  David S. Miller  <davem@davemloft.net>
16445
16446         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16447         processing int_tests.
16448
16449 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16450
16451         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16452         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16453         * sysdeps/unix/sysv/linux/mips: Move directory from
16454         ports/sysdeps/unix/sysv/linux/mips.
16455         * README: Update listing for mips-*-linux-gnu and
16456         mips64-*-linux-gnu.
16457
16458 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16459
16460         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16461         * sysdeps/unix/sysv/linux/m68k: Move directory from
16462         ports/sysdeps/unix/sysv/linux/m68k.
16463         * README: Update listing for m68k-*-linux-gnu.
16464
16465 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16466
16467         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16468         * sysdeps/unix/sysv/linux/generic: Move directory from
16469         ports/sysdeps/unix/sysv/linux/generic.
16470         * sysdeps/unix/sysv/linux/tile: Move directory from
16471         ports/sysdeps/unix/sysv/linux/tile.
16472         * README: Update listing for tile*-*-linux-gnu.
16473
16474 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16475
16476         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16477         __builtin_expect.
16478         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16479         * catgets/open_catalog.c (__open_catalog): Likewise.
16480         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16481         * debug/confstr_chk.c: Likewise.
16482         * debug/fread_chk.c (__fread_chk): Likewise.
16483         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16484         * debug/getgroups_chk.c: Likewise.
16485         * debug/mbsnrtowcs_chk.c: Likewise.
16486         * debug/mbsrtowcs_chk.c: Likewise.
16487         * debug/mbstowcs_chk.c: Likewise.
16488         * debug/memcpy_chk.c: Likewise.
16489         * debug/memmove_chk.c: Likewise.
16490         * debug/mempcpy_chk.c: Likewise.
16491         * debug/memset_chk.c: Likewise.
16492         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16493         * debug/strcat_chk.c (__strcat_chk): Likewise.
16494         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16495         * debug/strncat_chk.c (__strncat_chk): Likewise.
16496         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16497         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16498         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16499         * debug/wcpncpy_chk.c: Likewise.
16500         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16501         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16502         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16503         * debug/wcsncpy_chk.c: Likewise.
16504         * debug/wcsnrtombs_chk.c: Likewise.
16505         * debug/wcsrtombs_chk.c: Likewise.
16506         * debug/wcstombs_chk.c: Likewise.
16507         * debug/wmemcpy_chk.c: Likewise.
16508         * debug/wmemmove_chk.c: Likewise.
16509         * debug/wmempcpy_chk.c: Likewise.
16510         * debug/wmemset_chk.c: Likewise.
16511         * dirent/scandirat.c (SCANDIRAT): Likewise.
16512         * dlfcn/dladdr1.c (dladdr1): Likewise.
16513         * dlfcn/dladdr.c (dladdr): Likewise.
16514         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16515         * dlfcn/dlerror.c (__dlerror): Likewise.
16516         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16517         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16518         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16519         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16520         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16521         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16522         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16523         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16524         Likewise.
16525         * elf/dl-conflict.c: Likewise.
16526         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16527         * elf/dl-dst.h: Likewise.
16528         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16529         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16530         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16531         * elf/dl-init.c (call_init, _dl_init): Likewise.
16532         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16533         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16534         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16535         Likewise.
16536         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16537         Likewise.
16538         * elf/dl-minimal.c (__libc_memalign): Likewise.
16539         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16540         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16541         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16542         * elf/dl-sym.c (do_sym): Likewise.
16543         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16544         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16545         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16546         * elf/dl-writev.h (_dl_writev): Likewise.
16547         * elf/ldconfig.c (search_dir): Likewise.
16548         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16549         (dl_main): Likewise.
16550         * elf/setup-vdso.h (setup_vdso): Likewise.
16551         * grp/compat-initgroups.c (compat_call): Likewise.
16552         * grp/fgetgrent.c (fgetgrent): Likewise.
16553         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16554         * grp/putgrent.c (putgrent): Likewise.
16555         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16556         Likewise.
16557         * hurd/hurdinit.c: Likewise.
16558         * iconvdata/8bit-gap.c (struct): Likewise.
16559         * iconvdata/ansi_x3.110.c : Likewise.
16560         * iconvdata/big5.c : Likewise.
16561         * iconvdata/big5hkscs.c : Likewise.
16562         * iconvdata/cp1255.c: Likewise.
16563         * iconvdata/cp1258.c : Likewise.
16564         * iconvdata/cp932.c : Likewise.
16565         * iconvdata/euc-cn.c: Likewise.
16566         * iconvdata/euc-jisx0213.c : Likewise.
16567         * iconvdata/euc-jp.c: Likewise.
16568         * iconvdata/euc-jp-ms.c : Likewise.
16569         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16570         * iconvdata/gb18030.c : Likewise.
16571         * iconvdata/gbbig5.c (const): Likewise.
16572         * iconvdata/gbgbk.c: Likewise.
16573         * iconvdata/gbk.c : Likewise.
16574         * iconvdata/ibm1364.c : Likewise.
16575         * iconvdata/ibm930.c : Likewise.
16576         * iconvdata/ibm932.c: Likewise.
16577         * iconvdata/ibm933.c : Likewise.
16578         * iconvdata/ibm935.c : Likewise.
16579         * iconvdata/ibm937.c : Likewise.
16580         * iconvdata/ibm939.c : Likewise.
16581         * iconvdata/ibm943.c: Likewise.
16582         * iconvdata/iso_11548-1.c: Likewise.
16583         * iconvdata/iso-2022-cn.c : Likewise.
16584         * iconvdata/iso-2022-cn-ext.c : Likewise.
16585         * iconvdata/iso-2022-jp-3.c: Likewise.
16586         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16587         * iconvdata/iso-2022-kr.c : Likewise.
16588         * iconvdata/iso646.c (gconv_end): Likewise.
16589         * iconvdata/iso_6937-2.c : Likewise.
16590         * iconvdata/iso_6937.c : Likewise.
16591         * iconvdata/iso8859-1.c: Likewise.
16592         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16593         * iconvdata/shift_jisx0213.c : Likewise.
16594         * iconvdata/sjis.c : Likewise.
16595         * iconvdata/t.61.c : Likewise.
16596         * iconvdata/tcvn5712-1.c : Likewise.
16597         * iconvdata/tscii.c: Likewise.
16598         * iconvdata/uhc.c : Likewise.
16599         * iconvdata/unicode.c (gconv_end): Likewise.
16600         * iconvdata/utf-16.c (gconv_end): Likewise.
16601         * iconvdata/utf-32.c (gconv_end): Likewise.
16602         * iconvdata/utf-7.c (base64): Likewise.
16603         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16604         * iconv/gconv_close.c (__gconv_close): Likewise.
16605         * iconv/gconv_open.c (__gconv_open): Likewise.
16606         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16607         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16608         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16609         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16610         (ucs4le_internal_loop_single): Likewise.
16611         * iconv/iconv.c (iconv): Likewise.
16612         * iconv/iconv_close.c: Likewise.
16613         * iconv/loop.c (SINGLE): Likewise.
16614         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16615         * include/atomic.h: Likewise.
16616         * inet/inet6_option.c (option_alloc): Likewise.
16617         * intl/bindtextdom.c (set_binding_values): Likewise.
16618         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16619         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16620         * intl/localealias.c (read_alias_file): Likewise.
16621         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16622         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16623         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16624         * libio/fmemopen.c (fmemopen): Likewise.
16625         * libio/iofgets.c (_IO_fgets): Likewise.
16626         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16627         * libio/iofgetws.c (fgetws): Likewise.
16628         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16629         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16630         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16631         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16632         * locale/findlocale.c (_nl_find_locale): Likewise.
16633         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16634         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16635         Likewise.
16636         * locale/setlocale.c (setlocale): Likewise.
16637         * login/programs/pt_chown.c (main): Likewise.
16638         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16639         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16640         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16641         (mmap, mmap64, mremap, munmap): Likewise.
16642         * math/e_exp2l.c: Likewise.
16643         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16644         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16645         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16646         * math/s_catan.c (__catan): Likewise.
16647         * math/s_catanf.c (__catanf): Likewise.
16648         * math/s_catanh.c (__catanh): Likewise.
16649         * math/s_catanhf.c (__catanhf): Likewise.
16650         * math/s_catanhl.c (__catanhl): Likewise.
16651         * math/s_catanl.c (__catanl): Likewise.
16652         * math/s_ccosh.c (__ccosh): Likewise.
16653         * math/s_ccoshf.c (__ccoshf): Likewise.
16654         * math/s_ccoshl.c (__ccoshl): Likewise.
16655         * math/s_cexp.c (__cexp): Likewise.
16656         * math/s_cexpf.c (__cexpf): Likewise.
16657         * math/s_cexpl.c (__cexpl): Likewise.
16658         * math/s_clog10.c (__clog10): Likewise.
16659         * math/s_clog10f.c (__clog10f): Likewise.
16660         * math/s_clog10l.c (__clog10l): Likewise.
16661         * math/s_clog.c (__clog): Likewise.
16662         * math/s_clogf.c (__clogf): Likewise.
16663         * math/s_clogl.c (__clogl): Likewise.
16664         * math/s_csin.c (__csin): Likewise.
16665         * math/s_csinf.c (__csinf): Likewise.
16666         * math/s_csinh.c (__csinh): Likewise.
16667         * math/s_csinhf.c (__csinhf): Likewise.
16668         * math/s_csinhl.c (__csinhl): Likewise.
16669         * math/s_csinl.c (__csinl): Likewise.
16670         * math/s_csqrt.c (__csqrt): Likewise.
16671         * math/s_csqrtf.c (__csqrtf): Likewise.
16672         * math/s_csqrtl.c (__csqrtl): Likewise.
16673         * math/s_ctan.c (__ctan): Likewise.
16674         * math/s_ctanf.c (__ctanf): Likewise.
16675         * math/s_ctanh.c (__ctanh): Likewise.
16676         * math/s_ctanhf.c (__ctanhf): Likewise.
16677         * math/s_ctanhl.c (__ctanhl): Likewise.
16678         * math/s_ctanl.c (__ctanl): Likewise.
16679         * math/w_pow.c: Likewise.
16680         * math/w_powf.c: Likewise.
16681         * math/w_powl.c: Likewise.
16682         * math/w_scalb.c (sysv_scalb): Likewise.
16683         * math/w_scalbf.c (sysv_scalbf): Likewise.
16684         * math/w_scalbl.c (sysv_scalbl): Likewise.
16685         * misc/error.c (error_tail): Likewise.
16686         * misc/pselect.c (__pselect): Likewise.
16687         * nis/nis_callback.c (__nis_create_callback): Likewise.
16688         * nis/nis_call.c (__nisfind_server): Likewise.
16689         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16690         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16691         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16692         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16693         * nis/nis_lookup.c (nis_lookup): Likewise.
16694         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16695         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16696         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16697         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16698         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16699         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16700         * nis/nss_compat/compat-initgroups.c (add_group)
16701         (internal_getgrent_r): Likewise.
16702         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16703         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16704         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16705         (internal_getspnam_r): Likewise.
16706         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16707         (_nss_nis_getaliasbyname_r): Likewise.
16708         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16709         (_nss_nis_getntohost_r): Likewise.
16710         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16711         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16712         (_nss_nis_getgrgid_r): Likewise.
16713         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16714         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16715         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16716         (_nss_nis_gethostbyname4_r): Likewise.
16717         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16718         (initgroups_netid): Likewise.
16719         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16720         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16721         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16722         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16723         (_nss_nis_getprotobynumber_r): Likewise.
16724         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16725         (_nss_nis_getsecretkey): Likewise.
16726         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16727         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16728         (_nss_nis_getpwuid_r): Likewise.
16729         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16730         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16731         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16732         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16733         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16734         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16735         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16736         Likewise.
16737         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16738         (_nss_nisplus_getntohost_r): Likewise.
16739         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16740         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16741         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16742         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16743         Likewise.
16744         * nis/nss_nisplus/nisplus-initgroups.c
16745         (_nss_nisplus_initgroups_dyn): Likewise.
16746         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16747         (_nss_nisplus_getnetbyaddr_r): Likewise.
16748         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16749         (_nss_nisplus_getprotobynumber_r): Likewise.
16750         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16751         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16752         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16753         Likewise.
16754         * nis/nss_nisplus/nisplus-service.c
16755         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16756         (_nss_nisplus_getservbyport_r): Likewise.
16757         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16758         (_nss_nisplus_getspnam_r): Likewise.
16759         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16760         Likewise.
16761         * nscd/aicache.c (addhstaiX): Likewise.
16762         * nscd/cache.c (cache_search, prune_cache): Likewise.
16763         * nscd/connections.c (register_traced_file, send_ro_fd)
16764         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16765         (main_loop_epoll): Likewise.
16766         * nscd/grpcache.c (addgrbyX): Likewise.
16767         * nscd/hstcache.c (addhstbyX): Likewise.
16768         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16769         * nscd/mem.c (gc, mempool_alloc): Likewise.
16770         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16771         (addinnetgrX): Likewise.
16772         * nscd/nscd-client.h (__nscd_acquire_maplock)
16773         (__nscd_drop_map_ref): Likewise.
16774         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16775         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16776         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16777         Likewise.
16778         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16780         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16781         (__nscd_get_map_ref): Likewise.
16782         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16783         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16784         Likewise.
16785         * nscd/pwdcache.c (addpwbyX): Likewise.
16786         * nscd/selinux.c (preserve_capabilities): Likewise.
16787         * nscd/servicescache.c (addservbyX): Likewise.
16788         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16789         * posix/fnmatch.c (fnmatch): Likewise.
16790         * posix/getopt.c (_getopt_internal_r): Likewise.
16791         * posix/glob.c (glob, glob_in_dir): Likewise.
16792         * posix/wordexp.c (exec_comm_child): Likewise.
16793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16794         (getanswer_r, gaih_getanswer_slice): Likewise.
16795         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16796         * resolv/res_init.c: Likewise.
16797         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16798         * resolv/res_query.c (__libc_res_nquery): Likewise.
16799         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16800         Likewise.
16801         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16802         * stdio-common/perror.c (perror): Likewise.
16803         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16804         * stdio-common/tmpnam.c (tmpnam): Likewise.
16805         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16806         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16807         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16808         Likewise.
16809         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16810         * stdlib/putenv.c (putenv): Likewise.
16811         * stdlib/setenv.c (__add_to_environ): Likewise.
16812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16813         * stdlib/strtol_l.c (INTERNAL): Likewise.
16814         * string/memmem.c (memmem): Likewise.
16815         * string/strerror.c (strerror): Likewise.
16816         * string/strnlen.c (__strnlen): Likewise.
16817         * string/test-memmem.c (simple_memmem): Likewise.
16818         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16819         * sunrpc/pm_getport.c (__get_socket): Likewise.
16820         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16821         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16822         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16823         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16824         Likewise.
16825         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16827         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16828         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16829         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16830         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16831         Likewise.
16832         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16833         Likewise.
16834         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16835         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16837         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16838         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16840         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16841         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16842         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16843         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16844         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16845         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16846         Likewise.
16847         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16848         Likewise.
16849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16850         Likewise.
16851         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16853         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16855         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16856         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16857         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16858         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16860         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16861         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16863         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16864         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16866         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16867         Likewise.
16868         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16869         Likewise.
16870         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16871         Likewise.
16872         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16873         Likewise.
16874         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16876         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16877         Likewise.
16878         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16879         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16880         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16881         * sysdeps/posix/sleep.c: Likewise.
16882         * sysdeps/posix/tempname.c: Likewise.
16883         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16884         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16885         Likewise.
16886         * sysdeps/powerpc/powerpc32/dl-machine.h
16887         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16888         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16890         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16891         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16892         Likewise.
16893         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16894         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16895         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16896         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16897         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16898         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16899         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16900         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16901         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16902         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16904         (elf_machine_lazy_rel): Likewise.
16905         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16907         (elf_machine_lazy_rel): Likewise.
16908         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16909         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16910         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16911         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16912         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16913         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16914         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16916         Likewise.
16917         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16918         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16919         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16920         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16921         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16922         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16923         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16924         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16925         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16926         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16927         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16928         Likewise.
16929         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16930         (__posix_fallocate64_l64): Likewise.
16931         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16932         (posix_fallocate): Likewise.
16933         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16934         Likewise.
16935         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16936         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16937         (getifaddrs_internal): Likewise.
16938         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16940         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16941         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16942         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16943         (__posix_fallocate64_l64): Likewise.
16944         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16945         Likewise.
16946         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16947         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16948         (__get_clockfreq): Likewise.
16949         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16950         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16951         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16954         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16955         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16956         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16957         Likewise.
16958         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16959         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16960         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16961         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16962         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16963         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16964         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16965         Likewise.
16966         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16967         (posix_fallocate): Likewise.
16968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16969         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16970         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16971         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16972         (elf_machine_rela, elf_machine_rela_relative)
16973         (elf_machine_lazy_rel): Likewise.
16974         * time/asctime.c (asctime_internal): Likewise.
16975         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16976         * time/tzset.c (__tzset_parse_tz): Likewise.
16977         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16978         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16979         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16980         * wcsmbs/wcsmbsload.h: Likewise.
16981
16982         [BZ #15894]
16983         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16984
16985         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16986         (arena_get2): Remove THREAD_STATS conditionals.
16987         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16988         (__malloc_stats, int): Likewise.
16989
16990 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16991
16992         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16993         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16994
16995         * manual/setjmp.texi: Fix typos/grammar errors.
16996
16997         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16998         Only return early when n is <= 0.  Delete unused return statement.
16999
17000         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17001         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17002         * debug/tst-longjmp_chk3.c: New file.
17003
17004         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17005         (test_main): Replace code with set_fortify_handler call.
17006         * debug/test-strcpy_chk.c: Likewise.
17007         * debug/tst-chk1.c: Likewise.
17008         * debug/tst-longjmp_chk.c: Likewise.
17009         * test-skeleton.c: Include fcntl.h & paths.h
17010         (set_fortify_handler): Define.
17011
17012         * debug/tst-longjmp_chk.c: Add header comment and include
17013         ../test-skeleton.c.
17014         (do_test): Mark static.
17015         (TEST_FUNCTION): Define.
17016
17017         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17018         (IP_PMTUDISC_INTERFACE): Likewise.
17019         (IP_MULTICAST_IF): Likewise.
17020         (IP_MULTICAST_TTL): Likewise.
17021         (IP_MULTICAST_LOOP): Likewise.
17022         (IP_ADD_MEMBERSHIP): Likewise.
17023         (IP_DROP_MEMBERSHIP): Likewise.
17024         (IP_UNBLOCK_SOURCE): Likewise.
17025         (IP_BLOCK_SOURCE): Likewise.
17026         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17027         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17028         (IP_MSFILTER): Likewise.
17029         (MCAST_JOIN_GROUP): Likewise.
17030         (MCAST_BLOCK_SOURCE): Likewise.
17031         (MCAST_UNBLOCK_SOURCE): Likewise.
17032         (MCAST_LEAVE_GROUP): Likewise.
17033         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17034         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17035         (MCAST_MSFILTER): Likewise.
17036         (IP_MULTICAST_ALL): Likewise.
17037         (IP_UNICAST_IF): Likewise.
17038
17039         * timezone/Makefile: Delete $(have-ksh) check.
17040         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17041         * timezone/tzselect.ksh: Add +x mode bits.
17042
17043         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17044         (ANON_INODE_FS_MAGIC): Likewise.
17045         (BDEVFS_MAGIC): Likewise.
17046         (BINFMTFS_MAGIC): Likewise.
17047         (BTRFS_TEST_MAGIC): Likewise.
17048         (CRAMFS_MAGIC_WEND): Likewise.
17049         (DEBUGFS_MAGIC): Likewise.
17050         (ECRYPTFS_SUPER_MAGIC): Likewise.
17051         (EXT3_SUPER_MAGIC): Likewise.
17052         (EXT4_SUPER_MAGIC): Likewise.
17053         (FUTEXFS_SUPER_MAGIC): Likewise.
17054         (HOSTFS_SUPER_MAGIC): Likewise.
17055         (HUGETLBFS_MAGIC): Likewise.
17056         (MINIX3_SUPER_MAGIC): Likewise.
17057         (MTD_INODE_FS_MAGIC): Likewise.
17058         (NILFS_SUPER_MAGIC): Likewise.
17059         (OPENPROM_SUPER_MAGIC): Likewise.
17060         (PIPEFS_MAGIC): Likewise.
17061         (PSTOREFS_MAGIC): Likewise.
17062         (QNX6_SUPER_MAGIC): Likewise.
17063         (RAMFS_MAGIC): Likewise.
17064         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17065         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17066         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17067         (SECURITYFS_MAGIC): Likewise.
17068         (SELINUX_MAGIC): Likewise.
17069         (SMACK_MAGIC): Likewise.
17070         (SOCKFS_MAGIC): Likewise.
17071         (SQUASHFS_MAGIC): Likewise.
17072         (STACK_END_MAGIC): Likewise.
17073         (TMPFS_MAGIC): Likewise.
17074         (USBDEVICE_SUPER_MAGIC): Likewise.
17075         (V9FS_MAGIC): Likewise.
17076         (XENFS_SUPER_MAGIC): Likewise.
17077         (CRAMFS_MAGIC): Fix typo in comment.
17078         (EXT2_SUPER_MAGIC): Update comment.
17079         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17080
17081 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17082
17083         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17084         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17085         * sysdeps/unix/sysv/linux/arm: Move directory from
17086         ports/sysdeps/unix/sysv/linux/arm.
17087         * README: Update listing for arm-*-linux-gnueabi.
17088
17089         * README: Remove mention of am33.
17090
17091 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17092
17093         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17094         than the comma operator, to avoid "rhs of comma has no effect"
17095         compiler warnings.
17096         (__sigfillset, __sigandset, __sigorset): Likewise.
17097         * include/signal.h (__sigemptyset): Likewise.
17098         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17099
17100 2014-02-07  Allan McRae  <allan@archlinux.org>
17101
17102         * version.h (RELEASE): Set to "development".
17103         (VERSION): Set to "2.19.90"
17104         * NEWS: Add 2.20 section.
17105
17106 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17107
17108         [BZ #16529]
17109         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17110
17111 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17112
17113         * manual/contrib.texi: Update entry for Carlos O'Donell,
17114         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17115
17116 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17117
17118         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17119
17120         * sysdeps/unix/sysv/linux/kernel-features.h
17121         [__LINUX_KERNEL_VERSION >= 0x020621]
17122         (__ASSUME_PROC_PID_TASK_COMM): Define.
17123
17124 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125
17126         [BZ #16398]
17127         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17128         conversion when destination buffer does not have enough space.
17129         * libio/tst-ftell-partial-wide.c: New test case.
17130         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17131
17132         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17133         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17134         Leonard and Allan McRae.
17135
17136 2014-02-04  David S. Miller  <davem@davemloft.net>
17137
17138         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17139         32-bit.
17140
17141 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17142
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17144         New file
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17146         New file
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17148         New file.
17149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17150         New file.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17152         New file.
17153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17154         New file.
17155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17156         New file.
17157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17158         New file.
17159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17160         New file.
17161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17162         New file.
17163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17164         New file.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17166         New file.
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17168         New file.
17169
17170 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17171
17172         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17173         * shlib-versions: Likewise.
17174
17175 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17176             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17177
17178         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17179         (abilist-pattern): New variable, set to %-le.abilist.
17180
17181         * Makerules (abilist-pattern): New variable.
17182         (vpath): Use $(abilist-pattern) in place of %.abilist.
17183         (check-abi-% pattern rule): Likewise.
17184         (check-abi, update-abi): Likewise.
17185
17186 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17187
17188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17189
17190 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17191
17192         * manual/startup.texi: Add next, previous, and top entries for
17193         the `Program Arguments' and `Environment Variables' nodes.
17194
17195 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17196
17197         * manual/macros.texi: Add comments before MTASC-safety macros.
17198
17199         * manual/users.texi: Document MTASC-safety properties.
17200
17201         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17202         (pthread_getspecific, pthread_setspecific): Format with
17203         @deftypefun, and add @safety note.
17204         * manual/signal.texi: Move comments that analyze the above
17205         functions to their home place.
17206
17207 2014-02-03  Allan McRae  <allan@archlinux.org>
17208
17209         * po/sl.po: Update Slovenian translation from translation project.
17210
17211 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17212
17213         * manual/time.texi (timegm): Add missing blank after @c.
17214         Reported by Joseph Myers <joseph@codesourcery.com>.
17215
17216 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17217
17218         * manual/check-safety.sh: New.
17219         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17220
17221         * manual/terminal.texi: Document MTASC-safety properties.
17222
17223         * manual/filesys.texi: Document MTASC-safety properties.
17224
17225         * manual/errno.texi: Document MTASC-safety properties.
17226
17227         * manual/intro.texi: Document safety identifiers and
17228         conditionals.
17229
17230         * manual/string.texi (wcstok): Fix prototype.
17231         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17232
17233         * manual/time.texi: Document MTASC-safety properties.
17234
17235         * manual/string.texi: Document MTASC-safety properties.
17236
17237         * manual/threads.texi: Document MTASC-safety properties.
17238
17239         * manual/stdio.texi: Document MTASC-safety properties.
17240
17241         * manual/syslog.texi: Document MTASC-safety properties.
17242
17243         * manual/sysinfo.texi: Document MTASC-safety properties.
17244
17245         * manual/startup.texi: Document MTASC-safety properties.
17246
17247         * manual/socket.texi: Document MTASC-safety properties.
17248
17249         * manual/signal.texi: Document MTASC-safety properties.
17250
17251 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17252
17253         * manual/setjmp.texi: Document MTASC-safety properties.
17254
17255         * manual/search.texi: Document MTASC-safety properties.
17256
17257         * manual/resource.texi: Document MTASC-safety properties.
17258
17259         * manual/process.texi: Document MTASC-safety properties.
17260
17261         * manual/platform.texi: Document MTASC-safety properties.
17262
17263         * manual/pipe.texi: Document MTASC-safety properties.
17264
17265         * manual/pattern.texi: Document MTASC-safety properties.
17266
17267         * manual/message.texi: Document MTASC-safety properties.
17268
17269         [BZ #12751]
17270         * manual/memory.texi: Document MTASC-safety properties.
17271
17272         * manual/math.texi: Document MTASC-safety properties.
17273
17274         * manual/locale.texi: Document MTASC-safety properties.
17275
17276         * manual/llio.texi: Document MTASC-safety properties.
17277
17278         * manual/libdl.texi: New.
17279
17280         * manual/lang.texi: Document MTASC-safety properties.
17281
17282         * manual/job.texi: Document MTASC-safety properties.
17283
17284         * manual/getopt.texi: Document MTASC-safety properties.
17285
17286         * manual/ctype.texi: Document MTASC-safety properties.
17287
17288 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17289
17290         [BZ #16046]
17291         * csu/libc-tls.c (static_map): Remove variable.
17292         (__libc_setup_tls): Use main executable's link map for TLS data.
17293         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17294         casing for LM_ID_BASE and GL(dl_nns).
17295         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17296         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17297         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17298         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17299         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17300         member.
17301         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17302         l_phnum members.
17303
17304 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17305
17306         * manual/debug.texi: Document MTASC-safety properties.
17307
17308 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17309
17310         [BZ #16510]
17311         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17312         of __x86_64__ when disabling x87 inline functions.
17313
17314 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17315
17316         * manual/charset.texi: Document MTASC-safety properties.
17317
17318         * manual/crypt.texi: Document MTASC-safety properties.
17319
17320         * manual/conf.texi: Document MTASC-safety properties.
17321
17322         * manual/arith.texi: Document MTASC-safety properties.
17323
17324         * manual/argp.texi: Document MTASC-safety properties.
17325
17326         * manual/macros.texi: Introduce macros to document multi
17327         thread, asynchronous signal and asynchronous cancellation
17328         safety properties.
17329         * manual/intro.texi: Introduce the properties themselves.
17330
17331 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17332
17333         * sysdeps/sh/sh4/Makefile: New file.
17334
17335 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17336
17337         * math/gen-libm-test.pl ($srcdir): New variable.
17338         ($auto_input): Use it.
17339
17340 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17341
17342         [BZ #16506]
17343         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17344         access beyond array bounds when parsing netgroups file.
17345
17346         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17347         the old buffer before realloc.
17348
17349 2014-01-27  Allan McRae  <allan@archlinux.org>
17350
17351         * po/fr.po: Update French translation from translation project.
17352
17353 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17354
17355         * sysdeps/sh/libm-test-ulps: Regenerate.
17356
17357 2014-01-24  David S. Miller  <davem@davemloft.net>
17358
17359         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17360
17361 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17362
17363         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17364         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17365
17366 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17367
17368         [BZ #16474]
17369         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17370         string pointers after reallocation.
17371
17372 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17373
17374         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17375         __SH4A__ instead of __SH_FPU_ANY__.
17376
17377 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17378
17379         * sysdeps/sh/fpu_control.h: New file.
17380         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17381         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17382         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17383         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17384         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17385         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17386         * sysdeps/sh/sys/ucontext.h: Remove.
17387         * sysdeps/sh/sys: Remove directory.
17388
17389 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17390
17391         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17392         s390/sys/ucontext.h.
17393         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17395
17396 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17397
17398         [BZ #15605]
17399         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17400
17401 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17402
17403         [BZ#16431]
17404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17405         Adjust the vDSO correctly for internal calls.
17406         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17407
17408 2014-01-20  Allan McRae  <allan@archlinux.org>
17409
17410         * po/ca.po: Update Catalan translation from translation project.
17411
17412 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17413
17414         * sysdeps/s390/sotruss-lib.c: New file.
17415
17416 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17417
17418         [BZ#16430]
17419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17420         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17421         local calls issues by not having a PLT stub required for IFUNC calls.
17422         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17423
17424 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17425
17426         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17427         * math/test-fpucw-static.c: Likewise.
17428
17429 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17430
17431         [BZ #16453]
17432         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17433
17434 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17435
17436         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17437         implementation for powerpc.
17438
17439 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17440
17441         [BZ #14782]
17442         * sysdeps/posix/system.c (__libc_system): Do not enable
17443         asynchronous cancellation.
17444
17445 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17446
17447         [BZ #16427]
17448         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17449         handling only for numbers special also in the IEEE case.
17450
17451 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17452
17453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17454
17455 2014-01-11  Allan McRae  <allan@archlinux.org>
17456
17457         * po/bg.po: Update Bulgarian translation from translation project.
17458
17459         * po/de.po: Update German translation from translation project.
17460
17461 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17462
17463         * sysdeps/generic/gcc-compat.h: New file.
17464
17465 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17466
17467         * benchtests/asin-inputs: Correct slow inputs.
17468         * benchtests/acos-inputs: Likewise.
17469
17470 2014-01-10  Allan McRae  <allan@archlinux.org>
17471
17472         * po:sv.po: Update Swedish translation from translation project.
17473
17474         * po/vi.po: Update Vietnamese translation from translation project.
17475
17476         * po/eo.po: Update Esperanto translation from translation project.
17477
17478         * po/cs.po: Update Czech translation from translation project.
17479
17480         * po/nl.po: Update Dutch translation from translation project.
17481
17482         * po/pl.po: Update Polish translation from translation project.
17483
17484         * po/ru.po: Update Russian translation from translation project.
17485
17486         * po/uk.po: Update Ukrainian translation from translation project.
17487
17488 2014-01-08  Brooks Moses  <bmoses@google.com>
17489
17490         * elf/dl-load.c: Fix comment typo.
17491
17492 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17493
17494         * po/header.pot: Rename to...
17495         * po/pot.header: ... this.
17496         * po/Makefile: Use pot.header.
17497
17498 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17499             Maxim Kuvyrkov  <maxim@kugelworks.com>
17500
17501         [BZ #16394]
17502         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17503         SRC and DEST against LEN.
17504
17505 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17506
17507         [BZ #16414]
17508         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17509         implementation.
17510         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17511
17512 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17513
17514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17515
17516 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17517
17518         [BZ #16408]
17519         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17520         for large positive arguments.
17521
17522 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17523
17524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17525
17526         * math/auto-libm-test-in: Mark various tests with
17527         xfail-rounding:ldbl-128ibm.
17528         * math/auto-libm-test-out: Regenerated.
17529
17530         [BZ #16407]
17531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17532         Increase overflow threshold.
17533
17534 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17535
17536         [BZ #14286]
17537         * stdio-common/vfprintf.c: Check for integer overflow.
17538
17539 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17540
17541         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17542         the first argument and return value of __tls_get_addr_internal.
17543
17544 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17545
17546         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17547         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17548
17549 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17550
17551         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17552         * sysdeps/s390/rtld-global-offsets.sym: New file.
17553         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17554         GLIBC_2.19 symbol.
17555         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17556         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17557         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17558         ... this.
17559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17560         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17561         ... this.
17562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17563         Regenerate.
17564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17565         Regenerate.
17566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17567         halfs of GPRs for high_gprs contexts.
17568         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17569         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17570         field.
17571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17572         uc_flags field.
17573         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17574         64 bit versions:
17575         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17576         for high GPRs (uc_high_gprs) and for future extensions
17577         (__reserved).
17578         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17579         for future extensions (__reserved).
17580         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17581         64 bit versions:
17582         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17583         SC_HIGHGPRS offset definition.
17584         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17585         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17586
17587         * Versions.def: Add GLIBC_2.19 for libpthread.
17588         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17589         siglongjmp for libpthread with GLIBC_2.19 symver.
17590         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17591         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17592         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17593         * sysdeps/s390/__longjmp.c: New file.
17594         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17595         * sysdeps/s390/longjmp.c: New file.
17596         * sysdeps/s390/setjmp.S: New file.
17597         * sysdeps/s390/sigjmp.S: New file.
17598         * sysdeps/s390/v1-longjmp.c: New file.
17599         * sysdeps/s390/v1-setjmp.h: New file.
17600         * sysdeps/s390/v1-sigjmp.c: New file.
17601         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17602         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17603         GLIBC_2.19 version.
17604         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17605         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17606         versioned symbols for ____longjmp_chk.
17607         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17608         Likewise.
17609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17610         Regenerate.
17611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17612         Regenerate.
17613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17614         Regenerate.
17615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17616         Regenerate.
17617         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17618         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17619         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17620         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17621         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17622         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17623         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17624         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17625         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17626         * sysdeps/s390/rtld-__longjmp.c: New file.
17627         * sysdeps/s390/rtld-setjmp.S: New file.
17628
17629 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17630
17631         [BZ #16400]
17632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17633         Return -__logl (x) for small positive arguments without evaluating
17634         a polynomial.
17635
17636 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17637
17638         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17639         Rename to ...
17640         (__ptrace_peeksiginfo_args): ... this.
17641         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17643         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17644
17645 2014-01-06  Allan McRae  <allan@archlinux.org>
17646
17647         * inet/netinet/in.h: Fix typo in comment.
17648
17649 2014-01-05  Andreas Jaeger  <aj@suse.de>
17650
17651         * sysdeps/i386/fpu/libm-test-ulps: Update.
17652
17653 2014-01-05  Allan McRae  <allan@archlinux.org>
17654
17655         * po/libc.pot: Regenerated.
17656
17657         * malloc/memusagestat.c: Fix gettext call formatting.
17658
17659 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17660
17661         * nscd/nscd.c: Improve usage() output.
17662
17663 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17664
17665         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17666         * sysdeps/unix/sysv/linux/configure: Regenerated.
17667         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17668         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17669
17670 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17671
17672         [BZ #16390]
17673         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17674         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17675
17676 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17677
17678         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17679         extra tokens at end of #undef directive.
17680         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17681         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17682         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17683
17684 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17685
17686         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17687
17688         * math/auto-libm-test-in: Mark various tests with
17689         xfail-rounding:ldbl-128ibm.
17690         * math/auto-libm-test-out: Regenerated.
17691
17692 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17693
17694         [BZ #16386]
17695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17696         numbers with subnormal high part when calculating exponent.
17697
17698         [BZ #16385]
17699         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17700         fabs.
17701
17702         [BZ #16384]
17703         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17704         M_LN2l.
17705         (__ieee754_acoshl): Use __log1pl not __log1p.
17706
17707 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17708
17709         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17710         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17711         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17712         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17713         (reused_arena, arena_get2): Convert to GNU style.
17714         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17715         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17716         (memalign_check, __malloc_set_state): Likewise.
17717         * malloc/mallocbug.c (main): Likewise.
17718         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17719         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17720         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17721         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17722         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17723         (__posix_memalign, malloc_info): Likewise.
17724         * malloc/malloc.h: Likewise.
17725         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17726         (mallochook, memalignhook, reallochook, mabort): Likewise.
17727         * malloc/mcheck.h: Likewise.
17728         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17729         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17730         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17731         * malloc/morecore.c (__default_morecore): Likewise.
17732         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17733         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17734         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17735         (print_and_abort): Likewise.
17736         * malloc/obstack.h: Likewise.
17737         * malloc/set-freeres.c (__libc_freeres): Likewise.
17738         * malloc/tst-mallocstate.c (main): Likewise.
17739         * malloc/tst-mtrace.c (main): Likewise.
17740         * malloc/tst-realloc.c (do_test): Likewise.
17741
17742 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17743
17744         [BZ #16366]
17745         * nscd/netgroupcache.c (do_notfound): New function.
17746         (addgetnetgrentX): Use it.
17747
17748         [BZ # 16365]
17749         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17750         NSS_STATUS_NOTFOUND.
17751
17752 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17753
17754         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17756
17757 2014-01-01  Allan McRae  <allan@archlinux.org>
17758
17759         * scripts/update-copyrights: Update configure input file suffix.
17760
17761         * NEWS: Update copyright year.
17762         * catgets/gencat.c: Likewise.
17763         * csu/version.c: Likewise.
17764         * debug/catchsegv.sh: Likewise.
17765         * debug/pcprofiledump.c: Likewise.
17766         * debug/xtrace.sh: Likewise.
17767         * elf/ldconfig.c: Likewise.
17768         * elf/ldd.bash.in: Likewise.
17769         * elf/pldd.c: Likewise.
17770         * elf/sotruss.ksh: Likewise.
17771         * elf/sprof.c: Likewise.
17772         * iconv/iconv_prog.c: Likewise.
17773         * iconv/iconvconfig.c: Likewise.
17774         * locale/programs/locale.c: Likewise.
17775         * locale/programs/localedef.c: Likewise.
17776         * login/programs/pt_chown.c: Likewise.
17777         * malloc/memusage.sh: Likewise.
17778         * malloc/memusagestat.c: Likewise.
17779         * malloc/mtrace.pl: Likewise.
17780         * manual/libc.texinfo: Likewise.
17781         * nscd/nscd.c: Likewise.
17782         * nss/getent.c: Likewise.
17783         * nss/makedb.c: Likewise.
17784         * posix/getconf.c: Likewise.
17785         * scripts/test-installation.pl: Likewise.
17786
17787         * All files with FSF copyright notices: Update copyright dates
17788         using scripts/update-copyrights.
17789         * intl/plural.c: Regenerated.
17790         * locale/programs/charmap-kw.h: Likewise.
17791         * locale/programs/locfile-kw.h: Likewise.
17792
17793 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17794
17795         * sysdeps/unix/sysv/linux/configure: Regenerated.
17796         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17797         the linux/fanotify.h header.
17798         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17799         HAVE_LINUX_FANOTIFY_H is defined.
17800
17801 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17802
17803         * benchtests/cos-inputs: New inputs.
17804         * benchtests/sin-inputs: Likewise.
17805
17806         * benchtests/atan-inputs: New inputs. Fix name of multiple
17807         precision fallback inputs.
17808
17809         * benchtests/atanh-inputs: New inputs.
17810         * benchtests/tanh-inputs: Likewise.
17811
17812         * benchtests/acosh-inputs: New inputs.
17813         * benchtests/asinh-inputs: Likewise.
17814
17815         * benchtests/cosh-inputs: New inputs.
17816         * benchtests/sinh-inputs: Likewise.
17817
17818         * benchtests/acos-inputs: Add more inputs.
17819         * benchtests/asin-inputs: Likewise.
17820
17821 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17822
17823         [BZ #16375]
17824         * manual/arith.texi: Fix spelling.
17825         * manual/charset.texi: Likewise.
17826         * manual/errno.texi: Likewise.
17827         * manual/filesys.texi: Likewise.
17828         * manual/lang.texi: Likewise.
17829         * manual/llio.texi: Likewise.
17830         * manual/locale.texi: Likewise.
17831         * manual/message.texi: Likewise.
17832         * manual/resource.texi: Likewise.
17833         * manual/search.texi: Likewise.
17834         * manual/setjmp.texi: Likewise.
17835         * manual/stdio.texi: Likewise.
17836         * manual/string.texi: Likewise.
17837         * manual/sysinfo.texi: Likewise.
17838         * manual/time.texi: Likewise.
17839
17840 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17841
17842         * po/sl.po: New file.
17843
17844 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17845
17846         * .gitignore: Add core/.gdbinit/.gdb_history.
17847
17848 2013-12-27  Allan McRae  <allan@archlinux.org>
17849
17850         [BZ #16369]
17851         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17852         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17853
17854 2013-12-24  Brooks Moses  <bmoses@google.com>
17855
17856         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17857         all compilers that claim C++98 compliance, not just GCC.
17858         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17859         Likewise.
17860
17861 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17862
17863         * NEWS: Restore accidentally deleted bug-fix entries.
17864
17865 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17866             Ondřej Bílka  <neleai@seznam.cz>
17867
17868         [BZ #15073]
17869         * malloc/malloc.c (_int_free): Perform sanity check only if we
17870         have_lock.
17871
17872 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17873
17874         [BZ #12986]
17875         * manual/stdio.texi (String Input Conversions): Clarify that character
17876         classes are not supported.
17877
17878 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17879
17880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17881
17882 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17883
17884         [BZ #16337]
17885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17886         Calculate results for small negative arguments directly rather
17887         than using reflection formula with special underflow handling.
17888
17889         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17890         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17891         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17892         (fchflags): Likewise.
17893         (revoke): Likewise.
17894         (setlogin): Likewise.
17895         (sigaltstack): Likewise.
17896         (wait4): Likewise.
17897         (sigblock): Remove.
17898         (sigsetmask): Likewise.
17899         (wait3): Likewise.
17900         (waitpid): Likewise.
17901         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17902         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17903         file.
17904         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17905         * sysdeps/unix/bsd/Makefile: ... here.
17906         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17907         * sysdeps/unix/bsd/Versions: ... here.
17908         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17909         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17910         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17911         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17912         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17913         * sysdeps/unix/bsd/sigblock.c: ... here.
17914         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17915         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17916         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17917         * sysdeps/unix/bsd/sigvec.c: ... here.
17918         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17919         * sysdeps/unix/bsd/tcdrain.c: ... here.
17920         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17921         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17922         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17923         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17924         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17925         * sysdeps/unix/bsd/wait.c: ... here.
17926         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17927         * sysdeps/unix/bsd/wait3.c: ... here.
17928         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17929         * sysdeps/unix/bsd/waitpid.c: ... here.
17930
17931 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17932
17933         [BZ #16356]
17934         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17935         round-to-nearest for [!USE_AS_EXPM1L].
17936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17937         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17938         more tests of exp and exp10.  Expect some exp10 tests to miss
17939         exceptions or fail in directed rounding modes.
17940         * math/auto-libm-test-out: Regenerated.
17941         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17942         (exp10_test_tonearest): New function.
17943         (exp10_towardzero_test_data): New array.
17944         (exp10_test_towardzero): New function.
17945         (exp10_downward_test_data): New array.
17946         (exp10_test_downward): New function.
17947         (exp10_upward_test_data): New array.
17948         (exp10_test_upward): New function.
17949         (main): Call the new functions.
17950         * sysdeps/i386/fpu/libm-test-ulps: Update.
17951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17952
17953 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17954
17955         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17956         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17957         * math/auto-libm-test-out: Regenerated.
17958         * math/libm-test.inc (acosh_test_data): Add more tests.
17959         (atanh_test_data): Likewise.
17960         (ceil_test_data): Likewise.
17961         (copysign_test_data): Likewise.
17962         * sysdeps/i386/fpu/libm-test-ulps: Update.
17963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17964
17965         * timezone/checktab.awk: Update from tzcode 2013i.
17966         * timezone/private.h: Likewise.
17967         * timezone/scheck.c: Likewise.
17968         * timezone/tzfile.h: Likewise.
17969         * timezone/tzselect.ksh: Likewise.
17970         * timezone/zdump.c: Likewise.
17971         * timezone/zic.c: Likewise.
17972
17973         * math/auto-libm-test-in: Add tests of cpow.
17974         * math/auto-libm-test-out: Regenerated.
17975         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17977         mpc_cc_c.
17978         (func_calc_desc): Add mpc_cc_c union field.
17979         (test_functions): Add cpow.
17980         (special_fill_2pi): New function.
17981         (special_real_inputs): Add 2pi.
17982         (calc_generic_results): Handle mpc_cc_c.
17983         * sysdeps/i386/fpu/libm-test-ulps: Update.
17984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17985
17986         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17987         csqrt, ctan and ctanh.
17988         * math/auto-libm-test-out: Regenerated.
17989         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17990         (TEST_COND_x86): Likewise.
17991         (ccos_test_data): Use AUTO_TESTS_c_c.
17992         (ccosh_test_data): Likewise.
17993         (cexp_test_data): Likewise.
17994         (clog_test_data): Likewise.
17995         (csqrt_test_data): Likewise.
17996         (ctan_test_data): Likewise.
17997         (ctan_tonearest_test_data): Likewise.
17998         (ctan_towardzero_test_data): Likewise.
17999         (ctan_downward_test_data): Likewise.
18000         (ctan_upward_test_data): Likewise.
18001         (ctanh_test_data): Likewise.
18002         (ctanh_tonearest_test_data): Likewise.
18003         (ctanh_towardzero_test_data): Likewise.
18004         (ctanh_downward_test_data): Likewise.
18005         (ctanh_upward_test_data): Likewise.
18006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18007         mpc_c_c.
18008         (func_calc_desc): Add mpc_c_c union field.
18009         (FUNC_mpc_c_c): New macro.
18010         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18011         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18012         ctanh.
18013         (special_fill_min_subnorm_p120): New function.
18014         (special_real_inputs): Add min_subnorm_p120.
18015         (calc_generic_results): Handle mpc_c_c.
18016         * sysdeps/i386/fpu/libm-test-ulps: Update.
18017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18018
18019 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18020
18021         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18022         (do_sin_slow): New functions.
18023         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18024         (cslow2, csloww1, csloww2): Use the new functions.
18025
18026         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18027         Use M to change sign of result instead of X.  Assume X is
18028         positive.
18029         (csloww1): Likewise.
18030         (__sin): Adjust.
18031         (__cos): Adjust.
18032
18033         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18034         arguments A and DA.
18035         (__sin): Adjust.
18036         (__cos): Likewise.
18037
18038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18039         (__cos): Likewise.
18040         (sloww1): Don't adjust sign of DX.
18041         (csloww1): Likewise.
18042         (sloww2): Use X directly and don't adjust sign of DX.
18043         (csloww2): Likewise.
18044
18045 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18046
18047         * math/auto-libm-test-in: Add tests of cabs and carg.
18048         * math/auto-libm-test-out: Regenerated.
18049         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18050         (carg_test_data): Likewise.
18051         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18052         mpc_c_f.
18053         (func_calc_desc): Add mpc_c_f union field.
18054         (test_functions): Add cabs and carg.
18055         (calc_generic_results): Handle mpc_c_f.
18056
18057         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18058         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18059         as a macro and a compat symbol.
18060         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18061         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18062         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18063         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18064         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18066         not use .hidden.
18067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18068         Likewise.
18069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18070         Likewise.
18071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18072         Likewise.
18073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18074         Likewise.
18075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18076         Likewise.
18077         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18078         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18079         from GLIBC_2.3.2.
18080
18081 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18082
18083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18084
18085 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18086
18087         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18088         trailing whitespace removed.
18089         * scripts/config.guess: Update to version 2013-11-29.
18090         * scripts/config.sub: Update to version 2013-10-01.
18091
18092         * math/auto-libm-test-in: Add tests of sincos.
18093         * math/auto-libm-test-out: Regenerated.
18094         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18096         mpfr_f_11.
18097         (func_calc_desc): Add mpfr_f_11 union field.
18098         (test_functions): Add sincos.
18099         (calc_generic_results): Handle mpfr_f_11.
18100         * sysdeps/i386/fpu/libm-test-ulps: Update.
18101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18102
18103 2013-12-19  Andreas Schwab  <schwab@suse.de>
18104
18105         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18106         CALL_MCOUNT.
18107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18108         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18109         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18110
18111 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18112
18113         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18114         * sysdeps/i386/fpu/libm-test-ulps: Update.
18115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18116
18117         [BZ #16293]
18118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18119         round-to-nearest mode when using frndint.
18120         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18121         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18123         Likewise.
18124         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18125         sinh test to fail.
18126         * math/auto-libm-test-out: Regenerated.
18127         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18128         (TEST_COND_x86): Likewise.
18129         (expm1_tonearest_test_data): New array.
18130         (expm1_test_tonearest): New function.
18131         (expm1_towardzero_test_data): New array.
18132         (expm1_test_towardzero): New function.
18133         (expm1_downward_test_data): New array.
18134         (expm1_test_downward): New function.
18135         (expm1_upward_test_data): New array.
18136         (expm1_test_upward): New function.
18137         (main): Run the new test functions.
18138         * sysdeps/i386/fpu/libm-test-ulps: Update.
18139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140
18141         * include/features.h: Update comment documenting feature test
18142         macros.  Mention _DEFAULT_SOURCE in comment.
18143         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18144         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18145         _BSD_SOURCE and _SVID_SOURCE.
18146         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18147         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18148         !_SVID_SOURCE]: Likewise.
18149         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18150         (__USE_POSIX_IMPLICITLY): Define.
18151         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18152         (_POSIX_SOURCE): Undefine and redefine.
18153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18154         (_POSIX_C_SOURCE): Likewise.
18155         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18156         (Feature Test Macros): Update documentation of default features.
18157
18158 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18159
18160         * benchtests/Makefile: Add bench-strtok.
18161         * benchtests/bench-strtok.c: New file: strtok benchtest.
18162
18163 2013-12-19  Allan McRae  <allan@archlinux.org>
18164
18165         * manual/install.texi: Suppress menu for plain text output.
18166         * INSTALL: Regenerated.
18167
18168 2013-12-18  Brooks Moses  <bmoses@google.com>
18169
18170         [BZ #15846]
18171         * misc/getauxval.c: Include errno.h.
18172         (__getauxval): Set errno to ENOENT if the requested type is not
18173         found.
18174         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18175         don't declare with __attribute_const__.
18176         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18177         * manual/startup.texi: Document that getauxval sets errno.
18178
18179 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18180
18181         * math/auto-libm-test-in: Add tests of jn and yn.
18182         * math/auto-libm-test-out: Regenerated.
18183         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18184         (yn_test_data): Likewise.
18185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18186         mpfr_if_f.
18187         (func_calc_desc): Add mpfr_if_f union field.
18188         (FUNC_mpfr_if_f): New macro.
18189         (test_functions): Add jn and yn.
18190         (calc_generic_results): Assert type of second input for
18191         mpfr_ff_f.  Handle mpfr_if_f.
18192         (output_for_one_input_case): Disable all checking for arguments
18193         fitting floating-point types in case of an integer argument.
18194         * sysdeps/i386/fpu/libm-test-ulps: Update.
18195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18196
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18198         Don't expect fegetround reference in libm.so.
18199
18200 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18201
18202         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18203         $(config-cflags-nofma).
18204
18205 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18206
18207         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18208         * math/auto-libm-test-out: Regenerated.
18209
18210         [BZ #16338]
18211         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18212         to determine exponent and adjust argument to have exponent of -1.
18213         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18214         log2.
18215         * math/auto-libm-test-out: Regenerated.
18216         * sysdeps/i386/fpu/libm-test-ulps: Update.
18217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18218
18219 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18220
18221         * manual/probes.texi: Remove cases when per-thread arenas are
18222         disabled.
18223
18224 2013-12-18  Andreas Schwab  <schwab@suse.de>
18225
18226         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18227         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18228         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18229         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18230         * sysdeps/i386/i686/multiarch/Makefile: Update.
18231         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18232
18233 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18234
18235         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18236         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18237
18238 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18239
18240         [BZ #15968]
18241         Support TZ transition times < 00:00:00.
18242         This is needed for version-3 tz-format files; it supports time
18243         stamps past 2037 for America/Godthab (the only entry in the tz
18244         database for which this change is relevant).
18245         * manual/time.texi (TZ Variable): Document transition times
18246         from -167:59:59 through -00:00:01.
18247         * time/tzset.c (tz_rule): Time of day is now signed.
18248         (__tzset_parse_tz): Parse negative time of day.
18249
18250         Document TZ transition times >= 25:00:00.
18251         * manual/time.texi (TZ Variable): Document transition times from
18252         25:00:00 through 167:59:59.  These are already supported, and this
18253         support will help with version-3 tz-format files.
18254
18255         * manual/time.texi (TZ Variable): Modernize North America example
18256         to reflect current (i.e., 2007-and-later) daylight saving rules.
18257
18258         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18259
18260 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18261
18262         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18263         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18266         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18267         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18268         * sysdeps/unix/bsd/clock.c: Likewise.
18269         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18270         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18271         * sysdeps/unix/bsd/init-posix.c: Likewise.
18272         * sysdeps/unix/bsd/poll.c: Likewise.
18273         * sysdeps/unix/bsd/ptsname.c: Likewise.
18274         * sysdeps/unix/bsd/seekdir.c: Likewise.
18275         * sysdeps/unix/bsd/setegid.c: Likewise.
18276         * sysdeps/unix/bsd/seteuid.c: Likewise.
18277         * sysdeps/unix/bsd/setgid.c: Likewise.
18278         * sysdeps/unix/bsd/setrgid.c: Likewise.
18279         * sysdeps/unix/bsd/setruid.c: Likewise.
18280         * sysdeps/unix/bsd/setsid.c: Likewise.
18281         * sysdeps/unix/bsd/setuid.c: Likewise.
18282         * sysdeps/unix/bsd/sigaction.c: Likewise.
18283         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18284         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18285         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18286         * sysdeps/unix/bsd/telldir.c: Likewise.
18287         * sysdeps/unix/bsd/times.c: Likewise.
18288         * sysdeps/unix/bsd/usleep.c: Likewise.
18289
18290         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18291         ($(objpfx)libbsd-compat.a): Remove rule.
18292
18293         * include/features.h (__FAVOR_BSD): Do not define.
18294         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18295         features conflicting with POSIX.
18296         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18297         (_BSD_SOURCE): Remove description of not being a subset of other
18298         feature test macros.
18299         * manual/job.texi (getpgrp): Do not document BSD version.
18300         (getpgid): Do not document by reference to BSD getpgrp.
18301         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18302         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18303         * signal/signal.h [__FAVOR_BSD]: Likewise.
18304         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18305         instead of making contents conditional on [__FAVOR_BSD].
18306         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18307
18308 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18309
18310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18311
18312 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18313
18314         [BZ #16314]
18315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18316         values below 2**-450, not 2**-500.
18317         * math/auto-libm-test-in: Don't allow spurious underflow from
18318         hypot.
18319         * math/auto-libm-test-out: Regenerated.
18320
18321         [BZ #16316]
18322         [BZ #16330]
18323         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18324         values of ha and hb and sort them after adjusting subnormal
18325         arguments.
18326         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18327         Likewise.
18328         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18329         values of ea and eb and sort them after adjusting subnormal
18330         arguments.
18331         * math/auto-libm-test-in: Do not expect some hypot tests of
18332         subnormals to fail.  Add more hypot tests.
18333         * math/auto-libm-test-out: Regenerated.
18334
18335 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18336
18337         [BZ #13304]
18338         * sysdeps/sh/s_fma.c: New file.
18339         * sysdeps/sh/s_fmaf.c: New file.
18340         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18341         version.
18342         * sysdeps/sh/Implies: Add sh/soft-fp.
18343
18344 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18345
18346         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18347         level of indirection to members `objname', `errstring', `malloced'.
18348         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18349         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18350         it as the __longjmp argument (just pass 1 instead).
18351         (_dl_catch_error): Initialize C with argument pointers and address of
18352         volatile local ERRCODE rather than copying values out of C at return.
18353
18354 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18355
18356         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18357         * math/auto-libm-test-out: Regenerated.
18358         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18359         (hypot_test_data): Likewise.
18360         (pow_test_data): Likewise.
18361         (pow_tonearest_test_data): Likewise.
18362         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18363         mpfr_ff_f.
18364         (func_calc_desc): Add mpfr_ff_f union field.
18365         (FUNC_mpfr_ff_f): New macro.
18366         (test_functions): Add atan2, hypot and pow.
18367         (special_fill_min): New function.
18368         (special_fill_minus_min): Likewise.
18369         (special_fill_min_subnorm): Likewise.
18370         (special_fill_minus_min_subnorm): Likewise.
18371         (special_real_inputs): Add min, -min, min_subnorm and
18372         -min_subnorm.
18373         (calc_generic_results): Handle mpfr_ff_f.
18374         * sysdeps/i386/fpu/libm-test-ulps: Update.
18375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18376
18377 2013-12-16  Will Newton  <will.newton@linaro.org>
18378
18379         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18380         (Aligned Memory Blocks): Add documentation for aligned_alloc
18381         and suggest it as an alternative to posix_memalign.
18382         (Hooks for Malloc): Document __memalign_hook is also called
18383         for aligned_alloc.  (Summary of Malloc): Add summary for
18384         aligned alloc.  Document __memalign_hook is also called
18385         for aligned_alloc.
18386
18387 2013-12-16  Will Newton  <will.newton@linaro.org>
18388
18389         * manual/memory.texi (Malloc Examples): Clarify default
18390         alignment documentation.  Suggest posix_memalign rather
18391         than memalign or valloc.
18392         (Aligned Memory Blocks): Remove suggestion to use memalign
18393         or valloc.  Remove obsolete comment about BSD.
18394         Document memalign errno values and mark the function obsolete.
18395         Document posix_memalign returned error codes.  Mark valloc
18396         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18397         called for posix_memalign and valloc.
18398         (Summary of Malloc): Add posix_memalign to function summary.
18399         __memalign_hook is also called for posix_memalign and valloc.
18400
18401 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18402
18403         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18404         TAYLOR_SIN.
18405         (__sin): Adjust.
18406         (__cos): Likewise.
18407         (sloww): Use mynumber union.  Expand ternary operator into
18408         if-else statements.
18409         (cslow): use mynumber union.
18410
18411 2013-12-16  Allan McRae  <allan@archlinux.org>
18412
18413         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18414         * configure: Regenerated.
18415
18416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18417
18418         [BZ #14120]
18419         * configure.ac: Added --enable-maintainer-mode. Check for
18420         autoconf when enabled.
18421         * configure: Regenerated.
18422
18423         * nscd/nscd.service: New file.
18424         * nscd/nscd.tmpfiles: New file.
18425
18426 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18427
18428         [BZ #12100]
18429         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18430         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18431         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18432         (strstr): Add __strstr_sse2_unaligned ifunc.
18433         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18434         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18435         (strcasestr): Remove __strcasestr_sse42 ifunc.
18436         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18439
18440 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18441
18442         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18443         * sysdeps/sh/bits/fenv.h: ... here.
18444         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18445
18446 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18447
18448         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18449
18450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18451         hypotf multiarch implementations.
18452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18455         multiarch hypot for PPC64.
18456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18459         multiarch hypotf for PPC64.
18460
18461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18462         modff multiarch implementations.
18463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18466         multiarch modf for PPC64.
18467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18470         multiarch modff for PPC64.
18471
18472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18473         and logl multiarch implementations.
18474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18477         multiarch logb for PPC64.
18478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18481         multiarch logb for PPC64.
18482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18485         multiarch logb for PPC64.
18486
18487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18488         isinff multiarch implementation.
18489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18490         file.
18491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18493         multiarch isinf for PPC64.
18494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18495         file.
18496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18497         multiarch isinff for PPC64.
18498
18499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18500         finitef multiarch implementation.
18501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18502         file.
18503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18505         multiarch finite for PPC64.
18506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18507         file.
18508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18509         multiarch finitef for PPC64.
18510
18511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18512         lrint multiarch implementation.
18513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18514         file.
18515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18517         multiarch llrint for PPC64.
18518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18519         multiarch lrint for PPC64.
18520
18521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18522         copysignf multiarch implementation.
18523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18524         file.
18525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18526         file.
18527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18528         multiarch copysign for PPC64.
18529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18530         multiarch copysignf for PPC64.
18531
18532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18533         multiarch implementation.
18534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18535         file.
18536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18537         file.
18538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18539         file.
18540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18541         file.
18542         multiarch llround for PPC64.
18543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18544         multiarch trunc for PPC64.
18545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18546         multiarch truncf for PPC64.
18547
18548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18549         multiarch implementation.
18550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18551         file.
18552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18553         file.
18554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18555         file.
18556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18557         file.
18558         multiarch llround for PPC64.
18559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18560         multiarch round for PPC64.
18561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18562         multiarch roundf for PPC64.
18563
18564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18565         multiarch implementation.
18566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18567         file.
18568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18569         file.
18570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18571         file.
18572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18573         file.
18574         multiarch llround for PPC64.
18575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18576         multiarch floor for PPC64.
18577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18578         multiarch floorf for PPC64.
18579
18580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18581         multiarch implementation.
18582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18583         file.
18584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18585         file.
18586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18587         file.
18588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18589         file.
18590         multiarch llround for PPC64.
18591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18592         multiarch ceil for PPC64.
18593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18594         multiarch ceilf for PPC64.
18595
18596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18597         multiarch implementation.
18598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18599         file.
18600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18601         file.
18602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18603         file.
18604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18605         multiarch llround for PPC64.
18606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18607         multiarch lround for PPC64.
18608
18609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18610         multiarch implementation.
18611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18614         file.
18615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18618         multiarch isnan for PPC64.
18619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18620         multiarch isnanf for PPC64.
18621
18622         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18623         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18624         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18625         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18626         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18628
18629         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18630         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18632         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18633
18634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18635         multiarch implementations.
18636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18637         (__libc_ifunc_impl_list): Likewise.
18638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18641         multiarch stpcpy for PPC64.
18642
18643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18644         multiarch implementations.
18645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18646         (__libc_ifunc_impl_list): Likewise.
18647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18648         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18649         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18650         multiarch strcpy for PPC64.
18651
18652         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18653         redefine function name.
18654         (_wordcopy_fwd_dest_aligned): Likewise.
18655         (_wordcopy_bwd_aligned): Likewise.
18656         (_wordcopy_bwd_dest_aligned): Likewise.
18657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18658         multiarch implementations.
18659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18660         (__libc_ifunc_impl_list): Likewise.
18661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18665         multiarch wcscpy for PPC64.
18666
18667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18668         multiarch implementations.
18669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18670         (__libc_ifunc_impl_list): Likewise.
18671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18675         multiarch wcscpy for PPC64.
18676
18677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18678         multiarch implementations.
18679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18680         (__libc_ifunc_impl_list): Likewise.
18681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18685         multiarch wcsrchr for PPC64.
18686
18687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18688         multiarch implementations.
18689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18690         (__libc_ifunc_impl_list): Likewise.
18691         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18692         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18693         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18694         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18695         multiarch wcschr for PPC64.
18696
18697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18698         multiarch implementations.
18699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18700         (__libc_ifunc_impl_list): Likewise.
18701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18702         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18704         multiarch strchrnul for PPC64.
18705
18706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18707         implementations.
18708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18709         (__libc_ifunc_impl_list): Likewise.
18710         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18711         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18712         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18713         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18714         strchr for PPC64.
18715
18716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18717         implementations.
18718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18719         (__libc_ifunc_impl_list): Likewise.
18720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18722         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18723         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18724         strncmp for PPC64.
18725
18726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18727         multiarch implementations.
18728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18729         (__libc_ifunc_impl_list): Likewise.
18730         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18731         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18732         strncasecmp for PPC64.
18733         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18734         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18735         multiarch strncasecmp_l for PPC64.
18736
18737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18738         multiarch implementations.
18739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18740         (__libc_ifunc_impl_list): Likewise.
18741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18743         multiarch strcasecmp for PPC64.
18744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18745         file.
18746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18747         multiarch strcasecmp_l for PPC64.
18748
18749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18750         implementations.
18751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18752         (__libc_ifunc_impl_list): Likewise.
18753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18754         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18755         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18756         strnlen for PPC64.
18757
18758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18759         implementations.
18760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18761         (__libc_ifunc_impl_list): Likewise.
18762         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18763         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18764         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18765         strlen for PPC64.
18766
18767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18768         implementations.
18769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18770         (__libc_ifunc_impl_list): Likewise.
18771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18772         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18774         rawmemrchr for PPC64.
18775
18776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18777         implementation.
18778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18779         (__libc_ifunc_impl_list): Likewise.
18780         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18781         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18782         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18783         memrchr for PPC64.
18784
18785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18786         implementation.
18787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18788         (__libc_ifunc_impl_list): Likewise.
18789         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18790         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18791         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18792         memchr for PPC64.
18793
18794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18795         implementation.
18796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18797         (__libc_ifunc_impl_list): Likewise.
18798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18801         mempcpy for PPC64.
18802
18803         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18804         avoid cretion of __bzero symbol.
18805         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18806         Likewise.
18807         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18808         Likewise.
18809         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18810         Likewise.
18811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18812         multiarch implementations.
18813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18814         (__libc_ifunc_impl_list): Likewise.
18815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18818         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18819         bzero for PPC32.
18820         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18821         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18822         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18823         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18824         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18825         memset for PPC64.
18826         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18827
18828         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18830         implementations.
18831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18832         (__libc_ifunc_impl_list): Likewise.
18833         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18834         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18835         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18836         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18837         memcmp for PPC64.
18838
18839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18840         multiarch for POWER/PPC64.
18841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18842         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18849         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18850         memcpy for PPC64.
18851
18852         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18853         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18854         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18855         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18856         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18857         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18858         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18859         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18860         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18861         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18862         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18863         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18864         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18865         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18866         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18874
18875 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18876
18877         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18878
18879 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18880
18881         * benchtests/Makefile (bench): Add exp2 and log2.
18882         (LDLIBS-bench-exp2): Add -lm.
18883         (LDLIBS-bench-log2): Likewise.
18884         * benchtests/exp2-inputs: New inputs file.
18885         * benchtests/log2-inputs: New inputs file.
18886         * benchtests/log-inputs: Add new inputs.
18887         * benchtests/tan-inputs: Likewise.
18888
18889 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18890
18891         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18892         definition...
18893         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18894         (csloww2): ... from here.
18895
18896         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18897         instead of structures.
18898         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18899         (POLYNOMIAL): Likewise.
18900         (TAYLOR_SLOW): Likewise.
18901         (__sin): Likewise.
18902         (__cos): Likewise.
18903         (slow1): Likewise.
18904         (slow2): Likewise.
18905         (sloww): Likewise.
18906         (sloww1); Likewise.
18907         (sloww2): Likewise.
18908         (bsloww1): Likewise.
18909         (bsloww2): Likewise.
18910         (cslow2): Likewise.
18911         (csloww): Likewise.
18912         (csloww1): Likewise.
18913         (csloww2): Likewise.
18914
18915 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18916
18917         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18918         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18919         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18920         * malloc/hooks.c (realloc_check): Likewise.
18921
18922         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18923         * malloc/arena.c: Remove PER_THREAD conditional.
18924         [!PER_THREAD]: Remove code.
18925         (ptmalloc_unlock_all2): Likewise.
18926         (ptmalloc_init): Likewise.
18927         (_int_new_arena): Likewise.
18928         (arena_get2): Likewise.
18929         * malloc/hooks.c (__malloc_get_state): Likewise.
18930         (__malloc_set_state): Likewise.
18931         * malloc/malloc.c: Likewise.
18932         (struct malloc_state): Likewise.
18933         (struct malloc_par): Likewise.
18934         (__libc_realloc): Likewise.
18935         (__libc_mallopt): Likewise.
18936
18937 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18938
18939         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18940
18941 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18942
18943         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18944         macro to a function.  Check for zero perturb_byte.
18945         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18946
18947         * malloc/malloc.c: (force_reg): Remove.
18948         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18949         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18950         force_reg by atomic_forced_read.
18951         * malloc/arena.c (ptmalloc_init): Likewise.
18952         * malloc/hooks.c (top_check): Likewise.
18953
18954 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18955
18956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18957
18958 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18959
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18961
18962 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18963
18964         * math/auto-libm-test-in: Add tests of lgamma.
18965         * math/auto-libm-test-out: Regenerated.
18966         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18967         (M_LOG_2_SQRT_PIl): Likewise.
18968         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18970         mpfr_f_f1.
18971         (func_calc_desc): Add mpfr_f_f1 union field.
18972         (ARGS1): New macro.
18973         (ARGS2): Likewise.
18974         (ARGS3): Likewise.
18975         (ARGS4): Likewise.
18976         (RET1): Likewise.
18977         (RET2): Likewise.
18978         (CALC): Likewise.
18979         (FUNC): Likewise.
18980         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18981         (test_functions): Add lgamma.
18982         (calc_generic_results): Handle mpfr_f_f1.
18983         * sysdeps/i386/fpu/libm-test-ulps: Update.
18984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18985
18986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18987
18988         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18989         __mpn_add_n for PowerPC64/POWER7.
18990         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18991         __mpn_sub_n for PowerPC64/POWER7.
18992
18993         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18994         __mpn_addmul_1 for PowerPC64.
18995         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18996         __mpn_submul_1 for PowerPC64.
18997         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18998         for PowerPC64.
18999         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19000         for PowerPC64.
19001
19002 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19003
19004         [BZ #15089]
19005         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19006
19007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19008
19009         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19010
19011         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19012         add multiarch folders.
19013         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19014         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19015         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19016         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19017         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19018         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19019         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19020         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19021         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19022         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19023         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19030
19031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19032         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19034         New file.
19035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19036         New file.
19037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19038         multiarch __ieee754_hypot for PowerPC32.
19039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19040         New file.
19041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19042         New file.
19043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19044         multiarch __ieee754_hypotf for PowerPC32.
19045
19046         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19047         long_double_symbol only if __logbl is defined.
19048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19049         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19051         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19053         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19055         path for implementation.
19056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19059         logb, and logbl multiarch implementations for PowerPC32.
19060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19061         file.
19062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19063         file.
19064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19065         multiarch logb for PowerPC32.
19066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19067         file.
19068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19069         file.
19070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19071         multiarch logbf for PowerPC32.
19072         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19074         file.
19075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19076         multiarch logbl implementation for PowerPC32.
19077
19078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19079         and modff multiarch implementations.
19080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19081         New file.
19082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19083         New file.
19084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19085         multiarch modf for PowerPC32.
19086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19087         New file.
19088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19089         New file.
19090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19091         multiarch modff for PowerPC32.
19092
19093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19094         and lrintf multiarch implementations.
19095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19096         New file.
19097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19098         New file.
19099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19100         multiarch lrint for PowerPC32.
19101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19102         file: multiarch lrintf for PowerPC32.
19103
19104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19105         and lroundf multiarch implementations.
19106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19107         New file.
19108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19109         New file.
19110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19111         New file.
19112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19113         multiarch lround for PowerPC32.
19114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19115         file: multiarch lroundf for PowerPC32.
19116
19117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19118         copysign and copysignf multiarch implementations.
19119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19120         New file.
19121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19122         New file.
19123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19124         file: multiarch copysign for PowerPC32.
19125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19126         file: multiarch copysignf for PowerPC32.
19127
19128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19129         and truncf multiarch implementations.
19130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19131         New file.
19132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19133         file.
19134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19135         multiarch trunc for PowerPC32.
19136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19137         New file.
19138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19139         New file.
19140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19141         multiarch truncf for PowerPC32.
19142
19143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19144         and roundf multiarch implementations.
19145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19146         New file.
19147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19148         file.
19149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19150         multiarch round for PowerPC32.
19151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19152         New file.
19153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19154         New file.
19155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19156         multiarch roundf for PowerPC32.
19157
19158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19159         and floorf multiarch implementations.
19160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19161         New file.
19162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19163         file.
19164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19165         multiarch floor for PowerPC32.
19166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19167         New file.
19168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19169         New file.
19170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19171         multiarch floorf for PowerPC32.
19172
19173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19174         and ceilf multiarch implementations.
19175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19176         New file.
19177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19178         file.
19179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19180         multiarch ceil for PowerPC32.
19181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19182         New file.
19183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19184         file.
19185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19186         multiarch ceilf for PowerPC32.
19187
19188         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19189         is defined.
19190         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19191         FINITEF is defined.
19192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19193         and finitef multiarch implementations.
19194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19195         New file.
19196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19197         file.
19198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19199         multiarch finite for PowerPC32.
19200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19201         New file.
19202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19203         file: multiarch finitef for PowerPC32.
19204
19205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19206         and isinff multiarch implementations.
19207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19208         file.
19209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19210         file.
19211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19212         multiarch isinf for PowerPC32.
19213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19214         New file.
19215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19216         multiarch isinff for PowerPC32.
19217
19218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19219         alias when __isnan is defined.
19220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19221         and isnanf multiarch implementations.
19222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19223         file.
19224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19225         file.
19226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19227         file.
19228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19229         file.
19230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19231         multiarch isnan for PowerPC32.
19232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19233         New file.
19234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19235         New file.
19236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19237         multiarch isnanf for PowerPC32.
19238
19239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19240         and sqrtf multiarch implementations.
19241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19242         file.
19243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19244         file.
19245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19246         multiarch sqrt for PowerPC32.
19247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19248         file.
19249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19250         file.
19251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19252         multiarch sqrtf for PowerPC32.
19253
19254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19255         and llroundf multiarch implementations.
19256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19257         New file.
19258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19259         New file.
19260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19261         New file.
19262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19263         file: multiarch llround for PowerPC32.
19264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19265         file: multiarch llroundf for PowerPC32.
19266
19267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19268         multiarch PowerPC32 fpu implementations.
19269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19270         New file.
19271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19272         New file.
19273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19274         multiarch llrint for PowerPC32.
19275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19276         New file.
19277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19278         New file.
19279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19280         file.
19281
19282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19283
19284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19285         file.
19286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19287         file.
19288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19289         file.
19290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19291         multiarch wordcopy for PPC32.
19292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19293         wordcopy objects.
19294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19295         (__libc_ifunc_impl_list): Likewise.
19296         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19297         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19298         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19299         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19300         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19301         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19302
19303         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19305         file.
19306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19307         file.
19308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19309         file.
19310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19311         multiarch wcscpy for PPC32.
19312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19313         multiarch objects.
19314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19315         (__libc_ifunc_impl_list): Likewise.
19316         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19317         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19318         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19319         sysdeps/powerpc/power6/wcscpy.c.
19320
19321         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19323         file.
19324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19325         file.
19326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19327         file.
19328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19329         multiarch wcsrchr for PPC32.
19330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19331         multiarch objects.
19332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19333         (__libc_ifunc_impl_list): Likewise.
19334         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19335         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19336         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19337         sysdeps/powerpc/power6/wcsrchr.c.
19338
19339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19340         file.
19341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19342         file.
19343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19345         multiarch wcschr for PPc32.
19346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19347         multiarch objects.
19348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19349         (__libc_ifunc_impl_list): Likewise.
19350         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19351         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19352         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19353         sysdeps/powerpc/power6/wcschr.c.
19354
19355         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19357         file.
19358         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19359         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19360         file: multiarch strchr for PPC32.
19361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19362         multiarch objects.
19363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19364         (__libc_ifunc_impl_list): Likewise.
19365
19366         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19367         name.
19368         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19369         file.
19370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19371         file.
19372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19373         multiarch strchrnul for PPC32.
19374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19375         multiarch objects.
19376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19377         (__libc_ifunc_impl_list): Likewise.
19378
19379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19380         file.
19381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19382         multiarch strncasecmp for PPC32.
19383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19384         file.
19385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19386         multiarch strncasecmp_l for PPC32.
19387         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19388         strncasecmp multiarch objects.
19389         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19390         (__libc_ifunc_impl_list): Likewise.
19391
19392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19393         file.
19394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19395         multiarch strncasecmp for PPC32.
19396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19397         New file.
19398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19399         multiarch strcasecmp_l for PPC32.
19400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19401         multiarch objects.
19402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19403         (__libc_ifunc_impl_list): Likewise.
19404
19405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19406         file.
19407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19408         file.
19409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19410         multiarch strncmp for PPC32.
19411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19412         multiarch objects.
19413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19414         (__libc_ifunc_impl_list): Likewise.
19415
19416         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19417         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19418         file.
19419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19422         multiarch objects.
19423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19424         (__libc_ifunc_impl_list): Likewise.
19425
19426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19427         file.
19428         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19429         file.
19430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19432         multiarch objects.
19433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19434         (__libc_ifunc_impl_list): Likewise.
19435
19436         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19437         file.
19438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19439         file.
19440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19441         multiarch rawmemchr for PPC32.
19442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19443         multiarch objects.
19444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19445         (__libc_ifunc_impl_list): Likewise.
19446
19447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19448         file.
19449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19450         file.
19451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19452         file: memrchr multiarch for PPC32.
19453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19454         multiarch objects.
19455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19456         (__libc_ifunc_impl_list): Likewise.
19457
19458         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19460         file.
19461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19463         multiarch memchr for PPC32.
19464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19465         multiarch objects.
19466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19467         (__libc_ifunc_impl_list): Likewise.
19468
19469         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19471         file.
19472         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19473         file.
19474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19475         file: multiarch mempcpy for PPC32.
19476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19477         multiarch objects.
19478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19479         (__libc_ifunc_impl_list): Likewise.
19480
19481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19485         multiarch bzero for PPC32.
19486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19487         file.
19488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19489         file.
19490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19491         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19492         file: multiarch memset for PPC32.
19493         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19495         memset multiarch objects.
19496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19497         (__libc_ifunc_impl_list): Likewise.
19498
19499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19500         file.
19501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19503         memcmp for PPC32.
19504         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19506         multiarch objects.
19507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19508         (__libc_ifunc_impl_list): Likewise.
19509
19510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19513         file.
19514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19515         file.
19516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19517         file.
19518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19519         multiarch memcpy for PPC32.
19520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19521         multiarch objects.
19522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19523         (__libc_ifunc_impl_list): Likewise.
19524
19525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19526         support multiarch for POWER/PPC32.
19527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19528         Likewise.
19529         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19531         Implies file to make multiarch folder appers before the fpu and
19532         default folder for power4 configuration.
19533
19534 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19535
19536         * scripts/bench.pl: Append volatile keyword to type.
19537
19538 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19539
19540         * sysdeps/sh/sotruss-lib.c: New file.
19541         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19542
19543 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19544
19545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19546
19547 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19548
19549         [BZ #6810]
19550         * math/w_tgamma.c: Include <errno.h>.
19551         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19552         * math/w_tgammaf.c: Include <errno.h>.
19553         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19554         * math/w_tgammal.c: Include <errno.h>.
19555         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19556         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19557         underflow.  Add more tgamma tests.
19558         * math/auto-libm-test-out: Regenerated.
19559         * sysdeps/i386/fpu/libm-test-ulps: Update.
19560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561
19562         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19563         sin, sinh, tan, tanh, tgamma, y0 and y1.
19564         * math/auto-libm-test-out: Regenerated.
19565         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19566         (TEST_COND_x86): Likewise.
19567         (M_E2l): Remove macro.
19568         (M_E3l): Likewise.
19569         (M_2_SQRT_PIl): Likewise.
19570         (M_SQRT_PIl): Likewise.
19571         (M_1_DIV_El): Likewise.
19572         (log_test_data): Use AUTO_TESTS_f_f.
19573         (log10_test_data): Likewise.
19574         (log1p_test_data): Likewise.
19575         (log2_test_data): Likewise.
19576         (sin_test_data): Likewise.
19577         (sin_tonearest_test_data): Likewise.
19578         (sin_towardzero_test_data): Likewise.
19579         (sin_downward_test_data): Likewise.
19580         (sin_upward_test_data): Likewise.
19581         (sinh_test_data): Likewise.
19582         (sinh_tonearest_test_data): Likewise.
19583         (sinh_towardzero_test_data): Likewise.
19584         (sinh_downward_test_data): Likewise.
19585         (sinh_upward_test_data): Likewise.
19586         (tan_test_data): Likewise.
19587         (tan_tonearest_test_data): Likewise.
19588         (tan_towardzero_test_data): Likewise.
19589         (tan_downward_test_data): Likewise.
19590         (tan_upward_test_data): Likewise.
19591         (tanh_test_data): Likewise.
19592         (tgamma_test_data): Likewise.
19593         (y0_test_data): Likewise.
19594         (y1_test_data): Likewise.
19595         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19596         (special_real_inputs): Add pi/4.
19597         * sysdeps/i386/fpu/libm-test-ulps: Update.
19598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599
19600 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19601
19602         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19603         "longjmp_target" static probes.
19604         (__longjmp): Rename to __longjmp_symbol.
19605         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19606         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19607         on which longjmp to generate.
19608         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19609         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19610         probe.
19611         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19612         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19613         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19614         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19615         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19618         __longjmp_symbol based on which __longjmp to generate.
19619         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19620         probe.
19621         (setjmp): Rename to setjmp_symbol.
19622         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19623         (_setjmp): Rename to _setjmp_symbol.
19624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19625         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19626         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19627         which setjmp to generate.
19628         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19629         "longjmp_target" static probes.
19630
19631 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19632
19633         * benchtests/README: Add note about output arguments.
19634         * benchtests/bench-sincos.c: Remove file.
19635         * benchtests/sincos-inputs: New file.
19636         * scripts/bench.pl: Identify output arguments and define
19637         static variables for them.
19638
19639         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19640
19641         [BZ #15941]
19642         * Makefile (INSTALL): Add install-plain.texi as the primary
19643         dependency.
19644         * manual/install-plain.texi: New file.
19645         * manual/install.texi: Include node directive only for
19646         non-plaintext output.
19647
19648 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19649
19650         * stdlib/longlong.h: Update from GCC.
19651
19652         [BZ #6807]
19653         [BZ #15901]
19654         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19655         * math/w_j0f.c (y0f): Likewise.
19656         * math/w_j0l.c (__y0l): Likewise.
19657         * math/w_j1.c (y1): Likewise.
19658         * math/w_j1f.c (y1f): Likewise.
19659         * math/w_j1l.c (__y1l): Likewise
19660         * math/w_jn.c (yn): Likewise.
19661         * math/w_jnf.c (ynf): Likewise.
19662         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19663         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19664         value for Bessel function domain errors outside _SVID_ mode.
19665         Adjust sign of return value for yn (negative integer, 0).
19666         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19667         by zero in return for negative x and set sign appropriately for
19668         negative n.
19669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19671         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19672         expectations in error cases.
19673         (y1_test_data): Likewise.
19674         (yn_test_data): Likewise.
19675         * sysdeps/i386/fpu/libm-test-ulps: Update.
19676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19677
19678 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19679
19680         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19681         "64" to "64-v1".  Add "64-v2".
19682         (abi-64-options): Rename to ...
19683         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19684         (abi-64-condition): Rename to ...
19685         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19686         (abi-64-ld-soname): Rename to ...
19687         (abi-64-v1-ld-soname): ... this.
19688         (abi-64-v2-options): Define.
19689         (abi-64-v2-condition): Likewise.
19690         (abi-64-v2-ld-soname): Likewise.
19691         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19692         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19696
19697 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19698             Alan Modra  <amodra@gmail.com>
19699
19700         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19701         New versions for use with the ELFv2 ABI.
19702         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19703         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19704         declaration.
19705         (struct La_ppc64v2_retval): Likewise.
19706         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19707         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19708         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19709         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19710         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19712         Do not save or restore CR.
19713         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19714         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19715         return values for ELFv2 ABI.  Fix location of FPR return registers.
19716         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19717         updated values for _CALL_ELF == 2.
19718         (La_regs, La_retval, int_retval): Likewise.
19719
19720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19721
19722         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19723         (FRAME_MIN_SIZE_PARM): Likewise.
19724         (FRAME_BACKCHAIN): Likewise.
19725         (FRAME_CR_SAVE): Likewise.
19726         (FRAME_LR_SAVE): Likewise.
19727         (FRAME_TOC_SAVE): Likewise.
19728         (FRAME_PARM_SAVE): Likewise.
19729         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19730         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19731         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19732         (call_mcount_parm_offset): New macro.
19733         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19734         (PROF): Use symbolic stack frame offsets.
19735         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19737         Redefine in terms of FRAME_MIN_SIZE.
19738         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19739         (_dl_profile_resolve): Likewise.  Update comment.
19740         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19741         symbols stack frame offsets.
19742         (__sigsetjmp): Likewise.
19743         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19744         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19745         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19746         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19747
19748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19749         (FRAME_BACKCHAIN): Remove.
19750         (FRAME_CR_SAVE): Likewise.
19751         (FRAME_LR_SAVE): Likewise.
19752         (FRAME_COMPILER_DW): Likewise.
19753         (FRAME_LINKER_DW): Likewise.
19754         (FRAME_TOC_SAVE): Likewise.
19755         (FRAME_PARM_SAVE): Likewise.
19756         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19757         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19758         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19760         (CHECK_SP): Use symbolic stack frame offsets.
19761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19762         zone" instead of caller's parameter save area for temp storage.
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19764         Likewise.  Also, use symbolic stack frame offsets.
19765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19766         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19767         our own stack frame instead of the caller's.
19768         (__socket): Use symbolic stack frame offsets.
19769
19770 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19771             Alan Modra  <amodra@gmail.com>
19772
19773         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19774         Define.
19775         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19776         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19777         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19778         New function.
19779         (elf_machine_fixup_plt): Call it.
19780         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19781         reloc arguments.
19782         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19784         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19785         r2 before calling target.
19786
19787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19788             Alan Modra  <amodra@gmail.com>
19789
19790         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19791         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19792         versions of macros to support ELFv2 ABI.
19793         (LOCALENTRY): New macro.
19794         (ENTRY, EALIGN): Use it.
19795         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19796         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19797         fall through into ENTRY entry point.
19798         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19799         Only define if _CALL_ELF != 2.
19800
19801         (elf_machine_matches_host): Verify ABI version matches.
19802         (RTLD_START): Use LOCALENTRY.
19803         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19804         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19805         (PLT_ENTRY_WORDS): New macro.
19806         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19807         (elf_machine_runtime_setup): Support ELFv2 ABI.
19808         (elf_machine_fixup_plt): Likewise.
19809         (elf_machine_plt_conflict): Likewise.
19810         (resolve_ifunc): Likewise.
19811         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19813         Likewise.
19814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19815         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19817         (makecontext): Support ELFv2 ABI.
19818         * elf/elf.h (EF_PPC64_ABI): Define.
19819
19820 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19821
19822         * sysdeps/powerpc/powerpc64/sysdep.h
19823         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19824         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19825         (ENTRY) [ASSEMBLER]: ... but instead here ...
19826         (EALIGN) [ASSEMBLER]: ... and here.
19827         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19828         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19829         (ENTRY_2) [!ASSEMBLER]: Use it.
19830         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19831         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19832         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19833         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19834         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19836         Use PPC64_LOAD_FUNCPTR.
19837
19838         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19839
19840 2013-12-04  Alan Modra  <amodra@gmail.com>
19841
19842         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19843         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19844         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19845         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19846
19847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19848         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19849         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19850         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19851         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19852         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19853
19854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19855
19856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19857         (__makecontext): Fix incorrect CFI when backtracing out of
19858         context created via makecontext.
19859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19860         (__setcontext): Fix incorrect CFI during switch to new context.
19861         (__novec_setcontext): Likewise.
19862
19863 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19864
19865         [BZ #4772]
19866         * time/strptime_l.c (__strptime_internal): Allow modifiers
19867         in strptime.
19868         * time/tst-strptime.c (day_tests): Add testcase.
19869
19870 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19871
19872         * scripts/bench.pl: Skip over blank lines.
19873
19874 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19875
19876         [BZ #926]
19877         * manual/time.texi (Calendar Time): Clarify what timezone functions
19878         use.
19879
19880 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19881
19882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19883
19884 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19885
19886         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19887         implementation.
19888         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19889         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19890         * debug/memset_chk.c (__memset_chk): Likewise.
19891         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19892         * debug/strncpy_chk.c: Likewise.
19893
19894 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19895
19896         [BZ #15268]
19897         [BZ #15425]
19898         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19899         (__ieee754_exp): For possibly underflowing results, check size of
19900         result and force underflow exception if required.
19901         * math/auto-libm-test-in: Add more tests of exp.
19902         * math/auto-libm-test-out: Regenerated.
19903         * sysdeps/i386/fpu/libm-test-ulps: Update.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19905
19906         [BZ #16283]
19907         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19908         * math/w_exp2f.c (__exp2f): Likewise.
19909         * math/w_exp2l.c (__exp2l): Likewise.
19910         * math/auto-libm-test-in: Do not allow missing errno on exp2
19911         underflow.
19912         * math/auto-libm-test-out: Regenerated.
19913
19914 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19915
19916         [BZ #16274]
19917         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19918         handle filename validation.
19919         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19920         (do_open): Delete.
19921
19922 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19923
19924         [BZ #6786]
19925         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19926         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19927         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19928         <float.h>.
19929         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19930         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19931         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19932         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19933         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19934         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19936         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19937         Add more erfc tests.
19938         * math/auto-libm-test-out: Regenerated.
19939         * sysdeps/i386/fpu/libm-test-ulps: Update.
19940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19941
19942         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19943         exp2, expm1, j0 and j1.
19944         * math/auto-libm-test-out: Regenerated.
19945         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19946         (erfc_test_data): Likewise.
19947         (exp_test_data): Likewise.
19948         (exp_tonearest_test_data): Likewise.
19949         (exp_towardzero_test_data): Likewise.
19950         (exp_downward_test_data): Likewise.
19951         (exp_upward_test_data): Likewise.
19952         (exp10_test_data): Likewise.
19953         (exp2_test_data): Likewise.
19954         (expm1_test_data): Likewise.
19955         (j0_test_data): Likewise.
19956         (j1_test_data): Likewise.
19957         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19958         (input_flag_type): Add flag_xfail_rounding.
19959         (input_flags): Add xfail-rounding.
19960         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19961         (output_for_one_input_case): Handle flag_xfail_rounding.
19962         * sysdeps/i386/fpu/libm-test-ulps: Update.
19963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964
19965 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19966
19967         [BZ #16289]
19968         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19969         division by 0.
19970
19971 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19972
19973         [BZ #16195]
19974         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19975         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19976         (STAP_PROBE0): New macro.
19977         (STAP_PROBE1): Likewise.
19978         (STAP_PROBE2): Likewise.
19979         (STAP_PROBE3): Likewise.
19980         (STAP_PROBE4): Likewise.
19981
19982 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19983
19984         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19985
19986 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19987
19988         * benchtests/Makefile (bench): Add sqrt.
19989         (LDLIBS-bench-sqrt): New.
19990         * benchtests/sqrt-input: New.
19991
19992 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19993
19994         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19995         (GAIH_EAI): Likewise.
19996         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19997         (gaih_inet): Likewise.
19998         (getaddrinfo): Don't use GAIH_EAI.
19999
20000         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20001         (struct gaih): Remove definition.
20002
20003 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20004
20005         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20006         Use HERRNOP directly.
20007
20008 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20009
20010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20011
20012 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20013
20014         * math/gen-auto-libm-tests.c (test_functions): Add more
20015         single-argument functions.
20016         (special_fill_pi_2): New function.
20017         (special_fill_minus_pi_2): Likewise.
20018         (special_fill_pi_6): Likewise.
20019         (special_fill_minus_pi_6): Likewise.
20020         (special_fill_pi_3): Likewise.
20021         (special_fill_2pi_3): Likewise.
20022         (special_fill_e): Likewise.
20023         (special_fill_1_e): Likewise.
20024         (special_fill_e_minus_1): Likewise.
20025         (special_real_inputs): Add more special inputs.
20026         (output_for_one_input_case): Do not require ERANGE on underflow to
20027         zero if round-to-nearest result does not underflow to zero, unless
20028         exact results required.
20029         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20030         atan, atanh, cbrt, cos and cosh.
20031         * math/auto-libm-test-out: Regenerated.
20032         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20033         (acos_tonearest_test_data): Likewise.
20034         (acos_towardzero_test_data): Likewise.
20035         (acos_downward_test_data): Likewise.
20036         (acos_upward_test_data): Likewise.
20037         (acosh_test_data): Likewise.
20038         (asin_test_data): Likewise.
20039         (asin_tonearest_test_data): Likewise.
20040         (asin_towardzero_test_data): Likewise.
20041         (asin_upward_test_data): Likewise.
20042         (asinh_test_data): Likewise.
20043         (atan_test_data): Likewise.
20044         (atanh_test_data): Likewise.
20045         (cbrt_test_data): Likewise.
20046         (cos_test_data): Likewise.
20047         (cos_tonearest_test_data): Likewise.
20048         (cos_towardzero_test_data): Likewise.
20049         (cos_downward_test_data): Likewise.
20050         (cos_upward_test_data): Likewise.
20051         (cosh_test_data): Likewise.
20052         (cosh_tonearest_test_data): Likewise.
20053         (cosh_towardzero_test_data): Likewise.
20054         (cosh_downward_test_data): Likewise.
20055         (cosh_upward_test_data): Likewise.
20056         * sysdeps/i386/fpu/libm-test-ulps: Update.
20057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058
20059 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20060
20061         [BZ #6787]
20062         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20063         * math/w_exp10f.c (__exp10f): Likewise.
20064         * math/w_exp10l.c (__exp10l): Likewise.
20065         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20066         errno settings in existing tests.
20067
20068         [BZ #14032]
20069         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20070         precision control set to double precision.
20071         * sysdeps/i386/fpu/w_sqrt.c: New file.
20072         * math/auto-libm-test-in: Add more tests.
20073         * math/auto-libm-test-out: Update.
20074
20075         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20076         (sqrt_test_tonearest): New function.
20077         (sqrt_towardzero_test_data): New variable.
20078         (sqrt_test_towardzero): New function.
20079         (sqrt_downward_test_data): New variable.
20080         (sqrt_test_downward): New function.
20081         (sqrt_upward_test_data): New variable.
20082         (sqrt_test_upward): New function.
20083         (main): Call the new functions.
20084
20085         * math/gen-auto-libm-tests.c: New file.
20086         * math/auto-libm-test-in: Likewise.
20087         * math/auto-libm-test-out: New generated file.
20088         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20089         variables.
20090         (%beautify): Add generated representations of zero.
20091         (top level): Set $auto_input and call parse_auto_input.
20092         (beautify): Remove trailing "f" from hex float constants.
20093         (parse_args): Handle XFAIL_TEST.
20094         (convert_condition): New function.
20095         (or_value): Likewise.
20096         (or_cond_value): Likewise.
20097         (generate_testfile): Handle AUTO_TESTS_* lines.
20098         (parse_auto_input): New function.
20099         * math/libm-test.inc (XFAIL_TEST): New macro.
20100         (ERRNO_UNCHANGED): Update value.
20101         (ERRNO_EDOM): Likewise.
20102         (ERRNO_ERANGE): Likewise.
20103         (IGNORE_RESULT): Likewise.
20104         (TEST_COND_flt_32): New macro.
20105         (TEST_COND_dbl_64): Likewise.
20106         (TEST_COND_ldbl_96_intel): Likewise.
20107         (TEST_COND_ldbl_96_m68k): Likewise.
20108         (TEST_COND_ldbl_128): Likewise.
20109         (TEST_COND_ldbl_128ibm): Likewise.
20110         (TEST_COND_long32): Likewise.
20111         (TEST_COND_long64): Likewise.
20112         (TEST_COND_before_rounding): Likewise.
20113         (TEST_COND_after_rounding): Likewise.
20114         (enable_test): Handle XFAIL_TEST flag.
20115         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20116         with finite results.
20117         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20118         auto-libm-test-out.
20119
20120 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20121             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20122
20123         [BZ #16214]
20124         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20125         __tls_get_addr_internal instead of __tls_get_offset in order to
20126         avoid GOT pointer dependency.  Make rtld export
20127         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20128         __tls_get_addr since we are a __tls_get_offset platform.
20129         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20130         GOT pointer being set up before.
20131         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20132
20133 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20134
20135         * manual/math.texi (Errors in Math Functions): Document accuracy
20136         goals.
20137
20138         [BZ #15004]
20139         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20140         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20141         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20142         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20143         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20144         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20145         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20146         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20147         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20148         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20149         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20150         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20151         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20152         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20153         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20154         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20155
20156         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20157         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20158         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20159         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20160         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20161         Likewise.
20162         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20163         Likewise.
20164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20165         Likewise.
20166         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20167         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20168         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20169         atomic-feupdateenv and flt-rounds.
20170         * sysdeps/powerpc/nofpu/Versions (libc): Add
20171         __atomic_feholdexcept, __atomic_feclearexcept,
20172         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20173         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20174         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20175         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20176         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20177         here.
20178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20179         Update.
20180
20181         * manual/arith.texi (FP Exceptions): Document that exceptions may
20182         not be raised when matherr is used.
20183         (Math Error Reporting): Document overflow in directed rounding
20184         modes.  Document that errno may not be set when finite values are
20185         returned on overflow.  Document intent to set errno on underflow
20186         only for underflow to zero.
20187
20188         [BZ #16271]
20189         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20190         round-to-nearest then adjust result for other rounding modes.
20191         * include/fenv.h (fegetround): Use libm_hidden_proto.
20192         * math/fegetround.c (fegetround): Use libm_hidden_def.
20193         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20194         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20195         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20196         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20197         Likewise.
20198         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20199         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20200         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20201         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20202
20203 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20204
20205         [BZ #16077]
20206         * nss/Versions (libnss_files): Add
20207         _nss_files_gethostbyname3_r.
20208         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20209         New function.
20210         (HOST_DB_LOOKUP): Remove macro.
20211         (_nss_files_gethostbyname_r): Implement function without the
20212         HOST_DB_LOOKUP macro.
20213         (_nss_files_gethostbyname2_r): Likewise.
20214
20215 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20216
20217         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20218
20219 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20220
20221         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20222         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20223         warning.
20224
20225 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20226
20227         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20228         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20229         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20230         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20231         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20232         __fe_nomask_env_priv and attribute_hidden.
20233         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20234         (libc_feupdateenv_test_ppc): Likewise.
20235         (libc_feresetround_ppc): Likewise.
20236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20237         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20238         compat_symbol macro.
20239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20240         (__fe_nomask_env): Likewise.
20241         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20242
20243 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20244
20245         * string/Makefile: Remove ifunc tests.
20246         * string/test-string.h: Define TEST_IFUNC.
20247         * string/test-bcopy-ifunc.c: Remove.
20248         * string/test-bzero-ifunc.c: Likewise.
20249         * string/test-memccpy-ifunc.c: Likewise.
20250         * string/test-memchr-ifunc.c: Likewise.
20251         * string/test-memcmp-ifunc.c: Likewise.
20252         * string/test-memcpy-ifunc.c: Likewise.
20253         * string/test-memmem-ifunc.c: Likewise.
20254         * string/test-memmove-ifunc.c: Likewise.
20255         * string/test-mempcpy-ifunc.c: Likewise.
20256         * string/test-memrchr-ifunc.c: Likewise.
20257         * string/test-memset-ifunc.c: Likewise.
20258         * string/test-rawmemchr-ifunc.c: Likewise.
20259         * string/test-stpcpy-ifunc.c: Likewise.
20260         * string/test-stpncpy-ifunc.c: Likewise.
20261         * string/test-strcasecmp-ifunc.c: Likewise.
20262         * string/test-strcasestr-ifunc.c: Likewise.
20263         * string/test-strcat-ifunc.c: Likewise.
20264         * string/test-strchr-ifunc.c: Likewise.
20265         * string/test-strchrnul-ifunc.c: Likewise.
20266         * string/test-strcmp-ifunc.c: Likewise.
20267         * string/test-strcpy-ifunc.c: Likewise.
20268         * string/test-strcspn-ifunc.c: Likewise.
20269         * string/test-strlen-ifunc.c: Likewise.
20270         * string/test-strncasecmp-ifunc.c: Likewise.
20271         * string/test-strncat-ifunc.c: Likewise.
20272         * string/test-strncmp-ifunc.c: Likewise.
20273         * string/test-strncpy-ifunc.c: Likewise.
20274         * string/test-strnlen-ifunc.c: Likewise.
20275         * string/test-strpbrk-ifunc.c: Likewise.
20276         * string/test-strrchr-ifunc.c: Likewise.
20277         * string/test-strspn-ifunc.c: Likewise.
20278         * string/test-strstr-ifunc.c: Likewise.
20279
20280 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20281
20282         * benchtests/Makefile: Remove ifunc tests.
20283         * benchtests/bench-string.h: Define TEST_IFUNC.
20284         * benchtests/bench-bcopy-ifunc.c: Remove.
20285         * benchtests/bench-bzero-ifunc.c: Likewise.
20286         * benchtests/bench-memccpy-ifunc.c: Likewise.
20287         * benchtests/bench-memchr-ifunc.c: Likewise.
20288         * benchtests/bench-memcmp-ifunc.c: Likewise.
20289         * benchtests/bench-memcpy-ifunc.c: Likewise.
20290         * benchtests/bench-memmem-ifunc.c: Likewise.
20291         * benchtests/bench-memmove-ifunc.c: Likewise.
20292         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20293         * benchtests/bench-memrchr-ifunc.c: Likewise.
20294         * benchtests/bench-memset-ifunc.c: Likewise.
20295         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20296         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20297         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20298         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20299         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20300         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20301         * benchtests/bench-strcat-ifunc.c: Likewise.
20302         * benchtests/bench-strchr-ifunc.c: Likewise.
20303         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20304         * benchtests/bench-strcmp-ifunc.c: Likewise.
20305         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20306         * benchtests/bench-strcpy-ifunc.c: Likewise.
20307         * benchtests/bench-strcspn-ifunc.c: Likewise.
20308         * benchtests/bench-strlen-ifunc.c: Likewise.
20309         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20310         * benchtests/bench-strncat-ifunc.c: Likewise.
20311         * benchtests/bench-strncmp-ifunc.c: Likewise.
20312         * benchtests/bench-strncpy-ifunc.c: Likewise.
20313         * benchtests/bench-strnlen-ifunc.c: Likewise.
20314         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20315         * benchtests/bench-strrchr-ifunc.c: Likewise.
20316         * benchtests/bench-strsep-ifunc.c: Likewise.
20317         * benchtests/bench-strspn-ifunc.c: Likewise.
20318         * benchtests/bench-strstr-ifunc.c: Likewise.
20319
20320 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20321
20322         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20323
20324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20325
20326         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20327         * rt/aio.h: Likewise.
20328         * sysdeps/gnu/bits/utmp.h: Likewise.
20329         * sysdeps/gnu/bits/utmpx.h: Likewise.
20330         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20331         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20332         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20333         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20334         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20335         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20336         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20337         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20338         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20339         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20340         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20341         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20345         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20346         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20347         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20348         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20349         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20350         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20351         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20352         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20353         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20354         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20356         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20357         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20358         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20359         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20360         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20361         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20362         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20363         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20364         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20365         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20367         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20368         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20369         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20370         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20371         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20372
20373 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20374
20375         [BZ #16245]
20376         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20377         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20378
20379 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20380
20381         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20382         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20383         Likewise.
20384
20385 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20386
20387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20388         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20389         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20390         (__fesetround): Remove define.
20391         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20392         rounding and exceptions handling.
20393         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20394         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20395         (__fe_nomask_env): Likewise.
20396         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20397         __fegetround instead of fegetround.
20398         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20399         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20400
20401 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20402
20403         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20404         it's there.
20405
20406         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20407
20408 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20409
20410         [BZ #11157]
20411         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20412         (encrypt_r): Likewise.
20413         * malloc/obstack.h (obstack_free): Likewise.
20414         * posix/unistd.h (encrypt): Likewise.
20415
20416 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20417
20418         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20419         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20420         DL_CALL_DT_FINI() that call the functions directly.
20421         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20422         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20423         * elf/dl-fini.c: Likewise.
20424
20425 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20426
20427         * malloc/hooks.c (memalign_check): Add alignment rounding.
20428         * malloc/malloc.c (_mid_memalign): New function.
20429         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20430         Implement by calling _mid_memalign.
20431         * manual/probes.texi (Memory Allocation Probes): Remove
20432         memory_valloc_retry and memory_pvalloc_retry.
20433
20434 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20435
20436         * locale/programs/locarchive.c (open_archive): Add const
20437         qualifier to ARCHIVEFNAME and copy default fname to
20438         DEFAULT_FNAME.
20439
20440         [BZ #15601]
20441         * libio/tst-widetext.input: Rename Oriya to Odia.
20442         * locale/iso-639.def: Likewise.
20443
20444         * manual/probes.texi (Mathematical Function Probes): Add
20445         documentation for sin, cos, asin and acos probes.
20446         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20447         (__sin32): Add slowasin probe.
20448         (__cos32): Add slowacos probe.
20449         (__mpsin): Add slowsin probe.
20450         (__mpcos): Add slowcos probe.
20451
20452 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20453
20454         [BZ #15483]
20455         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20456         thread-local __sim_exceptions_thread and global
20457         __sim_exceptions_global.
20458         (__sim_disabled_exceptions): Change to thread-local
20459         __sim_disabled_exceptions_thread and global
20460         __sim_disabled_exceptions_global.
20461         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20462         and global __sim_round_mode_global.
20463         (__simulate_exceptions): Use thread-local floating-point state and
20464         set global state from it as needed.
20465         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20466         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20467         __sim_round_mode_thread.
20468         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20469         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20470         and global __sim_exceptions_global.
20471         (__sim_disabled_exceptions): Change to thread-local
20472         __sim_disabled_exceptions_thread and global
20473         __sim_disabled_exceptions_global.
20474         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20475         and global __sim_round_mode_global.
20476         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20477         (SIM_SET_GLOBAL): Likewise.
20478         * sysdeps/powerpc/soft-fp/sfp-machine.h
20479         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20480         __sim_round_mode_thread.
20481         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20482         __sim_disabled_exceptions_thread.
20483         (__sim_exceptions): Change to __sim_exceptions_thread.
20484         (__sim_disabled_exceptions): Change to
20485         __sim_disabled_exceptions_thread.
20486         (__sim_round_mode): Change to __sim_round_mode_thread.
20487         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20488         thread-local floating-point state and set global state from it as
20489         needed.
20490         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20491         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20492         (__sim_disabled_exceptions): Remove extern declaration.
20493         (feenableexcept): Use thread-local floating-point state and set
20494         global state from it as needed.
20495         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20496         extern declaration.
20497         (__sim_disabled_exceptions): Likewise.
20498         (__sim_round_mode): Likewise.
20499         (__fegetenv): Use thread-local floating-point state.
20500         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20501         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20502         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20503         floating-point state and set global state from it as needed.
20504         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20505         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20506         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20507         Likewise.
20508         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20509         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20510         Likewise.
20511         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20512         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20513         Use __sim_round_mode_thread.
20514         * math/test-fenv-tls.c: New file.
20515         * math/Makefile (tests): Add test-fenv-tls.
20516         ($(objpfx)test-fenv-tls): Depend on
20517         $(common-objpfx)nptl/libpthread.so.
20518
20519 2013-11-19  Andreas Schwab  <schwab@suse.de>
20520
20521         * locale/programs/locale.c (show_info): Decode wordarray elements.
20522         * locale/categories.def (LC_MONETARY): Add element for
20523         _NL_MONETARY_CRNCYSTR.
20524         * locale/C-monetary.c (conversion_rate): New variable.
20525         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20526         element.
20527
20528 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20529
20530         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20531         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20532
20533 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20534
20535         * elf/Makefile (tst-auxv): New test.
20536         * elf/tst-auxv.c: New
20537         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20538
20539 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20540
20541         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20542         (hidden_proto): Caller changed.
20543         (hidden_tls_proto): New macro.
20544         (libc_hidden_tls_proto): Likewise.
20545         (rtld_hidden_tls_proto): Likewise.
20546         (libm_hidden_tls_proto): Likewise.
20547         (libresolv_hidden_tls_proto): Likewise.
20548         (librt_hidden_tls_proto): Likewise.
20549         (libdl_hidden_tls_proto): Likewise.
20550         (libnss_files_hidden_tls_proto): Likewise.
20551         (libnsl_hidden_tls_proto): Likewise.
20552         (libnss_nisplus_hidden_tls_proto): Likewise.
20553         (libutil_hidden_tls_proto): Likewise.
20554
20555 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20556
20557         [BZ #10253]
20558         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20559         (decompose_rpath): Defer expansion to fillin_rpath.
20560         (_dl_init_paths): Pass linkmap to fillin_rpath.
20561
20562 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20563
20564         * benchtests/Makefile: Add strsep.
20565         * benchtests/bench-strsep.c: New file: strsep benchtest.
20566         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20567
20568 2013-11-18  Andreas Schwab  <schwab@suse.de>
20569
20570         * locale/programs/locale.c (show_info) [case byte]: Check for
20571         '\377' instead of '\177'.
20572         * locale/C-monetary.c (not_available): Always use "\377".
20573         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20574         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20575         detect unavailable sign_posn locale elements.
20576         * locale/localeconv.c (__localeconv): For grouping and
20577         mon_grouping handle "\177" and "\377" like no grouping.
20578         (INT_ELEM): New macro.  Use it to set all numeric members.
20579         * locale/programs/ld-monetary.c (monetary_read)
20580         <tok_mon_grouping>: Normalize single -1 to the empty string.
20581         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20582         Likewise.
20583
20584 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20585
20586         [BZ #16055]
20587         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20588         when we match (nil).
20589         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20590
20591 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20592
20593         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20594         (NO_TEST_INLINE): Update value.
20595         (ERRNO_UNCHANGED): Likewise.
20596         (ERRNO_EDOM): Likewise.
20597         (ERRNO_ERANGE): Likewise.
20598         (IGNORE_RESULT): Likewise.
20599         (check_float_internal): Check signs of NaN results if
20600         TEST_NAN_SIGN used.
20601         (check_complex): Pass TEST_NAN_SIGN flag through to second
20602         check_float_internal call.
20603         (copysign_test_data): Add tests with quiet NaNs as second
20604         argument.  Use TEST_NAN_SIGN.
20605         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20606         TEST_NAN_SIGN.
20607         (signbit_test_data): Add tests of quiet NaN argument.
20608         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20609
20610         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20611         $ignore_result.
20612         (parse_args): Handle function results specified as IGNORE.
20613         * math/libm-test.inc (IGNORE_RESULT): New macro.
20614         (check_float_internal): Do not check numerical result if flag
20615         IGNORE_RESULT set.
20616         (check_complex): Pass through IGNORE_RESULT to second
20617         check_float_internal call.
20618         (check_int): Do not check numerical result if flag IGNORE_RESULT
20619         set.
20620         (check_long): Likewise.
20621         (check_bool): Likewise.
20622         (check_longlong): Likewise.
20623         (lrint_test_data): Add tests of infinite and NaN arguments.
20624         (lrint_tonearest_test_data): Likewise.
20625         (lrint_towardzero_test_data): Likewise.
20626         (lrint_downward_test_data): Likewise.
20627         (lrint_upward_test_data): Likewise.
20628         (llrint_test_data): Likewise.
20629         (llrint_tonearest_test_data): Likewise.
20630         (llrint_towardzero_test_data): Likewise.
20631         (llrint_downward_test_data): Likewise.
20632         (llrint_upward_test_data): Likewise.
20633         (lround_test_data): Likewise.
20634         (llround_test_data): Likewise.
20635
20636         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20637         (ERRNO_UNCHANGED): Update value.
20638         (ERRNO_EDOM): Likewise.
20639         (ERRNO_ERANGE): Likewise.
20640         (NO_TEST_INLINE_FLOAT): New macro.
20641         (NO_TEST_INLINE_DOUBLE): Likewise.
20642         (enable_test): New function.
20643         (RUN_TEST_f_f): Check enable_test before running test.
20644         (RUN_TEST_2_f): Likewise.
20645         (RUN_TEST_fff_f): Likewise.
20646         (RUN_TEST_c_f): Likewise.
20647         (RUN_TEST_f_f1): Likewise.
20648         (RUN_TEST_fF_f1): Likewise.
20649         (RUN_TEST_fI_f1): Likewise.
20650         (RUN_TEST_ffI_f1): Likewise.
20651         (RUN_TEST_c_c): Likewise.
20652         (RUN_TEST_cc_c): Likewise.
20653         (RUN_TEST_f_i): Likewise.
20654         (RUN_TEST_f_i_tg): Likewise.
20655         (RUN_TEST_ff_i_tg): Likewise.
20656         (RUN_TEST_f_b): Likewise.
20657         (RUN_TEST_f_b_tg): Likewise.
20658         (RUN_TEST_f_l): Likewise.
20659         (RUN_TEST_f_L): Likewise.
20660         (RUN_TEST_fFF_11): Likewise.
20661         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20662         conditionals.
20663         (cosh_test_data): Likewise.
20664         (exp_test_data): Likewise.
20665         (expm1_test_data): Likewise.
20666         (hypot_test_data): Likewise.
20667         (pow_test_data): Likewise.
20668         (sinh_test_data): Likewise.
20669         (tanh_test_data): Likewise.
20670         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20671         flags argument.
20672
20673         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20674         tests with quiet NaN input and output.
20675         (acosh_test_data): Likewise.
20676         (asin_test_data): Likewise.
20677         (asinh_test_data): Likewise.
20678         (atan_test_data): Likewise.
20679         (atanh_test_data): Likewise.
20680         (atan2_test_data): Likewise.
20681         (cbrt_test_data): Likewise.
20682         (cos_test_data): Likewise.
20683         (cosh_test_data): Likewise.
20684         (erf_test_data): Likewise.
20685         (erfc_test_data): Likewise.
20686         (exp_test_data): Likewise.
20687         (exp10_test_data): Likewise.
20688         (exp2_test_data): Likewise.
20689         (expm1_test_data): Likewise.
20690         (hypot_test_data): Likewise.
20691         (j0_test_data): Likewise.
20692         (j1_test_data): Likewise.
20693         (jn_test_data): Likewise.
20694         (lgamma_test_data): Likewise.
20695         (log_test_data): Likewise.
20696         (log10_test_data): Likewise.
20697         (log1p_test_data): Likewise.
20698         (log2_test_data): Likewise.
20699         (pow_test_data): Likewise.
20700         (scalb_test_data): Likewise.
20701         (sin_test_data): Likewise.
20702         (sincos_test_data): Likewise.
20703         (sinh_test_data): Likewise.
20704         (tan_test_data): Likewise.
20705         (tanh_test_data): Likewise.
20706         (tgamma_test_data): Likewise.
20707         (y0_test_data): Likewise.
20708         (y1_test_data): Likewise.
20709         (yn_test_data): Likewise.
20710
20711         [BZ #16167]
20712         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20713         argument being NaN and avoid computations with second argument in
20714         that case.
20715         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20716         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20717         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20718
20719 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20720
20721         * locale/iso-639.def: Add Chitwani Tharu (the).
20722
20723 2013-11-14  Andreas Schwab  <schwab@suse.de>
20724
20725         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20726         word instead of empty string.
20727
20728 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20729
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20731         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20733         (__fe_nomask_env): Likewise.
20734
20735 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20736
20737         * benchtests/bench-timing.h: Include time.h.
20738
20739 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20740
20741         [BZ #15997]
20742         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20743         to 3.4.0 for x32.
20744         * sysdeps/unix/sysv/linux/configure: Regenerated.
20745
20746 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20747
20748         [BZ #16151]
20749         * stdlib/strtod_l.c (round_and_return): Do not consider
20750         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20751         exponent one less than half the least subnormal exponent.
20752         * stdlib/test-strtod-round-data: Add more tests.
20753         * stdlib/tst-strtod-round.c (tests): Regenerated.
20754
20755 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20756
20757         [BZ #14143]
20758         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20759         (__fe_mask_env): Likewise.
20760         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20761         libm_hidden_proto and add function prototype.
20762         (__fe_mask_env): Add function prototype.
20763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20764         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20766         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20768         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20769
20770 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20771
20772         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20773         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20774
20775 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20776
20777         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20778         of htab_find_slot().
20779
20780 2013-11-11  David S. Miller  <davem@davemloft.net>
20781
20782         [BZ #16150]
20783         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20784         symbol in the non-vis3 case in static builds.
20785         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20786         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20787         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20788         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20789
20790 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20791
20792         [BZ #387]
20793         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20794         it is empty.
20795
20796 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20797
20798         * benchtests/Makefile: Add bench-strtod.
20799         * benchtests/bench-strtod.c: New file: strtod benchtest
20800
20801 2013-11-11  Andreas Schwab  <schwab@suse.de>
20802
20803         [BZ #16153]
20804         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20805         terminating NUL in key length.
20806
20807 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20808
20809         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20810         Add artificial ODP entry for vDSO symbol for PPC64.
20811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20812         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20813
20814 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20815
20816         [BZ #15374]
20817         * nss/getent.c (services_keys): Recognize services starting with digit.
20818
20819 2013-11-06  David S. Miller  <davem@davemloft.net>
20820
20821         [BZ #15985]
20822         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20823         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20824
20825 2013-11-06  Will Newton  <will.newton@linaro.org>
20826
20827         * manual/memory.texi (Malloc Examples): Remove register
20828         keyword from examples.
20829
20830 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20831
20832         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20833
20834 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20835
20836         [BZ #6981]
20837         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20838         depending on [__GCC_IEC_559 > 0].
20839         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20840         depending on [__GCC_IEC_559_COMPLEX > 0].
20841
20842 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20843
20844         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20845         to iso-639.def.
20846
20847 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20848
20849         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20850
20851 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20852
20853         [BZ #16112]
20854         * malloc/malloc (malloc_info): Do not handle first bin as
20855         special case.
20856
20857 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20858
20859         * locale/iso-639.def: Add Central Nahuatl (nhn).
20860
20861 2013-11-01  Bruno Haible  <bruno@clisp.org>
20862
20863         [BZ #7003]
20864         * manual/math.texi (BSD Random): Specify range upper bound as
20865         in POSIX.
20866
20867 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20868
20869         * locale/iso-639.def: Add Meadow Mari (mhr).
20870
20871 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20872
20873         [BZ #14752], [BZ #15763]
20874         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20875         Validate name.
20876         * rt/tst_shm.c: Add test for escaping directory.
20877
20878 2013-10-31  Andreas Schwab  <schwab@suse.de>
20879
20880         [BZ #15917]
20881         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20882         followed by 'x' as part of digit sequence.
20883         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20884
20885 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20886
20887         [BZ #16037]
20888         * configure.ac: allow GNU Make 4.0 and greater.
20889         * configure: Regenerated.
20890
20891 2013-10-30  Will Newton  <will.newton@linaro.org>
20892
20893         [BZ #16038]
20894         * malloc/hooks.c (memalign_check): Limit alignment to the
20895         maximum representable power of two.
20896         * malloc/malloc.c (__libc_memalign): Likewise.
20897         * malloc/tst-memalign.c (do_test): Add test for very
20898         large alignment values.
20899         * malloc/tst-posix_memalign.c (do_test): Likewise.
20900
20901 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20902
20903         [BZ #11087]
20904         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20905         (munmap_chunk): Likewise.
20906         (mremap_chunk): Likewise.
20907
20908 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20909
20910         [BZ #15799]
20911         * stdlib/div.c (div): Remove obsolete code.
20912         * stdlib/ldiv.c (ldiv): Likewise.
20913         * stdlib/lldiv.c (lldiv): Likewise.
20914
20915 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20916
20917         [BZ #16071]
20918         * nss/nss_files/files-XXX.c (get_contents_ret): New
20919         enumerator.
20920         (get_contents): New function.
20921         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20922
20923 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20924
20925         * configure.in: Moved to ...
20926         * configure.ac: ... here. Change reference to configure.in
20927         to configure.ac.
20928         * sysdeps/arm/preconfigure.ac: ... here.
20929         configure.in to configure.ac.
20930         * sysdeps/gnu/configure.in: Moved to ...
20931         * sysdeps/gnu/configure.ac: ... here.
20932         * sysdeps/i386/configure.in: Moved to ...
20933         * sysdeps/i386/configure.ac: ... here.
20934         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20935         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20936         * sysdeps/mach/configure.in: Moved to ...
20937         * sysdeps/mach/configure.ac: ... here.
20938         * sysdeps/mach/hurd/configure.in: Moved to ...
20939         * sysdeps/mach/hurd/configure.ac: ... here.
20940         * sysdeps/powerpc/configure.in: Moved to ...
20941         * sysdeps/powerpc/configure.ac: ... here.
20942         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20943         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20944         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20945         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20946         * sysdeps/s390/s390-32/configure.in: Moved to ...
20947         * sysdeps/s390/s390-32/configure.ac: ... here.
20948         * sysdeps/s390/s390-64/configure.in: Moved to ...
20949         * sysdeps/s390/s390-64/configure.ac: ... here.
20950         * sysdeps/sh/configure.in: Moved to ...
20951         * sysdeps/sh/configure.ac: ... here.
20952         * sysdeps/sparc/configure.in: Moved to ...
20953         * sysdeps/sparc/configure.ac: ... here.
20954         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20955         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20956         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20957         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20958         * sysdeps/x86_64/configure.in: Moved to ...
20959         * sysdeps/x86_64/configure.ac: ... here.
20960         * sysdeps/x86_64/preconfigure.in: Moved to ...
20961         * sysdeps/x86_64/preconfigure.ac: ... here.
20962         * aclocal.m4: Change reference to configure.in to configure.ac.
20963         * config.h.in: Likewise.
20964         * manual/install.texi: Likewise.
20965         * manual/maint.texi: Likewise.
20966         * Makefile: Likewise.
20967         * malloc/Makefile: Likewise.
20968         * nscd/Makefile: Likewise.
20969         * Makeconfig: Change reference to configure.in and
20970         preconfigure.in to configure.ac and preconfigure.ac
20971         respectively.
20972         * INSTALL: Regenerated.
20973         * configure: Likewise.
20974         * sysdeps/gnu/configure: Likewise.
20975         * sysdeps/i386/configure: Likewise.
20976         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20977         * sysdeps/mach/configure: Likewise.
20978         * sysdeps/mach/hurd/configure: Likewise.
20979         * sysdeps/powerpc/configure: Likewise.
20980         * sysdeps/powerpc/powerpc32/configure: Likewise.
20981         * sysdeps/powerpc/powerpc64/configure: Likewise.
20982         * sysdeps/s390/s390-32/configure: Likewise.
20983         * sysdeps/s390/s390-64/configure: Likewise.
20984         * sysdeps/sh/configure: Likewise.
20985         * sysdeps/sparc/configure: Likewise.
20986         * sysdeps/unix/sysv/linux/configure: Likewise.
20987         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20988         * sysdeps/x86_64/configure: Likewise.
20989         * sysdeps/x86_64/preconfigure: Likewise.
20990
20991 2013-10-29  Andreas Schwab  <schwab@suse.de>
20992
20993         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20994
20995 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20996
20997         * benchtests/pow-inputs: Add new inputs.
20998
20999         * benchtests/exp-inputs: Add new inputs.
21000
21001         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21002         conditional check for return value.
21003         (__cos32): Likewise.
21004
21005 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21006
21007         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21008         to provide a boost for large inputs with word alignment.
21009         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21010         implementation based on optimized PPC64 strcpy.
21011         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21012         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21013         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21014         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21015
21016 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21017
21018         [BZ #2801]
21019         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21020
21021 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21022
21023         [BZ #14876]
21024         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21025         * time/tst-strptime.c (day_tests): Add testcase.
21026
21027 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21028
21029         [BZ #14029]
21030         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21031
21032 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21033
21034         [BZ #16074]
21035         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21036         MAP_FAILED on error.
21037
21038 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21039
21040         [BZ #16072]
21041         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21042         heap for large requests.
21043
21044 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21045
21046         [BZ #9954]
21047         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21048         result if the result has no associated interface.
21049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21050         interface for all 127.X.Y.Z addresses.
21051
21052 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21053
21054         * locale/iso-639.def: Add Ligurian (lij)
21055
21056 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21057
21058         [BZ #15825]
21059         * sunrpc/rpc_main.c: Document rpcgen -5.
21060
21061 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21062
21063         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21064
21065 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21066
21067         [BZ #10278]
21068         * posix/glob.c: Match only directories when trailing slash is present.
21069         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21070         (main): Add testcase.
21071
21072 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21073
21074         [BZ #15670]
21075         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21076
21077 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21078
21079         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21080         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21081         AUTH_DES and cindex for FIPS 140-2.
21082         (DES Encryption): Add cindex FIPS 46-3.
21083
21084         * locale/locarchive.h (struct locarhandle): Add fname.
21085         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21086         if an optional argument was specified to --list-archive,
21087         otherwise NULL.
21088         * locale/programs/locarchive.c (show_archive_content): Take new
21089         argument fname and pass it via ah.fname to open_archive.
21090         * locale/programs/localedef.h: Update decl.
21091         (open_archive): If AH->fname is non-null, open that file
21092         rather than the default file name, and don't ignore ENOENT.
21093         (create_archive): Set AH.fname to NULL.
21094         (delete_locales_from_archive): Likewise.
21095         (add_locales_to_archive): Likewise.
21096         * locale/programs/locfile.c (write_all_categories): Likewise.
21097
21098 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21099             Aldy Hernandez  <aldyh@redhat.com>
21100
21101         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21102         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21103         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21104         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21105         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21109         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21111         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21112         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21113         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21114         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21115         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21116         Likewise.
21117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21118         Likewise.
21119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21120         Likewise.
21121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21122         Likewise.
21123         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21124         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21125         Likewise.
21126         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21127         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21128         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21129         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21130         Likewise.
21131         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21132         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21133         * sysdeps/powerpc/preconfigure: Likewise.
21134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21135         Likewise.
21136         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21137         Replace contents of file by #include of <fenv_libc.h>.
21138         * sysdeps/powerpc/soft-fp/sfp-machine.h
21139         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21140         and <sys/prctl.h>.
21141         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21154         Allow copysignl PLT reference to be missing.
21155
21156 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21157             Joseph Myers  <joseph@codesourcery.com
21158
21159         [BZ #15948]
21160         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21161         single character.
21162         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21163
21164 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165
21166         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21167         * elf/tst-tls1.c: Likewise.
21168         * elf/tst-tls10.h: Likewise.
21169         * elf/tst-tls14.c: Likewise.
21170         * elf/tst-tls2.c: Likewise.
21171         * elf/tst-tls3.c: Likewise.
21172         * elf/tst-tls4.c: Likewise.
21173         * elf/tst-tls5.c: Likewise.
21174         * elf/tst-tls6.c: Likewise.
21175         * elf/tst-tls7.c: Likewise.
21176         * elf/tst-tls8.c: Likewise.
21177         * elf/tst-tls9.c: Likewise.
21178         * elf/tst-tlsmod1.c: Likewise.
21179         * elf/tst-tlsmod13.c: Likewise.
21180         * elf/tst-tlsmod13a.c: Likewise.
21181         * elf/tst-tlsmod14a.c: Likewise.
21182         * elf/tst-tlsmod16a.c: Likewise.
21183         * elf/tst-tlsmod16b.c: Likewise.
21184         * elf/tst-tlsmod2.c: Likewise.
21185         * elf/tst-tlsmod3.c: Likewise.
21186         * elf/tst-tlsmod4.c: Likewise.
21187         * elf/tst-tlsmod5.c: Likewise.
21188         * elf/tst-tlsmod6.c: Likewise.
21189
21190 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21191
21192         [BZ #12486]
21193         * malloc/malloc.c: remove checks for statistics.
21194
21195 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21196
21197         [BZ #15277]
21198         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21199         * inet/tst-network.c: Add testcase.
21200
21201 2013-10-17  Andreas Schwab  <schwab@suse.de>
21202
21203         [BZ #15218]
21204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21205         to determine canonical name.
21206
21207 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21208
21209         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21210         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21212         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21213         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21214         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21215         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21216         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21217         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21218         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21219         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21220         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21221         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21222         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21223         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21224         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21226         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21227         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21228         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21229         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21230         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21232         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21233         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21234         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21235         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21236         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21237         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21238         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21239         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21240         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21241         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21242         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21243         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21244         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21245         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21246         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21247         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21249         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21250         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21251         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21252         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21253         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21254         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21255         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21256         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21257         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21258         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21259         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21260         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21261         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21262         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21263         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21264         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21266         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21267
21268 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21269
21270         [BZ #16041]
21271         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21272         make result into a quiet NaN.
21273
21274 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21275
21276         * soft-fp/adddf3.c: Fix horizontal whitespace.
21277         * soft-fp/addsf3.c: Likewise.
21278         * soft-fp/addtf3.c: Likewise.
21279         * soft-fp/divdf3.c: Likewise.
21280         * soft-fp/divsf3.c: Likewise.
21281         * soft-fp/divtf3.c: Likewise.
21282         * soft-fp/double.h: Likewise.
21283         * soft-fp/eqdf2.c: Likewise.
21284         * soft-fp/eqsf2.c: Likewise.
21285         * soft-fp/eqtf2.c: Likewise.
21286         * soft-fp/extenddftf2.c: Likewise.
21287         * soft-fp/extended.h: Likewise.
21288         * soft-fp/extendsfdf2.c: Likewise.
21289         * soft-fp/extendsftf2.c: Likewise.
21290         * soft-fp/extendxftf2.c: Likewise.
21291         * soft-fp/fixdfdi.c: Likewise.
21292         * soft-fp/fixdfsi.c: Likewise.
21293         * soft-fp/fixdfti.c: Likewise.
21294         * soft-fp/fixsfdi.c: Likewise.
21295         * soft-fp/fixsfsi.c: Likewise.
21296         * soft-fp/fixsfti.c: Likewise.
21297         * soft-fp/fixtfdi.c: Likewise.
21298         * soft-fp/fixtfsi.c: Likewise.
21299         * soft-fp/fixtfti.c: Likewise.
21300         * soft-fp/fixunsdfdi.c: Likewise.
21301         * soft-fp/fixunsdfsi.c: Likewise.
21302         * soft-fp/fixunsdfti.c: Likewise.
21303         * soft-fp/fixunssfdi.c: Likewise.
21304         * soft-fp/fixunssfsi.c: Likewise.
21305         * soft-fp/fixunssfti.c: Likewise.
21306         * soft-fp/fixunstfdi.c: Likewise.
21307         * soft-fp/fixunstfsi.c: Likewise.
21308         * soft-fp/fixunstfti.c: Likewise.
21309         * soft-fp/floatdidf.c: Likewise.
21310         * soft-fp/floatdisf.c: Likewise.
21311         * soft-fp/floatditf.c: Likewise.
21312         * soft-fp/floatsidf.c: Likewise.
21313         * soft-fp/floatsisf.c: Likewise.
21314         * soft-fp/floatsitf.c: Likewise.
21315         * soft-fp/floattidf.c: Likewise.
21316         * soft-fp/floattisf.c: Likewise.
21317         * soft-fp/floattitf.c: Likewise.
21318         * soft-fp/floatundidf.c: Likewise.
21319         * soft-fp/floatundisf.c: Likewise.
21320         * soft-fp/floatunditf.c: Likewise.
21321         * soft-fp/floatunsidf.c: Likewise.
21322         * soft-fp/floatunsisf.c: Likewise.
21323         * soft-fp/floatunsitf.c: Likewise.
21324         * soft-fp/floatuntidf.c: Likewise.
21325         * soft-fp/floatuntisf.c: Likewise.
21326         * soft-fp/floatuntitf.c: Likewise.
21327         * soft-fp/fmadf4.c: Likewise.
21328         * soft-fp/fmasf4.c: Likewise.
21329         * soft-fp/fmatf4.c: Likewise.
21330         * soft-fp/gedf2.c: Likewise.
21331         * soft-fp/gesf2.c: Likewise.
21332         * soft-fp/getf2.c: Likewise.
21333         * soft-fp/ledf2.c: Likewise.
21334         * soft-fp/lesf2.c: Likewise.
21335         * soft-fp/letf2.c: Likewise.
21336         * soft-fp/muldf3.c: Likewise.
21337         * soft-fp/mulsf3.c: Likewise.
21338         * soft-fp/multf3.c: Likewise.
21339         * soft-fp/negdf2.c: Likewise.
21340         * soft-fp/negsf2.c: Likewise.
21341         * soft-fp/negtf2.c: Likewise.
21342         * soft-fp/op-1.h: Likewise.
21343         * soft-fp/op-2.h: Likewise.
21344         * soft-fp/op-4.h: Likewise.
21345         * soft-fp/op-8.h: Likewise.
21346         * soft-fp/op-common.h: Likewise.
21347         * soft-fp/quad.h: Likewise.
21348         * soft-fp/single.h: Likewise.
21349         * soft-fp/soft-fp.h: Likewise.
21350         * soft-fp/sqrtdf2.c: Likewise.
21351         * soft-fp/sqrtsf2.c: Likewise.
21352         * soft-fp/sqrttf2.c: Likewise.
21353         * soft-fp/subdf3.c: Likewise.
21354         * soft-fp/subsf3.c: Likewise.
21355         * soft-fp/subtf3.c: Likewise.
21356         * soft-fp/truncdfsf2.c: Likewise.
21357         * soft-fp/trunctfdf2.c: Likewise.
21358         * soft-fp/trunctfsf2.c: Likewise.
21359         * soft-fp/trunctfxf2.c: Likewise.
21360         * soft-fp/unorddf2.c: Likewise.
21361         * soft-fp/unordsf2.c: Likewise.
21362         * soft-fp/unordtf2.c: Likewise.
21363
21364 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21365
21366         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21367         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21368
21369 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21370
21371         * elf/dl-libc.c: Clear initfini list after freeing.
21372
21373 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21374
21375         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21376         * soft-fp/addsf3.c: Likewise.
21377         * soft-fp/addtf3.c: Likewise.
21378         * soft-fp/divdf3.c: Likewise.
21379         * soft-fp/divsf3.c: Likewise.
21380         * soft-fp/divtf3.c: Likewise.
21381         * soft-fp/double.h: Likewise.
21382         * soft-fp/eqdf2.c: Likewise.
21383         * soft-fp/eqsf2.c: Likewise.
21384         * soft-fp/eqtf2.c: Likewise.
21385         * soft-fp/extenddftf2.c: Likewise.
21386         * soft-fp/extended.h: Likewise.
21387         * soft-fp/extendsfdf2.c: Likewise.
21388         * soft-fp/extendsftf2.c: Likewise.
21389         * soft-fp/extendxftf2.c: Likewise.
21390         * soft-fp/fixdfdi.c: Likewise.
21391         * soft-fp/fixdfsi.c: Likewise.
21392         * soft-fp/fixdfti.c: Likewise.
21393         * soft-fp/fixsfdi.c: Likewise.
21394         * soft-fp/fixsfsi.c: Likewise.
21395         * soft-fp/fixsfti.c: Likewise.
21396         * soft-fp/fixtfdi.c: Likewise.
21397         * soft-fp/fixtfsi.c: Likewise.
21398         * soft-fp/fixtfti.c: Likewise.
21399         * soft-fp/fixunsdfdi.c: Likewise.
21400         * soft-fp/fixunsdfsi.c: Likewise.
21401         * soft-fp/fixunsdfti.c: Likewise.
21402         * soft-fp/fixunssfdi.c: Likewise.
21403         * soft-fp/fixunssfsi.c: Likewise.
21404         * soft-fp/fixunssfti.c: Likewise.
21405         * soft-fp/fixunstfdi.c: Likewise.
21406         * soft-fp/fixunstfsi.c: Likewise.
21407         * soft-fp/fixunstfti.c: Likewise.
21408         * soft-fp/floatdidf.c: Likewise.
21409         * soft-fp/floatdisf.c: Likewise.
21410         * soft-fp/floatditf.c: Likewise.
21411         * soft-fp/floatsidf.c: Likewise.
21412         * soft-fp/floatsisf.c: Likewise.
21413         * soft-fp/floatsitf.c: Likewise.
21414         * soft-fp/floattidf.c: Likewise.
21415         * soft-fp/floattisf.c: Likewise.
21416         * soft-fp/floattitf.c: Likewise.
21417         * soft-fp/floatundidf.c: Likewise.
21418         * soft-fp/floatundisf.c: Likewise.
21419         * soft-fp/floatunsidf.c: Likewise.
21420         * soft-fp/floatunsisf.c: Likewise.
21421         * soft-fp/floatuntidf.c: Likewise.
21422         * soft-fp/floatuntisf.c: Likewise.
21423         * soft-fp/floatuntitf.c: Likewise.
21424         * soft-fp/fmadf4.c: Likewise.
21425         * soft-fp/fmasf4.c: Likewise.
21426         * soft-fp/fmatf4.c: Likewise.
21427         * soft-fp/gedf2.c: Likewise.
21428         * soft-fp/gesf2.c: Likewise.
21429         * soft-fp/getf2.c: Likewise.
21430         * soft-fp/ledf2.c: Likewise.
21431         * soft-fp/lesf2.c: Likewise.
21432         * soft-fp/letf2.c: Likewise.
21433         * soft-fp/muldf3.c: Likewise.
21434         * soft-fp/mulsf3.c: Likewise.
21435         * soft-fp/multf3.c: Likewise.
21436         * soft-fp/negdf2.c: Likewise.
21437         * soft-fp/negsf2.c: Likewise.
21438         * soft-fp/negtf2.c: Likewise.
21439         * soft-fp/op-1.h: Likewise.
21440         * soft-fp/op-2.h: Likewise.
21441         * soft-fp/op-4.h: Likewise.
21442         * soft-fp/op-8.h: Likewise.
21443         * soft-fp/op-common.h: Likewise.
21444         * soft-fp/quad.h: Likewise.
21445         * soft-fp/single.h: Likewise.
21446         * soft-fp/soft-fp.h: Likewise.
21447         * soft-fp/sqrtdf2.c: Likewise.
21448         * soft-fp/sqrtsf2.c: Likewise.
21449         * soft-fp/sqrttf2.c: Likewise.
21450         * soft-fp/subdf3.c: Likewise.
21451         * soft-fp/subsf3.c: Likewise.
21452         * soft-fp/subtf3.c: Likewise.
21453         * soft-fp/truncdfsf2.c: Likewise.
21454         * soft-fp/trunctfdf2.c: Likewise.
21455         * soft-fp/trunctfsf2.c: Likewise.
21456         * soft-fp/trunctfxf2.c: Likewise.
21457         * soft-fp/unorddf2.c: Likewise.
21458         * soft-fp/unordsf2.c: Likewise.
21459         * soft-fp/unordtf2.c: Likewise.
21460
21461 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21462
21463         [BZ #15672]
21464         * misc/error.c (error_tail): Fix possible buffer overflow.
21465
21466 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21467
21468         [BZ #13028]
21469         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21470         address.
21471
21472 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21473
21474         [BZ #832]
21475         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21476         testing pipefail option.
21477
21478 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21479
21480         * soft-fp/double.h: Indent preprocessor directives inside #if.
21481         * soft-fp/extended.h: Likewise.
21482         * soft-fp/op-2.h: Likewise.
21483         * soft-fp/op-4.h: Likewise.
21484         * soft-fp/op-common.h: Likewise.
21485         * soft-fp/quad.h: Likewise.
21486         * soft-fp/single.h: Likewise.
21487         * soft-fp/soft-fp.h: Likewise.
21488
21489 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21490
21491         * iconv/iconv_prog.c: Fix typos.
21492         * stdio-common/psiginfo-data.h: Likewise.
21493
21494 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21495
21496         [BZ #15764]
21497         * locale/setlocale.c: Fix typo.
21498
21499 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21500
21501         [BZ #16036]
21502         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21503         signaling NaN arguments.
21504         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21505         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21506
21507         [BZ #14910]
21508         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21509         unordered operands.
21510         * soft-fp/gesf2.c (__gesf2): Likewise.
21511         * soft-fp/getf2.c (__getf2): Likewise.
21512         * soft-fp/ledf2.c (__ledf2): Likewise.
21513         * soft-fp/lesf2.c (__lesf2): Likewise.
21514         * soft-fp/letf2.c (__letf2): Likewise.
21515
21516         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21517         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21518         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21519         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21520         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21521         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21522         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21523         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21524         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21525         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21526         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21527         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21528         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21529         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21530         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21531         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21532         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21533         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21534         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21535         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21536         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21537         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21538         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21539         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21540         * soft-fp/floattidf.c (__floattidf): Likewise.
21541         * soft-fp/floattisf.c (__floattisf): Likewise.
21542         * soft-fp/floattitf.c (__floattitf): Likewise.
21543         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21544         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21545         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21546         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21547         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21548         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21549         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21550         * soft-fp/gesf2.c (__gesf2): Likewise.
21551         * soft-fp/getf2.c (__getf2): Likewise.
21552         * soft-fp/ledf2.c (__ledf2): Likewise.
21553         * soft-fp/lesf2.c (__lesf2): Likewise.
21554         * soft-fp/letf2.c (__letf2): Likewise.
21555
21556         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21557         Undefine and redefine.
21558         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21559         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21560         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21561         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21562         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21563         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21564         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21565         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21566         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21567         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21568         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21569         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21570         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21571         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21572         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21573
21574         [BZ #16032]
21575         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21576         without decrementing exponent if mantissa >= that for the
21577         denominator, not >.
21578         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21579         denominator, not >.  Decrement exponent in < case instead of
21580         incrementing in >= case.
21581         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21582         without decrementing exponent if mantissa >= that for the
21583         denominator, not >.
21584
21585         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21586         computing saturated result for unsigned overflow.
21587
21588 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21589             Jeff Law  <law@redhat.com>
21590
21591         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21592         (atan2Mp): Add systemtap probe marker.
21593         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21594         (__ieee754_log): Add systemtap probe marker.
21595         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21596         (atanMp): Add systemtap probe marker.
21597         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21598         (tanMp): Add systemtap probe marker.
21599         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21600         (__slowexp): Add systemtap probe marker.
21601         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21602         (__slowpow): Add systemtap probe marker.
21603         * manual/probes.texi: Document probes.
21604
21605 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21606
21607         [BZ #15362]
21608         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21609         written.
21610         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21611         written.
21612         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21613         written to buffer but not flushed.
21614         * libio/iofwrite_u.c:  Likewise.
21615         * libio/iopadn.c:  Return bytes returned even if EOF was
21616         encountered.
21617         * libio/iowpadn.c:  Likewise.
21618         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21619         if _IO_padn does not write the whole buffer.
21620         [!COMPILE_WPRINTF] (PAD): Likewise.
21621
21622 2013-10-10  David S. Miller  <davem@davemloft.net>
21623
21624         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21625         directory block.
21626
21627 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21628
21629         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21630         instead of FSF address.
21631         * soft-fp/fixdfti.c: Likewise.
21632         * soft-fp/fixsfti.c: Likewise.
21633         * soft-fp/fixtfti.c: Likewise.
21634         * soft-fp/fixunsdfti.c: Likewise.
21635         * soft-fp/fixunssfti.c: Likewise.
21636         * soft-fp/fixunstfti.c: Likewise.
21637         * soft-fp/floattidf.c: Likewise.
21638         * soft-fp/floattisf.c: Likewise.
21639         * soft-fp/floattitf.c: Likewise.
21640         * soft-fp/floatuntidf.c: Likewise.
21641         * soft-fp/floatuntisf.c: Likewise.
21642         * soft-fp/floatuntitf.c: Likewise.
21643         * soft-fp/trunctfxf2.c: Likewise.
21644
21645         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21646         * soft-fp/fixdfti.c: Likewise.
21647         * soft-fp/fixsfti.c: Likewise.
21648         * soft-fp/fixtfti.c: Likewise.
21649         * soft-fp/fixunsdfti.c: Likewise.
21650         * soft-fp/fixunssfti.c: Likewise.
21651         * soft-fp/fixunstfti.c: Likewise.
21652         * soft-fp/floattidf.c: Likewise.
21653         * soft-fp/floattisf.c: Likewise.
21654         * soft-fp/floattitf.c: Likewise.
21655         * soft-fp/floatuntidf.c: Likewise.
21656         * soft-fp/floatuntisf.c: Likewise.
21657         * soft-fp/floatuntitf.c: Likewise.
21658         * soft-fp/trunctfxf2.c: Likewise.
21659
21660 2013-10-10  David S. Miller  <davem@davemloft.net>
21661
21662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21663
21664 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21665
21666         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21667         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21668         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21669         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21670         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21671         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21672         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21673
21674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21675         for NaNs before doing comparisons on argument.
21676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21677         Likewise.
21678
21679 2013-10-10  Will Newton  <will.newton@linaro.org>
21680
21681         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21682         passed to _int_memalign does not overflow.
21683
21684 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21685
21686         * scripts/bench.pl: Add include-sources directive.
21687         * benchtests/README: Update documentation.
21688
21689 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21690
21691         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21692         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21693         instead of FP_INIT_ROUNDMODE.
21694         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21695         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21696
21697         [BZ #16034]
21698         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21699         copy class of input value.
21700         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21701         not handle exceptions.
21702         * soft-fp/negsf2.c (__negsf2): Likewise.
21703         * soft-fp/negtf2.c (__negtf2): Likewise.
21704         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21705
21706 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21707
21708         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21709         semicolon.  From Linux kernel.
21710
21711 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21712
21713         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21714
21715 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21716
21717         [BZ #156]
21718         * manual/socket.texi: Added statement about buffer
21719         for gethostbyname2_r.
21720
21721 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21722
21723         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21724         Use .p2align directive instead, throughout.
21725         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21726         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21727         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21728         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21730         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21731         * sysdeps/x86_64/strchr.S: Likewise.
21732         * sysdeps/x86_64/strrchr.S: Likewise.
21733
21734 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21735
21736         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21737
21738         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21739
21740         * sysdeps/generic/math_private.h (__mpsin1): Remove
21741         declaration.
21742         (__mpcos1): Likewise.
21743         (__mpsin): New argument __range_reduce.
21744         (__mpcos): Likewise.
21745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21746         (slow): Use __mpsin and __mpcos.
21747         (slow1): Likewise.
21748         (slow2): Likewise.
21749         (sloww): Likewise.
21750         (sloww1): Likewise.
21751         (sloww2): Likewise.
21752         (bsloww): Likewise.
21753         (bsloww1): Likewise.
21754         (bsloww2): Likewise.
21755         (cslow2): Likewise.
21756         (csloww): Likewise.
21757         (csloww1): Likewise.
21758         (csloww2): Likewise.
21759         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21760         range_reduce.  Merge in __mpsin1.
21761         (__mpcos): Likewise.
21762         (__mpsin1): Remove.
21763         (__mpcos1): Likewise.
21764
21765 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21766
21767         * locale/loadlocale.c (_nl_intern_locale_data): Use
21768         LOCFILE_ALIGNED_P.
21769         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21770         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21771         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21772         obstack data is appropriately aligned.
21773         (obstack_int32_grow_fast): Likewise.
21774         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21775         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21776         (add_locale_uint32_array): Likewise.
21777
21778 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21779
21780         * benchtests/Makefile: Remove ARGLIST and RET variables.
21781         ($(objpfx)bench-%.c): Pass only function name to the script.
21782         * benchtests/README: Update documentation.
21783         * benchtests/acos-inputs: Add new directives.
21784         * benchtests/acosh-inputs: Likewise.
21785         * benchtests/asin-inputs: Likewise.
21786         * benchtests/asinh-inputs: Likewise.
21787         * benchtests/atan-inputs: Likewise.
21788         * benchtests/atanh-inputs: Likewise.
21789         * benchtests/cos-inputs: Likewise.
21790         * benchtests/cosh-inputs: Likewise.
21791         * benchtests/exp-inputs: Likewise.
21792         * benchtests/log-inputs: Likewise.
21793         * benchtests/pow-inputs: Likewise.
21794         * benchtests/rint-inputs: Likewise.
21795         * benchtests/sin-inputs: Likewise.
21796         * benchtests/sinh-inputs: Likewise.
21797         * benchtests/tan-inputs: Likewise.
21798         * benchtests/tanh-inputs: Likewise.
21799         * scripts/bench.pl: Add support for new directives.
21800
21801 2013-10-07  Alan Modra  <amodra@gmail.com>
21802
21803         * README: Fix careless merge.
21804
21805 2013-10-05  Alan Modra  <amodra@gmail.com>
21806
21807         * NEWS: Mention powerpc64le support and bugs fixed.
21808         * README: Both big-endian and little-endian powerpc64 supported.
21809
21810 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21811
21812         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21813         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21814         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21815         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21816
21817 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21818
21819         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21820         match prototype.
21821
21822 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21823
21824         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21825         Move -mhard-float appending from
21826         ports/sysdeps/powerpc/powerpc32/Makefile.
21827         [$(with-fp) = yes] (ASFLAGS): Likewise.
21828         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21829         * sysdeps/powerpc/nofpu: Move directory from
21830         ports/sysdeps/powerpc/nofpu.
21831         * sysdeps/powerpc/soft-fp: Move directory from
21832         ports/sysdeps/powerpc/soft-fp.
21833         * sysdeps/powerpc/powerpc32/405: Move directory from
21834         ports/sysdeps/powerpc/powerpc32/405.
21835         * sysdeps/powerpc/powerpc32/440: Move directory from
21836         ports/sysdeps/powerpc/powerpc32/440.
21837         * sysdeps/powerpc/powerpc32/464: Move directory from
21838         ports/sysdeps/powerpc/powerpc32/464.
21839         * sysdeps/powerpc/powerpc32/476: Move directory from
21840         ports/sysdeps/powerpc/powerpc32/476.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21851         * README: Update for powerpc-*-linux-gnu software floating point
21852         support in libc.
21853
21854         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21855         case to powerpc/powerpc32*.
21856         * sysdeps/unix/sysv/linux/configure: Regenerated.
21857
21858         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21859         (_FPU_MASK_OM): Define as 0x04.
21860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21862         0x00c10080.
21863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21864         0x0000003c.
21865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21866
21867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21868         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21869         getcontext_e500.
21870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21871         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21872         setcontext_e500.
21873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21874         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21875         and setcontext_e500.
21876
21877 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21878
21879         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21880
21881 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21882
21883         * manual/threads.texi (Default Thread Attributes): Fix typo.
21884
21885 2013-10-04  Will Newton  <will.newton@linaro.org>
21886
21887         * malloc/Makefile: Add tst-memalign.
21888         * malloc/tst-memalign.c: New file.
21889
21890         * malloc/tst-posix_memalign.c: Add comments.
21891         (do_test): Add comments and call free on all potentially
21892         allocated pointers. Add space after cast.
21893
21894         * malloc/tst-pvalloc.c: Add comments.
21895         (do_test): Add comments and call free on all potentially
21896         allocated pointers. Remove duplicate check for NULL pointer.
21897         Add space after cast.
21898
21899         * malloc/tst-valloc.c: Add comments.
21900         (do_test): Add comments and call free on all potentially
21901         allocated pointers. Remove duplicate check for NULL pointer.
21902         Add space after cast.
21903
21904 2013-10-04  Alan Modra  <amodra@gmail.com>
21905
21906         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21907         Use stdint types in rather than __attribute__((mode())).
21908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21909
21910 2013-10-04  Alan Modra  <amodra@gmail.com>
21911
21912         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21913         Correct handling of unaligned relocs for little-endian.
21914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21915
21916 2013-10-04  Alan Modra  <amodra@gmail.com>
21917
21918         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21919         * configure: Regenerate.
21920         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21921         * shlib-versions: Likewise.
21922
21923 2013-10-04  Alan Modra  <amodra@gmail.com>
21924
21925         * string/tester.c (test_memrchr): Increment reported test cycle.
21926
21927 2013-10-04  Alan Modra  <amodra@gmail.com>
21928
21929         * string/test-memcpy.c (do_one_test): When reporting errors, print
21930         string address and don't overrun end of string.
21931
21932 2013-10-04  Alan Modra  <amodra@gmail.com>
21933
21934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21935         insrdi.  Make better use of reg selection to speed exit slightly.
21936         Schedule entry path a little better.  Remove useless "are we done"
21937         checks on entry to main loop.  Handle wrapping around zero address.
21938         Correct main loop count.  Handle single left-over word from main
21939         loop inline rather than by using loop_small.  Remove extra word
21940         case in loop_small caused by wrong loop count.  Add little-endian
21941         support.
21942         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21944         cache hint.
21945         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21946         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21947         support.  Avoid rlwimi.
21948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21949
21950 2013-10-04  Alan Modra  <amodra@gmail.com>
21951
21952         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21953         insrdi.  Formatting.
21954         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21955         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21956         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21957         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21958         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21959         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21960
21961 2013-10-04  Alan Modra  <amodra@gmail.com>
21962
21963         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21964         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21965         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21966         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21967         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21969         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21970         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21971         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21972         use of regs.  Use power7 mtocrf.  Tidy function tails.
21973
21974 2013-10-04  Alan Modra  <amodra@gmail.com>
21975
21976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21977         Formatting.  Consistently use rXXX register defines or rN defines.
21978         Use early exit labels that avoid restoring unused non-volatile regs.
21979         Make cr field use more consistent with rWORDn compares.  Rename
21980         regs used as shift registers for unaligned loop, using rN defines
21981         for short lifetime/multiple use regs.
21982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21983         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21984         addi 1,1,64 to pop stack frame.  Simplify return value code.
21985         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21986
21987 2013-10-04  Alan Modra  <amodra@gmail.com>
21988
21989         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21990         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21991         rather than rlwimi.
21992         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21993         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21994         little-endian support.  Correct typos.
21995         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21996         rather than rlwimi.
21997         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21998         in loop and entry code to keep "and." results.
21999         (strchr): Add little-endian support.  Comment.  Move cntlzd
22000         earlier in tail.
22001         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22002
22003 2013-10-04  Alan Modra  <amodra@gmail.com>
22004
22005         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22006         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22007         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22008         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22009
22010 2013-10-04  Alan Modra  <amodra@gmail.com>
22011
22012         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22013         (rTMP): Define as r11.
22014         (strcmp): Add little-endian support.  Optimise tail.
22015         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22016         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22017         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22018         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22019         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22022
22023 2013-10-04  Alan Modra  <amodra@gmail.com>
22024
22025         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22026         little-endian support.  Remove unnecessary "are we done" tests.
22027         Handle "s" wrapping around zero and extremely large "size".
22028         Correct main loop count.  Handle single left-over word from main
22029         loop inline rather than by using small_loop.  Correct comments.
22030         Delete "zero" tail, use "end_max" instead.
22031         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22032
22033 2013-10-04  Alan Modra  <amodra@gmail.com>
22034
22035         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22036         support.  Don't branch over align.
22037         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22038         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22039         support.  Rearrange tmp reg use to suit.  Comment.
22040         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22041
22042 2013-10-04  Alan Modra  <amodra@gmail.com>
22043
22044         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22045
22046 2013-10-04  Alan Modra  <amodra@gmail.com>
22047
22048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22049         conditional form of branch and link when obtaining pc.
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22051
22052 2013-10-04  Alan Modra  <amodra@gmail.com>
22053
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22055         HIWORD/LOWORD.
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22058
22059 2013-10-04  Alan Modra  <amodra@gmail.com>
22060
22061         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22062         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22063         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22064         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22065         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22066         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22067         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22068         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22069         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22070         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22071
22072 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22073             Alistair Popple <alistair@ozlabs.au.ibm.com>
22074             Alan Modra <amodra@gmail.com>
22075
22076         [BZ #15723]
22077         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22078         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22079         _dl_hwcap access for little-endian.
22080         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22081         destroy vmx regs when saving unaligned.
22082         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22083         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22084         destroy vmx regs when saving unaligned.
22085
22086 2013-10-04  Alan Modra  <amodra@gmail.com>
22087
22088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22089         Don't use a union to pack hi/low value.
22090
22091 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22092
22093         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22094         for little-endian.
22095         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22097         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22098         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22099         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22100
22101 2013-10-04  Alan Modra  <amodra@gmail.com>
22102
22103         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22104         constants to usual value for .cst8 section, and remove redundant
22105         high address load.
22106         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22107         constant for 0x1p52.  Load little-endian words of double from
22108         correct stack offsets.
22109
22110 2013-10-04  Alan Modra  <amodra@gmail.com>
22111
22112         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22113         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22114         words of double from correct stack offsets.
22115         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22116         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22117         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22118         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22119         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22120         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22121         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22122         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22123         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22126         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22127         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22128         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22129         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22130         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22131         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22132
22133 2013-10-04  Alan Modra  <amodra@gmail.com>
22134
22135         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22136         64-bit int/double union.
22137         (_FPU_SETCW): Likewise.
22138         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22139         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22140
22141 2013-10-04  Alan Modra  <amodra@gmail.com>
22142
22143         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22144         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22145
22146 2013-10-04  Alan Modra  <amodra@gmail.com>
22147
22148         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22149         use vector int constants.
22150         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22151
22152 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22153
22154         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22155         array with long long.
22156         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22157         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22158         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22159         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22160         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22161         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22162         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22163         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22164         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22165         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22166         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22167         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22168         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22169
22170 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22171
22172         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22173         (__signbit): Likewise.  Correct for little-endian.
22174         (__signbitl): Call __signbit.
22175         (lrint): Correct for little-endian.
22176         (lrintf): Call lrint.
22177
22178 2013-10-04  Alan Modra  <amodra@gmail.com>
22179
22180         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22181         union 32-bit int array member with 64-bit int array.
22182         (t515, tm256): Double rather than long double.
22183         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22184
22185 2013-10-04  Alan Modra  <amodra@gmail.com>
22186
22187         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22188         Delete.
22189         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22191         version of math_ldbl.h.
22192
22193 2013-10-04  Alan Modra  <amodra@gmail.com>
22194
22195         [BZ #15734], [BZ #15735]
22196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22197         all uses of ieee875 long double macros and unions.  Simplify test
22198         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22199         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22200         normalize after ldbl_extract_mantissa, and don't add hidden bit
22201         already handled.  Don't treat low word of ieee854 mantissa like
22202         low word of IBM long double and mask off bit when testing for
22203         zero.
22204         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22205         all uses of ieee875 long double macros and unions.  Simplify tests
22206         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22207         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22208         two1022, instead use their values.  Recognise that tests for large
22209         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22211         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22212         test for 0.0L and nan.  Correct negation.
22213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22214         ieee875 long double macros and unions.  Correct output for large
22215         magnitude x.  Correct absolute value calculation.
22216         (__erfcl): Likewise.
22217         * math/libm-test.inc: Add tests for errors discovered in IBM long
22218         double versions of fmodl, remainderl, erfl and erfcl.
22219
22220 2013-10-04  Alan Modra  <amodra@gmail.com>
22221
22222         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22223         all uses of ieee854 long double macros and unions.  Simplify tests
22224         for long doubles that are fully specified by the high double.
22225         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22226         Likewise.
22227         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22228         Remove dead code too.
22229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22230         (__ieee754_ynl): Likewise.
22231         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22232         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22233         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22234         Remove dead code too.
22235         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22236         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22237         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22238         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22239         Simplify.
22240         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22241         Simplify.
22242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22243         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22245         Comment on variable precision.
22246         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22247         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22248         Likewise.
22249         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22250         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22252         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22253         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22254
22255 2013-10-04  Alan Modra  <amodra@gmail.com>
22256
22257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22258         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22259         all uses of ieee854 long double macros and unions.
22260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22262         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22263         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22264         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22265         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22266         Likewise.
22267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22268         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22269         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22271         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22272         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22273         Simplify sign and nan test too.
22274         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22275         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22276         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22277         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22278         Likewise.
22279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22280         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22281         Likewise.
22282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22283         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22284         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22285         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22286         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22287         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22288
22289 2013-10-04  Alan Modra  <amodra@gmail.com>
22290
22291         * stdio-common/printf_size.c (__printf_size): Don't use
22292         union ieee854_long_double in fpnum union.
22293         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22294         signbit macro to retrieve sign from long double.
22295         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22296         retrieve sign from long double.
22297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22298         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22299         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22300         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22301         * math/test-misc.c (main): Don't use union ieee854_long_double.
22302
22303 2013-10-04  Alan Modra  <amodra@gmail.com>
22304
22305         [BZ #15680]
22306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22307         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22308         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22309         calculation.  Remove unnecessary test for denormal exponent.
22310         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22311         Correct handling of denormals.  Avoid undefined shift behaviour.
22312         Correct normalisation of low mantissa when low double is denormal.
22313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22314         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22315         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22316         Correct normalisation of low mantissa.  Test for overflow of high
22317         mantissa and normalise.
22318         (ldbl_nearbyint): Use more readable constant for two52.
22319         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22320         (__mpn_construct_long_double): Fix test for overflow of high
22321         mantissa and correct normalisation.  Avoid undefined shift.
22322
22323 2013-10-04  Alan Modra  <amodra@gmail.com>
22324
22325         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22326         (union ibm_extended_long_double): Define as an array of ieee754_double.
22327         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22328         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22329         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22330         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22332         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22333         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22334         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22335         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22336         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22337         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22338
22339 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22340
22341         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22342         page size instead of calling getpagesize.
22343
22344         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22345         (LOCFILE_ALIGN_MASK): Likewise.
22346         (LOCFILE_ALIGN_UP): Likewise.
22347         (LOCFILE_ALIGNED_P): Likewise.
22348         * locale/programs/ld-collate.c (collate_output): Use the new
22349         macros instead of __alignof__ (int32_t).
22350         * locale/weight.h (findidx): Likewise.
22351
22352 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22353
22354         [BZ #431]
22355         * manual/string.texi: Fix strncat and wcsncat.
22356
22357 2013-10-03  Brooks Moses  <bmoses@google.com>
22358
22359         [BZ #15915]
22360         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22361         * Makerules: ...here, and adjust associated comments.
22362
22363 2013-10-02  Will Newton  <will.newton@linaro.org>
22364
22365         * malloc/Makefile: Add tst-pvalloc.
22366         * malloc/tst-pvalloc.c: New file.
22367
22368 2013-10-02  Will Newton  <will.newton@linaro.org>
22369
22370         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22371         improve test coverage.
22372
22373 2013-10-02  Will Newton  <will.newton@linaro.org>
22374
22375         * malloc/Makefile: Add tst-posix_memalign.
22376         * malloc/tst-posix_memalign.c: New file.
22377
22378 2013-10-01  Eric Blake  <eblake@redhat.com>
22379
22380         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22381         Use __THROWNL rather than __THROW on static functions.
22382
22383 2013-09-30  Petr Machata  <pmachata@redhat.com>
22384
22385         * elf/elf.h (R_AARCH64_ABS16): New macro.
22386         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22387         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22388         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22389         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22390         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22391         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22392         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22393         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22394         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22395         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22396         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22397         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22398         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22399         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22400         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22401         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22402         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22403         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22404         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22405         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22406         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22407         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22408         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22409         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22410         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22411         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22412         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22413         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22414         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22415         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22416         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22417         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22418         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22419         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22420         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22421         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22422         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22423         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22424         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22425         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22426         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22427         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22428         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22429         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22430         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22431         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22432         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22433         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22434         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22435         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22436         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22437         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22438         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22439         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22440         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22441         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22442         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22443         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22444         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22445         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22446         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22447         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22448         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22449         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22450         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22451         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22452         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22453         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22454         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22455         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22456         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22457         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22458         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22459         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22460         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22461         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22462         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22463         (R_AARCH64_TLSDESC_LDR): Likewise.
22464         (R_AARCH64_TLSDESC_ADD): Likewise.
22465         (R_AARCH64_TLSDESC_CALL): Likewise.
22466
22467 2013-09-30  Andreas Schwab  <schwab@suse.de>
22468
22469         [BZ #15048]
22470         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22471         the nss database lookup.
22472         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22474
22475 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22476
22477         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22478
22479 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22480
22481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22482         ${Bash-specific parameter/pattern/string} parameter expansion.
22483         * sysdeps/unix/make-syscalls.sh: Likewise.
22484
22485 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22486
22487         * sysdeps/sh/stackguard-macros.h: New file.
22488
22489 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22490
22491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22493         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22494         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22495         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22496         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22497
22498 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22499
22500         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22501         Fix thread ID register.
22502
22503 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22504
22505         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22506         [POSIX || UNIX98]: Require rather than permitting all symbols from
22507         <time.h>.
22508         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22509         element of struct sched_param.
22510         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22511         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22512         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22513         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22514         constant.
22515
22516 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22517
22518         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22519         argument calculation.
22520
22521 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22522
22523         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22524         Expect macro.
22525         [POSIX] (pthread_attr_t): Do not require type.
22526         [POSIX] (pthread_cond_t): Likewise.
22527         [POSIX] (pthread_condattr_t): Likewise.
22528         [POSIX] (pthread_key_t): Likewise.
22529         [POSIX] (pthread_mutex_t): Likewise.
22530         [POSIX] (pthread_mutexattr_t): Likewise.
22531         [POSIX] (pthread_once_t): Likewise.
22532         [POSIX] (pthread_t): Likewise.
22533         [POSIX-based standards] (pthread_atfork): Expect function.
22534
22535 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22536             Richard Sandiford  <richard@codesourcery.com>
22537
22538         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22539         (swap_endianness_p): New extern variable.
22540         (set_big_endian): New inline function.
22541         (maybe_swap_uint32): Likewise.
22542         (maybe_swap_uint32_array): Likewise.
22543         (maybe_swap_uint32_obstack): Likewise.
22544         * locale/programs/locfile.c: Include <stdbool.h>.
22545         (swap_endianness_p): New variable.
22546         (add_locale_uint32): Call maybe_swap_uint32.
22547         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22548         (write_locale_data): Call maybe_swap_uint32_array.
22549         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22550         maybe_swap_uint32.
22551         (obstack_int32_grow_fast): Likewise.
22552         (output_weightwc): Call maybe_swap_uint32_obstack.
22553         (collate_output): Likewise.
22554         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22555         (OPT_LITTLE_ENDIAN): Likewise.
22556         (options): Add --little-endian and --big-endian options.
22557         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22558         * locale/programs/locarchive.c: Include "locfile.h".
22559         (GET): New macro.
22560         (SET): Likewise.
22561         (INC): Likewise.
22562         (create_archive): Use the new macros to access fields of
22563         structures directly mapped from or written to locale archives.
22564         (oldlocrecentcmp): Likewise.
22565         (enlarge_archive): Likewise.
22566         (insert_name): Likewise.
22567         (add_alias): Likewise.
22568         (add_locale): Likewise.
22569         (delete_locales_from_archive): Likewise.
22570         (show_archive_content): Likewise.
22571         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22572         locale data.
22573
22574 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22575
22576         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22577         http://www.gnu.org/doc/freemanuals.texi.
22578         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22579
22580 2013-09-24  Will Newton  <will.newton@linaro.org>
22581
22582         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22583         macro.
22584
22585 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22586
22587         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22588         unsigned char.
22589
22590 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22591
22592         * manual/threads.texi (POSIX Threads): Fix a typo.
22593
22594 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22595
22596         [BZ #14547]
22597         * string/tst-strcoll-overflow.c: New test case.
22598         * string/Makefile (xtests): Add tst-strcoll-overflow.
22599         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22600         cache if string sizes may cause integer overflow.
22601
22602         [BZ #14547]
22603         * string/strcoll_l.c (coll_seq): New members rule, idx,
22604         save_idx and back_us.
22605         (get_next_seq_nocache): New function.
22606         (do_compare_nocache): New function.
22607         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22608         when malloc fails.
22609
22610 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22611
22612         [BZ #15754]
22613         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22614         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22615         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22616
22617         [BZ #15754]
22618         * elf/Makefile (tests): Add tst-ptrguard1.
22619         (tests-static): Add tst-ptrguard1-static.
22620         (tst-ptrguard1-ARGS): Define.
22621         (tst-ptrguard1-static-ARGS): Define.
22622         * elf/tst-ptrguard1.c: New file.
22623         * elf/tst-ptrguard1-static.c: New file.
22624         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22625         * sysdeps/i386/stackguard-macros.h: Likewise.
22626         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22627         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22628         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22629         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22630         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22631         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22632
22633 2013-09-23  Hector Marco  <hecmargi@upv.es>
22634             Ismael Ripoll  <iripoll@disca.upv.es>
22635             Carlos O'Donell  <carlos@redhat.com>
22636
22637         [BZ #15754]
22638         * sysdeps/generic/stackguard-macros.h: Define
22639         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22640         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22641         Define __pointer_chk_guard_local.
22642         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22643         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22644
22645 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22646
22647         [BZ #15859]
22648         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22649
22650 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22651
22652         * include/string.h (__ffs): Declare as hidden.
22653         * string/ffs.c (__ffs): Define as hidden.
22654         * sysdeps/i386/ffs.c (__ffs): Likewise.
22655         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22656         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22657         * sysdeps/s390/ffs.c (__ffs): Likewise.
22658         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22659
22660 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22661
22662         * NEWS: Mention malloc probes.
22663
22664         * malloc/arena.c (new_heap): New memory_heap_new probe.
22665         (grow_heap): New memory_heap_more probe.
22666         (shrink_heap): New memory_heap_less probe.
22667         (heap_trim): New memory_heap_free probe.
22668         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22669         (systrim): New memory_sbrk_less probe.
22670         * manual/probes.texi: Document them.
22671
22672         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22673         * manual/probes.texi: Document it.
22674
22675         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22676         (__libc_realloc): Add memory_realloc_retry probe.
22677         (__libc_memalign): Add memory_memalign_retry probe.
22678         (__libc_valloc): Add memory_valloc_retry probe.
22679         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22680         (__libc_calloc): Add memory_calloc_retry probe.
22681         * manual/probes.texi: Document them.
22682
22683         * malloc/arena.c (get_free_list): Add probe
22684         memory_arena_reuse_free_list.
22685         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22686         and memory_arena_reuse.
22687         (arena_get2) [!PER_THREAD]: Likewise.
22688         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22689         memory_arena_reuse_realloc.
22690         * manual/probes.texi: Document them.
22691
22692         * malloc/malloc.c (__libc_free): Add
22693         memory_mallopt_free_dyn_thresholds probe.
22694         (__libc_mallopt): Add multiple memory_mallopt probes.
22695         * manual/probes.texi: Document them.
22696
22697         * malloc/malloc.c: Include stap-probe.h.
22698         (__libc_mallopt): Add memory_mallopt probe.
22699         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22700         * manual/probes.texi: New.
22701         * manual/Makefile (chapters): Add probes.
22702         * manual/threads.texi: Set next node.
22703
22704 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22705
22706         [BZ #15963, #13985]
22707         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22708         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22709         Add `Chinese' to `nan' entry name.
22710
22711 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22712
22713         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22714         (POLYNOMIAL): Likewise.
22715         (TAYLOR_SINCOS): Likewise.
22716         (TAYLOR_SLOW): Likewise.
22717         (__sin): Use TAYLOR_SINCOS.
22718         (__cos): Likewise.
22719         (slow): Use TAYLOR_SLOW.
22720         (sloww): Likewise.
22721         (bsloww): Likewise.
22722         (csloww): Likewise.
22723
22724 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22725
22726         * stdlib/strtod_l.c: Fix buffer overrun.
22727
22728 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22729
22730         * benchtests/Makefile (bench): Add sincos.
22731         * benchtests/bench-sincos.c: New file.
22732
22733         * math/libm-test.inc (cos_test_data): New test inputs.
22734         (sin_test_data): Likewise.
22735
22736         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22737         macro.
22738         (__sin): Use it.
22739         (__cos): Likewise.
22740         (slow1): Likewise.
22741         (slow2): Likewise.
22742         (sloww1): Likewise.
22743         (sloww2): Likewise.
22744         (bsloww1): Likewise.
22745         (bsloww2): Likewise.
22746         (cslow2): Likewise.
22747         (csloww1): Likewise.
22748         (csloww2): Likewise.
22749
22750         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22751         function.
22752         (__sin): Use it.
22753         (__cos): Likewise.
22754
22755         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22756         gotos.
22757         (__cos): Likewise.
22758
22759 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22760
22761         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22762         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22763         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22764         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22765         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22766         * elf/cache.c (print_entry): Handle the new cache flags.
22767
22768 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22769             Aldy Hernandez  <aldyh@redhat.com>
22770
22771         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22772         Change condition to [_SOFT_FLOAT].
22773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22785         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22788         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22789         declaration.
22790
22791 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22792
22793         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22794         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22795         (__longjmp): Use LOAD_GP to load saved GPRs.
22796         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22797         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22798         (__sigsetjmp): Use SAVE_GP to save GPRs.
22799
22800         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22801         Do not append -msoft-float.
22802         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22803
22804 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22805
22806         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22807
22808 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22809
22810         [BZ #15966]
22811         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22812         (_FPU_GETCW): Use initial "__" on variable and field names but not
22813         on macro parameter name.
22814         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22815         parentheses around reference to macro parameter.
22816
22817 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22818
22819         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22820         prototype.
22821         (ctype_startup): Use uint32_t in cast and sizeof for
22822         ctype->charnames.
22823
22824 2013-09-11  Jia Liu  <proljc@gmail.com>
22825
22826         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22827         __daddr_t_defined.
22828         [__FreeBSD__]: Likewise.
22829
22830 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22831
22832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22833         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22834         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22835         (strchr): Remove __strchr_sse42 ifunc selection.
22836         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22837         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22838
22839 2013-09-11  Will Newton  <will.newton@linaro.org>
22840
22841         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22842         parameter to RES. Remove hardcoded 1000 value.
22843         * benchtests/bench-skeleton.c (main): Pass RES parameter
22844         to TIMING_INIT and multiply result by 1000.
22845
22846 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22847
22848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22849
22850 2013-09-11  Andreas Schwab  <schwab@suse.de>
22851
22852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22853         if not defined.
22854         (O_TMPFILE) [__USE_GNU]: Define.
22855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22856         Define.
22857
22858 2013-09-11  Will Newton  <will.newton@linaro.org>
22859
22860         [BZ #15857]
22861         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22862         does not overflow.
22863
22864 2013-09-11  Will Newton  <will.newton@linaro.org>
22865
22866         [BZ #15856]
22867         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22868         does not overflow.
22869
22870 2013-09-11  Will Newton  <will.newton@linaro.org>
22871
22872         [BZ #15855]
22873         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22874         does not overflow.
22875
22876 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22877
22878         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22879         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22880         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22881         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22883
22884 2013-09-10  Allan McRae  <allan@archlinux.org>
22885
22886         [BZ #15748]
22887         * manual/arith.texi (Parsing of Floats): Clarify
22888         cross-reference.
22889
22890         [BZ #15849]
22891         * manual/install.texi (Running make install): Mention
22892         --enable-pt-chown.
22893         * INSTALL: Regenerated.
22894
22895 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22896
22897         * csu/init-first.c (_init): Remove the !SHARED condition around
22898         FPU control word initialization.
22899         * elf/dl-support.c (_dl_fpu_control): New variable.
22900         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22901         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22902         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22903         * math/test-fpucw-static.c: New file.
22904         * math/test-fpucw-ieee.c: New file.
22905         * math/test-fpucw-ieee-static.c: New file.
22906         * math/Makefile (tests): Add `test-fpucw-ieee' and
22907         `$(tests-static)'.
22908         (tests-static): New variable.
22909         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22910         dependency to...
22911         [($(build-shared),yes)]
22912         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22913         ... this.
22914         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22915         New dependency.
22916
22917 2013-09-09  Allan McRae  <allan@archlinux.org>
22918
22919         [BZ #15939]
22920         * manual/string.texi (Collation Functions): Fix typo in
22921         strcoll example.
22922         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22923
22924         [BZ #15893]
22925         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22926
22927         [BZ #15892]
22928         * libio/memstream.c (open_memstream): Fix memory leak.
22929         * libio/wmemstream.c (open_wmemstream): Likewise.
22930
22931         [BZ #15895]
22932         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22933
22934 2013-09-09  Will Newton  <will.newton@linaro.org>
22935
22936         * malloc/Makefile: Add tst-realloc to tests.
22937         * malloc/tst-realloc.c: New file.
22938
22939 2013-09-09  Allan McRae  <allan@archlinux.org>
22940
22941         [BZ #15844]
22942         * COPYING: Update from GNU website to fix FSF address.
22943         * COPYING.LIB: Likewise.
22944
22945 2013-09-06  David S. Miller  <davem@davemloft.net>
22946
22947         * po/zh_TW.po: Update Chinese (traditional) translation from
22948         translation project.
22949
22950 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22951             Joseph Myers  <joseph@codesourcery.com>
22952
22953         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22954         "localeinfo.h".
22955         (obstack_chunk_alloc): New macro.
22956         (obstack_chunk_free): Likewise.
22957         (record_offset): New function.
22958         (init_locale_data): Likewise.
22959         (align_locale_data): Likewise.
22960         (add_locale_empty): Likewise.
22961         (add_locale_raw_data): Likewise.
22962         (add_locale_raw_obstack): Likewise.
22963         (add_locale_string): Likewise.
22964         (add_locale_wstring): Likewise.
22965         (add_locale_uint32): Likewise.
22966         (add_locale_uint32_array): Likewise.
22967         (add_locale_char): Likewise.
22968         (start_locale_structure): Likewise.
22969         (end_locale_structure): Likewise.
22970         (start_locale_prelude): Likewise.
22971         (end_locale_prelude): Likewise.
22972         (write_locale_data): Take locale_file structure rather than an
22973         iovec.
22974         * locale/programs/locfile.h: Include "obstack.h".
22975         (struct locale_file): Change to store locale file contents instead
22976         of header.
22977         (init_locale_data): New prototype.
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): Update prototype.
22992         * locale/programs/3level.h (struct TABLE): Remove result field.
22993         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22994         Use new locale_file interface.
22995         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22996         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22997         * locale/programs/ld-address.c (address_output): Use new
22998         locale_file interface.
22999         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23000         NO_ADD_LOCALE.
23001         (collate_finish): Don't call collseq_table_finalize.
23002         (collate_output): Use new locale_file interface.
23003         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23004         in file.
23005         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23006         (TABLE): Move defines earlier in file.
23007         (ELEMENT): Likewise.
23008         (DEFAULT): Likewise.
23009         (wctrans_table_add): Move macro and inline function earlier in
23010         file.
23011         (struct wctype_table): Move type earlier in file.
23012         (add_locale_wctype_table): New static prototype.
23013         (struct locale_ctype_t): Use logical types instead of struct iovec
23014         pointers for members.
23015         (ctype_output): Use new locale_file interface.
23016         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23017         new locale_file interface.
23018         (allocate_arrays): Update for use of new locale_file interface.
23019         * locale/programs/ld-identification.c (identification_output): Use
23020         new locale_file interface.
23021         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23022         * locale/programs/ld-messages.c (messages_output): Likewise.
23023         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23024         * locale/programs/ld-name.c (name_output): Likewise.
23025         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23026         * locale/programs/ld-paper.c (paper_output): Likewise.
23027         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23028         * locale/programs/ld-time.c (time_output): Likewise.
23029
23030 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23031
23032         * benchtests/Makefile: Add memrchr benchmark.
23033         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23034         benchmark as memrchr.
23035         * benchtests/bench-memrchr-ifunc.c: New file.
23036         * benchtests/bench-memrchr.c: New file.
23037
23038 2013-09-06   Will Newton  <will.newton@linaro.org>
23039
23040         * benchtests/Makefile (string-bench): Add memcpy.
23041
23042 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23043             Cong Wang  <amwang@redhat.com>
23044
23045         [BZ #15850]
23046         * sysdeps/unix/sysv/linux/bits/in.h
23047         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23048         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23049         before __USE_KERNEL_IPV6_DEFS uses.
23050         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23051         IPPROTO_BEETPH.
23052         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23053         sockaddr_in6, or ipv6_mreq.
23054
23055 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23056
23057         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23058         memory access for final bytes in some large inputs.
23059         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23060
23061 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23062
23063         * string/test-memrchr.c: New file.
23064         * string/test-memrchr-ifunc.c: New file.
23065         * string/Makefile: Add new memrchr testcase.
23066
23067 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23068
23069         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23070         fanotify_init returns EPERM.
23071
23072 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23073
23074         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23075         errors.
23076         (top level): Treat second token from macro or constant entries for
23077         allowed headers as allowed.
23078         * include/complex.h: Condition internal declarations on
23079         [!_ISOMAC].
23080         * include/fenv.h: Condition include of <stdbool.h> and internal
23081         declarations on [!_ISOMAC].
23082
23083 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23084
23085         [BZ #15923]
23086         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23087
23088 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23089
23090         * configure.in (--enable-versioning): Remove configure option.
23091         (libc_cv_asm_symver_directive): Remove configure test.
23092         (libc_cv_ld_version_script_option): Likewise.
23093         (VERSIONING): Remove variable and AC_SUBST.
23094         (DO_VERSIONING): Remove AC_DEFINE.
23095         * configure: Regenerated.
23096         * config.h.in (DO_VERSIONING): Remove macro.
23097         * Makerules [$(versioning) = yes]: Change conditionals to
23098         [$(build-shared) = yes].
23099         * config.make.in (versioning): Remove variable.
23100         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23101         [$(build-shared) = yes].
23102         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23103         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23104         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23105         [$(build-shared) = yes].
23106         * extra-lib.mk [$(versioning) = yes]: Likewise.
23107         * hurd/Makefile [$(versioning) = yes]: Likewise.
23108         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23109         [SHARED].
23110         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23111         [SHARED].
23112         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23113         [SHARED && !NO_HIDDEN].
23114         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23115         [SHARED].
23116         [SHARED && DO_VERSIONING]: Likewise..
23117         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23118         [$(build-shared) = yes].
23119         * manual/install.texi (--disable-versioning): Remove
23120         documentation.
23121         * INSTALL: Regenerated.
23122         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23123         to [SHARED].
23124         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23125         [$(build-shared) = yes].
23126         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23127         * sysdeps/i386/i686/multiarch/strstr-c.c
23128         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23129         [SHARED && !NO_HIDDEN].
23130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23131         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23132         * sysdeps/powerpc/powerpc32/dl-machine.c
23133         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23134         * sysdeps/powerpc/powerpc32/sysdep.h
23135         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23136         to [SHARED && PIC && !NO_HIDDEN].
23137         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23138         conditional to [SHARED].
23139
23140 2013-09-04   Will Newton  <will.newton@linaro.org>
23141
23142         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23143         * benchtests/bench-string.h: Include bench-timing.h instead
23144         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23145         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23146         call to HP_TIMING_DIFF_INIT.
23147         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23148         instead of hp-timing.h macros.
23149         * benchtests/bench-memchr.c: Likewise.
23150         * benchtests/bench-memcmp.c: Likewise.
23151         * benchtests/bench-memcpy.c: Likewise.
23152         * benchtests/bench-memmem.c: Likewise.
23153         * benchtests/bench-memmove.c: Likewise.
23154         * benchtests/bench-memset.c: Likewise.
23155         * benchtests/bench-rawmemchr.c: Likewise.
23156         * benchtests/bench-strcasecmp.c: Likewise.
23157         * benchtests/bench-strcasestr.c: Likewise.
23158         * benchtests/bench-strcat.c: Likewise.
23159         * benchtests/bench-strchr.c: Likewise.
23160         * benchtests/bench-strcmp.c: Likewise.
23161         * benchtests/bench-strcpy.c: Likewise.
23162         * benchtests/bench-strcpy_chk.c: Likewise.
23163         * benchtests/bench-strlen.c: Likewise.
23164         * benchtests/bench-strncasecmp.c: Likewise.
23165         * benchtests/bench-strncat.c: Likewise.
23166         * benchtests/bench-strncmp.c: Likewise.
23167         * benchtests/bench-strncpy.c: Likewise.
23168         * benchtests/bench-strnlen.c: Likewise.
23169         * benchtests/bench-strpbrk.c: Likewise.
23170         * benchtests/bench-strrchr.c: Likewise.
23171         * benchtests/bench-strspn.c: Likewise.
23172         * benchtests/bench-strstr.c: Likewise.
23173
23174 2013-09-04  Will Newton  <will.newton@linaro.org>
23175
23176         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23177
23178 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23179
23180         [BZ #15427]
23181         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23182         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23183         * math/libm-test.inc (lgamma_test_data): Add more tests.
23184         * sysdeps/i386/fpu/libm-test-ulps: Update.
23185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23186
23187 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23188
23189         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23191         Add ifunc.
23192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23193         Add strcmp-sse2-unaligned
23194         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23195
23196 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23197
23198         * Versions.def (libc): Add GLIBC_2.19.
23199
23200 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23201
23202         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23203         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23204
23205 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23206
23207         [BZ #14155]
23208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23209         intermediate calculations in recurrence.
23210         (__ieee754_ynf): Likewise.
23211         * math/libm-test.inc (jn_test_data): Do not allow spurious
23212         underflow exception.  Add more tests.
23213         (yn_test_data): Add more tests.
23214         * sysdeps/i386/fpu/libm-test-ulps: Update.
23215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23216
23217 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23218
23219         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23220
23221 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23222
23223         * csu/init-first.c: Fix then/than typos.
23224         * locale/programs/ld-collate.c: Likewise.
23225         * locale/programs/linereader.h: Likewise.
23226         * manual/charset.texi: Likewise.
23227         * manual/filesys.texi: Likewise.
23228         * manual/stdio.texi: Likewise.
23229         * manual/string.texi: Likewise.
23230         * stdlib/fmtmsg.c: Likewise.
23231         * sysdeps/i386/stpncpy.S: Likewise.
23232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23233         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23235         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23236
23237 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23238
23239         * elf/dl-open.c: Fix typos.
23240         * iconvdata/gbbig5.c: Likewise.
23241         * iconvdata/iso-2022-jp.c: Likewise.
23242         * iconv/gconv_int.h: Likewise.
23243         * iconv/loop.c: Likewise.
23244         * nis/rpcsvc/nis.h: Likewise.
23245         * resolv/ns_name.c: Likewise.
23246         * stdio-common/vfscanf.c: Likewise.
23247         * streams/stropts.h: Likewise.
23248         * sunrpc/rpc_thread.c: Likewise.
23249         * sysdeps/i386/strpbrk.S: Likewise.
23250         * sysdeps/ieee754/k_standard.c: Likewise.
23251         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23253         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23254         * sysdeps/mach/hurd/profil.c: Likewise.
23255         * sysdeps/s390/dl-procinfo.h: Likewise.
23256         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23257         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23258         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23259         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23260         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23261
23262 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23263
23264         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23266
23267 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23268
23269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23270         aix specific files.
23271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23274         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23275         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23276         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23277         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23278         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23279
23280 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23281             Roland McGrath  <roland@hack.frob.com>
23282
23283         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23284         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23285
23286 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23287
23288         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23289         __executable_start symbol instead of _start.
23290
23291 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23292
23293         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23294         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23295         Move macros to...
23296         * sysdeps/gnu/ldsodefs.h: ... this new file.
23297
23298         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23299         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23300         instead of ELFOSABI_LINUX.
23301
23302         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23303         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23304         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23305         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23306         Likewise.
23307         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23308         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23309         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23310         Likewise.
23311         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23312         (ibm_extended_long_double): Add ieee_nan member.
23313         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23314         (do_test): New function.
23315
23316         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23317         TEST_TRUNC.
23318         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23319         functions, renamed from truncdfsf_test, trunctfsf_test,
23320         trunctfdf_test.
23321         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23322         functions.
23323         (do_test): Run all these.
23324
23325 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23326
23327         * argp/argp-help.c: Fix typos.
23328         * argp/argp-parse.c: Likewise.
23329         * debug/backtracesyms.c: Likewise.
23330         * elf/elf.h: Likewise.
23331         * malloc/malloc.c: Likewise.
23332         * nis/nis_print.c: Likewise.
23333         * resolv/res_comp.c: Likewise.
23334         * stdlib/stdlib.h: Likewise.
23335         * sunrpc/clnt_tcp.c: Likewise.
23336         * sunrpc/clnt_udp.c: Likewise.
23337         * sunrpc/clnt_unix.c: Likewise.
23338         * sysdeps/unix/bsd/ptsname.c: Likewise.
23339         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23340         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23342         Likewise.
23343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23344         Likewise.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23346         Likewise.
23347         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23348
23349 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23350
23351         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23353
23354 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23355
23356         [BZ #15897]
23357         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23358         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23359         ($(objpfx)bug-dl-leaf): New rule.
23360         ($(objpfx)bug-dl-leaf.so): Likewise.
23361         ($(objpfx)bug-dl-leaf.out): Likewise.
23362         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23363         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23364         * dlfcn/bug-dl-leaf.c: New test.
23365         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23366         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23367         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23368         (dlclose): Likewise.
23369         (dlmopen): Likewise.
23370
23371 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23372
23373         * include/netdb.h [!_ISOMAC]:
23374         Don't include <tls.h>.
23375         (h_errno, __libc_h_errno): Move declaration and macros out of
23376         [_LIBC_REENTRANT].
23377
23378         * include/resolv.h [_RESOLV_H_]:
23379         Don't include <tls.h>.
23380         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23381         * resolv/res_libc.c: Don't include <tls.h>.
23382         (_res): Use __attribute__ ((nocommon)) in place of
23383         __attribute__ ((section (".bss"))).
23384
23385         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23386         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23387
23388         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23389
23390         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23391         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23392
23393         * resolv/res_mkquery.c: Include <sys/time.h>.
23394
23395         * inet/ifreq.c: Moved to ...
23396         * sysdeps/unix/ifreq.c: ... here.
23397         * inet/ifreq.c: New file, true stub version.
23398
23399         * socket/sa_len.c: New file.
23400         * socket/Makefile (aux): Add it.
23401         * sysdeps/unix/sysv/linux/Makefile
23402         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23403         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23404         and #include <socket/sa_len.c>.
23405         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23406         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23407
23408         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23409         * bits/socket.h: ... here.
23410
23411         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23412         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23413         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23414
23415 2013-08-27  Andreas Schwab  <schwab@suse.de>
23416
23417         [BZ #15736]
23418         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23419         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23420         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23421         * string/test-strcasecmp.c (test_main): Run tests in several
23422         locales.
23423         * string/test-strncasecmp.c (test_main): Likewise.
23424
23425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23426         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23427         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23428         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23429         (__strncasecmp_ssse3) [PIC]: Likewise.
23430
23431 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23432
23433         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23434
23435         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23436         instead of explicitly declaring xdecrypt.
23437         * nis/nss_nis/nis-publickey.c: Likewise.
23438
23439 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23440
23441         [BZ #15890]
23442         * nscd/aicache.c: Include res_hconf.h.
23443         (addhstaiX): Initialize res_hconf.
23444
23445 2013-08-26  Andreas Schwab  <schwab@suse.de>
23446
23447         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23448         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23449
23450 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23451
23452         * nscd/aicache.c (addhstaiX): Fix indentation.
23453
23454 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23455
23456         * configure.ac: Quote $build_pt_chown test.
23457         * configure: Regenerated.
23458
23459 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23460
23461         [BZ #15532]
23462         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23463         * math/s_cexpf.c (__cexpf): Likewise.
23464         * math/s_cexpl.c (__cexpl): Likewise.
23465         * math/libm-test.inc (cexp_test_data): Correct expected return
23466         value for NaN + i0.  Add another test.
23467
23468 2013-08-22  David S. Miller  <davem@davemloft.net>
23469
23470         * po/ca.po: Update Catalan translation from translation project.
23471         * po/uk.po: Add Ukrainian translations from translation project.
23472
23473 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23474
23475         [BZ #15797]
23476         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23477         is infinite, not alongside NaN test.
23478         * math/s_fdimf.c (__fdimf): Likewise.
23479         * math/s_fdiml.c (__fdiml): Likewise.
23480         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23481         errno is unchanged.
23482
23483 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23484
23485         * argp/argp-help.c: Fix typos.
23486         * crypt/speeds.c: Likewise.
23487         * csu/check_fds.c: Likewise.
23488         * elf/dl-load.c: Likewise.
23489         * elf/dl-open.c: Likewise.
23490         * elf/reldep3.c: Likewise.
23491         * elf/reldep.c: Likewise.
23492         * elf/sprof.c: Likewise.
23493         * iconv/iconv_charmap.c: Likewise.
23494         * iconv/skeleton.c: Likewise.
23495         * iconv/strtab.c: Likewise.
23496         * io/lockf64.c: Likewise.
23497         * libio/libioP.h: Likewise.
23498         * resolv/gai_notify.c: Likewise.
23499         * resolv/ns_name.c: Likewise.
23500         * resolv/ns_samedomain.c: Likewise.
23501         * resolv/res_send.c: Likewise.
23502         * stdlib/random.c: Likewise.
23503         * sunrpc/rpc/xdr.h: Likewise.
23504         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23505         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23506         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23507         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23509         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23511         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23512         * sysdeps/mach/hurd/check_fds.c: Likewise.
23513         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23514         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23515         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23516         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23517         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23519         * sysdeps/pthread/aio_notify.c: Likewise.
23520         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23521         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23522         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23524         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23525
23526 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23527
23528         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23529         version if bit_Slow_SSE4_2 is set.
23530         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23532
23533 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23534
23535         [BZ #15867]
23536         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23537         trampoline stack frame information.
23538         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23540         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23541         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23542         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23543         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23544         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23545         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23546         sa_flags value.
23547         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23548         interrupting a syscall and set with option SA_SIGINFO.
23549
23550 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23551
23552         [BZ #15531]
23553         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23554         argument is infinite.
23555         * math/s_cprojf.c (__cprojf): Likewise.
23556         * math/s_cprojl.c (__cprojl): Likewise.
23557         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23558         * math/libm-test.inc (cproj_test_data): Add more tests.
23559
23560         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23561
23562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23563         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23564         size.  Use __ffs to determine corresponding shift.
23565
23566 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23567             Roland McGrath  <roland@hack.frob.com>
23568
23569         * Makefile (INSTALL): Remove trailing blank lines from output of
23570         makeinfo.
23571
23572 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23573
23574         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23575         Align 32 bit compat elf_greg to 8 bytes.
23576
23577 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23578
23579         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23580
23581 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23582
23583         * string/strcoll_l.c (coll_seq): New structure.
23584         (get_next_seq_cached): New function.
23585         (get_next_seq): New function.
23586         (do_compare): New function.
23587         (STRCOLL): Use GNU style definition.  Simplify implementation
23588         by using get_next_seq, get_next_seq_cached and do_compare.
23589
23590 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23591
23592         [BZ #14699]
23593         CVE-2013-4237
23594         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23595         member.
23596         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23597         member.
23598         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23599         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23600         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23601         conditional.
23602         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23603         GETDENTS_64BIT_ALIGNED.
23604         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23605         * manual/filesys.texi (Reading/Closing Directory): Document
23606         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23607         strongly.
23608         * manual/conf.texi (Limits for Files): Add portability note to
23609         NAME_MAX, PATH_MAX.
23610         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23611
23612 2013-08-13  Andreas Schwab  <schwab@suse.de>
23613
23614         [BZ #15749]
23615         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23616         of fabs.
23617         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23618         LDBL_MAX_EXP >= 16384]: Add tests for it.
23619
23620 2013-08-12  David S. Miller  <davem@davemloft.net>
23621
23622         * version.h (RELEASE): Set to "development".
23623         (VERSION): Set to "2.18.90".
23624         * NEWS: Add 2.19 section.
23625
23626 2013-08-03  David S. Miller  <davem@davemloft.net>
23627
23628         * po/ko.po: Update Korean translation from translation project.
23629
23630 2013-08-01  David S. Miller  <davem@davemloft.net>
23631
23632         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23633         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23634         Bilka.
23635
23636 2013-07-30  David S. Miller  <davem@davemloft.net>
23637
23638         * po/fr.po: Update French translation from translation project.
23639
23640 2013-07-28  David S. Miller  <davem@davemloft.net>
23641
23642         * po/cs.po: Update Czech translation from translation project.
23643
23644         * po/sv.po: Update Swedish translation from translation project.
23645
23646 2013-07-27  David S. Miller  <davem@davemloft.net>
23647
23648         * po/eo.po: Update Esperanto translation from translation project.
23649
23650         * po/vi.po: Update Vietnamese translation from translation project.
23651
23652         * po/de.po: Update German translation from translation project.
23653
23654 2013-07-26  David S. Miller  <davem@davemloft.net>
23655
23656         * po/bg.po: Update Bulgarian translation from translation project.
23657
23658         * po/nl.po: Update Dutch translation from translation project.
23659         * po/pl.po: Update Polish translation from translation project.
23660         * po/ru.po: Update Russian translation from translation project.
23661
23662 2013-07-24  David S. Miller  <davem@davemloft.net>
23663
23664         * po/libc.pot: Update.
23665
23666 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23667
23668         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23669         variable page size.
23670         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23671         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23672         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23673
23674 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23675
23676         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23677
23678 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23679             Andreas Schwab  <schwab@suse.de>
23680             Roland McGrath  <roland@hack.frob.com>
23681             Joseph Myers  <joseph@codesourcery.com>
23682             Carlos O'Donell  <carlos@redhat.com>
23683
23684         [BZ #15755]
23685         * config.h.in: Define HAVE_PT_CHOWN.
23686         * config.make.in (build-pt-chown): New variable.
23687         * configure.in (--enable-pt_chown): New configure option.
23688         * configure: Regenerate.
23689         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23690         build-pt-chown is enabled.
23691         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23692         pt_chown to fix pty ownership.
23693         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23694         CLOSE_ALL_FDS.
23695         * manual/install.texi (Configuring and compiling): Mention
23696         --enable-pt_chown. Add @findex for grantpt.
23697         * INSTALL: Regenerate.
23698
23699 2013-07-20  David S. Miller  <davem@davemloft.net>
23700
23701         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23702         difference between 32-bit and 64-bit.
23703
23704 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23705
23706         [BZ #15711]
23707         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23708         Avoid system header dependency with -ffreestanding.
23709         ($(objpfx)bits/syscall%d): Likewise.
23710
23711 2013-07-13  David S. Miller  <davem@davemloft.net>
23712
23713         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23714         underflows from atanl/atan2l due to bug 15319.
23715         (casinh_test_data): Likewise.
23716
23717 2013-07-07  David S. Miller  <davem@davemloft.net>
23718
23719         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23720
23721 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23722
23723         * sysdeps/i386/fpu/libm-test-ulps: Update.
23724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23725
23726 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23727
23728         * configure.in (--enable-lock-elision): Fix message text.
23729         * INSTALL: Regenerate.
23730         * configure: Regenerate.
23731
23732 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23733
23734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23735
23736 2013-07-03  Andreas Jaeger  <aj@suse.de>
23737
23738         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23739         define.
23740         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23741         (ptrace_peeksiginfo_args): Add.
23742         (__ptrace_peeksiginfo_flags): Add.
23743         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23744         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23746
23747 2013-07-03  Allan McRae  <allan@archlinux.org>
23748
23749         * sysdeps/i386/fpu/libm-test-ulps: Update.
23750
23751 2013-07-02  David S. Miller  <davem@davemloft.net>
23752
23753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23754
23755 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23756
23757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23758
23759 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23760
23761         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763
23764 2013-07-02  Andi Kleen <ak@linux.intel.com>
23765
23766         * config.h.in (ENABLE_LOCK_ELISION): Add.
23767         * configure.in (--enable-lock-elision): Add option.
23768         * manual/install.texi: Document --enable lock elision.
23769         * configure: Regenerate
23770         * INSTALL: Regenerate.
23771
23772 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23773
23774         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23775         SSE4.2 strcasecmp for libc.a.
23776         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23777
23778 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23779
23780         [BZ #13304]
23781         * soft-fp/op-common.h (_FP_FMA): New macro.
23782         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23783         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23784         (_FP_MUL_MEAT_1_imm): ... here.
23785         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23786         (_FP_MUL_MEAT_1_wide): ... here.
23787         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23788         (_FP_MUL_MEAT_1_hard): ... here.
23789         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23790         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23791         (_FP_MUL_MEAT_2_wide): ... here.
23792         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23793         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23794         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23795         (_FP_MUL_MEAT_2_gmp): ... here.
23796         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23797         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23798         (_FP_MUL_MEAT_4_wide): ... here.
23799         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23800         (_FP_MUL_MEAT_4_gmp): ... here.
23801         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23802         (_FP_WFRACBITS_DW_S): Likewise.
23803         (_FP_WFRACXBITS_DW_S): Likewise.
23804         (_FP_HIGHBIT_DW_S): Likewise.
23805         (FP_FMA_S): Likewise.
23806         (_FP_FRAC_HIGH_DW_S): Likewise.
23807         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23808         (_FP_WFRACBITS_DW_D): Likewise.
23809         (_FP_WFRACXBITS_DW_D): Likewise.
23810         (_FP_HIGHBIT_DW_D): Likewise.
23811         (FP_FMA_D): Likewise.
23812         (_FP_FRAC_HIGH_DW_D): Likewise.
23813         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23814         (_FP_WFRACBITS_DW_E): Likewise.
23815         (_FP_WFRACXBITS_DW_E): Likewise.
23816         (_FP_HIGHBIT_DW_E): Likewise.
23817         (FP_FMA_E): Likewise.
23818         (_FP_FRAC_HIGH_DW_E): Likewise.
23819         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23820         (_FP_WFRACBITS_DW_Q): Likewise.
23821         (_FP_WFRACXBITS_DW_Q): Likewise.
23822         (_FP_HIGHBIT_DW_Q): Likewise.
23823         (FP_FMA_Q): Likewise.
23824         (_FP_FRAC_HIGH_DW_Q): Likewise.
23825         * soft-fp/fmasf4.c: New file.
23826         * soft-fp/fmadf4.c: Likewise.
23827         * soft-fp/fmatf4.c: Likewise.
23828
23829 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23830
23831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23832         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23833         Silvermont.
23834         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23835         macro.
23836         (index_Slow_SSE4_2): Likewise.
23837         (index_Prefer_PMINUB_for_stringop): Likewise.
23838         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23839         bit_Slow_SSE4_2 is set.
23840         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23841         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23842
23843 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23844
23845         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23846         rtld_global._dl_hwcap2.
23847         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23848         POWER8.
23849         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23850         POWER8 feature descriptions defined in _dl_hwcap2.
23851         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23852         string handling for POWER8 feature bits.
23853         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23854         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23855         _dl_powerpc_cap_flags.
23856         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23857         * sysdeps/powerpc/rtld-global-offsets.sym
23858         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23859         _dl_hwcap2 in the rtld_global_ro structure.
23860
23861 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23862
23863         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23864         hardware capabilities in support of AT_HWCAP2.
23865         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23866         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23867         GLRO(dl_hwcap2).
23868         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23869         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23870         explicitly the unknown a_type display mechanism is used.
23871         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23872         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23873         struct member.
23874         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23875         to macro prototype for AT_HWCAP2 support.
23876         * sysdeps/i386/dl-procinfo.h: Likewise.
23877         * sysdeps/s390/dl-procinfo.h: Likewise.
23878         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23879         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23880         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23881         return -1 for unknown a_type display fallback.
23882         * sysdeps/sparc/dl-procinfo.h: Likewise.
23883         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23884         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23885
23886 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23887
23888         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23889         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23890
23891 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23892
23893         [BZ #12492]
23894         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23895         mprotect making __stack_prot writable.
23896
23897 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23898             Joseph Myers  <joseph@codesourcery.com>
23899
23900         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23901         as being properly aligned.
23902
23903 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23904
23905         * dlfcn/modstatic5.c: New file.
23906         * dlfcn/tststatic5.c: New file.
23907         * dlfcn/Makefile (tests): Add tststatic5.
23908         (tests-static): Likewise.
23909         (modules-names): Add modstatic5.
23910         (tststatic5-ENV): New variable.
23911         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23912
23913         [BZ #15022]
23914         * elf/dl-support.c (_dl_main_map): New variable.
23915         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23916         (_dl_nns, _dl_load_adds): Set to 1.
23917         (_dl_initial_searchlist): Refer to _dl_main_map.
23918         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23919         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23920         call to _dl_get_origin.
23921         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23922         around call_map.
23923         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23924         * dlfcn/modstatic3.c: New file.
23925         * dlfcn/tststatic3.c: New file.
23926         * dlfcn/tststatic4.c: New file.
23927         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23928         (tests-static): Likewise.
23929         (modules-names): Add modstatic3.
23930         (tststatic3-ENV, tststatic4-ENV): New variables.
23931         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23932         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23933
23934 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23935
23936         * configure.in (CC): Require GCC version 4.4 or later.
23937         * configure: Regenerated.
23938         * manual/install.texi (Tools for Compilation): Update GCC version
23939         requirement.
23940         * INSTALL: Regenerated.
23941
23942 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23943
23944         [BZ #15674]
23945         * string/test-memcmp.c (check2): New.
23946         (main): Call check2.
23947
23948         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23949
23950 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23951
23952         [BZ #15022]
23953         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23954         over to...
23955         (dl_open_worker) [!SHARED]: ... here.
23956
23957 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23958
23959         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23960
23961 2013-06-25  Richard Henderson  <rth@redhat.com>
23962
23963         * locale/programs/locarchive.c: Include <libc-internal.h>
23964
23965 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23966
23967         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23968         trailing whitespace removed.
23969
23970 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23971
23972         [BZ #10283]
23973         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23974         * locale/programs/locarchive.c: Include libc-mmap.h.
23975         (prepare_address_space): Take two new outputs (the mmap base and len).
23976         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23977         values.
23978         (create_archive): Declare new mmap base and len values for
23979         prepare_address_space, and store the result in ah.
23980         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23981         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23982         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23983         Declare new mmap base and len values for
23984         prepare_address_space, and store the result in new_ah.
23985         (open_archive): Declare new mmap base and len values for
23986         prepare_address_space, and store the result in ah.
23987         (close_archive): If ah->mmap_base is not NULL, use that and
23988         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23989         * sysdeps/generic/libc-mmap.h: New file.
23990
23991 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23992
23993         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23994         (ALIGN_UP): Likewise.
23995         (PTR_ALIGN_DOWN): Likewise.
23996         (PTR_ALIGN_UP): Likewise.
23997
23998 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23999
24000         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24001         entry mapped to PPC_PLATFORM_POWER8.
24002         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24003         POWER8.
24004         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24005         (_dl_string_platform): Add case for exporting platform position for
24006         POWER8.
24007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24008         search path to sysdeps/powerpc/powerpc32/power8 directory.
24009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24010         search path to sysdeps/powerpc/powerpc64/power8 directory.
24011         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24012         power7 directories.
24013         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24014         power7 directories.
24015
24016 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24017
24018         * INSTALL: Regenerate.
24019
24020         * nscd/connections.c (nscd_init): Fix comment.
24021
24022 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24023
24024         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24025
24026         [BZ #15667]
24027         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24028         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24029
24030 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24031
24032         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24033         DL_DST_REQ_STATIC.
24034         (DL_DST_REQ_STATIC): Remove macro.
24035
24036 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24037
24038         [BZ #7006]
24039         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24040         with a shift of 0 bits.
24041
24042 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24043
24044         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24045         $(tststatic-ENV).
24046
24047 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24048
24049         [BZ #15655]
24050         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24051
24052 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24053
24054         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24055         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24056         accepts -fno-tree-loop-distribute-patterns.
24057         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24058         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24059         recursive call.
24060         * string/memset.c (memset): Likewise.
24061         * string/test-memmove.c (simple_memmove): Disable loop transformation
24062         to library calls.
24063         * string/test-memset.c (simple_memset): Likewise.
24064         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24065         * benchtests/bench-memset.c (simple_memset): Likewise.
24066         * configure: Regenerated.
24067
24068 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24069
24070         * math/test-misc.c (main): Ignore fesetround failure when failures
24071         of subsequent rounding tests would be ignored.
24072
24073         [BZ #15654]
24074         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24075         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24076         * math/fegetenv.c (__fegetenv): Return 0.
24077         * math/fegetexcept.c (fegetexcept): Return 0.
24078         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24079         FE_TONEAREST.
24080         * math/feholdexcpt.c (feholdexcept): Return 0.
24081         * math/fesetenv.c (__fesetenv): Return 0.
24082         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24083         argument FE_TONEAREST.
24084         * math/feupdateenv.c (__feupdateenv): Return 0.
24085         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24086
24087 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24088
24089         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24090         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24091         ($(objpfx)rtld-%.os rules): Use them.
24092
24093 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24094
24095         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24096         fields.
24097
24098 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24099
24100         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24101         length of target pattern, then descending length of dependency pattern.
24102         * configure.in (AWK): Require gawk 3.1.2 or newer.
24103         * manual/install.texi (Tools for Compilation): Say that we do.
24104         * configure: Regenerated.
24105
24106         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24107         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24108         * scripts/sysd-rules.awk: ... this new script.
24109         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24110         than a glob-style pattern.
24111
24112 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24113
24114         * math/test-misc.c (main): Do not treat incorrectly rounded
24115         conversions as failure unless ROUNDING_TESTS passes.
24116
24117 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24118
24119         [BZ #15631]
24120         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24121         restore exception state around main square root computation, then
24122         check for inexactness explicitly.
24123
24124         * math/libm-test.inc (fma_test_data): Add another test.
24125
24126 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24127
24128         * manual/threads.texi (Non-POSIX Extensions): New document
24129         node.  Document pthread_getattr_default_np and
24130         pthread_setattr_default_np.
24131
24132         * Versions.def (libpthread): Add GLIBC_2.18.
24133         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24135         Likewise.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24139         Likewise.
24140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24141         Likewise.
24142         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24143         Likewise.
24144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24145         Likewise.
24146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24147         Likewise.
24148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24149         Likewise.
24150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24151         Likewise.
24152
24153 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24154
24155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24156         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24157
24158 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159             H.J. Lu  <hjl.tools@gmail.com>
24160
24161         [BZ #15627]
24162         * sysdeps/x86_64/rtld-memset.c: Remove file.
24163         * sysdeps/x86_64/rtld-memset.S: New file.
24164
24165 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24166
24167         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24168         (test_in_one_mode): Take arguments for whether the rounding mode
24169         is supported for each floating-point type.
24170         (do_test): Pass new arguments to test_in_one_mode using
24171         ROUNDING_TESTS.
24172
24173 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24174
24175         * posix/tst-waitid.c (do_test): Distinguish different instances of
24176         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24177         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24178         before entering the kernel for waitpid.
24179
24180 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24181
24182         * NEWS: Fix note on clock function precision.  Text by Roland
24183         McGrath.
24184
24185 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24186
24187         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24188         it into place only when and if the sanity check passes.
24189
24190 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24191
24192         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24193         output for whether conversion result is exact.  Take argument
24194         indicating whether type is IBM long double.
24195         (round_for_all): Change need_exact field to ibm_ld.
24196         * stdlib/tst-strtod-round.c (struct exactness): New type.
24197         (struct test): Change bool ld_ok field to struct exactness exact.
24198         (TEST): Update all definitions for change to field.
24199         (tests): Regenerate array contents.
24200         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24201         field value.  Check for IBM long double here.
24202         (do_test): Update calls to test_in_one_mode.
24203
24204 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24205
24206         [BZ #12515]
24207         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24208         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24209
24210 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24211
24212         [BZ #15605]
24213         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24214         generated by the compiler on loop optimizations.
24215         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24216         general definitions.
24217
24218 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24219
24220         * math/bug-nextafter.c: Include <math-tests.h>.
24221         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24222         the relevant type.
24223         * math/bug-nexttoward.c: Include <math-tests.h>.
24224         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24225         the relevant type.
24226         * math/test-misc.c: Include <math-tests.h>.
24227         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24228         the relevant type.
24229
24230 2013-06-12  Andreas Jaeger  <aj@suse.de>
24231
24232         * po/ia.po: Update Interlingua translation from translation
24233         project.
24234
24235 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24236
24237         * include/fenv.h: Include stdbool.h.
24238         (struct rm_ctx): New structure.
24239         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24240         Define macro.
24241         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24242         (SET_RESTORE_ROUNDF): Likewise.
24243         (SET_RESTORE_ROUNDL): Likewise.
24244         (SET_RESTORE_ROUND_NOEX): Likewise.
24245         (SET_RESTORE_ROUND_NOEXF): Likewise.
24246         (SET_RESTORE_ROUND_NOEXL): Likewise.
24247         (SET_RESTORE_ROUND_53BIT): Likewise.
24248         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24249         (libc_feresetround_noexf_ctx): Likewise.
24250         (libc_feresetround_noexl_ctx): Likewise.
24251         (libc_feholdsetround_53bit_ctx): Likewise.
24252         (libc_feresetround_53bit_ctx): Likewise.
24253         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24254         (libc_feholdexcept_setround_sse_ctx): New function.
24255         (libc_fesetenv_sse_ctx): Likewise.
24256         (libc_feupdateenv_sse_ctx): Likewise.
24257         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24258         (libc_feholdexcept_setround_387_ctx): Likewise.
24259         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24260         (libc_feholdsetround_387_prec_ctx): Likewise.
24261         (libc_feholdsetround_387_ctx): Likewise.
24262         (libc_feholdsetround_387_53bit_ctx): Likewise.
24263         (libc_feholdsetround_sse_ctx): Likewise.
24264         (libc_feresetround_sse_ctx): Likewise.
24265         (libc_feresetround_387_ctx): Likewise.
24266         (libc_feupdateenv_387_ctx): Likewise.
24267         (libc_feholdexcept_setroundf_ctx): Define macro.
24268         (libc_fesetenvf_ctx): Likewise.
24269         (libc_feupdateenvf_ctx): Likewise.
24270         (libc_feholdsetroundf_ctx): Likewise.
24271         (libc_feresetroundf_ctx): Likewise.
24272         (libc_feholdexcept_setround_ctx): Likewise.
24273         (libc_fesetenv_ctx): Likewise.
24274         (libc_feupdateenv_ctx): Likewise.
24275         (libc_feholdsetround_ctx): Likewise.
24276         (libc_feresetround_ctx): Likewise.
24277         (libc_feholdexcept_setroundl_ctx): Likewise.
24278         (libc_feupdateenvl_ctx): Likewise.
24279         (libc_feholdsetroundl_ctx): Likewise.
24280         (libc_feresetroundl_ctx): Likewise.
24281         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24282         (libc_feresetround_53bit_ctx): Likewise.
24283
24284 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24285
24286         * locale/iso-639.def: Convert to UTF-8.
24287
24288 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24289
24290         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24291         (EXCEPTION_TESTS_double): Likewise.
24292         (EXCEPTION_TESTS_long_double): Likewise.
24293         (EXCEPTION_TESTS): Likewise.
24294         * math/libm-test.inc (test_exceptions): Only test exceptions if
24295         EXCEPTION_TESTS (FLOAT).
24296
24297 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24298
24299         * benchtests/Makefile (string-bench): Add strcpy_chk and
24300         stpcpy_chk.
24301         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24302         * benchtests/bench-stpcpy_chk.c: New file.
24303         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24304         * benchtests/bench-strcpy_chk.c: New file.
24305         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24306         code.
24307         (do_test): Likewise.
24308
24309 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24310
24311         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24312         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24313         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24314         with tabs where appropriate.
24315         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24316         dl-procinfo.h.
24317         [PPC_PLATFORM_PPC440]: Likewise.
24318         [PPC_PLATFORM_PPC464]: Likewise.
24319         [PPC_PLATFORM_PPC476]: Likewise.
24320         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24321         ppc464, and ppc476 platform strings merging from ports/
24322         dl-procinfo.h.
24323
24324 2013-06-11  Andreas Schwab  <schwab@suse.de>
24325
24326         [BZ #14991]
24327         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24328         (from_ucs4_idx): Regenerate.
24329         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24330         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24331         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24332         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24333         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24334         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24335         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24336         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24337         from FROM_LOOP and TO_LOOP specific macros.
24338         (BODY): Handle combining characters.
24339         * iconvdata/BIG5HKSCS.irreversible: Update.
24340         * iconvdata/BIG5HKSCS.precomposed: New file.
24341         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24342         characters.
24343         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24344
24345 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24346
24347         * include/sys/time.h: Fix indentation and add copyright header.
24348
24349         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24350         (do_test): Likewise.
24351         * string/test-memchr.c (do_one_test): Likewise.
24352         (do_test): Likewise.
24353         * string/test-memcmp.c (do_one_test): Likewise.
24354         (do_test): Likewise.
24355         * string/test-memcpy.c (do_one_test): Likewise.
24356         (do_test): Likewise.
24357         * string/test-memmem.c (do_one_test): Likewise.
24358         (do_test): Likewise.
24359         (do_random_tests): Likewise.
24360         * string/test-memmove.c (do_one_test): Likewise.
24361         (do_test): Likewise.
24362         * string/test-memset.c (do_one_test): Likewise.
24363         (do_test): Likewise.
24364         * string/test-rawmemchr.c (do_one_test): Likewise.
24365         (do_test): Likewise.
24366         * string/test-strcasecmp.c (do_one_test): Likewise.
24367         (do_test): Likewise.
24368         * string/test-strcasestr.c (do_one_test): Likewise.
24369         (do_test): Likewise.
24370         * string/test-strcat.c (do_one_test): Likewise.
24371         (do_test): Likewise.
24372         * string/test-strchr.c (do_one_test): Likewise.
24373         (do_test): Likewise.
24374         * string/test-strcmp.c (do_one_test): Likewise.
24375         (do_test): Likewise.
24376         * string/test-strcpy.c (do_one_test): Likewise.
24377         (do_test): Likewise.
24378         * string/test-string.h: Likewise.
24379         (test_init): Likewise.
24380         * string/test-strlen.c (do_one_test): Likewise.
24381         (do_test): Likewise.
24382         * string/test-strncasecmp.c (do_one_test): Likewise.
24383         (do_test): Likewise.
24384         * string/test-strncat.c (do_one_test): Likewise.
24385         (do_test): Likewise.
24386         * string/test-strncmp.c (do_one_test): Likewise.
24387         (do_test_limit): Likewise.
24388         (do_test): Likewise.
24389         * string/test-strncpy.c (do_one_test): Likewise.
24390         (do_test): Likewise.
24391         * string/test-strnlen.c (do_one_test): Likewise.
24392         (do_test): Likewise.
24393         * string/test-strpbrk.c (do_one_test): Likewise.
24394         (do_test): Likewise.
24395         * string/test-strrchr.c (do_one_test): Likewise.
24396         (do_test): Likewise.
24397         * string/test-strspn.c (do_one_test): Likewise.
24398         (do_test): Likewise.
24399         * string/test-strstr.c (do_one_test): Likewise.
24400         (do_test): Likewise.
24401
24402         * benchtests/Makefile (string-bench): Add string benchmarks.
24403         * benchtests/bench-bcopy-ifunc.c: New file.
24404         * benchtests/bench-bcopy.c: New file.
24405         * benchtests/bench-bzero-ifunc.c: New file.
24406         * benchtests/bench-bzero.c: New file.
24407         * benchtests/bench-memccpy-ifunc.c: New file.
24408         * benchtests/bench-memccpy.c: New file.
24409         * benchtests/bench-memchr-ifunc.c: New file.
24410         * benchtests/bench-memchr.c: New file.
24411         * benchtests/bench-memcmp-ifunc.c: New file.
24412         * benchtests/bench-memcmp.c: New file.
24413         * benchtests/bench-memmem-ifunc.c: New file.
24414         * benchtests/bench-memmem.c: New file.
24415         * benchtests/bench-memmove-ifunc.c: New file.
24416         * benchtests/bench-memmove.c: New file.
24417         * benchtests/bench-mempcpy-ifunc.c: New file.
24418         * benchtests/bench-mempcpy.c: New file.
24419         * benchtests/bench-memset-ifunc.c: New file.
24420         * benchtests/bench-memset.c: New file.
24421         * benchtests/bench-rawmemchr-ifunc.c: New file.
24422         * benchtests/bench-rawmemchr.c: New file.
24423         * benchtests/bench-stpcpy-ifunc.c: New file.
24424         * benchtests/bench-stpcpy.c: New file.
24425         * benchtests/bench-stpncpy-ifunc.c: New file.
24426         * benchtests/bench-stpncpy.c: New file.
24427         * benchtests/bench-strcasecmp-ifunc.c: New file.
24428         * benchtests/bench-strcasecmp.c: New file.
24429         * benchtests/bench-strcasestr-ifunc.c: New file.
24430         * benchtests/bench-strcasestr.c: New file.
24431         * benchtests/bench-strcat-ifunc.c: New file.
24432         * benchtests/bench-strcat.c: New file.
24433         * benchtests/bench-strchr-ifunc.c: New file.
24434         * benchtests/bench-strchr.c: New file.
24435         * benchtests/bench-strchrnul-ifunc.c: New file.
24436         * benchtests/bench-strchrnul.c: New file.
24437         * benchtests/bench-strcmp-ifunc.c: New file.
24438         * benchtests/bench-strcmp.c: New file.
24439         * benchtests/bench-strcpy-ifunc.c: New file.
24440         * benchtests/bench-strcpy.c: New file.
24441         * benchtests/bench-strcspn-ifunc.c: New file.
24442         * benchtests/bench-strcspn.c: New file.
24443         * benchtests/bench-strlen-ifunc.c: New file.
24444         * benchtests/bench-strlen.c: New file.
24445         * benchtests/bench-strncasecmp-ifunc.c: New file.
24446         * benchtests/bench-strncasecmp.c: New file.
24447         * benchtests/bench-strncat-ifunc.c: New file.
24448         * benchtests/bench-strncat.c: New file.
24449         * benchtests/bench-strncmp-ifunc.c: New file.
24450         * benchtests/bench-strncmp.c: New file.
24451         * benchtests/bench-strncpy-ifunc.c: New file.
24452         * benchtests/bench-strncpy.c: New file.
24453         * benchtests/bench-strnlen-ifunc.c: New file.
24454         * benchtests/bench-strnlen.c: New file.
24455         * benchtests/bench-strpbrk-ifunc.c: New file.
24456         * benchtests/bench-strpbrk.c: New file.
24457         * benchtests/bench-strrchr-ifunc.c: New file.
24458         * benchtests/bench-strrchr.c: New file.
24459         * benchtests/bench-strspn-ifunc.c: New file.
24460         * benchtests/bench-strspn.c: New file.
24461         * benchtests/bench-strstr-ifunc.c: New file.
24462         * benchtests/bench-strstr.c: New file.
24463
24464         * benchtests/Makefile: Disable parallel execution of targets.
24465         (string-bench): Add memcpy.
24466         (benchset): New variable to store a list of benchmark sets.
24467         (bench-func): Renamed from bench.
24468         (bench-set): New target.
24469         (bench): Depend on bench-func and bench-set.
24470         * benchtests/README: Add section on benchmark sets.
24471         * benchtests/bench-memcpy-ifunc.c: New file.
24472         * benchtests/bench-memcpy.c: New file.
24473         * benchtests/bench-string.h: New file.
24474
24475 2013-06-11  Andreas Schwab  <schwab@suse.de>
24476
24477         [BZ #15577]
24478         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24479         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24480         values in the triple.
24481         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24482         terminator in the group key.
24483
24484 2013-06-11  Andreas Jaeger  <aj@suse.de>
24485
24486         * po/zh_TW.po: Update Chinese (traditional) translation from
24487         translation project.
24488
24489 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24490
24491         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24492         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24493         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24494         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24495         (clock_getcpuclockid): Likewise.
24496         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24497         Add weak_alias and libc_hidden_def.
24498         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24499         * rt/clock_gettime.c (clock_gettime): Rename to
24500         __clock_gettime.  Add weak_alias and libc_hidden_def.
24501         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24502         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24503         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24504         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24505         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24506         Likewise.
24507         * rt/clock_settime.c (clock_settime): Rename to
24508         __clock_settime.  Add weak_alias and libc_hidden_def.
24509         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24510
24511 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24512
24513         * mach/err_boot.sub: Remove trailing whitespace.
24514         * mach/err_ipc.sub: Likewise.
24515         * mach/err_mach.sub: Likewise.
24516
24517         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24518         (ROUNDING_TESTS_double): Likewise.
24519         (ROUNDING_TESTS_long_double): Likewise.
24520         (ROUNDING_TESTS): Likewise.
24521         * math/libm-test.inc: Include <math-tests.h>.
24522         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24523         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24524         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24525         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24526
24527 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24528
24529         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24530         of assigning.
24531
24532 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24533
24534         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24535         otherwise empty TRANS lines.
24536         * sysdeps/gnu/errlist.c: Regenerated.
24537
24538         * catgets/gencat.c (error_print): Use (void) in function
24539         definition.
24540         * crypt/crypt_util.c (__init_des): Likewise.
24541         * crypt/speeds.c (Stop): Likewise.
24542         (main): Likewise.
24543         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24544         * inet/ruserpass.c (token): Likewise.
24545         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24546         * intl/localealias.c (extend_alias_table): Likewise.
24547         * intl/plural-exp.c (init_germanic_plural): Likewise.
24548         * libio/fcloseall.c (__fcloseall): Likewise.
24549         * libio/genops.c (_IO_flush_all): Likewise.
24550         (_IO_flush_all_linebuffered): Likewise.
24551         (_IO_cleanup): Likewise.
24552         (_IO_iter_begin): Likewise.
24553         (_IO_iter_end): Likewise.
24554         (_IO_list_lock): Likewise.
24555         (_IO_list_unlock): Likewise.
24556         (_IO_list_resetlock): Likewise.
24557         * libio/getchar.c (getchar): Likewise.
24558         * libio/getchar_u.c (getchar_unlocked): Likewise.
24559         * libio/getwchar.c (getwchar): Likewise.
24560         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24561         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24562         * login/getpt.c (__getpt): Likewise.
24563         * login/tst-utmp.c (main): Likewise.
24564         * malloc/hooks.c (__malloc_check_init): Likewise.
24565         * malloc/malloc.c (__malloc_stats): Likewise.
24566         * malloc/mtrace.c (tr_break): Likewise.
24567         (mtrace): Likewise.
24568         (muntrace): Likewise.
24569         * misc/fstab.c (endfsent): Likewise.
24570         * misc/getclktck.c (__getclktck): Likewise.
24571         * misc/getdtsz.c (__getdtablesize): Likewise.
24572         * misc/gethostid.c (gethostid): Likewise.
24573         * misc/getpagesize.c (__getpagesize): Likewise.
24574         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24575         (__get_nprocs): Likewise.
24576         (__get_phys_pages): Likewise.
24577         (__get_avphys_pages): Likewise.
24578         * misc/getttyent.c (getttyent): Likewise.
24579         (setttyent): Likewise.
24580         (endttyent): Likewise.
24581         * misc/getusershell.c (getusershell): Likewise.
24582         (endusershell): Likewise.
24583         (setusershell): Likewise.
24584         (initshells): Likewise.
24585         * misc/hsearch.c (__hdestroy): Likewise.
24586         * misc/sync.c (sync): Likewise.
24587         * misc/syslog.c (closelog_internal): Likewise.
24588         (closelog): Likewise.
24589         * misc/ttyslot.c (ttyslot): Likewise.
24590         * misc/vhangup.c (vhangup): Likewise.
24591         * posix/fork.c (__fork): Likewise.
24592         * posix/getegid.c (__getegid): Likewise.
24593         * posix/geteuid.c (__geteuid): Likewise.
24594         * posix/getgid.c (__getgid): Likewise.
24595         * posix/getpid.c (__getpid): Likewise.
24596         * posix/getppid.c (__getppid): Likewise.
24597         * posix/getuid.c (__getuid): Likewise.
24598         * posix/pause.c (pause): Likewise.
24599         * posix/setpgrp.c (setpgrp): Likewise.
24600         * posix/setsid.c (__setsid): Likewise.
24601         * posix/test-vfork.c (noop): Likewise.
24602         * resolv/gethnamaddr.c (_endhtent): Likewise.
24603         (_gethtent): Likewise.
24604         (ht_endhostent): Likewise.
24605         (gethostent): Likewise.
24606         (dns_service): Likewise.
24607         * stdlib/drand48.c (drand48): Likewise.
24608         * stdlib/lrand48.c (lrand48): Likewise.
24609         * stdlib/mrand48.c (mrand48): Likewise.
24610         * stdlib/rand.c (rand): Likewise.
24611         * stdlib/random.c (__random): Likewise.
24612         * stdlib/setenv.c (clearenv): Likewise.
24613         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24614         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24615         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24616         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24617         (__get_nprocs): Likewise.
24618         (__get_phys_pages): Likewise.
24619         (__get_avphys_pages): Likewise.
24620         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24621         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24622         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24623         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24624         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24625         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24626         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24627         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24628         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24629         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24630         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24631         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24632         * sysdeps/posix/clock.c (clock): Likewise.
24633         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24634         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24635         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24636         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24637         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24639         (__get_nprocs_conf): Likewise.
24640         (__get_phys_pages): Likewise.
24641         (__get_avphys_pages): Likewise.
24642         * time/clock.c (clock): Likewise.
24643         * time/tzset.c (__tzname_max): Likewise.
24644
24645 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24646
24647         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24648         (__bswap_32): Do not use "register".
24649         * crypt/crypt.c (_ufc_doit_r): Likewise.
24650         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24651         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24652         * gmon/gmon.c (__monstartup): Likewise.
24653         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24654         * hurd/hurdmalloc.c (more_memory): Likewise.
24655         (malloc): Likewise.
24656         (free): Likewise.
24657         (realloc): Likewise.
24658         (malloc_fork_prepare): Likewise.
24659         (malloc_fork_parent): Likewise.
24660         (malloc_fork_child): Likewise.
24661         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24662         (_svcauth_des): Likewise.
24663         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24664         * inet/inet_net.c (inet_network): Likewise.
24665         * inet/inet_netof.c (inet_netof): Likewise.
24666         * inet/rcmd.c (__validuser2_sa): Likewise.
24667         * io/fts.c (fts_open): Likewise.
24668         (fts_load): Likewise.
24669         (fts_close): Likewise.
24670         (fts_read): Likewise.
24671         (fts_children): Likewise.
24672         (fts_build): Likewise.
24673         (fts_stat): Likewise.
24674         (fts_sort): Likewise.
24675         (fts_alloc): Likewise.
24676         (fts_lfree): Likewise.
24677         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24678         (_IO_file_xsgetn): Likewise.
24679         (_IO_file_xsgetn_mmap): Likewise.
24680         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24681         (_IO_cookie_write): Likewise.
24682         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24683         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24684         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24685         * malloc/obstack.c (_obstack_begin): Likewise.
24686         (_obstack_begin_1): Likewise.
24687         (_obstack_newchunk): Likewise.
24688         (_obstack_allocated_p): Likewise.
24689         (obstack_free): Likewise.
24690         (_obstack_memory_used): Likewise.
24691         * misc/getttyent.c (getttynam): Likewise.
24692         (getttyent): Likewise.
24693         (skip): Likewise.
24694         (value): Likewise.
24695         * misc/getusershell.c (initshells): Likewise.
24696         * misc/syslog.c (__vsyslog_chk): Likewise.
24697         * misc/ttyslot.c (ttyslot): Likewise.
24698         * nis/nis_hash.c (__nis_hash): Likewise.
24699         * posix/fnmatch_loop.c (FCT): Likewise.
24700         * posix/getconf.c (print_all): Likewise.
24701         (main): Likewise.
24702         * posix/getopt.c (exchange): Likewise.
24703         * posix/glob.c (globfree): Likewise.
24704         (prefix_array): Likewise.
24705         (__glob_pattern_type): Likewise.
24706         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24707         (NS_GET32): Likewise.
24708         (NS_PUT16): Likewise.
24709         (NS_PUT32): Likewise.
24710         * resolv/gethnamaddr.c (getanswer): Likewise.
24711         (gethostbyname2): Likewise.
24712         (gethostbyaddr): Likewise.
24713         (_gethtent): Likewise.
24714         (_gethtbyname2): Likewise.
24715         (_gethtbyaddr): Likewise.
24716         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24717         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24718         * resolv/res_init.c (__res_vinit): Likewise.
24719         (net_mask): Likewise.
24720         * resolv/res_mkquery.c (outchar): Likewise.
24721         (PRINT): Likewise.
24722         * stdio-common/printf_fp.c (outchar): Likewise.
24723         (PRINT): Likewise.
24724         * stdio-common/printf_fphex.c (outchar): Likewise.
24725         (PRINT): Likewise.
24726         * stdio-common/printf_size.c (outchar): Likewise.
24727         (PRINT): Likewise.
24728         * stdio-common/test_rdwr.c (main): Likewise.
24729         * stdio-common/tfformat.c (matches): Likewise.
24730         * stdio-common/vfprintf.c (outchar): Likewise.
24731         (printf_unknown): Likewise.
24732         (buffered_vfprintf): Likewise.
24733         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24734         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24735         (ReadFile): Likewise.
24736         * stdlib/qsort.c (SWAP): Likewise.
24737         (_quicksort): Likewise.
24738         * stdlib/setenv.c (__add_to_environ): Likewise.
24739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24740         * stdlib/strtol_l.c (__strtol_l): Likewise.
24741         * stdlib/tst-strtod.c (main): Likewise.
24742         * stdlib/tst-strtol.c (main): Likewise.
24743         * stdlib/tst-strtoll.c (main): Likewise.
24744         * string/bits/string2.h (__strcmp_cc): Likewise.
24745         (__strcmp_cg): Likewise.
24746         (__strcspn_c1): Likewise.
24747         (__strcspn_c2): Likewise.
24748         (__strcspn_c3): Likewise.
24749         (__strspn_c1): Likewise.
24750         (__strspn_c2): Likewise.
24751         (__strspn_c3): Likewise.
24752         (__strsep_1c): Likewise.
24753         (__strsep_2c): Likewise.
24754         (__strsep_3c): Likewise.
24755         * string/memccpy.c (__memccpy): Likewise.
24756         * string/stpcpy.c (__stpcpy): Likewise.
24757         * string/strcmp.c (strcmp): Likewise.
24758         * string/strrchr.c (strrchr): Likewise.
24759         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24760         Likewise.
24761         * sysdeps/mach/hurd/getcwd.c
24762         (_hurd_canonicalize_directory_name_internal): Likewise.
24763         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24764         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24765         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24766         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24767         Likewise, in both definitions.
24768         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24769         definitions.
24770         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24771         64] (__bswap_64): Likewise.
24772         * time/test_time.c (main): Likewise.
24773         * time/tzfile.c (__tzfile_read): Likewise.
24774         (__tzfile_compute): Likewise.
24775         * time/tzset.c (__tzset_parse_tz): Likewise.
24776         (tzset_internal): Likewise.
24777         (compute_change): Likewise.
24778         * wcsmbs/wcscat.c (__wcscat): Likewise.
24779         * wcsmbs/wcschr.c (wcschr): Likewise.
24780         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24781         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24782         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24783         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24784         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24785         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24786         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24787         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24788         * wcsmbs/wmemset.c (wmemset): Likewise.
24789
24790 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24791
24792         * scripts/config.guess: Update to version 2013-05-16.
24793         * scripts/config.sub: Update to version 2013-04-24.
24794         * scripts/install-sh: Update to version 2011-11-20.07.
24795         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24796         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24797
24798 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24799
24800         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24801         * elf/sln.c: Likewise.
24802         * hurd/hurd/ioctl.h: Likewise.
24803         * hurd/hurdmalloc.c: Likewise.
24804         * hurd/xattr.c: Likewise.
24805         * include/shlib-compat.h: Likewise.
24806         * inet/ruserpass.c: Likewise.
24807         * libio/iofgets_u.c: Likewise.
24808         * libio/iofgetws_u.c: Likewise.
24809         * locale/programs/ld-identification.c: Likewise.
24810         * locale/programs/ld-time.c: Likewise.
24811         * mach/msg-destroy.c: Likewise.
24812         * nss/nss_files/files-netgrp.c: Likewise.
24813         * resolv/res_data.c: Likewise.
24814         * soft-fp/op-1.h: Likewise.
24815         * soft-fp/op-2.h: Likewise.
24816         * soft-fp/op-4.h: Likewise.
24817         * soft-fp/op-common.h: Likewise.
24818         * stdio-common/printf_fphex.c: Likewise.
24819         * stdlib/strtod_l.c: Likewise.
24820         * sunrpc/rpc/clnt.h: Likewise.
24821         * sysdeps/generic/framestate.c: Likewise.
24822         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24823         * sysdeps/i386/bsd-setjmp.S: Likewise.
24824         * sysdeps/i386/__longjmp.S: Likewise.
24825         * sysdeps/i386/setjmp.S: Likewise.
24826         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24827         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24828         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24829         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24831         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24835         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24836         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24837         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24838         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24839         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24840         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24842         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24843         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24844         * sysdeps/ieee754/support.c: Likewise.
24845         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24846         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24847         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24848         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24849         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24850         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24851         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24852         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24853         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24854         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24855         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24856         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24857         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24858         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24859         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24860         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24861         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24863
24864 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24865
24866         * posix/transbug.c: Remove executable mode.
24867
24868 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24869
24870         * crypt/speeds.c: Remove trailing whitespace.
24871         * dlfcn/default.c: Likewise.
24872         * elf/ifuncdep2.c: Likewise.
24873         * elf/ifuncmain1.c: Likewise.
24874         * elf/ifuncmain1vis.c: Likewise.
24875         * elf/testobj.h: Likewise.
24876         * elf/tst-stackguard1.c: Likewise.
24877         * gmon/sys/gmon.h: Likewise.
24878         * hurd/hurdmsg.c: Likewise.
24879         * hurd/new-fd.c: Likewise.
24880         * hurd/ports-get.c: Likewise.
24881         * iconvdata/ibm1008_420.c: Likewise.
24882         * inet/tst-getni1.c: Likewise.
24883         * inet/tst-getni2.c: Likewise.
24884         * libio/ioungetc.c: Likewise.
24885         * libio/wfiledoalloc.c: Likewise.
24886         * manual/libm-err-tab.pl: Likewise.
24887         * math/w_dremf.c: Likewise.
24888         * misc/ftruncate.c: Likewise.
24889         * posix/bug-glob2.c: Likewise.
24890         * posix/tst-pcre.c: Likewise.
24891         * posix/wait4.c: Likewise.
24892         * resolv/README: Likewise.
24893         * resolv/res_debug.h: Likewise.
24894         * resolv/tst-inet_ntop.c: Likewise.
24895         * setjmp/bug269-setjmp.c: Likewise.
24896         * soft-fp/extended.h: Likewise.
24897         * soft-fp/op-1.h: Likewise.
24898         * soft-fp/op-2.h: Likewise.
24899         * soft-fp/op-4.h: Likewise.
24900         * soft-fp/op-8.h: Likewise.
24901         * soft-fp/testit.c: Likewise.
24902         * stdio-common/bug16.c: Likewise.
24903         * stdlib/random.c: Likewise.
24904         * sunrpc/rpcsvc/rquota.x: Likewise.
24905         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24906         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24908         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24909         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24910         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24911         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24912         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24913         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24914         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24915         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24917         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24918         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24919         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24920         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24921         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24922         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24923         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24924         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24925         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24926         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24927         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24928         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24929         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24930         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24933         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24934         * sysdeps/ieee754/s_lib_version.c: Likewise.
24935         * sysdeps/mach/hurd/check_fds.c: Likewise.
24936         * sysdeps/mach/hurd/getsockname.c: Likewise.
24937         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24938         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24939         * sysdeps/powerpc/bits/link.h: Likewise.
24940         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24941         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24942         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24943         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24944         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24945         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24946         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24947         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24948         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24949         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24950         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24951         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24952         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24953         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24954         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24955         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24958         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24961         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24963         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24964         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24966         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24968         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24973         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24974         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24975         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24976         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24977         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24978         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24979         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24980         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24981         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24982         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24983         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24984         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24985         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24986         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24987         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24988         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24989         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24992         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24993         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24994         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24995         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24996         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24997         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25002         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25003         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25004         * sysdeps/powerpc/sysdep.h: Likewise.
25005         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25006         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25007         * sysdeps/sh/dl-trampoline.S: Likewise.
25008         * sysdeps/sh/memset.S: Likewise.
25009         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25010         * sysdeps/sh/strlen.S: Likewise.
25011         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25012         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25013         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25014         * sysdeps/sparc/sparc32/rem.S: Likewise.
25015         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25016         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25017         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25018         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25019         * sysdeps/sparc/sparc32/urem.S: Likewise.
25020         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25021         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25022         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25023         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25024         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25025         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25026         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25027         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25028         * sysdeps/unix/bsd/times.c: Likewise.
25029         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25030         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25034         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25035         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25036         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25037         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25038         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25039         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25040         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25041         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25042         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25043         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25044         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25045         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25046         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25047         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25048         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25049         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25050         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25051         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25052         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25053         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25054         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25055         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25056         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25057         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25058         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25059         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25060         * sysdeps/x86_64/strcspn.S: Likewise.
25061
25062 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25063
25064         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25065         generated file.  Regenerate properly from gen-translit.pl.
25066         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25067         locale/C-translit.h.
25068
25069 2013-06-05  Andreas Schwab  <schwab@suse.de>
25070
25071         [BZ #15100]
25072         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25073         week as 6 instead of -1.
25074         * time/tst-strptime.c (day_tests): Add test case.
25075
25076 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25077
25078         * sysdeps/generic/math_private.h
25079         (libc_feholdexcept_setround_53bit): Replace with
25080         libc_feholdsetround_53bit.
25081         (libc_feupdateenv_53bit): Replace with
25082         libc_feresetround_53bit.
25083         (SET_RESTORE_ROUND_53BIT): Adjust.
25084
25085 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25086
25087         * string/test-strchrnul.c: Add copyright header.
25088
25089         * posix/tst-getaddrinfo4.c: Increase test timeout.
25090
25091 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25092
25093         [BZ #15536]
25094         * math/libm-test.inc (MAX_EXP): Remove
25095         (MIN_EXP): Define.
25096         (ulp): Use MIN_EXP - MANT_DIG.
25097         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25098
25099 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25100
25101         * po/be.po: Revert last change.
25102         * po/zh_CN.po: Likewise.
25103         * po/header.pot: Likewise.
25104
25105 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25106
25107         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25108         link-libc-deps to empty as target-specific variable.
25109         * Makerules (link-libc-args): New variable.
25110         (libc-for-link): Likewise.
25111         (link-libc-deps): Likewise.
25112         (lib%.so): Depend on $(link-libc-deps).  Link with
25113         $(link-libc-args).
25114         (build-module): Link with $(link-libc-args).
25115         (build-module-asneeded): Likewise.
25116         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25117         list of objects.
25118         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25119         target-specific variable.
25120         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25121         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25122         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25123         libc.
25124         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25125         libc and ld.so.
25126         ($(objpfx)libpcprofile.so): Likewise.
25127         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25128         libc_nonshared.a.
25129         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25130         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25131         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25132         $(link-libc-deps).
25133         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25134         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25135         * login/Makefile ($(objpfx)libutil.so): Likewise.
25136         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25137         * math/Makefile ($(objpfx)libm.so): Likewise.
25138         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25139         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25140         variable instead of depending directly on libc.
25141         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25142         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25143         $(link-libc-deps).
25144         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25145         libc.
25146         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25147         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25148         ($(objpfx)libanl.so): Likewise.
25149         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25150         ld.so.
25151         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25152         $(link-libc-deps).
25153         * sysdeps/i386/fpu/Makefile: Remove file.
25154         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25155         ($(objpfx)libm.so): Remove dependency on ld.so.
25156
25157 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25158
25159         [BZ # 15553]
25160         * nis/yp_xdr.c (XDRMAXNAME): Define.
25161         (XDRMAXRECORD): Define.
25162         (xdr_domainname): Use XDRMAXNAME.
25163         (xdr_mapname): Likewise.
25164         (xdr_peername): Likewise.
25165         (xdr_keydat): Use XDRMAXRECORD.
25166         (xdr_valdat): Likewise.
25167
25168 2013-05-30  Jeff Law  <law@redhat.com>
25169
25170         [BZ #14256]
25171         * manual/errno.texi (ESTALE): Update to account for more than
25172         just NFS file systems.
25173         * sysdeps/gnu/errlist.c: Regenerated.
25174
25175 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25176
25177         [BZ #15465]
25178         * elf/Makefile (tests): Add tst-null-argv.
25179         (modules-names):  Add tst-null-argv-lib.
25180         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25181         (tst-null-argv-ENV): Set environment for tst-null-argv.
25182         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25183         (RTLD_PROGNAME): New macro.
25184         * elf/tst-null-argv.c: New test case.
25185         * elf/tst-null-argv-lib.c: Library for test case.
25186         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25187         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25188         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25189         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25190         * elf/dl-init.c (call_init): Likewise.
25191         (_dl_init): Likewise.
25192         * elf/dl-load.c (print_search_path): Likewise.
25193         (_dl_map_object): Likewise.
25194         * elf/dl-lookup.c (do_lookup_x): Likewise.
25195         (add_dependency): Likewise.
25196         (_dl_lookup_symbol_x): Likewise.
25197         (_dl_debug_bindings): Likewise.
25198         * elf/dl-open.c (_dl_show_scope): Likewise.
25199         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25200         * elf/dl-version.c (match_symbol): Likewise.
25201         (_dl_check_map_versions): Likewise.
25202         * elf/rtld.c (dl_main): Likewise.
25203         (print_unresolved): Use RTLD_PROGNAME.
25204         (print_missing_version): Likewise.
25205         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25206         (elf_machine_rela): Likewise.
25207         * sysdeps/powerpc/powerpc32/dl-machine.c
25208         (__process_machine_rela): Likewise.
25209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25210         Likewise.
25211         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25212         Likewise.
25213         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25214         Likewise.
25215         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25216         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25217         Likewise.
25218         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25219         Likewise.
25220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25221
25222 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25223
25224         * po/be.po: Add descriptive title.
25225         * po/zh_CN.po: Likewise.
25226         * po/header.pot: Likewise.
25227
25228 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25229
25230         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25231         error message.
25232         (enlarge_archive): Likewise.
25233
25234 2013-05-28  Ben North  <ben@redfrontdoor.org>
25235
25236         * manual/arith.texi (frexp): It is the magnitude of the return
25237         value which lies in [0.5, 1), not the return value itself.
25238
25239 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25240
25241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25242
25243 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25244
25245         * stdio-common/bug26.c (main): Correct fscanf template.
25246
25247         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25248         declare _dl_skip_args.
25249
25250         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25251         Don't declare.
25252
25253         * manual/platform.texi: Add missing @end deftypefun.
25254
25255 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25256
25257         [BZ #15529]
25258         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25259         bit of mantissa of 2^16382.
25260         * math/libm-test.inc (hypot_test_data): Add more tests.
25261
25262         * math/libm-test.inc: Add drem and pow10 to list of tested
25263         functions.
25264         (pow10_test): New function.
25265         (drem_test): Likewise.
25266         (drem_test_tonearest): Likewise.
25267         (drem_test_towardzero): Likewise.
25268         (drem_test_downward): Likewise.
25269         (drem_test_upward): Likewise.
25270         (main): Call the new functions.
25271
25272         * math/libm-test.inc (finite_test_data): Remove.
25273         (finite_test): Run tests from isfinite_test_data.
25274         (gamma_test_data): Remove.
25275         (gamma_test): Run tests from lgamma_test_data.
25276         * sysdeps/i386/fpu/libm-test-ulps: Update.
25277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25278
25279 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25280
25281         * manual/platform.texi: Add PowerPC PPR function set documentation.
25282         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25283         implementation.
25284
25285 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25286
25287         * math/libm-test.inc (MAX_EXP): Define.
25288         (ULPDIFF): Define.
25289         (ulp): New function.
25290         (check_float_internal): Use ULPDIFF.
25291         (cpow_test): Disable failing test.
25292         (check_ulp): Test ulp() implemetnation.
25293         (main): Call check_ulp before starting tests.
25294
25295 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25296
25297         * math/gen-libm-test.pl (generate_testfile): Do not handle
25298         START_DATA and END_DATA.
25299         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25300         END_DATA.
25301         (acos_tonearest_test_data): Likewise.
25302         (acos_towardzero_test_data): Likewise.
25303         (acos_downward_test_data): Likewise.
25304         (acos_upward_test_data): Likewise.
25305         (acosh_test_data): Likewise.
25306         (asin_test_data): Likewise.
25307         (asin_tonearest_test_data): Likewise.
25308         (asin_towardzero_test_data): Likewise.
25309         (asin_downward_test_data): Likewise.
25310         (asin_upward_test_data): Likewise.
25311         (asinh_test_data): Likewise.
25312         (atan_test_data): Likewise.
25313         (atanh_test_data): Likewise.
25314         (atan2_test_data): Likewise.
25315         (cabs_test_data): Likewise.
25316         (cacos_test_data): Likewise.
25317         (cacosh_test_data): Likewise.
25318         (carg_test_data): Likewise.
25319         (casin_test_data): Likewise.
25320         (casinh_test_data): Likewise.
25321         (catan_test_data): Likewise.
25322         (catanh_test_data): Likewise.
25323         (cbrt_test_data): Likewise.
25324         (ccos_test_data): Likewise.
25325         (ccosh_test_data): Likewise.
25326         (ceil_test_data): Likewise.
25327         (cexp_test_data): Likewise.
25328         (cimag_test_data): Likewise.
25329         (clog_test_data): Likewise.
25330         (clog10_test_data): Likewise.
25331         (conj_test_data): Likewise.
25332         (copysign_test_data): Likewise.
25333         (cos_test_data): Likewise.
25334         (cos_tonearest_test_data): Likewise.
25335         (cos_towardzero_test_data): Likewise.
25336         (cos_downward_test_data): Likewise.
25337         (cos_upward_test_data): Likewise.
25338         (cosh_test_data): Likewise.
25339         (cosh_tonearest_test_data): Likewise.
25340         (cosh_towardzero_test_data): Likewise.
25341         (cosh_downward_test_data): Likewise.
25342         (cosh_upward_test_data): Likewise.
25343         (cpow_test_data): Likewise.
25344         (cproj_test_data): Likewise.
25345         (creal_test_data): Likewise.
25346         (csin_test_data): Likewise.
25347         (csinh_test_data): Likewise.
25348         (csqrt_test_data): Likewise.
25349         (ctan_test_data): Likewise.
25350         (ctan_tonearest_test_data): Likewise.
25351         (ctan_towardzero_test_data): Likewise.
25352         (ctan_downward_test_data): Likewise.
25353         (ctan_upward_test_data): Likewise.
25354         (ctanh_test_data): Likewise.
25355         (ctanh_tonearest_test_data): Likewise.
25356         (ctanh_towardzero_test_data): Likewise.
25357         (ctanh_downward_test_data): Likewise.
25358         (ctanh_upward_test_data): Likewise.
25359         (erf_test_data): Likewise.
25360         (erfc_test_data): Likewise.
25361         (exp_test_data): Likewise.
25362         (exp_tonearest_test_data): Likewise.
25363         (exp_towardzero_test_data): Likewise.
25364         (exp_downward_test_data): Likewise.
25365         (exp_upward_test_data): Likewise.
25366         (exp10_test_data): Likewise.
25367         (exp2_test_data): Likewise.
25368         (expm1_test_data): Likewise.
25369         (fabs_test_data): Likewise.
25370         (fdim_test_data): Likewise.
25371         (finite_test_data): Likewise.
25372         (floor_test_data): Likewise.
25373         (fma_test_data): Likewise.
25374         (fma_towardzero_test_data): Likewise.
25375         (fma_downward_test_data): Likewise.
25376         (fma_upward_test_data): Likewise.
25377         (fmax_test_data): Likewise.
25378         (fmin_test_data): Likewise.
25379         (fmod_test_data): Likewise.
25380         (fpclassify_test_data): Likewise.
25381         (frexp_test_data): Likewise.
25382         (gamma_test_data): Likewise.
25383         (hypot_test_data): Likewise.
25384         (ilogb_test_data): Likewise.
25385         (isfinite_test_data): Likewise.
25386         (isgreater_test_data): Likewise.
25387         (isgreaterequal_test_data): Likewise.
25388         (isinf_test_data): Likewise.
25389         (isless_test_data): Likewise.
25390         (islessequal_test_data): Likewise.
25391         (islessgreater_test_data): Likewise.
25392         (isnan_test_data): Likewise.
25393         (isnormal_test_data): Likewise.
25394         (issignaling_test_data): Likewise.
25395         (isunordered_test_data): Likewise.
25396         (j0_test_data): Likewise.
25397         (j1_test_data): Likewise.
25398         (jn_test_data): Likewise.
25399         (ldexp_test_data): Likewise.
25400         (lgamma_test_data): Likewise.
25401         (lrint_test_data): Likewise.
25402         (lrint_tonearest_test_data): Likewise.
25403         (lrint_towardzero_test_data): Likewise.
25404         (lrint_downward_test_data): Likewise.
25405         (lrint_upward_test_data): Likewise.
25406         (llrint_test_data): Likewise.
25407         (llrint_tonearest_test_data): Likewise.
25408         (llrint_towardzero_test_data): Likewise.
25409         (llrint_downward_test_data): Likewise.
25410         (llrint_upward_test_data): Likewise.
25411         (log_test_data): Likewise.
25412         (log10_test_data): Likewise.
25413         (log1p_test_data): Likewise.
25414         (log2_test_data): Likewise.
25415         (logb_test_data): Likewise.
25416         (logb_downward_test_data): Likewise.
25417         (lround_test_data): Likewise.
25418         (llround_test_data): Likewise.
25419         (modf_test_data): Likewise.
25420         (nearbyint_test_data): Likewise.
25421         (nextafter_test_data): Likewise.
25422         (nexttoward_test_data): Likewise.
25423         (pow_test_data): Likewise.
25424         (pow_tonearest_test_data): Likewise.
25425         (pow_towardzero_test_data): Likewise.
25426         (pow_downward_test_data): Likewise.
25427         (pow_upward_test_data): Likewise.
25428         (remainder_test_data): Likewise.
25429         (remainder_tonearest_test_data): Likewise.
25430         (remainder_towardzero_test_data): Likewise.
25431         (remainder_downward_test_data): Likewise.
25432         (remainder_upward_test_data): Likewise.
25433         (remquo_test_data): Likewise.
25434         (rint_test_data): Likewise.
25435         (rint_tonearest_test_data): Likewise.
25436         (rint_towardzero_test_data): Likewise.
25437         (rint_downward_test_data): Likewise.
25438         (rint_upward_test_data): Likewise.
25439         (round_test_data): Likewise.
25440         (scalb_test_data): Likewise.
25441         (scalbn_test_data): Likewise.
25442         (scalbln_test_data): Likewise.
25443         (signbit_test_data): Likewise.
25444         (sin_test_data): Likewise.
25445         (sin_tonearest_test_data): Likewise.
25446         (sin_towardzero_test_data): Likewise.
25447         (sin_downward_test_data): Likewise.
25448         (sin_upward_test_data): Likewise.
25449         (sincos_test_data): Likewise.
25450         (sinh_test_data): Likewise.
25451         (sinh_tonearest_test_data): Likewise.
25452         (sinh_towardzero_test_data): Likewise.
25453         (sinh_downward_test_data): Likewise.
25454         (sinh_upward_test_data): Likewise.
25455         (sqrt_test_data): Likewise.
25456         (tan_test_data): Likewise.
25457         (tan_tonearest_test_data): Likewise.
25458         (tan_towardzero_test_data): Likewise.
25459         (tan_downward_test_data): Likewise.
25460         (tan_upward_test_data): Likewise.
25461         (tanh_test_data): Likewise.
25462         (tgamma_test_data): Likewise.
25463         (trunc_test_data): Likewise.
25464         (y0_test_data): Likewise.
25465         (y1_test_data): Likewise.
25466         (yn_test_data): Likewise.
25467         (significand_test_data): Likewise.
25468
25469         * math/gen-libm-test.pl (@functions): Remove variable.
25470         (generate_testfile): Don't handle START and END lines.
25471         * math/libm-test.inc (START): New macro.
25472         (END): Likewise.
25473         (END_COMPLEX): Likewise.
25474         (acos_test): Use END macro without arguments.
25475         (acos_test_tonearest): Likewise.
25476         (acos_test_towardzero): Likewise.
25477         (acos_test_downward): Likewise.
25478         (acos_test_upward): Likewise.
25479         (acosh_test): Likewise.
25480         (asin_test): Likewise.
25481         (asin_test_tonearest): Likewise.
25482         (asin_test_towardzero): Likewise.
25483         (asin_test_downward): Likewise.
25484         (asin_test_upward): Likewise.
25485         (asinh_test): Likewise.
25486         (atan_test): Likewise.
25487         (atanh_test): Likewise.
25488         (atan2_test): Likewise.
25489         (cabs_test): Likewise.
25490         (cacos_test): Use END_COMPLEX macro without arguments.
25491         (cacosh_test): Likewise.
25492         (carg_test): Use END macro without arguments.
25493         (casin_test): Use END_COMPLEX macro without arguments.
25494         (casinh_test): Likewise.
25495         (catan_test): Likewise.
25496         (catanh_test): Likewise.
25497         (cbrt_test): Use END macro without arguments.
25498         (ccos_test): Use END_COMPLEX macro without arguments.
25499         (ccosh_test): Likewise.
25500         (ceil_test): Use END macro without arguments.
25501         (cexp_test): Use END_COMPLEX macro without arguments.
25502         (cimag_test): Use END macro without arguments.
25503         (clog_test): Use END_COMPLEX macro without arguments.
25504         (clog10_test): Likewise.
25505         (conj_test): Likewise.
25506         (copysign_test): Use END macro without arguments.
25507         (cos_test): Likewise.
25508         (cos_test_tonearest): Likewise.
25509         (cos_test_towardzero): Likewise.
25510         (cos_test_downward): Likewise.
25511         (cos_test_upward): Likewise.
25512         (cosh_test): Likewise.
25513         (cosh_test_tonearest): Likewise.
25514         (cosh_test_towardzero): Likewise.
25515         (cosh_test_downward): Likewise.
25516         (cosh_test_upward): Likewise.
25517         (cpow_test): Use END_COMPLEX macro without arguments.
25518         (cproj_test): Likewise.
25519         (creal_test): Use END macro without arguments.
25520         (csin_test): Use END_COMPLEX macro without arguments.
25521         (csinh_test): Likewise.
25522         (csqrt_test): Likewise.
25523         (ctan_test): Likewise.
25524         (ctan_test_tonearest): Likewise.
25525         (ctan_test_towardzero): Likewise.
25526         (ctan_test_downward): Likewise.
25527         (ctan_test_upward): Likewise.
25528         (ctanh_test): Likewise.
25529         (ctanh_test_tonearest): Likewise.
25530         (ctanh_test_towardzero): Likewise.
25531         (ctanh_test_downward): Likewise.
25532         (ctanh_test_upward): Likewise.
25533         (erf_test): Use END macro without arguments.
25534         (erfc_test): Likewise.
25535         (exp_test): Likewise.
25536         (exp_test_tonearest): Likewise.
25537         (exp_test_towardzero): Likewise.
25538         (exp_test_downward): Likewise.
25539         (exp_test_upward): Likewise.
25540         (exp10_test): Likewise.
25541         (exp2_test): Likewise.
25542         (expm1_test): Likewise.
25543         (fabs_test): Likewise.
25544         (fdim_test): Likewise.
25545         (finite_test): Likewise.
25546         (floor_test): Likewise.
25547         (fma_test): Likewise.
25548         (fma_test_towardzero): Likewise.
25549         (fma_test_downward): Likewise.
25550         (fma_test_upward): Likewise.
25551         (fmax_test): Likewise.
25552         (fmin_test): Likewise.
25553         (fmod_test): Likewise.
25554         (fpclassify_test): Likewise.
25555         (frexp_test): Likewise.
25556         (gamma_test): Likewise.
25557         (hypot_test): Likewise.
25558         (ilogb_test): Likewise.
25559         (isfinite_test): Likewise.
25560         (isgreater_test): Likewise.
25561         (isgreaterequal_test): Likewise.
25562         (isinf_test): Likewise.
25563         (isless_test): Likewise.
25564         (islessequal_test): Likewise.
25565         (islessgreater_test): Likewise.
25566         (isnan_test): Likewise.
25567         (isnormal_test): Likewise.
25568         (issignaling_test): Likewise.
25569         (isunordered_test): Likewise.
25570         (j0_test): Likewise.
25571         (j1_test): Likewise.
25572         (jn_test): Likewise.
25573         (ldexp_test): Likewise.
25574         (lgamma_test): Likewise.
25575         (lrint_test): Likewise.
25576         (lrint_test_tonearest): Likewise.
25577         (lrint_test_towardzero): Likewise.
25578         (lrint_test_downward): Likewise.
25579         (lrint_test_upward): Likewise.
25580         (llrint_test): Likewise.
25581         (llrint_test_tonearest): Likewise.
25582         (llrint_test_towardzero): Likewise.
25583         (llrint_test_downward): Likewise.
25584         (llrint_test_upward): Likewise.
25585         (log_test): Likewise.
25586         (log10_test): Likewise.
25587         (log1p_test): Likewise.
25588         (log2_test): Likewise.
25589         (logb_test): Likewise.
25590         (logb_test_downward): Likewise.
25591         (lround_test): Likewise.
25592         (llround_test): Likewise.
25593         (modf_test): Likewise.
25594         (nearbyint_test): Likewise.
25595         (nextafter_test): Likewise.
25596         (nexttoward_test): Likewise.
25597         (pow_test): Likewise.
25598         (pow_test_tonearest): Likewise.
25599         (pow_test_towardzero): Likewise.
25600         (pow_test_downward): Likewise.
25601         (pow_test_upward): Likewise.
25602         (remainder_test): Likewise.
25603         (remainder_test_tonearest): Likewise.
25604         (remainder_test_towardzero): Likewise.
25605         (remainder_test_downward): Likewise.
25606         (remainder_test_upward): Likewise.
25607         (remquo_test): Likewise.
25608         (rint_test): Likewise.
25609         (rint_test_tonearest): Likewise.
25610         (rint_test_towardzero): Likewise.
25611         (rint_test_downward): Likewise.
25612         (rint_test_upward): Likewise.
25613         (round_test): Likewise.
25614         (scalb_test): Likewise.
25615         (scalbn_test): Likewise.
25616         (scalbln_test): Likewise.
25617         (signbit_test): Likewise.
25618         (sin_test): Likewise.
25619         (sin_test_tonearest): Likewise.
25620         (sin_test_towardzero): Likewise.
25621         (sin_test_downward): Likewise.
25622         (sin_test_upward): Likewise.
25623         (sincos_test): Likewise.
25624         (sinh_test): Likewise.
25625         (sinh_test_tonearest): Likewise.
25626         (sinh_test_towardzero): Likewise.
25627         (sinh_test_downward): Likewise.
25628         (sinh_test_upward): Likewise.
25629         (sqrt_test): Likewise.
25630         (tan_test): Likewise.
25631         (tan_test_tonearest): Likewise.
25632         (tan_test_towardzero): Likewise.
25633         (tan_test_downward): Likewise.
25634         (tan_test_upward): Likewise.
25635         (tanh_test): Likewise.
25636         (tgamma_test): Likewise.
25637         (trunc_test): Likewise.
25638         (y0_test): Likewise.
25639         (y1_test): Likewise.
25640         (yn_test): Likewise.
25641         (significand_test): Likewise.
25642
25643 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25644
25645         [BZ #15381]
25646         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25647
25648 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25649
25650         [BZ #14894]
25651         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25652         __ppc_mdoio and __ppc_mdoom.
25653         * manual/platform.texi: Document new functions __ppc_yield,
25654         __ppc_mdoio and __ppc_mdoom.
25655
25656 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25657
25658         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25659         (main): Mention "tls" pseudo-hwcap is legacy.
25660         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25661
25662 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25663
25664         * math/gen-libm-test.pl (parse_args): Output only string of
25665         arguments as text for test name, not full call or descriptions of
25666         tests for extra outputs.
25667         (generate_testfile): Do not pass function name to parse_args.
25668         Generate this_func variable from START.
25669         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25670         field to arg_str.
25671         (struct test_ff_f_data): Likewise.
25672         (test_ff_f_data_nexttoward): Likewise.
25673         (struct test_fi_f_data): Likewise.
25674         (struct test_fl_f_data): Likewise.
25675         (struct test_if_f_data): Likewise.
25676         (struct test_fff_f_data): Likewise.
25677         (struct test_c_f_data): Likewise.
25678         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25679         (struct test_fF_f1_data): Likewise.
25680         (struct test_ffI_f1_data): Likewise.
25681         (struct test_c_c_data): Rename test_name field to arg_str.
25682         (struct test_cc_c_data): Likewise.
25683         (struct test_f_i_data): Likewise.
25684         (struct test_ff_i_data): Likewise.
25685         (struct test_f_l_data): Likewise.
25686         (struct test_f_L_data): Likewise.
25687         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25688         and extra2_name.
25689         (COMMON_TEST_SETUP): New macro.
25690         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25691         (COMMON_TEST_CLEANUP): Likewise.
25692         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25693         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25694         macros.
25695         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25696         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25697         macros.
25698         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25699         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25700         cleanup macros.
25701         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25702         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25703         macros.
25704         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25705         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25706         macros.
25707         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25708         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25709         cleanup macros.
25710         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25711         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25712         cleanup macros.
25713         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25714         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25715         cleanup macros.
25716         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25717         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25718         macros.
25719         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25720         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25721         macros.
25722         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25723         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25724         macros.
25725         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25726         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25727         cleanup macros.
25728         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25729         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25730         cleanup macros.
25731         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25732         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25733         macros.
25734         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25735         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25736         cleanup macros.
25737         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25738         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25739         macros.
25740         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25741         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25742         macros.
25743         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25744         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25745         cleanup macros.
25746         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25747
25748 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25749
25750         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25751         to _sifields.sigfault.
25752         (si_addr_lsb): Define new macro.
25753         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25755         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25756
25757 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25758
25759         [BZ #15441]
25760         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25761         returns -1.
25762         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25763         null return -1.
25764         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25765         loading the domain.
25766
25767 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25768
25769         * math/gen-libm-test.pl (parse_args): Do not include expected
25770         result in test name.
25771         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25772         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25773         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25774         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25775         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25777
25778 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25779
25780         * benchtests/Makefile: Sort function entries.
25781
25782         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25783         tanh, asinh, acosh, atanh.
25784         * benchtests/acos-inputs: New file.
25785         * benchtests/acosh-inputs: New file.
25786         * benchtests/asin-inputs: New file.
25787         * benchtests/asinh-inputs: New file.
25788         * benchtests/atanh-inputs: New file.
25789         * benchtests/cosh-inputs: New file.
25790         * benchtests/log-inputs: New file.
25791         * benchtests/sinh-inputs: New file.
25792         * benchtests/tanh-inputs: New file.
25793
25794 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25795
25796         [BZ #15339]
25797         * posix/tst-getaddrinfo4.c: New test.
25798         * posix/Makefile (tests): Add it.
25799
25800 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25801
25802         [BZ #15339]
25803         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25804         when no services were used.
25805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25806         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25807
25808 2013-05-21  Andreas Schwab  <schwab@suse.de>
25809
25810         [BZ #15014]
25811         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25812         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25813         successful.
25814         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25815         redundant variable declarations and reallocation of buffer when
25816         parsing as IPv6 address.  Always set NSS status when called from
25817         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25818         buffer too small.  Correct computation of needed size.
25819         * nss/Makefile (tests): Add test-digits-dots.
25820         * nss/test-digits-dots.c: New test.
25821
25822 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25823
25824         * benchtests/Makefile: Remove instructions for adding
25825         benchmark tests.
25826         * benchtests/README: New file to explain how to execute and
25827         enhance the benchmark tests.
25828
25829 2013-05-21  Andreas Schwab  <schwab@suse.de>
25830
25831         [BZ #15493]
25832         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25833         * setjmp/tst-sigsetjmp.c: New test.
25834
25835 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25836
25837         * sysdeps/x86_64/memset.S (memset): New implementation.
25838         (__bzero): Likewise.
25839         (__memset_tail): New function.
25840
25841 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25842
25843         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25844         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25845         __memcpy_sse2_unaligned ifunc selection.
25846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25847         Add memcpy-sse2-unaligned.S.
25848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25849         Add: __memcpy_sse2_unaligned.
25850
25851 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25852
25853         [BZ #15490]
25854         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25855         math_force_eval before restoring floating-point envrionment.
25856         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25857         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25858         Likewise.
25859         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25860         <math_private.h>.
25861         (__nearbyintl): Use math_force_eval before restoring
25862         floating-point environment.
25863         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25864
25865         * math/gen-libm-test.pl (special_functions): Remove.
25866         (parse_args): Don't handle TEST_extra.  Handle functions with no
25867         return value.
25868         * math/libm-test.inc (struct test_sincos_data): Replace with
25869         struct test_fFF_11_data.
25870         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25871         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25872         (sincos_test_data): Change element type to struct
25873         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25874         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25875         RUN_TEST_LOOP_sincos.
25876         * math/README.libm-test: Don't mention special handling of
25877         individual functions.
25878         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25879         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25880         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25881         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25884
25885         * math/gen-libm-test.pl (get_variable): Remove function.
25886         (parse_args): Don't show pointer parameters to call in test
25887         names.  Use "extra output N" in test names for extra outputs
25888         rather than naming variables.
25889
25890 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25891
25892         [BZ #15488]
25893         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25894         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25895         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25896         double tests.
25897         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25898         disable.
25899         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25900         check_long_double.
25901
25902         * math/gen-libm-test.pl (@tests): Remove variable.
25903         ($count): Likewise.
25904         (new_test): Remove function.
25905         (show_exceptions): New function.
25906         (special_functions): Use show_exceptions instead of new_test.
25907         (parse_args): Likewise.
25908         (generate_testfile): Pass only function name in generated call to
25909         print_max_error or print_complex_max_error.
25910         (get_ulps): Do not handle complex tests specially.
25911         (output_test): Rename to ...
25912         (get_all_ulps_for_test): ... this.  Return a string rather than
25913         printing to a file.  Require ulps to be present.
25914         (output_ulps): Generate arrays rather than #defines.
25915         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25916         (struct ulp_data): New type.
25917         (BUILD_COMPLEX_ULP): Remove macro.
25918         (compare_ulp_data): New function.
25919         (find_ulps): Likewise.
25920         (find_test_ulps): Likewise.
25921         (find_function_ulps): Likewise.
25922         (find_complex_function_ulps): Likewise.
25923         (print_max_error): Determine allowed ulps using
25924         find_function_ulps.
25925         (print_complex_max_error): Determine allowed ulps using
25926         find_complex_function_ulps.
25927         (check_float_internal): Determine max ulps using find_test_ulps.
25928         (check_float): Do not take max_ulp parameter.  Update call to
25929         check_float_internal.
25930         (check_complex): Likewise.
25931         (check_int): Do not take max_ulp parameter.
25932         (check_long): Likewise.
25933         (check_bool): Likewise.
25934         (check_longlong): Likewise.
25935         (struct test_f_f_data): Remove max_ulp field.
25936         (struct test_ff_f_data): Likewise.
25937         (struct test_ff_f_data_nexttoward): Likewise.
25938         (struct test_fi_f_data): Likewise.
25939         (struct test_fl_f_data): Likewise.
25940         (struct test_if_f_data): Likewise.
25941         (struct test_fff_f_data): Likewise.
25942         (struct test_c_f_data): Likewise.
25943         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25944         (struct test_fF_f1_data): Likewise.
25945         (struct test_ffI_f1_data): Likewise.
25946         (struct test_c_c_data): Remove max_ulp field.
25947         (struct test_cc_c_data): Likewise.
25948         (struct test_f_i_data): Likewise.
25949         (struct test_ff_i_data): Likewise.
25950         (struct test_f_l_data): Likewise.
25951         (struct test_f_L_data): Likewise.
25952         (struct test_sincos_data): Likewise.
25953         (RUN_TEST_f_f): Do not handle ulps.
25954         (RUN_TEST_LOOP_f_f): Likewise.
25955         (RUN_TEST_2_f): Likewise.
25956         (RUN_TEST_LOOP_2_f): Likewise.
25957         (RUN_TEST_fff_f): Likewise.
25958         (RUN_TEST_LOOP_fff_f): Likewise.
25959         (RUN_TEST_c_f): Likewise.
25960         (RUN_TEST_LOOP_c_f): Likewise.
25961         (RUN_TEST_f_f1): Likewise.
25962         (RUN_TEST_LOOP_f_f1): Likewise.
25963         (RUN_TEST_fF_f1): Likewise.
25964         (RUN_TEST_LOOP_fF_f1): Likewise.
25965         (RUN_TEST_fI_f1): Likewise.
25966         (RUN_TEST_LOOP_fI_f1): Likewise.
25967         (RUN_TEST_ffI_f1): Likewise.
25968         (RUN_TEST_LOOP_ffI_f1): Likewise.
25969         (RUN_TEST_c_c): Likewise.
25970         (RUN_TEST_LOOP_c_c): Likewise.
25971         (RUN_TEST_cc_c): Likewise.
25972         (RUN_TEST_LOOP_cc_c): Likewise.
25973         (RUN_TEST_f_i): Likewise.
25974         (RUN_TEST_LOOP_f_i): Likewise.
25975         (RUN_TEST_f_i_tg): Likewise.
25976         (RUN_TEST_LOOP_f_i_tg): Likewise.
25977         (RUN_TEST_ff_i_tg): Likewise.
25978         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25979         (RUN_TEST_f_b): Likewise.
25980         (RUN_TEST_LOOP_f_b): Likewise.
25981         (RUN_TEST_f_b_tg): Likewise.
25982         (RUN_TEST_LOOP_f_b_tg): Likewise.
25983         (RUN_TEST_f_l): Likewise.
25984         (RUN_TEST_LOOP_f_l): Likewise.
25985         (RUN_TEST_f_L): Likewise.
25986         (RUN_TEST_LOOP_f_L): Likewise.
25987         (RUN_TEST_sincos): Likewise.
25988         (RUN_TEST_LOOP_sincos): Likewise.
25989
25990 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25991
25992         [BZ #15480]
25993         [BZ #15485]
25994         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25995         main case of finite arguments, set rounding mode to FE_TONEAREST
25996         and discard exceptions.
25997         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25998         exceptions.
25999         (remainder_tonearest_test_data): New variable.
26000         (remainder_test_tonearest): New function.
26001         (remainder_towardzero_test_data): New variable.
26002         (remainder_test_towardzero): New function.
26003         (remainder_downward_test_data): New variable.
26004         (remainder_test_downward): New function.
26005         (remainder_upward_test_data): New variable.
26006         (remainder_test_upward): New function.
26007         (main): Call the new test functions.
26008
26009         * math/libm-test.inc (struct test_f_f1_data): Remove field
26010         extra_init.
26011         (struct test_fF_f1_data): Likewise.
26012         (struct test_ffI_f1_data): Likewise.
26013         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26014         based on value of EXTRA_EXPECTED.
26015         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26016         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26017         EXTRA_VAR based on value of EXTRA_EXPECTED.
26018         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26019         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26020         EXTRA_VAR based on value of EXTRA_EXPECTED.
26021         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26022         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26023         EXTRA_VAR based on value of EXTRA_EXPECTED.
26024         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26025         * math/gen-libm-test.pl (parse_args): Don't output initializers
26026         for extra output values.
26027
26028         * math/libm-test.inc (check_int): Expect result to be exactly
26029         equal to expected value and do not handle ulps.
26030         (check_long): Likewise.
26031         (check_longlong): Likewise.
26032
26033         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26034         exceptions.
26035         (cimag_test_data): Likewise.
26036         (conj_test_data): Likewise.
26037         (copysign_test_data): Likewise.
26038         (cproj_test_data): Likewise.
26039         (creal_test_data): Likewise.
26040         (fabs_test_data): Likewise.
26041         (fdim_test_data): Likewise.
26042         (finite_test_data): Likewise.
26043         (floor_test_data): Likewise.
26044         (fmax_test_data): Likewise.
26045         (fmin_test_data): Likewise.
26046         (fmod_test_data): Likewise.
26047         (fpclassify_test_data): Likewise.
26048         (frexp_test_data): Likewise.
26049         (ilogb_test_data): Likewise.
26050         (isfinite_test_data): Likewise.
26051         (isgreater_test_data): Likewise.
26052         (isgreaterequal_test_data): Likewise.
26053         (isinf_test_data): Likewise.
26054         (isless_test_data): Likewise.
26055         (islessequal_test_data): Likewise.
26056         (islessgreater_test_data): Likewise.
26057         (isnan_test_data): Likewise.
26058         (isnormal_test_data): Likewise.
26059         (issignaling_test_data): Likewise.
26060         (isunordered_test_data): Likewise.
26061         (ldexp_test_data): Likewise.
26062         (lrint_test_data): Likewise.
26063         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26064         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26065         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26066         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26067         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26068         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26069         test input.
26070         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26071         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26072         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26073         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26074         that test input.
26075         (lrint_downward_test_data): Test for "inexact" exceptions.
26076         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26077         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26078         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26079         test input.
26080         (lrint_upward_test_data): Test for "inexact" exceptions.
26081         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26082         test input.
26083         (llrint_test_data): Test for "inexact" exceptions.
26084         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26085         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26086         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26087         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26088         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26089         (llrint_downward_test_data): Test for "inexact" exceptions.
26090         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26091         (llrint_upward_test_data): Test for "inexact" exceptions.
26092         (logb_test_data): Likewise.
26093         (logb_downward_test_data): Likewise.
26094         (nextafter_test_data): Likewise.
26095         (nexttoward_test_data): Likewise.
26096         (remainder_test_data): Likewise.
26097         (remquo_test_data): Likewise.
26098         (scalbn_test_data): Likewise.
26099         (scalbln_test_data): Likewise.
26100         (signbit_test_data): Likewise.
26101         (sqrt_test_data): Likewise.
26102         (significand_test_data): Likewise.
26103
26104 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26105
26106         [BZ #15424]
26107         * benchtests/bench-modf.c (struct args): Mark arg0 as
26108         volatile.
26109         * scripts/bench.pl: Mark members of struct args as volatile.
26110
26111 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26112
26113         [BZ # 15497]
26114         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26115         negative infinity on POWER6 or lower.
26116         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26117
26118 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26119
26120         [BZ #15442]
26121         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26122         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26123         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26124         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26125         (_FP_SETQNAN): New macro.
26126         (_FP_SETQNAN_SEMIRAW): Likewise.
26127         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26128         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26129         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26130         (FP_EXTEND): Use _FP_FRAC_SNANP.
26131         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26132         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26133         into account.
26134         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26135         New macro.
26136         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26137         Likewise.
26138
26139 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26140
26141         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26142         with DIVIDE_BY_ZERO_EXCEPTION.
26143         (gamma_test_data): Likewise.
26144         (lgamma_test_data): Likewise.
26145         (log_test_data): Likewise.
26146         (log10_test_data): Likewise.
26147         (log2_test_data): Likewise.
26148         (tgamma_test_data): Likewise.
26149
26150         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26151         (acos_test_tonearest): Likewise.
26152         (acos_test_towardzero): Likewise.
26153         (acos_test_downward): Likewise.
26154         (acos_test_upward): Likewise.
26155         (acosh_test): Likewise.
26156         (asin_test): Likewise.
26157         (asin_test_tonearest): Likewise.
26158         (asin_test_towardzero): Likewise.
26159         (asin_test_downward): Likewise.
26160         (asin_test_upward): Likewise.
26161         (asinh_test): Likewise.
26162         (atan_test): Likewise.
26163         (atanh_test): Likewise.
26164         (atan2_test): Likewise.
26165         (cabs_test): Likewise.
26166         (cacos_test): Likewise.
26167         (cacosh_test): Likewise.
26168         (casin_test): Likewise.
26169         (casinh_test): Likewise.
26170         (catan_test): Likewise.
26171         (catanh_test): Likewise.
26172         (cbrt_test): Likewise.
26173         (ccos_test): Likewise.
26174         (ccosh_test): Likewise.
26175         (cexp_test): Likewise.
26176         (clog_test): Likewise.
26177         (clog10_test): Likewise.
26178         (cos_test): Likewise.
26179         (cos_test_tonearest): Likewise.
26180         (cos_test_towardzero): Likewise.
26181         (cos_test_downward): Likewise.
26182         (cos_test_upward): Likewise.
26183         (cosh_test): Likewise.
26184         (cosh_test_tonearest): Likewise.
26185         (cosh_test_towardzero): Likewise.
26186         (cosh_test_downward): Likewise.
26187         (cosh_test_upward): Likewise.
26188         (cpow_test): Likewise.
26189         (csin_test): Likewise.
26190         (csinh_test): Likewise.
26191         (csqrt_test): Likewise.
26192         (ctan_test): Likewise.
26193         (ctan_test_tonearest): Likewise.
26194         (ctan_test_towardzero): Likewise.
26195         (ctan_test_downward): Likewise.
26196         (ctan_test_upward): Likewise.
26197         (ctanh_test): Likewise.
26198         (ctanh_test_tonearest): Likewise.
26199         (ctanh_test_towardzero): Likewise.
26200         (ctanh_test_downward): Likewise.
26201         (ctanh_test_upward): Likewise.
26202         (erf_test): Likewise.
26203         (erfc_test): Likewise.
26204         (exp_test): Likewise.
26205         (exp_test_tonearest): Likewise.
26206         (exp_test_towardzero): Likewise.
26207         (exp_test_downward): Likewise.
26208         (exp_test_upward): Likewise.
26209         (exp10_test): Likewise.
26210         (exp2_test): Likewise.
26211         (expm1_test): Likewise.
26212         (fmod_test): Likewise.
26213         (gamma_test): Likewise.
26214         (hypot_test): Likewise.
26215         (j0_test): Likewise.
26216         (j1_test): Likewise.
26217         (jn_test): Likewise.
26218         (lgamma_test): Likewise.
26219         (log_test): Likewise.
26220         (log10_test): Likewise.
26221         (log1p_test): Likewise.
26222         (log2_test): Likewise.
26223         (logb_test_downward): Likewise.
26224         (pow_test): Likewise.
26225         (pow_test_tonearest): Likewise.
26226         (pow_test_towardzero): Likewise.
26227         (pow_test_downward): Likewise.
26228         (pow_test_upward): Likewise.
26229         (remainder_test): Likewise.
26230         (remquo_test): Likewise.
26231         (sin_test): Likewise.
26232         (sin_test_tonearest): Likewise.
26233         (sin_test_towardzero): Likewise.
26234         (sin_test_downward): Likewise.
26235         (sin_test_upward): Likewise.
26236         (sincos_test): Likewise.
26237         (sinh_test): Likewise.
26238         (sinh_test_tonearest): Likewise.
26239         (sinh_test_towardzero): Likewise.
26240         (sinh_test_downward): Likewise.
26241         (sinh_test_upward): Likewise.
26242         (sqrt_test): Likewise.
26243         (tan_test): Likewise.
26244         (tan_test_tonearest): Likewise.
26245         (tan_test_towardzero): Likewise.
26246         (tan_test_downward): Likewise.
26247         (tan_test_upward): Likewise.
26248         (tanh_test): Likewise.
26249         (tgamma_test): Likewise.
26250         (y0_test): Likewise.
26251         (y1_test): Likewise.
26252         (yn_test): Likewise.
26253
26254         * math/gen-libm-test.pl (adjust_arg): Remove function.
26255         (special_function): Remove argument $in_func.  Only handle
26256         generating output for tables of tests, not inside functions.
26257         (parse_args): Likewise.
26258         (generate_testfile): Remove variable $in_func.  Update call to
26259         parse_args.
26260         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26261         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26262         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26263         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26264         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26265         (MAX_VALUE_INIT): Rename macro to max_value.
26266         (MIN_VALUE_INIT): Rename macro to min_value.
26267         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26268         (plus_zero): Remove variable.
26269         (minus_zero): Likewise.
26270         (plus_infty): Likewise.
26271         (minus_infty): Likewise.
26272         (qnan_value): Likewise.
26273         (max_value): Likewise.
26274         (min_value): Likewise.
26275         (min_subnorm_value): Likewise.
26276
26277 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26278
26279         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26280         uint64_t or uint32_t usage.
26281         * crypt/sha256-block.c: Likewise.
26282         * crypt/sha256-crypt.c: Likewise.
26283         * crypt/sha256.c: Likewise.
26284         * crypt/sha512-block.c: Likewise.
26285         * crypt/sha512-crypt.c: Likewise.
26286         * crypt/sha512.c: Likewise.
26287         * debug/backtrace-tst.c: Likewise.
26288         * debug/pcprofiledump.c: Likewise.
26289         * elf/cache.c: Likewise.
26290         * elf/dl-cache.c: Likewise.
26291         * elf/dl-misc.c: Likewise.
26292         * elf/dl-profile.c: Likewise.
26293         * elf/dl-support.c: Likewise.
26294         * elf/ldconfig.c: Likewise.
26295         * elf/sprof.c: Likewise.
26296         * iconv/dummy-repertoire.c: Likewise.
26297         * iconv/iconv_charmap.c: Likewise.
26298         * iconv/skeleton.c: Likewise.
26299         * iconvdata/8bit-generic.c: Likewise.
26300         * iconvdata/cp737.h: Likewise.
26301         * iconvdata/cp775.h: Likewise.
26302         * iconvdata/ibm1008.h: Likewise.
26303         * iconvdata/ibm1025.h: Likewise.
26304         * iconvdata/ibm1046.h: Likewise.
26305         * iconvdata/ibm1097.h: Likewise.
26306         * iconvdata/ibm1112.h: Likewise.
26307         * iconvdata/ibm1122.h: Likewise.
26308         * iconvdata/ibm1123.h: Likewise.
26309         * iconvdata/ibm1124.h: Likewise.
26310         * iconvdata/ibm1129.h: Likewise.
26311         * iconvdata/ibm1130.h: Likewise.
26312         * iconvdata/ibm1132.h: Likewise.
26313         * iconvdata/ibm1133.h: Likewise.
26314         * iconvdata/ibm1137.h: Likewise.
26315         * iconvdata/ibm1140.h: Likewise.
26316         * iconvdata/ibm1141.h: Likewise.
26317         * iconvdata/ibm1142.h: Likewise.
26318         * iconvdata/ibm1143.h: Likewise.
26319         * iconvdata/ibm1144.h: Likewise.
26320         * iconvdata/ibm1145.h: Likewise.
26321         * iconvdata/ibm1146.h: Likewise.
26322         * iconvdata/ibm1147.h: Likewise.
26323         * iconvdata/ibm1148.h: Likewise.
26324         * iconvdata/ibm1149.h: Likewise.
26325         * iconvdata/ibm1153.h: Likewise.
26326         * iconvdata/ibm1154.h: Likewise.
26327         * iconvdata/ibm1155.h: Likewise.
26328         * iconvdata/ibm1156.h: Likewise.
26329         * iconvdata/ibm1157.h: Likewise.
26330         * iconvdata/ibm1158.h: Likewise.
26331         * iconvdata/ibm1160.h: Likewise.
26332         * iconvdata/ibm1161.h: Likewise.
26333         * iconvdata/ibm1162.h: Likewise.
26334         * iconvdata/ibm1163.h: Likewise.
26335         * iconvdata/ibm1164.h: Likewise.
26336         * iconvdata/ibm1166.h: Likewise.
26337         * iconvdata/ibm1167.h: Likewise.
26338         * iconvdata/ibm12712.h: Likewise.
26339         * iconvdata/ibm1390.h: Likewise.
26340         * iconvdata/ibm1399.h: Likewise.
26341         * iconvdata/ibm16804.h: Likewise.
26342         * iconvdata/ibm4517.h: Likewise.
26343         * iconvdata/ibm4899.h: Likewise.
26344         * iconvdata/ibm4909.h: Likewise.
26345         * iconvdata/ibm4971.h: Likewise.
26346         * iconvdata/ibm5347.h: Likewise.
26347         * iconvdata/ibm803.h: Likewise.
26348         * iconvdata/ibm856.h: Likewise.
26349         * iconvdata/ibm901.h: Likewise.
26350         * iconvdata/ibm902.h: Likewise.
26351         * iconvdata/ibm9030.h: Likewise.
26352         * iconvdata/ibm9066.h: Likewise.
26353         * iconvdata/ibm921.h: Likewise.
26354         * iconvdata/ibm922.h: Likewise.
26355         * iconvdata/ibm9448.h: Likewise.
26356         * iconvdata/isiri-3342.h: Likewise.
26357         * iconvdata/jis0201.h: Likewise.
26358         * include/link.h: Likewise.
26359         * include/netdb.h: Likewise.
26360         * inet/check_native.c: Likewise.
26361         * inet/check_pf.c: Likewise.
26362         * inet/getipv4sourcefilter.c: Likewise.
26363         * inet/getnameinfo.c: Likewise.
26364         * inet/getsourcefilter.c: Likewise.
26365         * inet/htonl.c: Likewise.
26366         * inet/setipv4sourcefilter.c: Likewise.
26367         * inet/setsourcefilter.c: Likewise.
26368         * inet/test-inet6_opt.c: Likewise.
26369         * inet/tst-network.c: Likewise.
26370         * locale/C-collate.c: Likewise.
26371         * locale/C-ctype.c: Likewise.
26372         * locale/C-time.c: Likewise.
26373         * locale/C-translit.h: Likewise.
26374         * locale/loadarchive.c: Likewise.
26375         * locale/programs/3level.h: Likewise.
26376         * locale/programs/charmap.c: Likewise.
26377         * locale/programs/charmap.h: Likewise.
26378         * locale/programs/ld-address.c: Likewise.
26379         * locale/programs/ld-collate.c: Likewise.
26380         * locale/programs/ld-ctype.c: Likewise.
26381         * locale/programs/ld-identification.c: Likewise.
26382         * locale/programs/ld-measurement.c: Likewise.
26383         * locale/programs/ld-messages.c: Likewise.
26384         * locale/programs/ld-monetary.c: Likewise.
26385         * locale/programs/ld-name.c: Likewise.
26386         * locale/programs/ld-numeric.c: Likewise.
26387         * locale/programs/ld-paper.c: Likewise.
26388         * locale/programs/ld-telephone.c: Likewise.
26389         * locale/programs/ld-time.c: Likewise.
26390         * locale/programs/linereader.c: Likewise.
26391         * locale/programs/locale.c: Likewise.
26392         * locale/programs/locarchive.c: Likewise.
26393         * locale/programs/locfile.h: Likewise.
26394         * locale/programs/repertoire.c: Likewise.
26395         * locale/programs/simple-hash.c: Likewise.
26396         * locale/programs/simple-hash.h: Likewise.
26397         * malloc/memusage.c: Likewise.
26398         * malloc/memusagestat.c: Likewise.
26399         * nis/nis_defaults.c: Likewise.
26400         * nis/nis_hash.c: Likewise.
26401         * nis/nis_print.c: Likewise.
26402         * nis/nis_xdr.c: Likewise.
26403         * nscd/connections.c: Likewise.
26404         * nscd/hstcache.c: Likewise.
26405         * nscd/nscd_gethst_r.c: Likewise.
26406         * nscd/nscd_getserv_r.c: Likewise.
26407         * nscd/nscd_helper.c: Likewise.
26408         * nscd/servicescache.c: Likewise.
26409         * nss/makedb.c: Likewise.
26410         * nss/nss_db/db-XXX.c: Likewise.
26411         * nss/nss_db/db-initgroups.c: Likewise.
26412         * nss/nss_db/db-netgrp.c: Likewise.
26413         * nss/nss_files/files-network.c: Likewise.
26414         * nss/nss_files/files-parse.c: Likewise.
26415         * posix/bug-regex5.c: Likewise.
26416         * posix/fnmatch_loop.c: Likewise.
26417         * posix/regcomp.c: Likewise.
26418         * posix/regexec.c: Likewise.
26419         * posix/tst-rfc3484-2.c: Likewise.
26420         * posix/tst-rfc3484-3.c: Likewise.
26421         * posix/tst-rfc3484.c: Likewise.
26422         * resolv/nss_dns/dns-canon.c: Likewise.
26423         * resolv/nss_dns/dns-network.c: Likewise.
26424         * resolv/res_init.c: Likewise.
26425         * resolv/res_mkquery.c: Likewise.
26426         * resolv/tst-aton.c: Likewise.
26427         * stdlib/cxa_atexit.c: Likewise.
26428         * stdlib/cxa_finalize.c: Likewise.
26429         * stdlib/gen-fpioconst.c: Likewise.
26430         * stdlib/strtol_l.c: Likewise.
26431         * string/tst-endian.c: Likewise.
26432         * sunrpc/auth_des.c: Likewise.
26433         * sunrpc/clnt_udp.c: Likewise.
26434         * sunrpc/rtime.c: Likewise.
26435         * sunrpc/svcauth_des.c: Likewise.
26436         * sunrpc/xdr.c: Likewise.
26437         * sunrpc/xdr_intXX_t.c: Likewise.
26438         * sunrpc/xdr_rec.c: Likewise.
26439         * sysdeps/generic/ldconfig.h: Likewise.
26440         * sysdeps/generic/ldsodefs.h: Likewise.
26441         * sysdeps/generic/memusage.h: Likewise.
26442         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26448         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26452         * sysdeps/posix/getaddrinfo.c: Likewise.
26453         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26455         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26456         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26457         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26458         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26459         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26460         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26461         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26462         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26463         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26464         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26465         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26466         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26467         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26468         * sysdeps/x86_64/dl-tls.h: Likewise.
26469         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26470         * time/alt_digit.c: Likewise.
26471         * time/era.c: Likewise.
26472         * wcsmbs/tst-c16c32-1.c: Likewise.
26473
26474 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26475
26476         * math/libm-test.inc (struct test_sincos_data): New type.
26477         (RUN_TEST_LOOP_sincos): New macro.
26478         (sincos_test_data): New variable.
26479         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26480
26481 2013-05-16  Richard Henderson  <rth@redhat.com>
26482
26483         * math/atest-exp2.c (LIMB64): New macro.
26484         (CONSTSZ): New macro.
26485         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26486         (hexdig): Move ...
26487         (print_mpn_fp): ... to function scope.
26488         (read_mpn_hex): Remove.
26489         (get_log2): Remove.
26490         (exp2_mpn): Use mp_log2.
26491         (main): Use mp_exp1.
26492
26493 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26494
26495         * math/libm-test.inc: Remove comment about not testing "inexact"
26496         exceptions.
26497         (INEXACT_EXCEPTION): New macro.
26498         (NO_INEXACT_EXCEPTION): Likewise.
26499         (INVALID_EXCEPTION_OK): Update value.
26500         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26501         (OVERFLOW_EXCEPTION_OK): Likewise.
26502         (UNDERFLOW_EXCEPTION_OK): Likewise.
26503         (IGNORE_ZERO_INF_SIGN): Likewise.
26504         (ERRNO_UNCHANGED): Likewise.
26505         (ERRNO_EDOM): Likewise.
26506         (ERRNO_ERANGE): Likewise.
26507         (test_exceptions): Handle testing "inexact" exceptions.
26508         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26509         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26510         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26511         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26512         INEXACT_EXCEPTION.
26513         (rint_towardzero_test_data): Likewise.
26514         (rint_downward_test_data): Likewise.
26515         (rint_upward_test_data): Likewise.
26516
26517         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26518         with OVERFLOW_EXCEPTION.
26519         (exp10_test_data): Likewise.
26520         (exp2_test_data): Likewise.
26521         (expm1_test_data): Likewise.
26522         (lgamma_test_data): Likewise.
26523         (pow_test_data): Likewise.
26524         (tgamma_test_data): Likewise.
26525         (yn_test_data): Remove duplicate test of overflow.
26526
26527         * math/libm-test.inc (struct test_cc_c_data): New type.
26528         (RUN_TEST_LOOP_cc_c): New macro.
26529         (cpow_test_data): New variable.
26530         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26531
26532         * math/libm-test.inc (struct test_f_L_data): New type.
26533         (RUN_TEST_LOOP_f_L): New macro.
26534         (llrint_test_data): New variable.
26535         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26536         (llrint_tonearest_test_data): New variable.
26537         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26538         (llrint_towardzero_test_data): New variable.
26539         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26540         (llrint_downward_test_data): New variable.
26541         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26542         (llrint_upward_test_data): New variable.
26543         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26544         (llround_test_data): New variable.
26545         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26546
26547 2013-05-13  Peter Collingbourne  <pcc@google.com>
26548
26549         * math/atest-exp2.c (get_log2): Remove const attribute.
26550
26551 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26552
26553         * math/libm-test.inc (struct test_f_l_data): New type.
26554         (RUN_TEST_LOOP_f_l): New macro.
26555         (lrint_test_data): New variable.
26556         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26557         (lrint_tonearest_test_data): New variable.
26558         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26559         (lrint_towardzero_test_data): New variable.
26560         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26561         (lrint_downward_test_data): New variable.
26562         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26563         (lrint_upward_test_data): New variable.
26564         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26565         (lround_test_data): New variable.
26566         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26567
26568 2013-05-15  Peter Collingbourne  <pcc@google.com>
26569
26570         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26571         (EXTRACT_WORDS64) Use where appropriate.
26572         (INSERT_WORDS64) Likewise.
26573
26574         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26575         constraints with x constraints.
26576         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26577
26578         * malloc/obstack.c (_obstack_compat): Add initializer.
26579
26580 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26581
26582         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26583         si_trapno and add si_addr_lsb to _sifields.sigfault.
26584         (si_trapno): Remove macro.
26585         (si_addr_lsb): Define new macro.
26586         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26587
26588 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26589
26590         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26591         instead of TEST_f_l.
26592         (llrint_test_tonearest): Likewise.
26593         (llrint_test_towardzero): Likewise.
26594         (llrint_test_downward): Likewise.
26595         (llrint_test_upward): Likewise.
26596         (llround_test): Likewise.
26597
26598         * math/libm-test.inc (struct test_f_i_data): Add comment.
26599         (RUN_TEST_LOOP_f_b): New macro.
26600         (RUN_TEST_LOOP_f_b_tg): Likewise.
26601         (finite_test_data): New variable.
26602         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26603         (isfinite_test_data): New variable.
26604         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26605         (isinf_test_data): New variable.
26606         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26607         (isnan_test_data): New variable.
26608         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26609         (isnormal_test_data): New variable.
26610         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26611         (issignaling_test_data): New variable.
26612         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26613         (signbit_test_data): New variable.
26614         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26615
26616         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26617         with INVALID_EXCEPTION.
26618         (acosh_test_data): Likewise.
26619         (asin_test_data): Likewise.
26620         (atanh_test_data): Likewise.
26621         (fmod_test_data): Likewise.
26622         (log_test_data): Likewise.
26623         (log10_test_data): Likewise.
26624         (log2_test_data): Likewise.
26625         (pow_test_data): Likewise.
26626         (sqrt_test_data): Likewise.
26627         (y0_test_data): Likewise.
26628         (y1_test_data): Likewise.
26629         (yn_test_data): Likewise.
26630
26631         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26632         function contents.
26633
26634         * math/libm-test.inc (struct test_ff_i_data): New type.
26635         (RUN_TEST_LOOP_ff_i_tg): New macro.
26636         (isgreater_test_data): New variable.
26637         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26638         (isgreaterequal_test_data): New variable.
26639         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26640         (isless_test_data): New variable.
26641         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26642         (islessequal_test_data): New variable.
26643         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26644         (islessgreater_test_data): New variable.
26645         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26646         (isunordered_test_data): New variable.
26647         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26648
26649 2013-05-14  David S. Miller  <davem@davemloft.net>
26650
26651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26652
26653 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26654
26655         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26656
26657         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26658         extra_test to int.
26659         (struct test_f_i_data): Change type of max_ulp to int.
26660
26661         * math/libm-test.inc (test_ffI_f1_data): New type.
26662         (RUN_TEST_LOOP_ffI_f1): New macro.
26663         (remquo_test_data): New variable.
26664         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26665
26666         * setjmp/tst-setjmp-fp.c: New file.
26667         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26668         (link-libm): New variable.
26669         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26670
26671         * math/libm-test.inc (struct test_f_i_data): New type.
26672         (RUN_TEST_LOOP_f_i): New macro.
26673         (RUN_TEST_LOOP_f_i_tg): Likewise.
26674         (fpclassify_test_data): New variable.
26675         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26676         (ilogb_test_data): New variable.
26677         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26678
26679         * math/libm-test.inc (scalbln_test): Correct function name in END
26680         call.
26681
26682         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26683         (RUN_TEST_LOOP_fI_f1): New macro.
26684         (frexp_test_data): New variable.
26685         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26686
26687         * math/libm-test.inc (struct test_fF_f1_data): New type.
26688         (RUN_TEST_LOOP_fF_f1): New macro.
26689         (modf_test_data): New variable.
26690         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26691
26692         * math/libm-test.inc (struct test_f_f1_data): New type.
26693         (RUN_TEST_LOOP_f_f1): New macro.
26694         (gamma_test_data): New variable.
26695         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26696         (lgamma_test_data): New variable.
26697         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26698
26699 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26700
26701         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26702         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26703         (main): Comment "tls" pseudo-hwcap.
26704
26705 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26706
26707         * math/libm-test.inc (struct test_fl_f_data): New type.
26708         (RUN_TEST_LOOP_fl_f): New variable.
26709         (scalbln_test_data): New variable.
26710         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26711
26712         * math/libm-test.inc (struct test_fi_f_data): New type.
26713         (RUN_TEST_LOOP_fi_f): New macro.
26714         (ldexp_test_data): New variable.
26715         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26716         (scalbn_test_data): New variable.
26717         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26718
26719         * math/libm-test.inc (struct test_c_f_data): New type.
26720         (RUN_TEST_LOOP_c_f): New macro.
26721         (cabs_test_data): New variable.
26722         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26723         (carg_test_data): New variable.
26724         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26725         (cimag_test_data): New variable.
26726         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26727         (creal_test_data): New variable.
26728         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26729
26730         * math/libm-test.inc (struct test_if_f_data): New type.
26731         (RUN_TEST_LOOP_if_f): New macro.
26732         (jn_test_data): New variable.
26733         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26734         (yn_test_data): New variable.
26735         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26736
26737         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26738
26739 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26740
26741         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26742         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26743
26744 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26745
26746         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26747         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26748         (bench-deps): Add bench-timing.h.
26749         * benchtests-bench-skeleton.c: Include bench-timing.h.
26750         (main): Use TIMING_* macros instead of clock_gettime.
26751         * benchtests/bench-timing.h: New file.
26752
26753         [BZ #14582]
26754         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26755         Renamed from _LIB_VERSION.
26756         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26757
26758 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26759
26760         * math/libm-test.inc (struct test_fff_f_data): New type.
26761         (RUN_TEST_LOOP_fff_f): New macro.
26762         (fma_test_data): New variable.
26763         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26764         (fma_towardzero_test_data): New variable.
26765         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26766         (fma_downward_test_data): New variable.
26767         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26768         (fma_upward_test_data): New variable.
26769         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26770
26771         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26772         (struct test_c_c_data): New type.
26773         (RUN_TEST_LOOP_c_c): New macro.
26774         (cacos_test_data): New variable.
26775         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26776         (cacosh_test_data): New variable.
26777         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26778         (casin_test_data): New variable.
26779         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26780         (casinh_test_data): New variable.
26781         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26782         (catan_test_data): New variable.
26783         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26784         (catanh_test_data): New variable.
26785         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26786         (ccos_test_data): New variable.
26787         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26788         (ccosh_test_data): New variable.
26789         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26790         (cexp_test_data): New variable.
26791         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26792         (clog_test_data): New variable.
26793         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26794         (clog10_test_data): New variable.
26795         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26796         (conj_test_data): New variable.
26797         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26798         (cproj_test_data): New variable.
26799         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26800         (csin_test_data): New variable.
26801         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26802         (csinh_test_data): New variable.
26803         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26804         (csqrt_test_data): New variable.
26805         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26806         (ctan_test_data): New variable.
26807         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26808         (ctan_tonearest_test_data): New variable.
26809         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26810         (ctan_towardzero_test_data): New variable.
26811         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26812         (ctan_downward_test_data): New variable.
26813         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26814         (ctan_upward_test_data): New variable.
26815         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26816         (ctanh_test_data): New variable.
26817         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26818         (ctanh_tonearest_test_data): New variable.
26819         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26820         (ctanh_towardzero_test_data): New variable.
26821         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26822         (ctanh_downward_test_data): New variable.
26823         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26824         (ctanh_upward_test_data): New variable.
26825         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26826         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26827         of BUILD_COMPLEX.
26828
26829         * math/libm-test.inc (struct test_ff_f_data): New type.
26830         (struct test_ff_f_data_nexttoward): Likewise.
26831         (RUN_TEST_LOOP_2_f): New macro.
26832         (RUN_TEST_LOOP_ff_f): Likewise.
26833         (atan2_test_data): New variable.
26834         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26835         (copysign_test_data): New variable.
26836         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26837         (fdim_test_data): New variable.
26838         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26839         (fmax_test_data): New variable.
26840         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26841         (fmin_test_data): New variable.
26842         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26843         (fmod_test_data): New variable.
26844         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26845         (hypot_test_data): New variable.
26846         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26847         (nextafter_test_data): New variable.
26848         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26849         (nexttoward_test_data): New variable.
26850         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26851         (pow_test_data): New variable.
26852         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26853         (pow_tonearest_test_data): New variable.
26854         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26855         (pow_towardzero_test_data): New variable.
26856         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26857         (pow_downward_test_data): New variable.
26858         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26859         (pow_upward_test_data): New variable.
26860         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26861         (remainder_test_data): New variable.
26862         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26863         (scalb_test_data): New variable.
26864         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26865         * sysdeps/i386/fpu/libm-test-ulps: Update.
26866
26867 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26868
26869         * math/libm-test.inc (fma_test): Use max_value instead of local
26870         variable fltmax.
26871         (nextafter_test): Likewise.
26872
26873         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26874         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26875         (acos_downward_test_data): New variable.
26876         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26877         (acos_upward_test_data): New variable.
26878         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26879         (acosh_test_data): New variable.
26880         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26881         (asin_test_data): New variable.
26882         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26883         (asin_tonearest_test_data): New variable.
26884         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26885         (asin_towardzero_test_data): New variable.
26886         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26887         (asin_downward_test_data): New variable.
26888         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26889         (asin_upward_test_data): New variable.
26890         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26891         (asinh_test_data): New variable.
26892         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26893         (atan_test_data): New variable.
26894         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26895         (atanh_test_data): New variable.
26896         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26897         (cbrt_test_data): New variable.
26898         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26899         (ceil_test_data): New variable.
26900         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26901         (cos_test_data): New variable.
26902         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26903         (cos_tonearest_test_data): New variable.
26904         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26905         (cos_towardzero_test_data): New variable.
26906         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26907         (cos_downward_test_data): New variable.
26908         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26909         (cos_upward_test_data): New variable.
26910         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26911         (cosh_test_data): New variable.
26912         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26913         (cosh_tonearest_test_data): New variable.
26914         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26915         (cosh_towardzero_test_data): New variable.
26916         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26917         (cosh_downward_test_data): New variable.
26918         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26919         (cosh_upward_test_data): New variable.
26920         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26921         (erf_test_data): New variable.
26922         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26923         (erfc_test_data): New variable.
26924         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26925         (exp_test_data): New variable.
26926         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26927         (exp_tonearest_test_data): New variable.
26928         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26929         (exp_towardzero_test_data): New variable.
26930         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26931         (exp_downward_test_data): New variable.
26932         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26933         (exp_upward_test_data): New variable.
26934         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26935         (exp10_test_data): New variable.
26936         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26937         (exp2_test_data): New variable.
26938         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26939         (expm1_test_data): New variable.
26940         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26941         (fabs_test_data): New variable.
26942         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26943         (floor_test_data): New variable.
26944         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26945         (j0_test_data): New variable.
26946         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26947         (j1_test_data): New variable.
26948         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26949         (log_test_data): New variable.
26950         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26951         (log10_test_data): New variable.
26952         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26953         (log1p_test_data): New variable.
26954         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26955         (log2_test_data): New variable.
26956         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26957         (logb_test_data): New variable.
26958         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26959         (logb_downward_test_data): New variable.
26960         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26961         (nearbyint_test_data): New variable.
26962         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26963         (rint_test_data): New variable.
26964         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26965         (rint_tonearest_test_data): New variable.
26966         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26967         (rint_towardzero_test_data): New variable.
26968         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26969         (rint_downward_test_data): New variable.
26970         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26971         (rint_upward_test_data): New variable.
26972         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26973         (round_test_data): New variable.
26974         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26975         (sin_test_data): New variable.
26976         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26977         (sin_tonearest_test_data): New variable.
26978         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26979         (sin_towardzero_test_data): New variable.
26980         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26981         (sin_downward_test_data): New variable.
26982         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26983         (sin_upward_test_data): New variable.
26984         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26985         (sinh_test_data): New variable.
26986         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26987         (sinh_tonearest_test_data): New variable.
26988         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26989         (sinh_towardzero_test_data): New variable.
26990         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26991         (sinh_downward_test_data): New variable.
26992         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26993         (sinh_upward_test_data): New variable.
26994         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26995         (sqrt_test_data): New variable.
26996         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26997         (tan_test_data): New variable.
26998         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26999         (tan_tonearest_test_data): New variable.
27000         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27001         (tan_towardzero_test_data): New variable.
27002         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27003         (tan_downward_test_data): New variable.
27004         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27005         (tan_upward_test_data): New variable.
27006         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27007         (tanh_test_data): New variable.
27008         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27009         (tgamma_test_data): New variable.
27010         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27011         (trunc_test_data): New variable.
27012         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27013         (y0_test_data): New variable.
27014         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27015         (y1_test_data): New variable.
27016         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27017         (significand_test_data): New variable.
27018         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27019
27020 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27021
27022         [BZ #12387]
27023         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27024
27025 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27026
27027         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27028
27029 2013-05-10  Andreas Jaeger  <aj@suse.de>
27030
27031         [BZ #15448]
27032         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27033         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27034
27035 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27036
27037         * math/gen-libm-test.pl (adjust_arg): New function.
27038         (special_functions): Handle generating output in both functions
27039         and arrays.
27040         (parse_args): Likewise.
27041         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27042         $in_func argument to parse_args.
27043         * math/libm-test.inc (struct test_f_f_data): New type.
27044         (IF_ROUND_INIT_): New macro.
27045         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27046         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27047         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27048         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27049         (ROUND_RESTORE_): Likewise.
27050         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27051         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27052         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27053         (ROUND_RESTORE_FE_UPWARD): Likewise.
27054         (RUN_TEST_LOOP_f_f): New macro.
27055         (acos_test_data): New variable.
27056         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27057         (acos_tonearest_test_data): New variable.
27058         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27059
27060 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27061
27062         * benchtests/bench-skeleton.c (startup): Fix coding style.
27063
27064 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27065
27066         [BZ #6809]
27067         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27068         negative infinity argument.
27069         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27070         negative infinity argument.
27071         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27072         negative infinity argument.
27073         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27074         domain errors.
27075
27076 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27077
27078         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27079         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27080         * iconv/iconv_prog.c (main): Likewise.
27081         * locale/programs/charmap-dir.c (charmap_readdir)
27082         (fopen_uncompressed): Likewise.
27083         * locale/programs/locfile.c (siblings_uncached)
27084         (write_locale_data): Use lstat64 instead of lstat.
27085         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27086         stat.
27087
27088 2013-05-10  Andreas Jaeger  <aj@suse.de>
27089
27090         [BZ #15395]
27091         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27092         localization.
27093         Include <locale.h>.
27094
27095 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27096
27097         * elf/dl-close.c (_dl_close_worker): Add comments.
27098
27099 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #15359]
27102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27103         high part of pi/2.
27104         (__ieee754_rem_pio2l): Update comments.
27105
27106         [BZ #15429]
27107         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27108         high part of pi/2.
27109         (__ieee754_rem_pio2l): Update comments.
27110
27111         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27112         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27113
27114         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27115         M_PI_4l.
27116
27117         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27118         (M_PI_34_LOG10El): Likewise.
27119         (M_PI2_LOG10El): Likewise.
27120         (M_PI4_LOG10El): Likewise.
27121         (M_PI_LOG10El): Likewise.
27122
27123 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27124
27125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27126
27127 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27128
27129         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27130         (MINUS_ZERO_INIT): Likewise.
27131         (PLUS_INFTY_INIT): Likewise.
27132         (MINUS_INFTY_INIT): Likewise.
27133         (QNAN_VALUE_INIT): Likewise.
27134         (MAX_VALUE_INIT): Likewise.
27135         (MIN_VALUE_INIT): Likewise.
27136         (MIN_SUBNORM_VALUE_INIT): Likewise.
27137         (plus_zero): Initialize with PLUS_ZERO_INIT.
27138         (minus_zero): Initialize with MINUS_ZERO_INIT.
27139         (plus_infty): Initialize with PLUS_INFTY_INIT.
27140         (minus_infty): Initialize with MINUS_INFTY_INIT.
27141         (qnan_value): Initialize with QNAN_VALUE_INIT.
27142         (max_value): Initialize with MAX_VALUE_INIT.
27143         (min_value): Initialize with MIN_VALUE_INIT.
27144         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27145
27146         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27147         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27148         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27149         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27150
27151         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27152         (RUN_TEST_2_f): Likewise.
27153         (RUN_TEST_ff_f): Likewise.
27154         (RUN_TEST_fi_f): Likewise.
27155         (RUN_TEST_fl_f): Likewise.
27156         (RUN_TEST_fff_f): Likewise.
27157         (RUN_TEST_c_f): Likewise.
27158         (RUN_TEST_f_f1): Likewise.
27159         (RUN_TEST_fF_f1): Likewise.
27160         (RUN_TEST_fI_f1): Likewise.
27161         (RUN_TEST_ffI_f1): Likewise.
27162         (RUN_TEST_c_c): Likewise.
27163         (RUN_TEST_cc_c): Likewise.
27164         (RUN_TEST_f_i): Likewise.
27165         (RUN_TEST_f_i_tg): Likewise.
27166         (RUN_TEST_ff_i_tg): Likewise.
27167         (RUN_TEST_f_b): Likewise.
27168         (RUN_TEST_f_b_tg): Likewise.
27169         (RUN_TEST_f_l): Likewise.
27170         (RUN_TEST_f_L): Likewise.
27171         (RUN_TEST_sincos): Likewise.
27172         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27173         whether to show exceptions.  Do not include ");\n" in return
27174         value.
27175         (special_functions): Output call to RUN_TEST_sincos instead of
27176         check_float calls.  Update calls to new_test.
27177         (parse_args): Output call to single RUN_TEST_* macro instead of
27178         check_* calls and other assignments.  Update calls to new_test.
27179
27180         [BZ #2546]
27181         [BZ #2560]
27182         [BZ #5159]
27183         [BZ #15426]
27184         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27185         input to result for tgamma overflow.
27186         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27187         (gamma_coeff): New variable.
27188         (NCOEFF): New macro.
27189         (gamma_positive): New function.
27190         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27191         underflow here.  Use gamma_positive instead of exp (lgamma) for
27192         other arguments.
27193         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27194         (gamma_coeff): New variable.
27195         (NCOEFF): New macro.
27196         (gammaf_positive): New function.
27197         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27198         underflow here.  Use gamma_positive instead of exp (lgamma) for
27199         other arguments.
27200         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27201         (gamma_coeff): New variable.
27202         (NCOEFF): New macro.
27203         (gammal_positive): New function.
27204         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27205         underflow here.  Use gamma_positive instead of exp (lgamma) for
27206         other arguments.
27207         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27208         (gamma_coeff): New variable.
27209         (NCOEFF): New macro.
27210         (gammal_positive): New function.
27211         (__ieee754_gammal_r): Handle positive infinity, overflow and
27212         underflow here.  Handle NaN the same as positive infinity.  Remove
27213         check x < 0xffffffff for negative integers.  Use gamma_positive
27214         instead of exp (lgamma) for other arguments.
27215         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27216         (gamma_coeff): New variable.
27217         (NCOEFF): New macro.
27218         (gammal_positive): New function.
27219         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27220         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27224         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27225         * sysdeps/generic/math_private.h (__gamma_productf): New
27226         prototype.
27227         (__gamma_product): Likewise.
27228         (__gamma_productl): Likewise.
27229         * math/Makefile (libm-calls): Add gamma_product.
27230         * math/libm-test.inc (tgamma_test): Add more tests.
27231         * sysdeps/i386/fpu/libm-test-ulps: Update.
27232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27233
27234 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27235
27236         * benchtests/bench-skeleton.c (main): Preheat CPU.
27237
27238 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27239
27240         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27241
27242 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27243
27244         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27245         and _dl_skip_args_internal.
27246
27247 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27248
27249         * manual/message.texi (Message Translation): Talk about users.
27250         Message to key mapping impacts design.
27251
27252 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27253
27254         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27255
27256         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27257
27258         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27259         * sysdeps/wordsize-64/glob64.c: ... here.
27260
27261         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27262         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27263         New macros.
27264
27265         * debug/getlogin_r_chk.c: Moved to ...
27266         * login/getlogin_r_chk.c: ... here.
27267         * debug/Makefile (routines): Move getlogin_r_chk to ...
27268         * login/Makefile (routines): ... here.
27269         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27270         * login/Versions (libc: GLIBC_2.4): ... here.
27271
27272         * io/poll.c (__poll): Renamed from poll.
27273         Add libc_hidden_def.
27274         (poll): Define as weak alias.
27275
27276         * debug/ptsname_r_chk.c: Moved to ...
27277         * login/ptsname_r_chk.c: ... here.
27278         * debug/Makefile (routines): Move ptsname_r_chk to ...
27279         * login/Makefile (routines): ... here.
27280         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27281         * login/Versions (libc: GLIBC_2.4): ... here.
27282
27283         * posix/getlogin.c: Moved to ...
27284         * login/getlogin.c: ... here.
27285         * posix/getlogin_r.c: Moved to ...
27286         * login/getlogin_r.c: ... here.
27287         * posix/getlogin_r.c: Moved to ...
27288         * login/getlogin_r.c: ... here.
27289         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27290         * login/Makefile (routines): ... here.
27291         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27292         * login/Versions (libc: GLIBC_2.0): ... here.
27293
27294         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27295         (setrlimit): Define as weak alias.
27296
27297         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27298         Call __ names for open, ftruncate, and close.
27299         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27300         (truncate): Define as weak alias.
27301
27302 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27303
27304         * math/gen-libm-test.pl (parse_args): Initialize x before each
27305         test of frexp, modf and remquo.
27306
27307         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27308         test signgam value.
27309
27310 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27311
27312         [BZ #15418]
27313         [BZ #15419]
27314         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27315         internal tests.
27316         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27317
27318 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27319
27320         * elf/dl-writev.h: New file.
27321         * elf/dl-misc.c: Include it.
27322         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27323         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27324
27325 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27326
27327         * math/libm-test.inc (noXFails): Remove variable.
27328         (noXPasses): Likewise.
27329         (BUILD_COMPLEX_INT): Remove macro.
27330         (print_screen): Remove xfail argument.
27331         (print_screen_max_error): Likewise.
27332         (update_stats): Likewise.
27333         (print_max_error): Likewise.  Update calls to other affected
27334         functions.
27335         (print_complex_max_error): Likewise.
27336         (test_single_exception): Update calls to print_screen.
27337         (test_single_errno): Likewise.
27338         (check_float_internal): Remove xfail argument.  Update calls to
27339         other affected functions.
27340         (check_float): Likewise.
27341         (check_complex): Likewise.
27342         (check_int): Likewise.
27343         (check_long): Likewise.
27344         (check_bool): Likewise.
27345         (check_longlong): Likewise.
27346         (main): Don't print noXFails and noXPasses.
27347         * math/gen-libm-test.pl (top level): Don't mention expected
27348         failure handling in comment.
27349         (new_test): Don't handle expected failures.
27350         (parse_args): Don't mention expected failure handling in comment.
27351         (generate_testfile): Don't handle expected failures.
27352         (parse_ulps): Likewise.
27353         (print_ulps_file): Likewise.
27354         (get_failure): Remove function.
27355         (output_test): Don't handle expected failures.
27356         * make/README.libm-test: Don't mention expected failure handling.
27357
27358         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27359         (minus_zero): Likewise.
27360         (plus_infty): Likewise.
27361         (minus_infty): Likewise.
27362         (qnan_value): Likewise.
27363         (max_value): Likewise.
27364         (min_value): Likewise.
27365         (min_subnorm_value): Likewise.
27366         (initialize): Do not initialize those variables dynamically.
27367
27368 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27369
27370         * io/open.c (__open_2): Moved to ...
27371         * io/open_2.c: ... this new file.
27372         * io/open64.c (__open64_2): Moved to ...
27373         * io/open64_2.c: ... this new file.
27374         * io/openat.c (__openat_2): Moved to ...
27375         * io/openat_2.c: ... this new file.
27376         * io/openat64.c (__openat64_2): Moved to ...
27377         * io/openat64_2.c: ... this new file.
27378         * io/Makefile (routines): Add them.
27379         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27380         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27381         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27382         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27383         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27384         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27385         (__openat64): Add hidden_ver.
27386         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27387         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27388
27389         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27390         Separately conditionalize setting of GLRO(dl_sysinfo) so
27391         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27392         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27393
27394 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27395
27396         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27398         definition.
27399         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27400         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27401         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27402         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27403         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27404
27405 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27406
27407         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27408         test signgam value.
27409
27410         * math/libm-test.inc (hypot_test): Do not use
27411         IGNORE_ZERO_INF_SIGN.
27412
27413 2013-05-03  Andreas Jaeger  <aj@suse.de>
27414
27415         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27416         Linux 3.9.
27417         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27418         (PF_MAX): Adjust for VSOCK change.
27419
27420 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27421
27422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27423
27424 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27425
27426         [BZ #15264]
27427         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27428         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27429         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27430
27431 2013-05-02  David S. Miller  <davem@davemloft.net>
27432
27433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27434
27435 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27436
27437         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27438
27439 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27440
27441         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27442
27443 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27444
27445         [BZ #14952]
27446         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27447         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27448         Use __attribute__ ((__gnu_inline__)).
27449         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27450         Don't use __attribute__ ((__gnu_inline__)).
27451
27452 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27453
27454         [BZ #15423]
27455         * math/s_catan.c (__catan): Handle small real or imaginary part of
27456         input specially to avoid spurious underflow.
27457         * math/s_catanf.c (__catanf): Likewise.
27458         * math/s_catanh.c (__catanh): Likewise.
27459         * math/s_catanhf.c (__catanhf): Likewise.
27460         * math/s_catanhl.c (__catanhl): Likewise.
27461         * math/s_catanl.c (__catanl): Likewise.
27462         * math/libm-test.inc (catan_test): Add more tests.
27463         (catanh_test): Likewise.
27464         * sysdeps/i386/fpu/libm-test-ulps: Update.
27465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27466
27467 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27468
27469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27470
27471 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27472
27473         [BZ #15416]
27474         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27475         accurately for denominator in atan2.
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  Siddhesh Poyarekar  <siddhesh@redhat.com>
27487
27488         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27489
27490         * benchtests/Makefile (bench): Remove slow benchmarks.
27491         * benchtests/atan-inputs: Add slow benchmark inputs.
27492         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27493         (BENCH_FUNC): Accept variant offset.
27494         (VARIANT): Define.
27495         * benchtests/bench-skeleton.c (main): Run benchmark for each
27496         variant.
27497         * benchtests/cos-inputs: Add slow benchmark inputs.
27498         * benchtests/exp-inputs: Likewise.
27499         * benchtests/pow-inputs: Likewise.
27500         * benchtests/sin-inputs: Likewise.
27501         * benchtests/slowatan-inputs: Remove.
27502         * benchtests/slowatan.c: Remove.
27503         * benchtests/slowcos-inputs: Remove.
27504         * benchtests/slowcos.c: Remove.
27505         * benchtests/slowexp-inputs: Remove.
27506         * benchtests/slowexp.c: Remove.
27507         * benchtests/slowpow-inputs: Remove.
27508         * benchtests/slowpow.c: Remove.
27509         * benchtests/slowsin-inputs: Remove.
27510         * benchtests/slowsin.c: Remove.
27511         * benchtests/slowtan-inputs: Remove.
27512         * benchtests/slowtan.c: Remove.
27513         * benchtests/tan-inputs: Add slow benchmark inputs.
27514         * scripts/bench.pl: Parse comments and directives.
27515
27516         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27517         in CPPFLAGS.
27518         ($(objpfx)bench-%.c): Remove *-ITER.
27519         * benchtests/bench-modf.c: Remove definition of ITER.
27520         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27521         (main): Loop for DURATION seconds instead of fixed number of
27522         iterations.
27523         * scripts/bench.pl: Don't expect iterations in parameters.
27524
27525 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27526
27527         * io/fchdir.c (__fchdir): Renamed from fchdir.
27528         (fchdir): Define as weak alias.
27529
27530 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27531
27532         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27533         (ERRNO_EDOM): Likewise.
27534         (ERRNO_ERANGE): Likewise.
27535         (noErrnoTests): New variable.
27536         (init_max_error): Set errno to 0.
27537         (test_single_errno): New function.
27538         (test_errno): Likewise.
27539         (check_float_internal): Call test_errno.  Set errno to 0.
27540         (check_complex): Refer to errno tests in comment.
27541         (check_int): Call test_errno.  Set errno to 0.
27542         (check_long): Likewise.
27543         (check_bool): Likewise.
27544         (check_longlong): Likewise.
27545         (cos_test): Use ERRNO_* flags for errno tests instead of
27546         check_int.
27547         (expm1_test): Likewise.
27548         (fmod_test): Likewise.
27549         (ilogb_test): Likewise.
27550         (lgamma_test): Likewise.
27551         (pow_test): Likewise.
27552         (remainder_test): Likewise.
27553         (sin_test): Likewise.
27554         (tan_test): Likewise.
27555         (yn_test): Likewise.
27556         (initialize): Set errno to 0.
27557         (main): Print number of errno tests.
27558         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27559
27560 2013-04-29  Andreas Jaeger  <aj@suse.de>
27561
27562         [BZ #15084]
27563         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27564         and RES_USEVC.
27565
27566         [BZ #15085]
27567         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27568         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27569         unimplemented.
27570
27571         [BZ #15380]
27572         * stdlib/random.c (__initstate): Return NULL if
27573         __initstate fails.
27574
27575         [BZ #15086]
27576         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27577         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27578         RES_SNGLKUPREOP.
27579
27580 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27581
27582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27583
27584 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27585
27586         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27587         of individual tests.
27588         (casin_test): Likewise.
27589         (casinh_test): Likewise.
27590
27591 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27592
27593         [BZ #15409]
27594         * math/s_catan.c (__catan): Handle arguments with large real or
27595         imaginary part separately without squaring.
27596         * math/s_catanf.c (__catanf): Likewise.
27597         * math/s_catanh.c (__catanh): Likewise.
27598         * math/s_catanhf.c (__catanhf): Likewise.
27599         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27600         and redefine.
27601         (__catanhl): Handle arguments with large real or imaginary part
27602         separately without squaring.
27603         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27604         and redefine.
27605         (__catanl): Handle arguments with large real or imaginary part
27606         separately without squaring.
27607         * math/libm-test.inc (catan_test): Add more tests.
27608         (catanh_test): Likewise.
27609         * sysdeps/i386/fpu/libm-test-ulps: Update.
27610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27611
27612 2013-04-27  Andreas Jaeger  <aj@suse.de>
27613
27614         [BZ #15007]
27615         * stdlib/stdlib.h: Update guards for qecvt.
27616         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27617         <stdlib.h>.
27618
27619 2013-04-27  Allan McRae  <allan@archlinux.org>
27620
27621         * sysdeps/i386/fpu/libm-test-ulps: Update.
27622
27623 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27624
27625         [BZ #15406]
27626         * math/s_catan.c: Include <float.h>.
27627         (__catan): Ensure underflow exception occurs for underflowed
27628         result.
27629         * math/s_catanf.c: Include <float.h>.
27630         (__catanf): Ensure underflow exception occurs for underflowed
27631         result.
27632         * math/s_catanh.c: Include <float.h>.
27633         (__catanh): Ensure underflow exception occurs for underflowed
27634         result.
27635         * math/s_catanhf.c: Include <float.h>.
27636         (__catanhf): Ensure underflow exception occurs for underflowed
27637         result.
27638         * math/s_catanhl.c: Include <float.h>.
27639         (__catanhl): Ensure underflow exception occurs for underflowed
27640         result.
27641         * math/s_catanl.c: Include <float.h>.
27642         (__catanl): Ensure underflow exception occurs for underflowed
27643         result.
27644         * math/libm-test.inc (catan_test): Add more tests.
27645         (catanh_test): Likewise.
27646
27647         [BZ #15405]
27648         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27649         underflowed result.
27650         * math/s_ccoshf.c (__ccoshf): Likewise.
27651         * math/s_ccoshl.c (__ccoshl): Likewise.
27652         * math/s_csin.c (__csin): Likewise.
27653         * math/s_csinf.c (__csinf): Likewise.
27654         * math/s_csinh.c (__csinh): Likewise.
27655         * math/s_csinhf.c (__csinhf): Likewise.
27656         * math/s_csinhl.c (__csinhl): Likewise.
27657         * math/s_csinl.c (__csinl): Likewise.
27658         * math/libm-test.inc (ccos_test): Add more tests.
27659         (ccosh_test): Likewise.
27660         (csin_test): Likewise.
27661         (csinh_test): Likewise.
27662
27663 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27664
27665         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27666         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27667         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27668         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27669         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27670         powerpc/power5+/fpu folders.
27671         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27672
27673
27674 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27675
27676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27677
27678 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27679
27680         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27681         additions to variable.
27682         [$(config-machine) = x86_64] (modules-names): Likewise.
27683         ($(objpfx)tst-audit3): Remove dependency.
27684         ($(objpfx)tst-audit3.out): Likewise.
27685         ($(objpfx)tst-audit4): Likewise.
27686         ($(objpfx)tst-audit4.out): Likewise.
27687         ($(objpfx)tst-audit5): Likewise.
27688         ($(objpfx)tst-audit5.out): Likewise.
27689         ($(objpfx)tst-audit6): Likewise.
27690         ($(objpfx)tst-audit6.out): Likewise.
27691         ($(objpfx)tst-audit7): Likewise.
27692         ($(objpfx)tst-audit7.out): Likewise.
27693         (tst-audit3-ENV): Remove variable.
27694         (tst-audit4-ENV): Likewise.
27695         (tst-audit5-ENV): Likewise.
27696         (tst-audit6-ENV): Likewise.
27697         (tst-audit7-ENV): Likewise.
27698         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27699         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27700         addition to variable.
27701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27706         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27707         tst-audit3, tst-audit4 and tst-audit5.
27708         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27709         tst-audit6 and tst-audit7.
27710         [$(subdir) = elf] (modules-names): Add audit modules for those
27711         tests.
27712         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27713         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27714         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27715         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27716         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27717         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27718         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27719         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27720         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27721         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27722         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27723         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27724         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27725         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27726         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27727         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27728         Likewise.
27729         [$(subdir) = elf && $(config-cflags-avx) = yes]
27730         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27731         [$(subdir) = elf && $(config-cflags-avx) = yes]
27732         (CFLAGS-tst-auditmod4a.c): Likewise.
27733         [$(subdir) = elf && $(config-cflags-avx) = yes]
27734         (CFLAGS-tst-auditmod4b.c): Likewise.
27735         [$(subdir) = elf && $(config-cflags-avx) = yes]
27736         (CFLAGS-tst-auditmod6b.c): Likewise.
27737         [$(subdir) = elf && $(config-cflags-avx) = yes]
27738         (CFLAGS-tst-auditmod6c.c): Likewise.
27739         [$(subdir) = elf && $(config-cflags-avx) = yes]
27740         (CFLAGS-tst-auditmod7b.c): Likewise.
27741         * elf/tst-audit3.c: Move to ...
27742         * sysdeps/x86_64/tst-audit3.c: ... here.
27743         * elf/tst-audit4.c: Move to ...
27744         * sysdeps/x86_64/tst-audit4.c: ... here.
27745         * elf/tst-audit5.c: Move to ...
27746         * sysdeps/x86_64/tst-audit5.c: ... here.
27747         * elf/tst-audit6.c: Move to ...
27748         * sysdeps/x86_64/tst-audit6.c: ... here.
27749         * elf/tst-audit7.c: Move to ...
27750         * sysdeps/x86_64/tst-audit7.c: ... here.
27751         * elf/tst-auditmod3a.c: Move to ...
27752         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27753         * elf/tst-auditmod3b.c: Move to ...
27754         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27755         * elf/tst-auditmod4a.c: Move to ...
27756         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27757         * elf/tst-auditmod4b.c: Move to ...
27758         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27759         * elf/tst-auditmod5a.c: Move to ...
27760         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27761         * elf/tst-auditmod5b.c: Move to ...
27762         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27763         * elf/tst-auditmod6a.c: Move to ...
27764         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27765         * elf/tst-auditmod6b.c: Move to ...
27766         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27767         * elf/tst-auditmod6c.c: Move to ...
27768         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27769         * elf/tst-auditmod7a.c: Move to ...
27770         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27771         * elf/tst-auditmod7b.c: Move to ...
27772         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27773
27774 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27775
27776         [BZ #15366]
27777         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27778         define unconditionally.
27779         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27780         define unconditionally.
27781         (INT8_C, INT16_C, etc.): Likewise.
27782
27783 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27784
27785         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27786         __ehdr_start with hidden visibility.
27787
27788         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27789
27790 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27791
27792         * math/libm-test.inc (cos_test): Use accurate hex constants.
27793         (sincost_test): Likewise.
27794
27795 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27796
27797         * math/libm-test.inc (catan_test): Add more tests.
27798         (catanh_test): Likewise.
27799
27800         * math/s_catanf.c (__catanf): Use suffixed floating-point
27801         constants.
27802         * math/s_catanhf.c (__catanhf): Likewise.
27803         * math/s_catanhl.c (__catanhl): Likewise.
27804         * math/s_catanl.c (__catanl): Likewise.
27805
27806         [BZ #15394]
27807         * math/s_catan.c (__catan): Calculate imaginary part of result
27808         with log1p not log unless computing log of number close to 0.
27809         * math/s_catanf.c (__catanf): Likewise.
27810         * math/s_catanl.c (__catanl): Likewise.
27811         * math/s_catanh.c (__catanh): Calculate real part of result with
27812         log1p not log unless computing log of number close to 0.
27813         * math/s_catanhf.c (__catanhf): Likewise.
27814         * math/s_catanhl.c (__catanhl): Likewise.
27815         * math/libm-test.inc (catan_test): Add more tests.
27816         (catanh_test): Likewise.
27817         * sysdeps/i386/fpu/libm-test-ulps: Update.
27818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27819
27820 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27821
27822         * benchtests/Makefile: Mention files in which fast and slow
27823         paths of math functions are implemented.
27824
27825 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27826
27827         * sysdeps/posix/timespec_get.c: New file.
27828
27829 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27830
27831         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27832         POWER.
27833         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27834         for POWER.
27835         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27836         powerpc/power5/fpu folders.
27837         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27838         * benchtests/Makefile: Add modf testcase.
27839         * benchtests/bench-modf.c: New file: Benchmark test for mo
27840
27841 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27842
27843         [BZ #14888]
27844         * time/Makefile (tests): Add tst-strptime-whitespace.
27845         * time/strptime_l.c (get_number): Use ISSPACE.
27846         (__strptime_internal): Likewise.
27847         * time/tst-strptime-whitespace.c: New test case.
27848
27849 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27850
27851         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27852         member.
27853         (_nss_files_init): Set it here.
27854
27855 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27856
27857         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27858         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27859         unsigned.
27860
27861 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27862
27863         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27864
27865 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27866
27867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27868         size just once.
27869
27870 2013-04-21  David S. Miller  <davem@davemloft.net>
27871
27872         * po/ru.po: Update Russion translation from translation project.
27873
27874 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27875
27876         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27877         and setfsgid.
27878
27879 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27880
27881         * configure.in: Remove i386 configure warning. Remove i386 case.
27882         * configure: Regenerate.
27883         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27884         Add example to error message.
27885         * sysdeps/i386/configure: Regenerate.
27886
27887 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27888
27889         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27890         slowtan.
27891         * benchtests/cos-inputs: New file.
27892         * benchtests/slowcos-inputs: New file.
27893         * benchtests/slowcos.c: New file.
27894         * benchtests/slowtan-inputs: New file.
27895         * benchtests/slowtan.c: New file.
27896         * benchtests/tan-inputs: New file.
27897
27898 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27899
27900         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27901         considered kosher.
27902
27903 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27904
27905         * benchtests/Makefile: Include cppflags-iterator.mk to add
27906         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27907
27908         * Makefile.in (bench-clean): New target.
27909         * benchtests/Makefile (bench-clean): Likewise.
27910
27911 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27912
27913         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27914
27915 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27916
27917         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27918
27919 2013-04-15  Andreas Schwab  <schwab@suse.de>
27920
27921         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27923         * nscd/pwdcache.c (cache_addpw): Likewise.
27924         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27925         more than recsize.
27926
27927 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27928
27929         * benchtests/Makefile (bench): Write all output to
27930         bench-out.tmp together.
27931
27932 2013-04-15  Andreas Schwab  <schwab@suse.de>
27933
27934         * nscd/nscd.c (main): Don't fork again after closing files.
27935
27936 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27937
27938         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27939
27940         * benchtests/Rules (bench-deps): Collect dependencies into a
27941         single variable.  Add Makefile to dependencies.
27942         ($(objpfx)bench-%.c): Depend on bench-deps.
27943
27944 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27945             Xavier Roche  <roche+kml2@exalead.com>
27946
27947         [BZ #15361]
27948         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27949         just that it's a file descriptor.
27950         * manual/llio.texi (Synchronizing AIO Operations): Update description
27951         for EBADF error from aio_fsync.
27952
27953 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27954
27955         * Rules (bench): Move target definition...
27956         * benchtests/Makefile: ... here.
27957
27958 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27959
27960         * math/libm-test.inc (cos_test): Fix PI/2 test.
27961         (sincos_test): Likewise.
27962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27963         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27964
27965 2013-04-11  Andreas Schwab  <schwab@suse.de>
27966
27967         [BZ #13988]
27968         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27969         accept exponent character only when digits were seen.
27970         * stdio-common/Makefile (tests): Add bug26.
27971         * stdio-common/bug26.c: New file.
27972
27973         [BZ #14293]
27974         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27975         non-freeable.
27976
27977 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27978
27979         * Makeconfig (rtld-prefix): Define built linker prefix.
27980         * Rules (run-bench): Use it.
27981         * math/Makefile (run-regen-ulps): Likewise.
27982
27983         * Rules (bench): Remove eval.
27984
27985 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986             Roland McGrath  <roland@hack.frob.com>
27987             Ondrej Bilka  <neleai@seznam.cz>
27988
27989         [BZ #15346]
27990         * time/getdate.c: Include ctype.h and alloca.h.
27991         (__getdate_r): Trim leading and trailing spaces of input.
27992         * time/tst-getdate.c (tests): Add tests with leading and
27993         trailing spaces.
27994
27995 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27996
27997         [BZ #14280]
27998         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27999         when computing value.
28000
28001 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28002
28003         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28004         Use testrun.sh to run libm tests.
28005
28006         [BZ #15309]
28007         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28008
28009 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28010
28011         [BZ #15264]
28012         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28013
28014 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28015
28016         * Makefile.in (regen-ulps): New target.
28017         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28018         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28019         [ifneq (no,$(PERL)] (regen-ulps): New target.
28020         [ifeq (no,$(PERL)] (regen-ulps): New target.
28021         * math/libm-test.inc (ulps_file_name): Define.
28022         (output_dir): New variable.
28023         (options): Add "output-dir" option.
28024         (parse_opt): Handle 'o' case.
28025         (main): If output_dir is non-NULL use it as a prefix
28026         otherwise use "".
28027         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28028
28029 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28030
28031         [BZ #10060, #10062]
28032         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28033         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28034         fail configure if __sync_val_compare_and_swap is not inlined.
28035         * sysdeps/i386/configure: Regenerate.
28036         * configure.in: Build for i686 when configured for i386.
28037         * configure: Regenerate.
28038         * README: Remove i386 reference.
28039
28040 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28041
28042         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28043         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28044
28045 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28046
28047         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28048         (lmsnanval): New variables.
28049         (F): Add conversion tests.
28050         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28051         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28052
28053         * stdio-common/tstdiomisc.c (F): Properly collect individual
28054         tests' results.
28055
28056         [BZ #14686, #15336]
28057         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28058         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28059         Instead, use input NaN values or generate a qNaN by arithmetic
28060         operation.  Also fix bugs to comply with the standard.
28061         * math/libm-test.inc (remainder_test): Add more tests.
28062
28063         [BZ #15335, #15342]
28064         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28066         input NaN values or generate a qNaN by arithmetic operation.
28067
28068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28069         unreachable code.
28070
28071         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28072         definitions.
28073
28074 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28075
28076         [BZ #14478]
28077         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28078         underflowed result.
28079         * math/s_cexpf.c (__cexpf): Likewise.
28080         * math/s_cexpl.c (__cexpl): Likewise.
28081         * math/libm-test.inc (cexp_test): Add more tests.
28082
28083 2013-04-03  Andreas Schwab  <schwab@suse.de>
28084
28085         [BZ #15330]
28086         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28087         order arrays from heap if bigger than alloca cutoff.
28088
28089 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28090
28091         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28092         (SNAN_TESTS_double): Refer to GCC PR56831.
28093         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28094         GCC PR56828.
28095
28096 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28097
28098         * Rules (bench): Move bench.out after the run is complete.
28099
28100         * Rules (bench): Echo currently running benchmark.
28101
28102         * benchtests/Makefile (bench): Add atan and slowatan.
28103         * benchtests/atan-inputs: New file.
28104         * benchtests/slowatan-inputs: New file.
28105         * benchtests/slowatan.c: New file.
28106
28107         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28109         its value.
28110
28111         [BZ #15305]
28112         * sysdeps/unix/sysv/linux/kernel-features.h
28113         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28114         __ASSUME_XFS_RESTRICTED_CHOWN.
28115         * sysdeps/unix/sysv/linux/pathconf.c
28116         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28117         Save and restore errno.
28118
28119 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28120
28121         [BZ #15327]
28122         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28123         arguments using __kernel_casinh.
28124         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28125         arguments using __kernel_casinhf.
28126         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28127         arguments using __kernel_casinhl.
28128         * math/libm-test.inc (cacosh_test): Add more tests.
28129         * sysdeps/i386/fpu/libm-test-ulps: Update.
28130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131
28132 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28133
28134         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28136
28137         * bench/Makefile (bench): Add sin and slowsin.
28138         * benchtests/sin-inputs: New file.
28139         * benchtests/slowsin-inputs: New file.
28140         * benchtests/slowsin.c: New file.
28141
28142         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28143         (bench): Add slowexp and slowpow.
28144         (exp-ITER): Increase iterations.
28145         (pow-ITER): Likewise.
28146         * benchtests/exp-inputs: Change input.
28147         * benchtests/pow-inputs: Likewise.
28148         * benchtests/slowexp-inputs: New file.
28149         * benchtests/slowexp.c: New file.
28150         * benchtests/slowpow-inputs: New file.
28151         * benchtests/slowpow.c: New file.
28152
28153 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28154
28155         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28156         instructions.
28157         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28158         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28159         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28160         * benchtests/Makefile: Add rint benchtest.
28161         * benchtests/rint-inputs: Input for rint benchtest.
28162
28163 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28164
28165         * Versions.def (libm): Add GLIBC_2.18.
28166         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28167         hidden libm prototypes.
28168         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28169         * math/Makefile (libm-calls): Add s_issignaling.
28170         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28171         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28172         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28173         declaration.
28174         * math/math.h [__USE_GNU] (issignaling): New macro.
28175         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28176         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28177         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28178         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28179         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28180         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28181         * manual/arith.texi (issignaling): New section.
28182         * manual/libm-err-tab.pl (@all_functions): Update comment.
28183         * math/gen-libm-test.pl (parse_args): Apply special handling for
28184         issignaling.
28185         * math/libm-test.inc (print_float, issignaling_test): New
28186         functions.
28187         (check_float_internal): Add issignaling checks.
28188         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28189         default definition.
28190         * sysdeps/powerpc/math-tests.h: New file.
28191         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28192         tests.
28193         * math/test-snan.c (TEST_FUNC): Likewise.
28194
28195 2013-03-30  David S. Miller  <davem@davemloft.net>
28196
28197         * po/de.po: Update from translation team.
28198
28199 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28200
28201         [BZ #10357]
28202         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28203         imaginary part less than 1.0 and real part less than 0.5
28204         specially.
28205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28207         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28208         (cacos_test): Add more tests.
28209         (casin_test): Likewise.
28210         (casinh_test): Likewise.
28211         * sysdeps/i386/fpu/libm-test-ulps: Update.
28212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213
28214 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28215
28216         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28217         ONE with its value.
28218
28219         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28220         (__pow_mp): Replace ONE and MONE with their values.
28221         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28222         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28223         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28224         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28225         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28226         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28227
28228         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28229
28230         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28231         (__pow_mp): Replace ZERO and MZERO with their values.
28232         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28234         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28236         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28237         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28238         (__sqr): Likewise.
28239
28240         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28241
28242         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28243
28244 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28245
28246         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28247         Declare with __attribute__ ((weak)).
28248         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28249         Call __call_tls_dtors only if it's not NULL.
28250
28251 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28252
28253         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28254         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28255         magic __ehdr_start linker symbol if it's defined.
28256         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28257         them up here if it was already done.
28258
28259         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28260         (_dl_aux_init): Use const in cast when setting it.
28261         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28262         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28263         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28264
28265         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28266         Declare them here.
28267         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28268         * csu/libc-tls.c: Nor here.
28269         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28270
28271         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28272         (__libc_message): Never call vsyslog.
28273
28274 2013-03-28  Alan Modra  <amodra@gmail.com>
28275
28276         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28277         Define as empty.
28278         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28279         Likewise.
28280
28281 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28282
28283         [BZ #15214]
28284         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28285         underflow.
28286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28287
28288 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28289
28290         [BZ #15304]
28291         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28292         Don't add gid passed as argument.
28293
28294         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28295
28296 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28297
28298         [BZ #15307]
28299         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28300         imaginary part between 1.0 and 1.5 and real part less than 0.5
28301         specially.
28302         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28303         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28304         * math/libm-test.inc (cacos_test): Add more tests.
28305         (casin_test): Likewise.
28306         (casinh_test): Likewise.
28307         * sysdeps/i386/fpu/libm-test-ulps: Update.
28308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28309
28310 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28311
28312         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28313         constants.
28314         (norm): Likewise.
28315         (denorm): Likewise.
28316         (__dbl_mp): Likewise.
28317         (add_magnitudes): Likewise.
28318         (sub_magnitudes): Likewise.
28319         (__add): Likewise.
28320         (__sub): Likewise.
28321         (__mul): Likewise.
28322         (__sqr): Likewise.
28323         (__inv): Likewise.
28324         (__dvd): Likewise.
28325
28326         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28327         commented code.
28328         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28329         (__dubcos): Likewise.
28330         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28331         (__ieee754_acos): Likewise.
28332         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28333         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28334         (__exp1): Likewise.
28335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28337         (log1): Likewise.
28338         (my_log2): Likewise.
28339         (checkint): Likewise.
28340         * sysdeps/ieee754/dbl-64/e_remainder.c
28341         (__ieee754_remainder): Likewise.
28342         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28344         (bsloww): Likewise.
28345         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28346
28347         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28348         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28349         MANTISSA_STORE_T to store computations on mantissa.  Use
28350         macros for rounding and division.
28351         (denorm): Likewise.
28352         (__dbl_mp): Likewise.
28353         (add_magnitudes): Likewise.
28354         (sub_magnitudes): Likewise.
28355         (__mul): Likewise.
28356         (__sqr): Likewise.
28357         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28358         powers of two in terms of TWOPOW macro.
28359         (mp_no): Make type of mantissa as MANTISSA_T.
28360         [!RADIXI]: Define RADIXI.
28361         [!TWO52]: Define TWO52.
28362         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28363
28364 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28365
28366         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28367         llroundl symbol when building for PPC32.
28368
28369 2013-03-24  Mark H Weaver  <mhw@netris.org>
28370
28371         * manual/arith.texi (Normalization Functions): Fix prototypes for
28372         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28373
28374 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28375
28376         [BZ #13889]
28377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28378         high value to check if expl overflow.
28379         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28380         to check for underflow and overflow.
28381         * math/libm-test.inc: Add exp test.
28382
28383 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28384
28385         [BZ #11120]
28386         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28387         with NOT_IN_libc.
28388
28389 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28390
28391         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28392         symbol.
28393
28394 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28395
28396         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28397         wrap blocks consisting of several statements.
28398
28399         * sysdeps/generic/math-tests.h: New file.
28400         * sysdeps/i386/fpu/math-tests.h: Likewise.
28401         * math/test-snan.c: Include it.
28402         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28403
28404 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28405
28406         [BZ #15285]
28407         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28408         (__ieee754_j0l): Do not improve calculations using cos of twice
28409         input for inputs above LDBL_MAX / 2.0L.
28410         (__ieee754_y0l): Likewise.
28411         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28412         (__ieee754_j1l): Do not improve calculations using cos of twice
28413         input for inputs above LDBL_MAX / 2.0L.
28414         (__ieee754_y1l): Likewise.
28415         * math/libm-test.inc (j0_test): Add another test.
28416         (j1_test): Likewise.
28417         (y0_test): Likewise.
28418         (y1_test): Likewise.
28419         * sysdeps/i386/fpu/libm-test-ulps: Update.
28420
28421 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28422
28423         * Rules ($(objpfx)bench-%.c): Include code from a C source
28424         file.
28425
28426 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28427
28428         [BZ #15287]
28429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28430         imaginary part 1.0 and real part less than 0.5 specially.
28431         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28432         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28433         * math/libm-test.inc (cacos_test): Add more tests.
28434         (casin_test): Likewise.
28435         (casinh_test): Likewise.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28438
28439 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28440
28441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28442         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28443
28444 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28445
28446         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28447         * config.make.in (config-cflags-sse4): Remove variable.
28448         (config-cflags-avx): Likewise.
28449         (config-cflags-sse2avx): Likewise.
28450         (config-cflags-novzeroupper): Likewise.
28451         (config-asflags-i686): Likewise.
28452         (have-mfma4): Likewise.
28453         (have-as-vis3): Likewise.
28454         (MIG): Likewise.
28455         * configure.in (MIG): Do not AC_SUBST.
28456         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28457         (libc_cv_cc_sse4): Do not AC_SUBST.
28458         (libc_cv_cc_avx): Likewise.
28459         (libc_cv_cc_sse2avx): Likewise.
28460         (libc_cv_cc_novzeroupper): Likewise.
28461         (libc_cv_cc_fma4): Likewise.
28462         (libc_cv_as_i686): Likewise.
28463         (libc_cv_sparc_as_vis3): Likewise.
28464         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28465         LIBC_CONFIG_VAR.
28466         (config-asflags-i686): Likewise.
28467         (config-cflags-avx): Likewise.
28468         (config-cflags-sse2avx): Likewise.
28469         (have-mfma4): Likewise.
28470         (config-cflags-novzeroupper): Likewise.
28471         * sysdeps/mach/configure.in (MIG): Likewise.
28472         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28473         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28474         LIBC_CONFIG_VAR.
28475         (config-cflags-avx): Likewise.
28476         (config-cflags-sse2avx): Likewise.
28477         (have-mfma4): Likewise.
28478         (config-cflags-novzeroupper): Likewise.
28479         * configure: Regenerated.
28480         * sysdeps/i386/configure: Likewise.
28481         * sysdeps/mach/configure: Likewise.
28482         * sysdeps/sparc/configure: Likewise.
28483         * sysdeps/x86_64/configure: Likewise.
28484
28485 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28486
28487         [BZ #14812]
28488         * locale/programs/localedef.c (options): Put N_ translation marker
28489         on argument names, not just descriptions.
28490
28491 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28492
28493         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28494
28495 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28496
28497         [BZ #14176]
28498         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28499
28500 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28501
28502         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28503         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28504         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28505         [!BEFORE_ABORT] (before_abort): New function.
28506         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28507         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28508         (writev_for_fatal): New function.
28509         (WRITEV_FOR_FATAL): New macro; call that.
28510         (backtrace_and_maps): New function.
28511         (BEFORE_ABORT): New macro; call that.
28512         (struct str_list): Type removed.
28513         (__libc_message, __libc_fatal): Functions removed.
28514         Include <sysdeps/posix/libc_fatal.c> instead.
28515
28516 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28517
28518         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28519         constants.
28520         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28521         double constants.
28522
28523 2013-03-19  Andreas Schwab  <schwab@suse.de>
28524
28525         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28526         * sysdeps/gnu/configure: Regenerate.
28527
28528         * configure.in: Substitute libc_cv_rtlddir.
28529         * configure: Regenerate.
28530         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28531         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28532         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28533         * elf/Makefile (install-others, CFLAGS-interp.c)
28534         (ldso_install, common-ldd-rewrite): Likewise.
28535         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28536         $(inst_slibdir)/$(rtld-installed-name).
28537         * scripts/rellns-sh: Add -p option.
28538         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28539         for source.
28540
28541 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28542
28543         * manual/nptl.texi: Renamed to ...
28544         * manual/threads.texi: ... this.
28545         * manual/Makefile (chapters): Update.
28546
28547 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28548
28549         [BZ #14812]
28550         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28551         on argument names, not just descriptions.
28552         * malloc/memusagestat.c (options): Likewise.
28553         * nss/getent.c (options): Likewise.
28554
28555 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28556
28557         [BZ #14812]
28558         * iconv/iconv_prog.c (options): Put N_ translation marker
28559         on argument names, not just descriptions.
28560         * iconv/iconvconfig.c (options): Likewise.
28561
28562 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28563
28564         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28565         implementation which is faster on all x86_64 architectures.
28566         Tested on AMD, Intel Nehalem, SNB, IVB.
28567         * sysdeps/x86_64/strnlen.S: Likewise.
28568
28569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28570         Remove all multiarch strlen and strnlen versions.
28571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28572         Remove strlen and strnlen related parts.
28573
28574         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28575         Inline strlen part.
28576         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28577
28578         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28579         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28580         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28581         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28582         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28583         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28584
28585 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28586
28587         * manual/memory.texi (Malloc Tunable Parameters):
28588         Sort parameters alphabetically. Add comments for missing entries.
28589
28590 2013-03-17  David S. Miller  <davem@davemloft.net>
28591
28592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28593
28594 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28595
28596         [BZ #15283]
28597         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28598         for arguments at most half maximum finite value.
28599         * math/libm-test.inc (j0_test): Add more tests.
28600         (j1_test): Likewise.
28601         (y0_test): Likewise.
28602         (y1_test): Likewise.
28603         * sysdeps/i386/fpu/libm-test-ulps: Update.
28604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28605
28606         [BZ #14155]
28607         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28608         1 / x and functions P and Q for arguments above 0x1p256L.
28609         (__ieee754_y0l): Likewise.
28610         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28611         (__ieee754_y1l): Likewise.
28612         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28613         (j1_test): Likewise.
28614         (y0_test): Likewise.
28615         (y1_test): Likewise.
28616
28617 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28618
28619         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28620         variable.
28621
28622 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28623
28624         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28625         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28626         zero since it's initialized to EXEC_PAGESIZE.
28627
28628         * sysdeps/unix/sysv/linux/ldsodefs.h
28629         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28630         * sysdeps/generic/ldsodefs.h: ... here.
28631
28632 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28633
28634         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28635
28636         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28637         math/test-snan.c.
28638         * math/test-snan.c: Renamed from
28639         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28640         * math/Makefile (tests): Add test-snan.
28641         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28642         test-powerpc-snan.
28643
28644         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28645         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28646         functions.
28647         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28648         __builtin_nan family of functions.
28649         * math/libm-test.inc (initialize): Initialize qnan_value with
28650         __builtin_nan family of functions.
28651         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28652         Remove variables.
28653         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28654         Remove functions.
28655         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28656         storage class.  Initialize qNaN_var and sNaN_var with
28657         __builtin_nan and __builtin_nans families of functions,
28658         respectively.
28659
28660         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28661         (sqrt_test): Remove duplicate test with qNaN input.
28662         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28663         (round_test, signbit_test, significand_test): Note missing +/-Inf
28664         as well as qNaN tests.
28665
28666         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28667         qNaN_var.  Fix a few strings, too.
28668         * math/libm-test.inc (nan_value): Rename to qnan_value.
28669         * math/gen-libm-test.pl (%beautify): Adjust to that.
28670         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28671         * math/test-misc.c (main): Likewise.
28672         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28673         to __qnan_bytes, and __qnan_union, respectively.
28674         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28675         Likewise.
28676         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28677         and lqnanval, respectively.
28678         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28679         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28680         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28681         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28682
28683         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28684         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28685         doubles.
28686
28687         * math/test-misc.c (main): Fix copy'n'pastos.
28688         * misc/tst-efgcvt.c (special): Likewise.
28689
28690         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28691         Remove declarations.
28692
28693 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28694
28695         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28696         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28697         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28698         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28699
28700 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28701
28702         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28703         macro to return vdso values correctly in IFUNC implementations.
28704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28705         Optimization by using IFUNC.
28706
28707 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28708             Richard Henderson  <rth@redhat.com>
28709             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28710
28711         * Makefile.in (bench): New target.
28712         * NEWS: Mention the benchmark framework.
28713         * Rules (bench): Likewise.
28714         (binaries-bench): Generate binaries for functions to
28715         benchmark.
28716         * benchtests/Makefile: New makefile for benchmark tests.
28717         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28718         programs.
28719         * benchtests/exp-inputs: New input file for EXP function.
28720         * benchtests/pow-inputs: New input file for POW function.
28721         * scripts/bench.pl: New script to generate source files for
28722         benchmark programs.
28723
28724 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28725
28726         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28728         computations on mantissa.  Use macros for rounding and
28729         division.
28730         (denorm): Likewise.
28731         (__dbl_mp): Likewise.
28732         (add_magnitudes): Likewise.
28733         (sub_magnitudes): Likewise.
28734         (__mul): Likewise.
28735         (__sqr): Likewise.
28736         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28737         powers of two in terms of TWOPOW macro.
28738         (mp_no): Make type of mantissa as MANTISSA_T.
28739         [!RADIXI]: Define RADIXI.
28740         [!TWO52]: Define TWO52.
28741         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28742
28743         * manual/nptl.texi (cindex): Modify threads to pthreads.
28744
28745 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28746
28747         * sysdeps/x86_64/preconfigure: Regenerated.
28748
28749 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28750
28751         [BZ #14155]
28752         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28753         0x1p28 and above.
28754         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28755         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28756         0x1p28 and above.
28757         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28758         * math/libm-test.inc (j0_test): Do not allow one spurious
28759         underflow exception.
28760         (y1_test): Likewise.
28761
28762 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28763
28764         * manual/Makefile (chapters): Add nptl.
28765         * manual/debug.texi (Debugging Support): Add link to Threads
28766         chapter.
28767         * manual/nptl.texi: New file.
28768
28769         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28770
28771 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28772
28773         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28774         for non-NULL pointer before the memory validity test. Pointed
28775         out by Holger Brunck <holger.brunck@keymile.com>.
28776
28777 2013-03-13  Andreas Schwab  <schwab@suse.de>
28778
28779         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28780         instead of .os.
28781
28782 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28783
28784         * timezone/zic.c: Update from tzcode 2013b.
28785
28786 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28787
28788         * manual/install.texi (Configuring and compiling):
28789         Mention i686 and i586.
28790         * INSTALL: Regenerate.
28791
28792 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28793
28794         * sysdeps/init_array/elf-init.c: New file.
28795         * csu/elf-init.c
28796         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28797         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28798
28799         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28800         __gmon_start__ as global, but as static with a .preinit_array pointer.
28801         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28802         * sysdeps/init_array/crti.S: New file, empty except for comments.
28803         * sysdeps/init_array/crtn.S: Likewise.
28804
28805 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28806
28807         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28808         definining bcopy.
28809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28810         Remove Prefer_SSE_for_memop.
28811         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28812         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28813         HAS_PREFER_SSE_FOR_MEMOP.
28814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28815         memset-x86-64.
28816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28817         Remove bzero, memset ifunc support.
28818         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28819         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28820         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28821         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28822
28823 2013-03-11  Andreas Schwab  <schwab@suse.de>
28824
28825         [BZ #15234]
28826         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28827         by SHLIB_COMPAT.
28828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28829         (GLIBC_2.16): Remove pthread_atfork.
28830
28831 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28832
28833         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28834         (ptestcases.h): Likewise.
28835
28836 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28837
28838         * Makeconfig ($(common-objpfx)config.status): Depend on
28839         sysdeps/*/preconfigure{,.in} too.
28840
28841 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28842
28843         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28844         (__free_hook): Use void * instead of __malloc_ptr_t.
28845         (__malloc_hook): Likewise.
28846         (__realloc_hook): Likewise.
28847         (__memalign_hook): Likewise.
28848         (__after_morecore_hook): Likewise.
28849         * malloc/arena.c (save_malloc_hook): Likewise.
28850         (save_free_hook): Likewise.
28851         * malloc/hooks.c (malloc_hook_ini): Likewise.
28852         (realloc_hook_ini): Likewise.
28853         (memalign_hook_ini): Likewise.
28854         * malloc/malloc.c (malloc_hook_ini): Likewise.
28855         (realloc_hook_ini): Likewise.
28856         (memalign_hook_ini): Likewise.
28857         (__free_hook): Likewise.
28858         (__malloc_hook): Likewise.
28859         (__realloc_hook): Likewise.
28860         (__memalign_hook): Likewise.
28861         (__libc_malloc): Likewise.
28862         (__libc_free): Likewise.
28863         (__libc_realloc): Likewise.
28864         (__libc_memalign): Likewise.
28865         (__libc_valloc): Likewise.
28866         (__libc_pvalloc): Likewise.
28867         (__libc_calloc): Likewise.
28868         (__posix_memalign): Likewise.
28869         * malloc/morecore.c (__sbrk): Likewise.
28870         (__default_morecore): Likewise.
28871
28872         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28873
28874         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28875         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28876         __malloc_ptrdiff_t.
28877
28878         * malloc/malloc.h (__malloc_size_t): Remove macro.
28879         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28880         __malloc_size_t.
28881         (old_memalign_hook): Likewise.
28882         (old_realloc_hook): Likewise.
28883         (struct hdr): Likewise.
28884         (flood): Likewise.
28885         (mallochook): Likewise.
28886         (memalignhook): Likewise.
28887         (reallochook): Likewise.
28888         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28889         (tr_old_realloc_hook): Likewise.
28890         (tr_old_memalign_hook): Likewise.
28891         (tr_mallochook): Likewise.
28892         (tr_reallochook): Likewise.
28893         (tr_memalignhook): Likewise.
28894
28895 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28896
28897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28898         default_ldbl_pack and using as default implementation.
28899         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28900         implementation.
28901         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28902         redundant definition.
28903         (ldbl_insert_mantissa): Likewise.
28904         (ldbl_canonicalize): Likewise.
28905         (ldbl_nearbyint): Likewise.
28906         (ldbl_pack): Rename to ldbl_pack_ppc.
28907         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28908         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28909         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28910
28911 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912
28913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28914         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28915         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28916         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28918         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28919         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28920         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28921
28922 2013-03-07  Andreas Jaeger  <aj@suse.de>
28923
28924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28925         bits/mman-linux.h.
28926
28927 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28928
28929         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28930         Include mpa.h and declare __MPEXP.
28931         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28933         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28934         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28936         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28937         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28938
28939         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28940         (__slowpow): Use long double EXPL and LOGL functions to
28941         compute POW.
28942         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28943         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28944         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28945         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28946         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28947         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28948
28949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28950         intermediate variable to calculate exponent.
28951         (__sqr): Likewise.
28952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28953         Likewise.
28954         (__sqr): Likewise.
28955
28956         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28957         [!NO__SQR]: Define __sqr.
28958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28959         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28960         sysdeps/ieee754/dbl-64/mpa.c.
28961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28962
28963         [BZ #12723]
28964         * posix/Makefile (tests): Add tst-pathconf.
28965         * posix/tst-pathconf.c: New test case.
28966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28967         _PC_PIPE_BUF.
28968         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28969
28970 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28971
28972         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28973
28974 2013-03-06  Andreas Jaeger  <aj@suse.de>
28975
28976         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28977         definition via __MAP_ANONYMOUS.
28978
28979         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28980         it's not part of Linux headers.
28981
28982         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28983         (MAP_HUGE_MASK): Define.
28984
28985         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28986         Define.
28987         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28989         Define.
28990         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28991         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28992         Define.
28993         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28994         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28995         Define.
28996         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28997
28998         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28999         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29000         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29001         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29002         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29003         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29004
29005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29006         Handle f2fs.
29007
29008         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29009         Handle f2fs and efivarfs.
29010
29011         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29012         f2fs.
29013
29014         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29015         (EFIVARFS_MAGIC): Add.
29016         (F2FS_LINK_MAX): Add.
29017
29018 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29019
29020         * stdio-common/vfprintf.c: Replace __builtin_expect with
29021         __glibc_unlikely.
29022
29023 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29024
29025         [BZ #13550]
29026         * sysdeps/generic/bp-sym.h: Remove file.
29027         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29028         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29029         <bp-sym.h> and <bp-asm.h>.
29030         (__longjmp): Don't use BP_SYM.
29031         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29032         and <bp-asm.h>.
29033         (memcpy): Don't use BP_SYM.
29034         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29035         <bp-sym.h> and <bp-asm.h>.
29036         (memcpy): Don't use BP_SYM.
29037         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29038         <bp-asm.h>.
29039         (memcpy): Don't use BP_SYM.
29040         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29041         <bp-asm.h>.
29042         (memset): Don't use BP_SYM.
29043         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29044         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29045         (__bzero): Don't use BP_SYM.
29046         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29047         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29048         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29049         <bp-sym.h> and <bp-asm.h>.
29050         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29051         pointers.
29052         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29053         <bp-sym.h> and <bp-asm.h>.
29054         (memcpy): Don't use BP_SYM.
29055         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29056         <bp-sym.h> and <bp-asm.h>.
29057         (memset): Don't use BP_SYM.
29058         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29059         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29060         (__bzero): Don't use BP_SYM.
29061         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29062         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29063         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29064         <bp-sym.h> and <bp-asm.h>.
29065         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29066         pointers.
29067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29068         <bp-sym.h> and <bp-asm.h>.
29069         (memcpy): Don't use BP_SYM.
29070         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29071         <bp-sym.h> and <bp-asm.h>.
29072         (memset): Don't use BP_SYM.
29073         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29074         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29075         (__bzero): Don't use BP_SYM.
29076         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29077         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29079         <bp-sym.h> and <bp-asm.h>.
29080         (__memchr): Don't use BP_SYM.
29081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29082         <bp-sym.h> and <bp-asm.h>.
29083         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29084         pointers.
29085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29086         <bp-sym.h> and <bp-asm.h>.
29087         (memcpy): Don't use BP_SYM.
29088         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29089         <bp-sym.h> and <bp-asm.h>.
29090         (__mempcpy): Don't use BP_SYM.
29091         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29092         <bp-sym.h> and <bp-asm.h>.
29093         (__memrchr): Don't use BP_SYM.
29094         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29095         <bp-sym.h> and <bp-asm.h>.
29096         (memset): Don't use BP_SYM.
29097         (__bzero): Likewise.
29098         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29099         <bp-sym.h> and <bp-asm.h>.
29100         (__rawmemchr): Don't use BP_SYM.
29101         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29102         <bp-sym.h> and <bp-asm.h>.
29103         (__STRCMP): Don't use BP_SYM.
29104         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29105         <bp-sym.h> and <bp-asm.h>.
29106         (strchr): Don't use BP_SYM.
29107         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29108         <bp-sym.h> and <bp-asm.h>.
29109         (__strchrnul): Don't use BP_SYM.
29110         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29111         <bp-sym.h> and <bp-asm.h>.
29112         (strlen): Don't use BP_SYM.
29113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29114         <bp-sym.h> and <bp-asm.h>.
29115         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29116         pointers.
29117         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29118         <bp-sym.h> and <bp-asm.h>.
29119         (__strnlen): Don't use BP_SYM.
29120         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29121         <bp-sym.h> and <bp-asm.h>.
29122         (__GI__setjmp): Don't use BP_SYM.
29123         (_setjmp): Likewise.
29124         (__sigsetjmp): Likewise.
29125         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29126         (L(start_addresses)): Don't use BP_SYM.
29127         (_start): Likewise.
29128         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29129         <bp-asm.h>.
29130         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29131         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29132         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29133         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29134         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29135         <bp-asm.h>.
29136         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29137         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29138         about bounded pointers.
29139         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29140         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29141         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29142         <bp-asm.h>.
29143         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29144         about bounded pointers.  Remove GKM FIXME comments.
29145         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29146         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29147         <bp-asm.h>.
29148         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29149         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29150         Remove GKM FIXME comments.
29151         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29152         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29153         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29154         <bp-asm.h>.
29155         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29156         about bounded pointers.  Remove GKM FIXME comment.
29157         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29158         and <bp-asm.h>.
29159         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29160         pointers.
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29162         <bp-sym.h> and <bp-asm.h>.
29163         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29165         <bp-sym.h> and <bp-asm.h>.
29166         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29167         comment.
29168
29169 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29170
29171         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29172         call free(NULL).
29173
29174 2013-03-05  David S. Miller  <davem@davemloft.net>
29175
29176         * po/es.po: Update from translation team.
29177
29178 2013-03-05  Andreas Jaeger  <aj@suse.de>
29179
29180         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29181         <bits/mman-linux.h>.
29182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29183         is fine.
29184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29185         <bits/mman-linux.h> to end of file.
29186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29187         is fine.
29188         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29189         <bits/mman-linux.h> to end of file.
29190         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29191         is fine.
29192         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29193         <bits/mman-linux.h> to end of file.
29194
29195         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29196         (MCL_CURRENT, MCL_FUTURE): Define here.
29197
29198 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29199
29200         [BZ #15232]
29201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29202         attribute_hidden.
29203         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29204
29205 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29206
29207         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29208         fourth parameter needed for rt_sigprocmask syscall.
29209         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29210         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29212         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29213         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29214         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29215
29216 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29217
29218         [BZ #13550]
29219         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29220         comment about bounded pointers.
29221         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29222         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29223
29224 2013-03-04  Andreas Jaeger  <aj@suse.de>
29225
29226         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29227         common definitions.
29228
29229         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29230         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29231         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29232         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29234         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29235
29236 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29237
29238         [BZ #15055]
29239         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29240         __ieee754_sqrl instead of __sqrl.
29241
29242 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29243
29244         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29245         * sysdeps/powerpc/fpu_control.h: ... here.
29246         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29247         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29248         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29249         * sysdeps/powerpc/bits/mathinline.h: ... here.
29250
29251 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29252
29253         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29254         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29255         to just [NEED_DL_SYSINFO_DSO].
29256         * elf/dl-support.c: Likewise.
29257         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29258         * elf/rtld.c (dl_main): Likewise.
29259         * elf/setup-vdso.h (setup_vdso): Likewise.
29260         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29261         * sysdeps/unix/sysv/linux/dl-sysdep.c
29262         (_dl_discover_osversion): Likewise.
29263
29264 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29265
29266         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29267         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29268
29269 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29270
29271         * NEWS: Mention libm performance improvements and non-x86 PI
29272         futex support.
29273
29274         * csu/libc-start.c (__pthread_initialize_minimal): Change
29275         function arguments.
29276         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29277
29278 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29279
29280         [BZ #13550]
29281         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29282         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29283         <bp-sym.h> and <bp-asm.h>.
29284         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29285         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29286         and <bp-asm.h>.
29287         (memcpy): Don't use BP_SYM.
29288         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29289         <bp-asm.h>.
29290         (__mpn_add_n): Don't use BP_SYM.
29291         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29292         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29293         and <bp-asm.h>.
29294         (__mpn_addmul_1): Don't use BP_SYM.
29295         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29296         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29297         <bp-sym.h>.
29298         (_setjmp): Don't use BP_SYM.
29299         (__novmx_setjmp): Likewise.
29300         (__GI__setjmp): Likewise.
29301         (__vmx_setjmp): Likewise.
29302         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29303         <bp-sym.h>.
29304         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29305         (__bzero): Don't use BP_SYM.
29306         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29307         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29308         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29309         <bp-sym.h> and <bp-asm.h>.
29310         (memcpy): Don't use BP_SYM.
29311         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29312         <bp-sym.h> and <bp-asm.h>.
29313         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29315         <bp-sym.h> and <bp-asm.h>.
29316         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29317         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29318         <bp-asm.h>.
29319         (__mpn_lshift): Don't use BP_SYM.
29320         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29321         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29322         <bp-asm.h>.
29323         (memset): Don't use BP_SYM.
29324         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29325         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29326         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29327         <bp-asm.h>.
29328         (__mpn_mul_1): Don't use BP_SYM.
29329         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29331         <bp-sym.h> and <bp-asm.h>.
29332         (memcmp): Don't use BP_SYM.
29333         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29334         <bp-sym.h> and <bp-asm.h>.
29335         (memcpy): Don't use BP_SYM.
29336         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29337         <bp-sym.h> and <bp-asm.h>.
29338         (memset): Don't use BP_SYM.
29339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29340         <bp-sym.h> and <bp-asm.h>.
29341         (strncmp): Don't use BP_SYM.
29342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29343         <bp-sym.h> and <bp-asm.h>.
29344         (memcpy): Don't use BP_SYM.
29345         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29346         <bp-sym.h> and <bp-asm.h>.
29347         (memset): Don't use BP_SYM.
29348         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29349         <bp-sym.h> and <bp-asm.h>.
29350         (__memchr): Don't use BP_SYM.
29351         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29352         <bp-sym.h> and <bp-asm.h>.
29353         (memcmp): Don't use BP_SYM.
29354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29355         <bp-sym.h> and <bp-asm.h>.
29356         (memcpy): Don't use BP_SYM.
29357         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29358         <bp-sym.h> and <bp-asm.h>.
29359         (__mempcpy): Don't use BP_SYM.
29360         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29361         <bp-sym.h> and <bp-asm.h>.
29362         (__memrchr): Don't use BP_SYM.
29363         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29364         <bp-sym.h> and <bp-asm.h>.
29365         (memset): Don't use BP_SYM.
29366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29367         <bp-sym.h> and <bp-asm.h>.
29368         (__rawmemchr): Don't use BP_SYM.
29369         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29370         <bp-sym.h> and <bp-asm.h>.
29371         (__STRCMP): Don't use BP_SYM.
29372         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29373         <bp-sym.h> and <bp-asm.h>.
29374         (strchr): Don't use BP_SYM.
29375         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29376         <bp-sym.h> and <bp-asm.h>.
29377         (__strchrnul): Don't use BP_SYM.
29378         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29379         <bp-sym.h> and <bp-asm.h>.
29380         (strlen): Don't use BP_SYM.
29381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29382         <bp-sym.h> and <bp-asm.h>.
29383         (strncmp): Don't use BP_SYM.
29384         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29385         <bp-sym.h> and <bp-asm.h>.
29386         (__strnlen): Don't use BP_SYM.
29387         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29388         <bp-asm.h>.
29389         (__mpn_rshift): Don't use BP_SYM.
29390         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29392         <bp-sym.h> and <bp-asm.h>.
29393         (__sigsetjmp): Don't use BP_SYM.
29394         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29395         (L(start_addresses)): Don't use BP_SYM.
29396         (_start): Likewise.
29397         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29398         <bp-asm.h>.
29399         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29402         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29403         <bp-asm.h>.
29404         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29405         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29406         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29407         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29408         <bp-asm.h>.
29409         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29410         comments.
29411         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29412         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29413         <bp-asm.h>.
29414         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29415         FIXME comments.
29416         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29417         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29418         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29419         <bp-asm.h>.
29420         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29421         comment.
29422         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29423         and <bp-asm.h>.
29424         (strncmp): Don't use BP_SYM,
29425         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29426         <bp-asm.h>.
29427         (__mpn_sub_n): Don't use BP_SYM.
29428         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29429         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29430         and <bp-asm.h>.
29431         (__mpn_submul_1): Don't use BP_SYM.
29432         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29434         <bp-sym.h> and <bp-asm.h>.
29435         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29437         <bp-sym.h> and <bp-asm.h>.
29438         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29439         comment.
29440
29441 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29442
29443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29444         Use ZK to minimize writes to Z.
29445         (sub_magnitudes): Simplify code a bit.
29446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29447         Use ZK to minimize writes to Z.
29448         (sub_magnitudes): Simplify code a bit.
29449
29450 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29451
29452         * csu/gmon-start.c: Add special exception to license text.
29453
29454 2013-02-27  Richard Henderson  <rth@redhat.com>
29455
29456         * scripts/config.guess: Update from config.git.
29457         * scripts/config.sub: Likewise.
29458
29459 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29460
29461         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29462
29463         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29464
29465         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29466
29467         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29468
29469         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29470
29471 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29472
29473         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29474         [$(build-shared = yes].
29475
29476 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477
29478         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29479         (__mul): Reduce iterations for calculating mantissa.
29480
29481         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29482         MPTWO.
29483         (__mpranred): Likewise.
29484
29485         [BZ #15160]
29486         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29487         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29488
29489 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29490
29491         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29492         Define __attribute__.
29493
29494 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29495
29496         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29497         unused.
29498         * posix/regex_internal.h (__attribute): Remove.
29499         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29500         (re_string_context_at): Likewise.
29501         (bitset_not): Use __attribute__ and mark function as possibly
29502         unused.
29503         (bitset_merge): Likewise.
29504         (bitset_mask): Likewise.
29505         (re_string_char_size_at): Likewise.
29506         (re_string_wchar_at): Likewise.
29507         (re_string_elem_size_at): Likewise.
29508
29509 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29510
29511         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29512         code.
29513         (cc32): Likewise.
29514
29515         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29516         (__acr): Likewise.
29517         (__cpy): Likewise.
29518         (norm): Likewise.
29519         (denorm): Likewise.
29520         (__dbl_mp): Likewise.
29521         (add_magnitudes): Likewise.
29522         (sub_magnitudes): Likewise.
29523         (__mul): Likewise.
29524         (__inv): Likewise.
29525
29526         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29527         style.
29528
29529         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29530         style.
29531
29532         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29533         code.
29534
29535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29536         up changes with default code.
29537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29538         Likewise.
29539
29540 2013-02-24  Allan McRae  <allan@archlinux.org>
29541
29542         * manual/socket.texi (The Internet Namespace): Order menu items
29543         to match that in the file.
29544
29545         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29546         node listing of the info page menu.
29547
29548 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29549
29550         [BZ #13550]
29551         * sysdeps/i386/bp-asm.h: Remove file.
29552         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29553         (PARMS): Do not use macros from bp-asm.h.
29554         (S1): Likewise.
29555         (S2): Likewise.
29556         (SIZE): Likewise.
29557         (__mpn_add_n): Do not use BP_SYM
29558         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29559         "bp-asm.h".
29560         (PARMS): Do not use macros from bp-asm.h.
29561         (S1): Likewise.
29562         (SIZE): Likewise.
29563         (__mpn_addmul_1): Do not use BP_SYM
29564         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29565         "bp-asm.h".
29566         (PARMS): Do not use macros from bp-asm.h.
29567         (SIGMSK): Likewise.
29568         (_setjmp): Likewise.  Do not use BP_SYM.
29569         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29570         "bp-asm.h".
29571         (PARMS): Do not use macros from bp-asm.h.
29572         (SIGMSK): Likewise.
29573         (setjmp): Likewise.  Do not use BP_SYM.
29574         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29575         "bp-asm.h".
29576         (PARMS): Do not use macros from bp-asm.h.
29577         (__frexp): Do not use BP_SYM.
29578         (frexp): Likewise.
29579         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29580         "bp-asm.h".
29581         (PARMS): Do not use macros from bp-asm.h.
29582         (__frexpf): Do not use BP_SYM.
29583         (frexpf): Likewise.
29584         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29585         "bp-asm.h".
29586         (PARMS): Do not use macros from bp-asm.h.
29587         (__frexpl): Do not use BP_SYM.
29588         (frexpl): Likewise.
29589         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29590         "bp-asm.h".
29591         (PARMS): Do not use macros from bp-asm.h.
29592         (__remquo): Do not use BP_SYM.
29593         (remquo): Likewise.
29594         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29595         "bp-asm.h".
29596         (PARMS): Do not use macros from bp-asm.h.
29597         (__remquof): Do not use BP_SYM.
29598         (remquof): Likewise.
29599         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29600         "bp-asm.h".
29601         (PARMS): Do not use macros from bp-asm.h.
29602         (__remquol): Do not use BP_SYM.
29603         (remquol): Likewise.
29604         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29605         "bp-asm.h".
29606         (PARMS): Do not use macros from bp-asm.h.
29607         (DEST): Likewise.
29608         (SRC): Likewise.
29609         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29610         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29611         "bp-asm.h".
29612         (PARMS): Do not use macros from bp-asm.h.
29613         (strlen): Do not use BP_SYM.
29614         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29615         "bp-asm.h".
29616         (PARMS): Do not use macros from bp-asm.h.
29617         (S1): Likewise.
29618         (S2): Likewise.
29619         (SIZE): Likewise.
29620         (__mpn_add_n): Do not use BP_SYM.
29621         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29622         "bp-asm.h".
29623         (PARMS): Do not use macros from bp-asm.h.
29624         (S1): Likewise.
29625         (SIZE): Likewise.
29626         (__mpn_addmul_1): Do not use BP_SYM.
29627         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29628         weak_alias.
29629         (bzero): Likewise.
29630         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29631         "bp-asm.h".
29632         (PARMS): Do not use macros from bp-asm.h.
29633         (S): Likewise.
29634         (SIZE): Likewise.
29635         (__mpn_lshift): Do not use BP_SYM.
29636         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29637         "bp-asm.h".
29638         (PARMS): Do not use macros from bp-asm.h.
29639         (DEST): Likewise.
29640         (SRC): Likewise.
29641         (LEN): Likewise.
29642         (memcpy): Likewise.  Do not use BP_SYM.
29643         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29644         libc_hidden_def and weak_alias.
29645         (mempcpy): Do not use BP_SYM in weak_alias.
29646         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29647         "bp-asm.h".
29648         (PARMS): Do not use macros from bp-asm.h.
29649         (DEST): Likewise.
29650         (LEN): Likewise.
29651         [!BZERO_P] (CHR): Likewise.
29652         (memset): Likewise.  Do not use BP_SYM.
29653         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29654         "bp-asm.h".
29655         (PARMS): Do not use macros from bp-asm.h.
29656         (S1): Likewise.
29657         (SIZE): Likewise.
29658         (__mpn_mul_1): Do not use BP_SYM.
29659         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29660         "bp-asm.h".
29661         (PARMS): Do not use macros from bp-asm.h.
29662         (S): Likewise.
29663         (SIZE): Likewise.
29664         (__mpn_rshift): Do not use BP_SYM.
29665         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29666         "bp-asm.h".
29667         (PARMS): Do not use macros from bp-asm.h.
29668         (STR): Likewise.
29669         (CHR): Likewise.
29670         (strchr): Likewise.  Do not use BP_SYM.
29671         (index): Do not use BP_SYM in weak_alias.
29672         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29673         "bp-asm.h".
29674         (PARMS): Do not use macros from bp-asm.h.
29675         (DEST): Likewise.
29676         (SRC): Likewise.
29677         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29678         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29679         "bp-asm.h".
29680         (PARMS): Do not use macros from bp-asm.h.
29681         (strlen): Do not use BP_SYM.
29682         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29683         "bp-asm.h".
29684         (PARMS): Do not use macros from bp-asm.h.
29685         (S1): Likewise.
29686         (S2): Likewise.
29687         (SIZE): Likewise.
29688         (__mpn_sub_n): Do not use BP_SYM.
29689         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29690         "bp-asm.h".
29691         (PARMS): Do not use macros from bp-asm.h.
29692         (S1): Likewise.
29693         (SIZE): Likewise.
29694         (__mpn_submul_1): Do not use BP_SYM.
29695         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29696         "bp-asm.h".
29697         (PARMS): Do not use macros from bp-asm.h.
29698         (S1): Likewise.
29699         (S2): Likewise.
29700         (SIZE): Likewise.
29701         (__mpn_add_n): Do not use BP_SYM.
29702         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29703         weak_alias.
29704         (bzero): Likewise.
29705         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29706         "bp-asm.h".
29707         (PARMS): Do not use macros from bp-asm.h.
29708         (BLK2): Likewise.
29709         (LEN): Likewise.
29710         (memcmp): Do not use BP_SYM.
29711         (bcmp): Do not use BP_SYM in weak_alias.
29712         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29713         "bp-asm.h".
29714         (PARMS): Do not use macros from bp-asm.h.
29715         (DEST): Likewise.
29716         (SRC): Likewise.
29717         (LEN): Likewise.
29718         (memcpy): Likewise.  Do not use BP_SYM.
29719         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29720         "bp-asm.h".
29721         (PARMS): Do not use macros from bp-asm.h.
29722         (DEST): Likewise.
29723         (SRC): Likewise.
29724         (LEN): Likewise.
29725         (memmove): Likewise.  Do not use BP_SYM.
29726         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29727         "bp-asm.h".
29728         (PARMS): Do not use macros from bp-asm.h.
29729         (DEST): Likewise.
29730         (SRC): Likewise.
29731         (LEN): Likewise.
29732         (__mempcpy): Likewise.  Do not use BP_SYM.
29733         (mempcpy): Do not use BP_SYM in weak_alias.
29734         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29735         "bp-asm.h".
29736         (PARMS): Do not use macros from bp-asm.h.
29737         (DEST): Likewise.
29738         (LEN): Likewise.
29739         [!BZERO_P] (CHR): Likewise.
29740         (memset): Likewise.  Do not use BP_SYM.
29741         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29742         "bp-asm.h".
29743         (PARMS): Do not use macros from bp-asm.h.
29744         (STR2): Likewise.
29745         (strcmp): Do not use BP_SYM.
29746         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29747         "bp-asm.h".
29748         (PARMS): Do not use macros from bp-asm.h.
29749         (STR): Likewise.
29750         (DELIM): Likewise.
29751         [USE_AS_STRTOK_R] (SAVE): Likewise.
29752         (FUNCTION): Likewise.  Do not use BP_SYM.
29753         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29754         aliases.
29755         (strtok_r): Likewise.
29756         (__GI___strtok_r): Likewise.
29757         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29758         (PARMS): Do not use macros from bp-asm.h.
29759         (S): Likewise.
29760         (SIZE): Likewise.
29761         (__mpn_lshift): Do not use BP_SYM.
29762         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29763         (PARMS): Do not use macros from bp-asm.h.
29764         (STR): Likewise.
29765         (CHR): Likewise.
29766         (__memchr): Do not use BP_SYM.
29767         (memchr): Do not use BP_SYM in weak_alias.
29768         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29769         (PARMS): Do not use macros from bp-asm.h.
29770         (BLK2): Likewise.
29771         (LEN): Likewise.
29772         (memcmp): Do not use BP_SYM.
29773         (bcmp): Do not use BP_SYM in weak_alias.
29774         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29775         (PARMS): Do not use macros from bp-asm.h.
29776         (S1): Likewise.
29777         (SIZE): Likewise.
29778         (__mpn_mul_1): Do not use BP_SYM.
29779         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29780         "bp-asm.h".
29781         (PARMS): Do not use macros from bp-asm.h.
29782         (STR): Likewise.
29783         (CHR): Likewise.
29784         (__rawmemchr): Do not use BP_SYM.
29785         (rawmemchr): Do not use BP_SYM in weak_alias.
29786         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29787         (PARMS): Do not use macros from bp-asm.h.
29788         (S): Likewise.
29789         (SIZE): Likewise.
29790         (__mpn_rshift): Do not use BP_SYM.
29791         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29792         (PARMS): Do not use macros from bp-asm.h.
29793         (SIGMSK): Likewise.
29794         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29795         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29796         (_start): Do not use BP_SYM.
29797         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29798         (PARMS): Do not use macros from bp-asm.h.
29799         (DEST): Likewise.
29800         (SRC): Likewise.
29801         (__stpcpy): Likewise.  Do not use BP_SYM.
29802         (stpcpy): Do not use BP_SYM in weak_alias.
29803         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29804         "bp-asm.h".
29805         (PARMS): Do not use macros from bp-asm.h.
29806         (DEST): Likewise.
29807         (SRC): Likewise.
29808         (LEN): Likewise.
29809         (__stpncpy): Likewise.  Do not use BP_SYM.
29810         (stpncpy): Do not use BP_SYM in weak_alias.
29811         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29812         (PARMS): Do not use macros from bp-asm.h.
29813         (STR): Likewise.
29814         (CHR): Likewise.
29815         (strchr): Likewise.  Do not use BP_SYM.
29816         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29817         "bp-asm.h".
29818         (PARMS): Do not use macros from bp-asm.h.
29819         (STR): Likewise.
29820         (CHR): Likewise.
29821         (__strchrnul): Likewise.  Do not use BP_SYM.
29822         (strchrnul): Do not use BP_SYM in weak_alias.
29823         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29824         "bp-asm.h".
29825         (PARMS): Do not use macros from bp-asm.h.
29826         (STOP): Likewise.
29827         (strcspn): Do not use BP_SYM.
29828         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29829         "bp-asm.h".
29830         (PARMS): Do not use macros from bp-asm.h.
29831         (STR): Likewise.
29832         (STOP): Likewise.
29833         (strpbrk): Likewise.  Do not use BP_SYM.
29834         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29835         "bp-asm.h".
29836         (PARMS): Do not use macros from bp-asm.h.
29837         (STR): Likewise.
29838         (CHR): Likewise.
29839         (strrchr): Likewise.  Do not use BP_SYM.
29840         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29841         (PARMS): Do not use macros from bp-asm.h.
29842         (SKIP): Likewise.
29843         (strspn): Do not use BP_SYM.
29844         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29845         (PARMS): Do not use macros from bp-asm.h.
29846         (STR): Likewise.
29847         (DELIM): Likewise.
29848         (SAVE): Likewise.
29849         (FUNCTION): Likewise.  Do not use BP_SYM.
29850         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29851         aliases.
29852         (strtok_r): Likewise.
29853         (__GI___strtok_r): Likewise.
29854         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29855         (PARMS): Do not use macros from bp-asm.h.
29856         (S1): Likewise.
29857         (S2): Likewise.
29858         (SIZE): Likewise.
29859         (__mpn_sub_n): Do not use BP_SYM.
29860         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29861         "bp-asm.h".
29862         (PARMS): Do not use macros from bp-asm.h.
29863         (S1): Likewise.
29864         (SIZE): Likewise.
29865         (__mpn_submul_1): Do not use BP_SYM.
29866         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29867         <bp-sym.h>.
29868         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29869         and <bp-asm.h>.
29870         (PARMS): Do not use macros from bp-asm.h.
29871         (FLAGS): Likewise.
29872         (PTID): Likewise.
29873         (TLS): Likewise.
29874         (CTID): Likewise.
29875         (__clone): Do not use BP_SYM.
29876         (clone): Do not use BP_SYM in weak_alias.
29877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29878         and <bp-asm.h>.
29879         (PARMS): Do not use macros from bp-asm.h.
29880         (LEN): Likewise.
29881         (__mmap64): Do not use BP_SYM.
29882         (mmap64): Do not use BP_SYM in weak_alias.
29883         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29884         <bp-sym.h> and <bp-asm.h>.
29885         (PARMS): Do not use macros from bp-asm.h.
29886         (__posix_fadvise64_l64): Do not use BP_SYM.
29887         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29888         (PARMS): Do not use macros from bp-asm.h.
29889         (NSOPS): Likewise.
29890         (semtimedop): Do not use BP_SYM.
29891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29892         and <bp-asm.h>.
29893
29894 2013-02-21  Allan McRae  <allan@archlinux.org>
29895
29896         * manual/message.texi (Charset conversion in gettext):
29897         Move @end statement to beginning of line.
29898
29899 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29900
29901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29902         static.
29903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29904         Likewise.
29905
29906         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29907         (denorm): Likewise.
29908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29910
29911 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29912
29913         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29914         tail-call to the resolved function if pltexit isn't needed.
29915
29916 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29917
29918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29919         or Y being zero as being unlikely.
29920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29921         Likewise.
29922
29923 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29924
29925         * manual/nss.texi (System Databases and Name Service Switch):
29926         Remove frobnicate @pxref.
29927
29928 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29929
29930         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29931         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29932
29933 2013-02-20  Petr Machata  <pmachata@redhat.com>
29934
29935         * elf/elf.h (R_ARM_TARGET1): New macro.
29936         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29937         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29938         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29939         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29940         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29941         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29942         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29943         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29944         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29945         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29946         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29947         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29948         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29949         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29950         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29951         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29952         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29953         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29954         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29955         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29956         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29957         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29958         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29959         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29960         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29961         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29962         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29963         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29964         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29965         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29966         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29967         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29968         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29969         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29970         (R_ARM_THM_GOT_BREL12): Likewise.
29971         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29972         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29973         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29974         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29975         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29976         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29977         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29978         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29979         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29980
29981 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29982
29983         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29984         __attribute_used__ to __attribute__ ((unused)).
29985
29986 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29987
29988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29989         powerpc mpa.c.
29990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29991         comment formatting.
29992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29993
29994 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29995
29996         [BZ #13550]
29997         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29998         Remove macro.
29999         (ENTER): Remove both macro definitions.
30000         (LEAVE): Likewise.
30001         (CHECK_BOUNDS_LOW): Likewise.
30002         (CHECK_BOUNDS_HIGH): Likewise.
30003         (CHECK_BOUNDS_BOTH): Likewise.
30004         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30005         (RETURN_BOUNDED_POINTER): Likewise.
30006         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30007         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30008         (POP_ERRNO_LOCATION_RETURN): Likewise.
30009         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30010         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30011         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30012         macros.
30013         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30014         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30015         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30016         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30017         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30018         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30019         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30020         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30021         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30022         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30023         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30024         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30025         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30026         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30027         removed macros.
30028         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30029         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30030         macros.
30031         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30032         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30033         * sysdeps/i386/i586/memset.S (memset): Likewise.
30034         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30035         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30036         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30037         macros.
30038         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30039         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30040         Change uses of L(2) to L(out).
30041         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30042         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30043         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30044         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30045         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30046         removed macros.
30047         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30048         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30049         macros.
30050         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30051         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30052         (RETURN): Do not use macro LEAVE.
30053         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30054         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30055         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30056         * sysdeps/i386/i686/memset.S (memset): Likewise.
30057         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30058         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30059         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30060         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30061         Likewise.
30062         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30063         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30064         L(1_2) and L(1_3) into L(1).
30065         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30066         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30067         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30068         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30069         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30070         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30071         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30072         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30073         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30074         macros.
30075         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30076         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30077         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30078         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30079         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30080         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30081         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30082         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30083         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30084         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30085         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30086         * sysdeps/i386/strspn.S (strspn): Likewise.
30087         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30088         conditional code.
30089         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30090         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30091         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30092         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30093         L(1_3) into L(1_1).
30094         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30095         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30096         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30097         macros.
30098         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30099
30100 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30101
30102         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30103         macro.
30104
30105 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30106
30107         * math/atest-exp.c (exp_mpn): Remove ROUND.
30108         * math/atest-exp2.c (exp_mpn): Likewise.
30109         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30110
30111         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30112         * stdlib/tst-tls-atexit-lib.c: Likewise.
30113         * stdlib/tst-tls-atexit.c: Likewise.
30114
30115 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30116
30117         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30118         and __attribute_alloc_size__.
30119
30120 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30121
30122         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30123         __attribute_alloc_size__.
30124         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30125         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30126
30127 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30128
30129         * include/programs/xmalloc.h: New file.
30130         * catgets/gencat.c: Include it.
30131         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30132         * elf/pldd.c: Likewise.
30133         * iconv/iconv_charmap.c: Likewise.
30134         * iconv/iconvconfig.c: Likewise.
30135         * iconv/strtab.c: Likewise.
30136         * locale/programs/locale.c: Likewise.
30137         * locale/programs/localedef.h: Likewise.
30138         * locale/programs/simple-hash.c: Likewise.
30139         * nscd/nscd.h: Likewise.
30140         * nss/makedb.c: Likewise.
30141         * sysdeps/generic/ldconfig.h: Likewise.
30142
30143 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30144
30145         * Versions.def: Add GLIBC_2.18.
30146         * include/link.h (struct link_map): New member l_tls_dtor_count.
30147         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30148         (__call_tls_dtors): Likewise.
30149         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30150         __cxa_thread_atexit_impl.
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30152         Likewise.
30153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30154         Likewise.
30155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30156         Likewise.
30157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30158         Likewise.
30159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30161         Likewise.
30162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30163         Likewise.
30164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30166         Likewise.
30167         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30168         (tests): Add test case tst-tls-atexit.
30169         (modules-names): Add shared library for tst-tls-atexit.
30170         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30171         (GLIBC_PRIVATE): Add __call_tls_dtors.
30172         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30173         for libstdc++.
30174         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30175         * stdlib/tst-tls-atexit.c: New test case.
30176         * stdlib/tst-tls-atexit-lib.c: New test case.
30177
30178         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30179
30180         * elf/Versions (ld): Add _dl_find_dso_for_object.
30181         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30182         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30183         (dl_open_worker): Use _dl_find_dso_for_object.
30184         * elf/dl-sym.c (do_sym): Likewise.
30185         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30186
30187 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30188
30189         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30190         Syntactic changes only.
30191         (_dl_runtime_profile): Do a tail-call to the resolved function.
30192
30193 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30194
30195         [BZ #13550]
30196         * sysdeps/x86_64/bp-asm.h: Remove file.
30197         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30198         <bp-sym.h> and <bp-asm.h>.
30199         (__clone): Do not use BP_SYM.
30200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30201         <bp-sym.h> and <bp-asm.h>.
30202         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30203         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30204         "bp-asm.h".
30205         (_setjmp): Do not use BP_SYM.
30206         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30207         "bp-asm.h".
30208         (setjmp): Do not use BP_SYM.
30209         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30210         libc_hidden_def.
30211         (mempcpy): Do not use BP_SYM in weak_alias.
30212         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30213         "bp-asm.h".
30214         (strchr): Do not use BP_SYM.
30215         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30216         "bp-asm.h".
30217         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30218         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30219         (_start): Do not use BP_SYM.
30220         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30221         "bp-asm.h".
30222         (strcat): Do not use BP_SYM.
30223         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30224         "bp-asm.h".
30225         (STRCMP): Do not use BP_SYM.
30226         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30227         "bp-asm.h".
30228         (STRCPY): Do not use BP_SYM.
30229         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30230         "bp-asm.h".
30231         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30232         "bp-asm.h".
30233         (FUNCTION): Do not use BP_SYM.
30234         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30235         weak_alias.
30236         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30237
30238 2013-02-17  Andreas Jaeger  <aj@suse.de>
30239
30240         * time/Versions: Sort entries.
30241         * string/Versions: Likewise.
30242         * resolv/Versions: Likewise.
30243         * posix/Versions: Likewise.
30244         * iconv/Versions: Likewise.
30245         * elf/Versions: Likewise.
30246         * wcsmbs/Versions: Likewise.
30247
30248 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30249
30250         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30251         loop termination condition.
30252
30253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30254         variable to calculate EZ.
30255         (__sqr): Likewise.
30256
30257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30258         the lower precision input.
30259
30260 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30261
30262         [BZ #13550]
30263         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30264         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30265         (run-via-rtld-prefix): Do not handle %-bp tests.
30266         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30267         (all-object-suffixes): Remove .ob.
30268         (bppfx): Remove variable.
30269         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30270         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30271         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30272         [$(build-bounded) = yes] (libtype.ob): Likewise.
30273         * Makerules (elide-routines.ob): Remove variable.
30274         (do-tests-clean): Do not handle *-bp.out.
30275         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30276         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30277         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30278         (tests): Do not include $(tests-bp.out).
30279         (xtests): Do not include $(xtests-bp.out).
30280         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30281         [$(build-bounded) = yes] ($(addprefix
30282         $(objpfx),$(binaries-bounded))): Remove rule.
30283         ($(objpfx)%-bp.out): Remove rule.
30284         * config.make.in (build-bounded): Remove variable.
30285         * crypt/Makefile [$(build-bounded) = yes]
30286         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30287         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30288         append to variable.
30289         [$(build-bounded) = yes] (install-lib): Likewise.
30290         [$(build-bounded) = yes] (generated): Likewise.
30291         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30292         Remove rule.
30293         * intl/Makefile [$(build-bounded) = yes]
30294         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30295         * math/Makefile [$(build-bounded) = yes]
30296         ($(tests:%=$(objpfx)%-bp): Likewise.
30297         * misc/Makefile [$(build-bounded) = yes]
30298         ($(objpfx)tst-tsearch-bp): Likewise.
30299         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30300         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30301         Remove dependency.
30302         * string/Makefile (o-objects.ob): Remove variable.
30303         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30304         (CFLAGS-.ob): Remove variable.
30305         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30306         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30307         both definitions of variable.
30308         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30309         (ASFLAGS-.ob): Remove variable.
30310
30311 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30312
30313         [BZ #13550]
30314         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30315         Remove __BOUNDED_POINTERS__ from condition.
30316         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30317         * string/bits/string2.h [!__NO_STRING_INLINES &&
30318         !__BOUNDED_POINTERS__]: Likewise.
30319         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30320         Likewise.
30321         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30322         Remove conditional code.
30323         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30324         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30325         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30326         condition.
30327
30328         [BZ #13550]
30329         * csu/libc-start.c: Do not include <bp-sym.h>.
30330         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30331         * elf/dl-open.c: Do not include <bp-sym.h>.
30332         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30333         * math/fegetenv.c: Do not include <bp-sym.h>.
30334         (fegetenv): Do not use BP_SYM in versioned symbols.
30335         * nptl/sysdeps/pthread/bits/libc-lockP.h
30336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30337         <bp-sym.h>.
30338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30339         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30341         (__pthread_mutex_destroy): Likewise.
30342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30343         (__pthread_mutex_lock): Likewise.
30344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30345         (__pthread_mutex_trylock): Likewise.
30346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30347         (__pthread_mutex_unlock): Likewise.
30348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30349         (__pthread_mutexattr_init): Likewise.
30350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30351         (__pthread_mutexattr_destroy): Likewise.
30352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30353         (__pthread_mutexattr_settype): Likewise.
30354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30355         (__pthread_rwlock_init): Likewise.
30356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30357         (__pthread_rwlock_destroy): Likewise.
30358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30359         (__pthread_rwlock_rdlock): Likewise.
30360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30361         (__pthread_rwlock_tryrdlock): Likewise.
30362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30363         (__pthread_rwlock_wrlock): Likewise.
30364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30365         (__pthread_rwlock_trywrlock): Likewise.
30366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30367         (__pthread_rwlock_unlock): Likewise.
30368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30369         (__pthread_key_create): Likewise.
30370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30371         (__pthread_setspecific): Likewise.
30372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30373         (__pthread_getspecific): Likewise.
30374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30375         Likewise.
30376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30377         (_pthread_cleanup_push_defer): Likewise.
30378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30379         (_pthread_cleanup_pop_restore): Likewise.
30380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30381         (pthread_setcancelstate): Likewise.
30382         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30383         <bp-sym.h>.
30384         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30385         (memchr): Do not use BP_SYM in weak_alias.
30386         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30387         (fegetenv): Do not use BP_SYM in versioned symbols.
30388         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30389         (fesetenv): Do not use BP_SYM in versioned symbols.
30390         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30391         (feupdateenv): Do not use BP_SYM in versioned symbols.
30392         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30393         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30394         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30395         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30396         (open64): Do not use BP_SYM in weak_alias.
30397         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30398         (fegetenv): Do not use BP_SYM in versioned symbols.
30399         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30400         (fesetenv): Do not use BP_SYM in versioned symbols.
30401         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30402         (feupdateenv): Do not use BP_SYM in versioned symbols.
30403         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30404         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30405         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30406         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30407         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30408         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30409         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30410         <bp-sym.h>.
30411         (__libc_start_main): Do not use BP_SYM.
30412
30413 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414
30415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30416         redundant return line.
30417         (norm): Likewise.
30418         (denorm): Likewise.
30419         (dbl_mp): Likewise.
30420         (sub_magnitudes): Likewise.
30421         (__add): Likewise.
30422         (__sub): Likewise.
30423         (__mul): Likewise.
30424         (__inv): Likewise.
30425         (__dvd): Likewise.
30426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30427         (norm): Likewise.
30428         (denorm): Likewise.
30429         (dbl_mp): Likewise.
30430         (sub_magnitudes): Likewise.
30431         (__add): Likewise.
30432         (__sub): Likewise.
30433         (__mul): Likewise.
30434         (__inv): Likewise.
30435         (__dvd): Likewise.
30436
30437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30438         instead of __mul.
30439         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30440         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30441         (cc32): Likewise.
30442
30443         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30444         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30446         of __mul for squares.
30447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30448         function
30449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30450         Likewise.
30451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30452         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30453
30454 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30455
30456         [BZ #13550]
30457         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30458         code.
30459         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30460         prototype or function definition.  Rename ubp_* variables and
30461         parameters.  Remove argv definitions conditional on
30462         [__BOUNDED_POINTERS__].
30463         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30464         * elf/dl-runtime.c (_dl_fixup): Likewise.
30465         * include/set-hooks.h (RUN_HOOK): Likewise.
30466         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30467         definition.
30468         * string/strcpy.c (strcpy): Do not use __unbounded.
30469         * sysdeps/generic/frame.h (struct layout): Likewise.
30470         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30471         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30472         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30473         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30474         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30475         (__backtrace): Likewise.
30476         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30477         use __ptrvalue.
30478         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30480         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30481         Likewise.
30482         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30483         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30484         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30485         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30486         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30487         Do not use __unbounded.
30488         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30489         Rename __unboundedrlimits parameter to rlimits in prototype.
30490         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30491         Do not use __unbounded.
30492         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30493         not use __ptrvalue.
30494         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30495         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30496         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30497         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30498         __ptrvalue or __unbounded.
30499         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30500         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30501         use __unbounded.
30502         (__new_msgctl): Do not use __ptrvalue.
30503         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30504         __unbounded.
30505         (__libc_msgrcv): Do not use __ptrvalue.
30506         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30507         startup_info): Do not use __unbounded.
30508         (__libc_start_main): Likewise.  Rename ubp_* variables and
30509         parameters.  Remove argv definitions conditional on
30510         [__BOUNDED_POINTERS__].
30511         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30512         __ptrvalue.
30513         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30514         use __unbounded.
30515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30516         or __ptrvalue.
30517         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30518         use __unbounded.
30519         (__new_shmctl): Do not use __ptrvalue.
30520         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30522         Likewise.
30523         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30524         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30525         (__libc_sigaction): Likewise.
30526         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30527         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30528         Likewise.
30529         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30530
30531 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30532
30533         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30534
30535         * string/mempcpy.c: Implement by calling memcpy.
30536
30537 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30538
30539         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30540
30541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30542         evaluation.
30543
30544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30545         values in the mantissa.
30546
30547         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30548         minimize writes to Z.
30549         (sub_magnitudes): Simplify code a bit.
30550
30551 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30552
30553         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30554         from the message.  The linker prefixes all warnings with that already.
30555
30556 2013-02-12  Andreas Schwab  <schwab@suse.de>
30557
30558         [BZ #15078]
30559         * posix/regexec.c (extend_buffers): Add parameter min_len.
30560         (check_matching): Pass minimum needed length.
30561         (clean_state_log_if_needed): Likewise.
30562         (get_subexp): Likewise.
30563         * posix/Makefile (tests): Add bug-regex34.
30564         (bug-regex34-ENV): Define.
30565         * posix/bug-regex34.c: New file.
30566
30567         [BZ #11561]
30568         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30569         elements compare against the byte sequence of it, not its name.
30570         * posix/Makefile (tests): Add bug-regex35.
30571         (bug-regex35-ENV): Define.
30572         * posix/bug-regex35.c: New file.
30573
30574 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30575
30576         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30577         comment.
30578         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30579         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30580         (CHECK_EOL): Add undef.
30581
30582 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30583
30584         * bits/stdlib-bsearch.h: New file.
30585         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30586         * stdlib/stdlib.h: Likewise.
30587
30588 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30589
30590         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30591         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30592         declaration.
30593         * manual/search.texi (Array Search Function): Add missing const in
30594         lfind prototype.
30595         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30596         declaration to use rlim_t.
30597         (Basic Scheduling Functions): Remove erroneous const from
30598         sched_getparam prototype.  Remove erroneous * from
30599         sched_get_priority_max and sched_get_priority_min prototypes.
30600         (Resource Usage): Fix summary @comment on vtimes to refer to
30601         sys/vtimes.h rather than vtimes.h.
30602         Add missing *s in vtimes prototype.
30603         (Limits on Resources): Fix ulimit prototype to return long int.
30604         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30605         prototypes to use long int rather than double.
30606         (BSD Random): Fix initstate and setstate to use char *, not void *.
30607         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30608         prototype to make second argument 'struct aiocb64 *const[]'.
30609         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30610         (Status of AIO Operations): Remove erroneous const in aio_return and
30611         aio_return64 prototypes.
30612         (Synchronizing I/O): Fix sync prototype to return void.
30613         * manual/startup.texi (Suboptions): Remove an erroneous const in
30614         getsubopt prototype.
30615         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30616         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30617         use size_t rather than int.
30618         (Scanning All Users): Likewise for getpwent_r.
30619         (Setting Groups): Add missing const to setgroups prototype.
30620         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30621         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30622         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30623         'const void *' rather than 'const char *'.
30624         (Host Address Functions): Likewise for inet_ntop.
30625         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30626         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30627         ssize_t for return value.
30628         (Sending Data): Likewise for send, sendto, sendmsg.
30629         (Socket Option Functions): Add a missing const in setsockopt prototype.
30630         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30631         use wchar_t for the argument.
30632         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30633         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30634         take no arguments.
30635         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30636         double/float/long double for second argument.
30637         Fix return types of significand, significandf, significandl.
30638         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30639         argument in fchmod prototype.
30640         (File Owner): Use uid_t and gid_t in fchown prototype.
30641         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30642         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30643         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30644         use 'const struct dirent **' as argument types to CMP function pointer
30645         argument.
30646         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30647         (File Times): Fix summary magic @comment for struct utimbuf and utime
30648         to refer to utime.h, not time.h.
30649         * manual/string.texi (Argz Functions): Add missing const in
30650         argz_extract and argz_next prototypes.
30651         (Finding Tokens in a String): Likewise for basename.
30652         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30653         (Copying and Concatenation): Fix typo in wmemmove prototype.
30654         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30655         (Signal Stack): Remove erroneous const in sigstack prototype.
30656         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30657         prototype.
30658         (Simple Calendar Time): Likewise for stime.
30659         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30660         prototype.
30661         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30662         say sys/sysctl.h instead.
30663         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30664         and vsyslog prototypes.
30665
30666 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30667
30668         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30669         Remove.
30670
30671 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30672
30673         * misc/sys/mman.h: Fix typo in mremap comment.
30674
30675 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30676
30677         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30678         the '\0' terminator.
30679
30680 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30681
30682         [BZ #13550]
30683         * debug/segfault.c: Don't include <bp-checks.h>.
30684         * sysdeps/generic/bp-checks.h: Remove file.
30685         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30686         (__GETDENTS): Don't use CHECK_N.
30687         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30688         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30689         (__getgroups): Don't use CHECK_N.
30690         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30691         (setgroups): Don't use CHECK_N.
30692         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30693         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30694         (__libc_msgrcv): Don't use CHECK_N.
30695         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30696         (__libc_msgsnd): Don't use CHECK_N.
30697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30698         <bp-checks.h>.
30699         (__libc_pread): Don't use CHECK_N.
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30701         include <bp-checks.h>.
30702         (__libc_pread64): Don't use CHECK_N.
30703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30704         include <bp-checks.h>.
30705         (__libc_pwrite): Don't use CHECK_N.
30706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30707         include <bp-checks.h>.
30708         (__libc_pwrite64): Don't use CHECK_N.
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30710         <bp-checks.h>.
30711         (__libc_pread): Don't use CHECK_N.
30712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30713         include <bp-checks.h>.
30714         (__libc_pread64): Don't use CHECK_N.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30716         include <bp-checks.h>.
30717         (__libc_pwrite): Don't use CHECK_N.
30718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30719         include <bp-checks.h>.
30720         (__libc_pwrite64): Don't use CHECK_N.
30721         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30722         (do_pread): Don't use CHECK_N.
30723         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30724         (do_pread64): Don't use CHECK_N.
30725         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30726         (do_pwrite): Don't use CHECK_N.
30727         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30728         (do_pwrite64): Don't use CHECK_N.
30729         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30730         (__libc_readv): Don't use CHECK_N.
30731         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30732         (semop): Don't use CHECK_N.
30733         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30734         <bp-checks.h>.
30735         (semtimedop): Don't use CHECK_N.
30736         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30737         (__libc_pread): Don't use CHECK_N.
30738         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30739         <bp-checks.h>.
30740         (__libc_pread64): Don't use CHECK_N.
30741         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30742         <bp-checks.h>.
30743         (__libc_pwrite): Don't use CHECK_N.
30744         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30745         <bp-checks.h>.
30746         (__libc_pwrite64): Don't use CHECK_N.
30747         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30748         <bp-checks.h>.
30749         (__libc_msgrcv): Don't use CHECK_N.
30750         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30751         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30752         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30753         (__libc_writev): Don't use CHECK_N.
30754
30755 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30756
30757         * string/strcpy.c: Removed unused variable.
30758
30759         * Makeconfig (+sysdep-includes): Define with := rather than =.
30760         Use an existing include/ subdir of each sysdeps dir before it.
30761
30762 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30763
30764         * nscd/connection.c (register_traced_file): Comment function.
30765         [HAVE_INOTIFY] (union __inev): Define.
30766         [HAVE_INOTIFY] (inotify_check_files): New function.
30767         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30768         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30769         clear_db_cache.
30770         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30771
30772 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30773
30774         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30775         loaded if not already and that a failure is permanent.
30776
30777 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30778
30779         [BZ #15006]
30780         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30781         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30782
30783 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30784
30785         [BZ #13550]
30786         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30787         (CHECK_1_NULL_OK): Likewise.
30788         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30789         (__fxstat): Do not use CHECK_1.
30790         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30791         <bp-checks.h>.
30792         (___fxstat64): Do not use CHECK_1.
30793         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30794         <bp-checks.h>.
30795         (__fxstatat): Do not use CHECK_1.
30796         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30797         <bp-checks.h>.
30798         (__fxstatat64): Do not use CHECK_1.
30799         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30800         <bp-checks.h>.
30801         (__fxstat): Do not use CHECK_1.
30802         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30803         <bp-checks.h>.
30804         (__fxstatat): Do not use CHECK_1.
30805         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30806         <bp-checks.h>.
30807         (__getresgid): Do not use CHECK_1.
30808         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30809         <bp-checks.h>.
30810         (__getresuid): Do not use CHECK_1.
30811         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30812         <bp-checks.h>.
30813         (__lxstat): Do not use CHECK_1.
30814         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30815         <bp-checks.h>.
30816         (__old_msgctl): Do not use CHECK_1.
30817         (__new_msgctl): Likewise.
30818         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30819         <bp-checks.h>.
30820         (__new_setrlimit): Do not use CHECK_1.
30821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30822         <bp-checks.h>.
30823         (__old_shmctl): Do not use CHECK_1.
30824         (__new_shmctl): Likewise.
30825         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30826         <bp-checks.h>.
30827         (__xstat): Do not use CHECK_1.
30828         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30829         (__lxstat): Do not use CHECK_1.
30830         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30831         <bp-checks.h>.
30832         (___lxstat64): Do not use CHECK_1.
30833         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30834         (__old_msgctl): Do not use CHECK_1.
30835         (__new_msgctl): Likewise.
30836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30837         <bp-checks.h>.
30838         (__gettimeofday): Do not use CHECK_1.
30839         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30840         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30841         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30842         <bp-checks.h>.
30843         (__gettimeofday): Do not use CHECK_1.
30844         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30845         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30846         (__new_shmctl): Do not use CHECK_1.
30847         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30848         <bp-checks.h>.
30849         (do_sigtimedwait): Do not use CHECK_1.
30850         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30851         <bp-checks.h>.
30852         (do_sigwaitinfo): Do not use CHECK_1.
30853         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30854         <bp-checks.h>.
30855         (msgctl): Do not use CHECK_1.
30856         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30857         <bp-checks.h>.
30858         (shmctl): Do not use CHECK_1.
30859         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30860         (ustat): Do not use CHECK_1.
30861         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30862         <bp-checks.h>.
30863         (__fxstat): Do not use CHECK_1.
30864         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30865         <bp-checks.h>.
30866         (__fxstatat): Do not use CHECK_1.
30867         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30868         <bp-checks.h>.
30869         (__lxstat): Do not use CHECK_1.
30870         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30871         <bp-checks.h>.
30872         (__xstat): Do not use CHECK_1.
30873         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30874         (__xstat): Do not use CHECK_1.
30875         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30876         (___xstat64): Do not use CHECK_1.
30877
30878         [BZ #13550]
30879         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30880         definitions.
30881         (CHECK_BOUNDS_HIGH): Likewise.
30882         * string/strcpy.c: Do not include <bp-checks.h>.
30883         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30884
30885 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30886
30887         * nscd/nscd-client.h (__nscd_drop_map_ref):
30888         Add __attribute__ ((unused)).
30889         * nis/nss-nisplus.h (niserr2nss): Likewise.
30890
30891         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30892         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30893
30894         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30895         Remove inline keyword.
30896         * include/rounding-mode.h (round_away): Likewise.
30897         * libio/wfileops.c (adjust_wide_data): Likewise.
30898         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30899         (__m128i_strloadu_tolower): Likewise.
30900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30901         (__m128i_strloadu_tolower): Likewise.
30902         * time/mktime.c (ydhms_diff): Likewise.
30903         * locale/elem-hash.h (elem_hash): Likewise.
30904         * locale/setlocale.c (setdata): Likewise.
30905         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30906         (re_string_wchar_at): Likewise.
30907         (bitset_not, bitset_merge, bitset_mask): Likewise.
30908         [!(__GNUC__ > 3)] (inline): Remove macro.
30909         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30910         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30911         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30912         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30913         * string/memcmp.c (memcmp_bytes): Likewise.
30914         * locale/programs/locarchive.c (compute_hashval): Likewise.
30915         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30916         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30917         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30918         * nss/getent.c (print_rpc, print_protocols): Likewise.
30919         (print_passwd, print_group, print_aliases): Likewise.
30920         * nis/nss-nisplus.h (niserr2nss): Likewise.
30921         * nscd/connections.c (restart_p): Likewise.
30922         Change return type to bool.
30923
30924 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30925
30926         * Makeconfig (all-Depend-files): Add existing
30927         $(sorted-subdirs:=/Depend) files.
30928         (all-subdirs): Remove nss.
30929         * sysdeps/unix/inet/Subdirs: Add it here instead.
30930         * hesiod/Depend: New file.
30931
30932         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30933         instead of calling alloca.
30934
30935         * io/lseek.c (__lseek): Rename to __libc_lseek.
30936         Define __lseek as an alias.
30937
30938         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30939
30940 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30941
30942         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30943         else clause and remove check for non-standard endianness.
30944
30945 2013-02-04  David S. Miller  <davem@davemloft.net>
30946
30947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30948
30949 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30950
30951         [BZ #13550]
30952         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30953         (__ubp_memchr): Remove prototype.
30954         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30955         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30956         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30957         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30958         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30959         Remove alias.
30960         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30961         (__ubp_memchr): Likewise.
30962         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30963         (__ubp_memchr): Likewise.
30964         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30965         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30966         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30967         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30968         CHECK_STRING.
30969         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30970         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30971         (__getcwd): Do not use CHECK_STRING.
30972         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30973         <bp-checks.h>.
30974         (__real_chown): Do not use CHECK_STRING.
30975         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30976         <bp-checks.h>.
30977         (fchownat): Do not use CHECK_STRING.
30978         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30979         CHECK_STRING.
30980         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30981         <bp-checks.h>.
30982         (__lchown): Do not use CHECK_STRING.
30983         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30984         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30985         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30986         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30988         include <bp-checks.h>.
30989         (truncate64): Do not use CHECK_STRING.
30990         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30991         <bp-checks.h>.
30992         (__real_chown): Do not use CHECK_STRING.
30993         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30994         <bp-checks.h>.
30995         (__lchown): Do not use CHECK_STRING.
30996         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30997         <bp-checks.h>.
30998         (__chown): Do not use CHECK_STRING.
30999         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31000         <bp-checks.h>.
31001         (truncate64): Do not use CHECK_STRING.
31002         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31003         Likewise.
31004         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31005         (__xmknod): Do not use CHECK_STRING.
31006         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31007         <bp-checks.h>.
31008         (__xmknodat): Do not use CHECK_STRING.
31009         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31010         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31011
31012 2013-02-04  Andreas Schwab  <schwab@suse.de>
31013
31014         [BZ #14142]
31015         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31016         * include/netdb.h: Likewise for h_errno.
31017         * elf/tst-stackguard1.c: Include <tls.h>.
31018
31019 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31020
31021         * elf/link.h (struct link_map): Extend the l_addr comment.
31022         * include/link.h (struct link_map): Likewise.
31023
31024 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31025
31026         [BZ #13550]
31027         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31028         (BOUNDED_1): Remove macro.
31029         * debug/backtrace.c: Don't include <bp-checks.h>.
31030         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31031         (__backtrace): Likewise.
31032         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31033         <bp-checks.h>.
31034         (__backtrace): Don't use BOUNDED_1.
31035         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31036         <bp-checks.h>.
31037         (__backtrace): Don't use BOUNDED_1.
31038         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31039         (__backtrace): Don't use BOUNDED_1.
31040         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31041         (shmat): Don't use BOUNDED_N.
31042
31043 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31044
31045         [BZ #13550]
31046         * sysdeps/generic/bp-start.h: Remove file.
31047         * csu/libc-start.c: Don't include <bp-start.h>.
31048         (LIBC_START_MAIN): Set up __environ directly instead of using
31049         INIT_ARGV_and_ENVIRON.
31050         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31051         <bp-start.h>.
31052
31053         [BZ #13550]
31054         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31055         definitions.
31056         (CHECK_FCNTL): Likewise.
31057         (CHECK_N_PAGES): Likewise.
31058
31059         [BZ #13550]
31060         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31061         definitions.
31062         (CHECK_SIGSET_NULL_OK): Likewise.
31063         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31064         <bp-checks.h>.
31065         (sigpending): Don't use CHECK_SIGSET.
31066         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31067         <bp-checks.h>.
31068         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31069         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31070         <bp-checks.h>.
31071         (do_sigsuspend): Don't use CHECK_SIGSET.
31072         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31073         use CHECK_SIGSET.
31074         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31075         (do_sigwait): Don't use CHECK_SIGSET.
31076         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31077         use CHECK_SIGSET.
31078         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31079         include <bp-checks.h>.
31080         (sigpending): Don't use CHECK_SIGSET.
31081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31082         include <bp-checks.h>.
31083         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31084         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31085         <bp-checks.h>.
31086         (sigpending): Don't use CHECK_SIGSET.
31087         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31088         <bp-checks.h>.
31089         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31090
31091         [BZ #13550]
31092         * sysdeps/generic/bp-semctl.h: Remove file.
31093         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31094         <bp-checks.h> and <bp-semctl.h>.
31095         (__old_semctl): Don't use CHECK_SEMCTL.
31096         (__new_semctl): Likewise.
31097         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31098         and <bp-semctl.h>.
31099         (__old_semctl): Don't use CHECK_SEMCTL.
31100         (__new_semctl): Likewise.
31101         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31102         <bp-checks.h> and <bp-semctl.h>.
31103         (__old_semctl): Don't use CHECK_SEMCTL.
31104         (__new_semctl): Likewise.
31105         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31106         <bp-checks.h> and <bp-semctl.h>.
31107         (semctl): Don't use CHECK_SEMCTL.
31108
31109         [BZ #13550]
31110         * Makerules (elide-bp-thunks): Remove variable.
31111         (elide-routines.oS): Don't use $(elide-bp-thunks).
31112         (elide-routines.os): Likewise.
31113         (elide-routines.o): Likewise.
31114         (elide-routines.op): Likewise.
31115         (elide-routines.og): Likewise.
31116         (objects): Don't use $(bp-thunks).
31117         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31118         include.
31119         (common-generated): Do not add s-proto-bp.d.
31120         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31121         (int): Likewise.
31122         (typ): Likewise.
31123         Do not generate makefile rules for bounded-pointer thunks.
31124         * sysdeps/generic/bp-thunks.h: Remove file.
31125         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31126         * sysdeps/unix/s-proto-bp.S: Likewise.
31127
31128         [BZ #15062]
31129         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31130         parts of result separately when argument is not close to line from
31131         -i to i and one part of argument is small.
31132         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31133         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31134         * math/libm-test.inc (cacos_test): Add more tests.
31135         (casin_test): Likewise.
31136         (casinh_test): Likewise.
31137         * sysdeps/i386/fpu/libm-test-ulps: Update.
31138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31139
31140 2013-01-31  David S. Miller  <davem@davemloft.net>
31141
31142         * po/de.po: Update from translation team.
31143
31144 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31145
31146         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31147
31148 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31149
31150         * configure.in (_AC_PROG_CC_C89): New definition.
31151         * configure: Regenerate.
31152
31153         * configure.in (AC_PROG_CPP): New definition.
31154         * configure: Regenerate.
31155
31156 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31157
31158         * debug/tst-backtrace.h: New file.
31159         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31160         (ret): Remove variable.
31161         (x): Likewise.
31162         (FAIL): Remove macro.
31163         (NO_INLINE): Likewise.
31164         (fn1): Use match function instead of strstr.
31165         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31166         (ret): Remove variable.
31167         (x): Likewise.
31168         (FAIL): Remove macro.
31169         (NO_INLINE): Likewise.
31170         (fn): Use match function instead of strstr.
31171         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31172         (ret): Remove variable.
31173         (x): Likewise.
31174         (FAIL): Remove macro.
31175         (NO_INLINE): Likewise.
31176         (handle_signal): Use match function instead of strstr.
31177         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31178         (ret): Remove variable.
31179         (x): Likewise.
31180         (FAIL): Remove macro.
31181         (NO_INLINE): Likewise.
31182         (handle_signal): Use match function instead of strstr.
31183
31184 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31185
31186         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31187
31188 2013-01-23  David S. Miller  <davem@davemloft.net>
31189
31190         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31191         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31192         argument of CAS if possible.
31193         * sysdeps/sparc/sparc64/bits/atomic.h
31194         (__arch_compare_and_exchange_val_32_acq): Likewise.
31195         (__arch_compare_and_exchange_val_64_acq): Likewise.
31196
31197 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31198
31199         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31200         * sysdeps/posix/ulimit.c: ... this.
31201         Include <limits.h>.
31202         * sysdeps/unix/bsd/ulimit.c: Remove file.
31203
31204 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31205
31206         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31207         (LDFLAGS-tst-array5): Likewise.
31208
31209 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31210
31211         [BZ #15036]
31212         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31213         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31214         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31215         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31216
31217 2013-01-21  David S. Miller  <davem@davemloft.net>
31218
31219         * sysdeps/sparc/backtrace.c: New file.
31220         * sysdeps/sparc/sparc32/backtrace.h: New file.
31221         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31222         * sysdeps/sparc/sparc64/backtrace.h: New file.
31223         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31224         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31225         -funwind-tables.
31226
31227 2013-01-21  Andreas Schwab  <schwab@suse.de>
31228
31229         [BZ #15020]
31230         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31231         closed its stdout.
31232
31233 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31234
31235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31236         "mpa2.h".
31237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31238
31239 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31240             Mark Mitchell  <mark@codesourcery.com>
31241             Tom de Vries  <tom@codesourcery.com>
31242             Paul Pluzhnikov  <ppluzhnikov@google.com>
31243
31244         * debug/tst-backtrace2.c: New file.
31245         * debug/tst-backtrace3.c: Likewise.
31246         * debug/tst-backtrace4.c: Likewise.
31247         * debug/tst-backtrace5.c: Likewise.
31248         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31249         (CFLAGS-tst-backtrace3.c): Likewise.
31250         (CFLAGS-tst-backtrace4.c): Likewise.
31251         (CFLAGS-tst-backtrace5.c): Likewise.
31252         (LDFLAGS-tst-backtrace2): Likewise.
31253         (LDFLAGS-tst-backtrace3): Likewise.
31254         (LDFLAGS-tst-backtrace4): Likewise.
31255         (LDFLAGS-tst-backtrace5): Likewise.
31256         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31257         tst-backtrace4 and tst-backtrace5.
31258
31259 2013-01-18  Anton Blanchard  <anton@samba.org>
31260             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31261
31262         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31263         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31264         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31265         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31267         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31268         "+r" and remove output regs list as redundant.  Add explicit inline
31269         asm to specify register of return val to work around compiler codegen
31270         bug.  Remove (int) cast on return value.  Add return type parameter to
31271         use in macro so that this macro does not truncate return value for
31272         64-bit values.
31273         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31274         pass to INTERNAL_VSYSCALL_NCS.
31275         (INLINE_VSYSCALL): Add 'long int' as return type to
31276         INTERNAL_VSYSCALL_NCS macro invocation.
31277         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31278         INTERNAL_VSYSCALL_NCS macro invocation.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31280
31281 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31282
31283         [BZ #14496]
31284         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31285         Fix application of SIMD FP exception mask.
31286
31287         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31288         mp_no from a power of two.
31289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31290         __mpexp_twomm1.  Use __pow_mp.
31291
31292         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31293         multiplication.
31294
31295 2013-01-17  David S. Miller  <davem@davemloft.net>
31296
31297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31298
31299 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31300
31301         [BZ #15023]
31302         * include/complex.h: Condition contents on [!_COMPLEX_H].
31303         (__kernel_casinhf): New prototype.
31304         (__kernel_casinh): Likewise.
31305         (__kernel_casinhl): Likewise.
31306         * math/Makefile (libm_calls): Add k_casinh.
31307         * math/k_casinh.c: New file.
31308         * math/k_casinhf.c: Likewise.
31309         * math/k_casinhl.c: Likewise.
31310         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31311         finite nonzero arguments.
31312         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31313         finite nonzero arguments.
31314         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31315         finite nonzero arguments.
31316         * math/s_casinh.c: Do not include <float.h>.
31317         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31318         * math/s_casinhf.c: Do not include <float.h>.
31319         (__casinhf): Move code for finite nonzero arguments to
31320         k_casinhf.c.
31321         * math/s_casinhl.c: Do not include <float.h>.
31322         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31323         redefine.
31324         (__casinhl): Move code for finite nonzero arguments to
31325         k_casinhl.c.
31326         * math/libm-test.inc (cacos_test): Add more tests.
31327         * sysdeps/i386/fpu/libm-test-ulps: Update.
31328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31329
31330 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31331
31332         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31333         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31334         [!HAVE_MREMAP]: Remove [defined linux] case.
31335         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31336
31337 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31338
31339         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31340
31341 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31342
31343         * elf/elf.h (R_386_SIZE32): New relocation.
31344         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31345         R_386_SIZE32.
31346         (elf_machine_rela): Likewise.
31347         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31348         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31349
31350 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31351
31352         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31353         (FP_FAST_FMA): Do not define.
31354         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31355         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31356         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31357         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31358         !_SOFT_FLOAT]: Likewise.
31359         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31360         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31361         value.
31362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31363         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31366         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31367         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31368         file.
31369
31370 2013-01-16  Andreas Schwab  <schwab@suse.de>
31371
31372         [BZ #14327]
31373         * include/stdlib.h (__mktemp): Add declaration.
31374         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31375         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31376
31377 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31378
31379         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31380         definitions.
31381         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31382         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31383         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31384         definitions here.
31385         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31386         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31387         definitions.
31388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31389         and ONE.
31390         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31391         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31393         definitions.
31394         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31395         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31396         definitions.
31397         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31398
31399         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31400
31401 2013-01-15  David S. Miller  <davem@davemloft.net>
31402
31403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31404         trunc{,f} to libm-sysdep_routes.
31405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31407         file.
31408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31410         file.
31411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31412         file.
31413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31415         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31416         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31417         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31418         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31419         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31420         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31421
31422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31423         nearbyint{,f} to libm-sysdep_routes.
31424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31426         New file.
31427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31428         file.
31429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31430         New file.
31431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31432         file.
31433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31435         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31436         file.
31437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31439         file.
31440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31441         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31442         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31443
31444         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31445         libc_feholdexcept and libc_fesetenv.
31446
31447 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31448
31449         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31450
31451 2013-01-14  David S. Miller  <davem@davemloft.net>
31452
31453         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31454         (SPARC_ASM_VIS2_IFUNC): Likewise.
31455         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31457         use of 'siam' instruction.
31458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31459         Likewise.
31460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31461         Likewise.
31462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31463         Likewise.
31464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31469         file.
31470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31471         file.
31472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31473         file.
31474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31475         file.
31476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31481         new VIS2 routines.
31482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31485         Likewise.
31486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31491         routines to libm-sysdep_routines.
31492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31493
31494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31495         fdim/fdimf to libm-sysdep_routines.
31496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31497         file.
31498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31500         file.
31501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31504         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31505         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31506         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31507         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31508
31509 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31510
31511         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31512         to optimize copies.
31513
31514         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31517
31518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31519         local variable MPTWO.
31520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31521         Likewise.
31522
31523 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31524
31525         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31526         GLOB_NOESCAPE.
31527
31528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31529
31530         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31531
31532 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31533
31534         * manual/pattern.texi (glob_t): Document gl_flags.
31535         (glob64_t): Likewise.
31536
31537 2013-01-11  David S. Miller  <davem@davemloft.net>
31538
31539         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31540         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31541         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31542         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31543         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31544         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31545         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31546         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31547         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31548         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31549         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31550         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31551         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31552
31553         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31554         sparc V9 rather than using V8 code.
31555         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31556         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31557
31558         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31559         Move to...
31560         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31561         Here.
31562
31563 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31564
31565         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31566         not in the main loop.
31567         * configure: Regenerated.
31568
31569 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31570
31571         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31572         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31573         to just #else.
31574         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31575         [!__GLIBC_HAVE_LONG_LONG] case.
31576         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31577         condition to just #else.
31578         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31579         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31580         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31581         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31582         unconditional.
31583         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31584         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31585         #elif condition to just #else.
31586         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31587         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31588         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31589         #elif condition to just #else.
31590
31591 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31592
31593         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31594         (EF_MIPS_ARCH_64): Fix value.
31595         (EF_MIPS_ARCH_32R2): New.
31596         (EF_MIPS_ARCH_64R2): New.
31597
31598 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31599
31600         * Makeconfig (+link-pie-before-libc): New.
31601         (+link-pie-after-libc): Likewise.
31602         (+link-pie-tests): Likewise.
31603         (+link-pie): Rewritten.
31604         (link-before-libc): Remove $(config-LDFLAGS).
31605         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31606         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31607         (config-LDFLAGS): Renamed to ...
31608         (rtld-LDFLAGS): This.
31609         (rtld-tests-LDFLAGS): New macro.
31610         (link-libc-rpath-link): Likewise.
31611         (link-libc-tests-rpath-link): Likewise.
31612         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31613         (link-libc): Prepand $(link-libc-rpath-link).
31614         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31615         (test-program-prefix): New macro.
31616         (test-via-rtld-prefix): Likewise.
31617         (test-program-cmd): Likewise.
31618         (host-test-program-cmd): Likewise.
31619         * Makefile ($(common-objpfx)testrun.sh): Replace
31620         $(run-program-prefix) with $(test-program-prefix).
31621         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31622         $(rtld-LDFLAGS).
31623         ($(common-objpfx)shlib.lds): Likewise.
31624         (build-module-helper): Likewise.
31625         ($(common-objpfx)format.lds): Likewise.
31626         * Rules (binaries-pie-tests): New.
31627         (binaries-pie-notests): Likewise.
31628         (binaries-pie): Rewritten.
31629         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31630         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31631         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31632         (make-test-out): Replace $(host-built-program-cmd) with
31633         $(host-test-program-cmd).
31634         * config.make.in (build-hardcoded-path-in-tests): New variable.
31635         * configure.in (--enable-hardcoded-path-in-tests): New configure
31636         option.
31637         (hardcoded_path_in_tests): New AC_SUBST.
31638         * configure: Regenerated.
31639         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31640         $(built-program-cmd) with $(test-program-cmd).
31641         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31642         (test_program_cmd): This.
31643         * elf/Makefile ($(objpfx)order.out): Run test with
31644         $(test-program-prefix).
31645         ($(objpfx)order2.out): Likewise.
31646         ($(objpfx)tst-initorder.out): Likewise.
31647         ($(objpfx)tst-initorder2.out): Likewise.
31648         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31649         $(test-program-cmd).
31650         ($(objpfx)tst-array1-static.out): Likewise.
31651         ($(objpfx)tst-array2.out): Likewise.
31652         ($(objpfx)tst-array3.out): Likewise.
31653         ($(objpfx)tst-array4.out): Likewise.
31654         ($(objpfx)tst-array5.out): Likewise.
31655         ($(objpfx)tst-array5-static.out): Likewise.
31656         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31657         $(test-program-cmd).
31658         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31659         $(run-program-prefix) with $(test-program-prefix).
31660         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31661         (test_program_prefix): This.
31662         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31663         $(run-program-prefix) with $(test-program-prefix).
31664         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31665         (test_program_prefix): This.
31666         * iconvdata/tst-tables.sh: Likewise.
31667         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31668         $(run-program-prefix) with $(test-program-prefix).
31669         ($(objpfx)tst-translit.out): Likewise.
31670         ($(objpfx)tst-gettext2.out): Likewise.
31671         ($(objpfx)tst-gettext4.out): Likewise.
31672         ($(objpfx)tst-gettext6.out): Likewise.
31673         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31674         (test_program_prefix): This.
31675         * intl/tst-gettext2.sh: Likewise.
31676         * intl/tst-gettext4.sh  Likewise.
31677         * intl/tst-gettext6.sh: Likewise.
31678         * intl/tst-translit.sh: Likewise.
31679         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31680         with $(test-program-cmd).
31681         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31682         $(run-program-prefix) with $(test-program-prefix).
31683         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31684         (test_program_prefix): This.
31685         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31686         $(run-program-prefix) with $(test-program-prefix).
31687         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31688         (test_program_prefix): This.
31689         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31690         * posix/Makefile ($(objpfx)globtest.out): Replace
31691         $(run-via-rtld-prefix) and $(test-wrapper) with
31692         $(test-program-prefix) and $(test-via-rtld-prefix).
31693         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31694         $(test-program-prefix).
31695         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31696         $(host-test-program-cmd).
31697         (tst-spawn-ARGS): Likewise.
31698         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31699         $(test-program-prefix).
31700         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31701         (test_via_rtld_prefix): This.
31702         (test_wrapper): Renamed to ...
31703         (test_program_prefix): This.
31704         (run_program_prefix): Replaced by test_program_prefix.
31705         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31706         (test_program_prefix): This.
31707         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31708         with $(host-test-program-cmd).
31709         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31710         $(run-program-prefix) with $(test-program-prefix).
31711         ($(objpfx)tst-printf.out): Likewise.
31712         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31713         $(test-program-cmd).
31714         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31715         (test_program_prefix): This.
31716         * stdio-common/tst-unbputc.sh: Likewise.
31717         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31718         $(run-program-prefix) with $(test-program-prefix).
31719         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31720         (test_program_prefix): This.
31721         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31722         $(built-program-cmd) with $(test-program-cmd).
31723
31724 2013-01-11  Andreas Jaeger  <aj@suse.de>
31725
31726         [BZ #15003]
31727         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31728         value. Sync with Linux 3.7.
31729
31730 2013-01-10  David S. Miller  <davem@davemloft.net>
31731
31732         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31733         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31734         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31735
31736 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31737
31738         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31739         never set.
31740         * configure: Regenerated.
31741
31742 2013-01-10  David S. Miller  <davem@davemloft.net>
31743
31744         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31745         sparc V9 rather than using V8 code.
31746         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31747         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31748
31749 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31750
31751         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31752         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31753         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31754         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31755         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31756         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31757         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31758         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31759         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31760         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31761         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31762         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31763         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31764         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31765         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31766         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31767         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31768         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31769         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31770         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31771         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31772         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31773         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31774         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31775         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31776         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31777         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31778
31779 2013-01-10  David S. Miller  <davem@davemloft.net>
31780
31781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31782
31783 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31784
31785         * posix/Makefile (tests-static): New variable.
31786         (tests): Add $(tests-static).
31787         (tst-exec-static-ARGS): New variable.
31788         (tst-spawn-static-ARGS): Likewise.
31789         * posix/tst-exec-static.c: New file.
31790         * posix/tst-spawn-static.c: Likewise.
31791         * posix/tst-exec.c: Support run directly.
31792         * posix/tst-spawn.c: Likewise.
31793
31794 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31795
31796         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31797         long.
31798         * math/bits/mathcalls.h (llrint): Likewise.
31799         (llround): Likewise.
31800         * stdlib/stdlib.h (struct drand48_data): Likewise.
31801         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31802         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31803         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31804         Likewise.
31805         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31806         Likewise.
31807         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31808         (elf_greg_t): Likewise.
31809         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31810         (__jmp_buf): Likewise.
31811         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31812         definitions.
31813         (llrint): Likewise, for all definitions.
31814         (llrintl): Likewise.
31815
31816         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31817         Remove [__GNUC__] condition.
31818         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31819         condition to just [__USE_ISOC99].
31820         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31821
31822 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31823
31824         [BZ #14200]
31825         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31826         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31827         defined.
31828         (_POSIX_V6_ILP32_OFF32): Likewise.
31829         (_XBS5_ILP32_OFF32): Likewise.
31830         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31831         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31832
31833 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31834
31835         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31836
31837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31838         doubles __mpexp_twomm1.  Adjust usage.
31839         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31840         Remove.
31841
31842 2013-01-10  Andreas Schwab  <schwab@suse.de>
31843
31844         [BZ #14964]
31845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31846         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31847
31848 2013-01-09  David S. Miller  <davem@davemloft.net>
31849
31850         [BZ #15003]
31851         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31852         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31853         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31854         (TCP_FASTOPEN): Define.
31855         (tcp_repair_opt): New structure.
31856         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31857         enum values.
31858         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31859         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31860         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31861         (tcp_cookie_transactions): New structure.
31862
31863 2013-01-09  Anton Blanchard  <anton@samba.org>
31864
31865         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31866         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31868         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31869
31870 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31871
31872         * include/features.h (__USE_ANSI): Remove.
31873
31874 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31875
31876         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31877
31878         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31879
31880 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31881
31882         * sysdeps/s390/fpu/libm-test-ulps: Update.
31883
31884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31885
31886         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31887         (__acr): Likewise.
31888         (__cpy): Likewise.
31889         (norm): Likewise.
31890         (denorm): Likewise.
31891         (__mp_dbl): Likewise.
31892         (__dbl_mp): Likewise.
31893         (add_magnitudes): Likewise.
31894         (sub_magnitudes): Likewise.
31895         (__add): Likewise.
31896         (__sub): Likewise.
31897         (__mul): Likewise.
31898         (__inv): Likewise.
31899         (__dvd): Likewise.
31900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31901         (__acr): Likewise.
31902         (__cpy): Likewise.
31903         (norm): Likewise.
31904         (denorm): Likewise.
31905         (__mp_dbl): Likewise.
31906         (__dbl_mp): Likewise.
31907         (add_magnitudes): Likewise.
31908         (sub_magnitudes): Likewise.
31909         (__add): Likewise.
31910         (__sub): Likewise.
31911         (__mul): Likewise.
31912         (__inv): Likewise.
31913         (__dvd): Likewise.
31914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31915         (__acr): Likewise.
31916         (__cpy): Likewise.
31917         (norm): Likewise.
31918         (denorm): Likewise.
31919         (__mp_dbl): Likewise.
31920         (__dbl_mp): Likewise.
31921         (add_magnitudes): Likewise.
31922         (sub_magnitudes): Likewise.
31923         (__add): Likewise.
31924         (__sub): Likewise.
31925         (__mul): Likewise.
31926         (__inv): Likewise.
31927         (__dvd): Likewise.
31928
31929 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31930
31931         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31932         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31933         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31934         2 && __USE_EXTERN_INLINES]: Likewise.
31935
31936 2013-01-08  Andreas Jaeger  <aj@suse.de>
31937
31938         [BZ# 14985]
31939         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31940         Remove.
31941         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31942         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31943
31944 2013-01-07  Anton Blanchard  <anton@samba.org>
31945
31946         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31947         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31948         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31949         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31950         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31951         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31952         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31953         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31955         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31957         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31958         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31959         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31960         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31961         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31962         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31964         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31965         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31966         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31967         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31968         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31969         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31970         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31971         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31972         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31973         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31975         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31976         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31978         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31979         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31980         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31981         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31983         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31984         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31986         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31988         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31989
31990 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31991
31992         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31993         (__MALLOC_PMT): Likewise.
31994         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31995         [__GNUC__], only on [_LIBC].
31996         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31997         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31998         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31999         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32000         forward declaration.
32001         (realloc_hook_ini): Likewise.
32002         (memalign_hook_ini): Likewise.
32003         (__libc_memalign): Do not use __MALLOC_PMT in variable
32004         declaration.
32005         (__libc_valloc): Likewise.
32006         (__libc_pvalloc): Likewise.
32007         (__libc_calloc): Likewise.
32008         (__posix_memalign): Likewise.
32009
32010         [BZ #14996]
32011         * math/s_casinh.c: Include <float.h>.
32012         (__casinh): Do not do computation with squaring and square root
32013         for large arguments.
32014         * math/s_casinhf.c: Include <float.h>.
32015         (__casinhf): Do not do computation with squaring and square root
32016         for large arguments.
32017         * math/s_casinhl.c: Include <float.h>.
32018         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32019         (__casinhl): Do not do computation with squaring and square root
32020         for large arguments.
32021         * math/libm-test.inc (casin_test): Add more tests.
32022         (casinh_test): Likewise.
32023         * sysdeps/i386/fpu/libm-test-ulps: Update.
32024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32025
32026 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32027
32028         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32029         (__x86_64_raw_data_cache_size): Likewise.
32030         (__x86_64_data_cache_size_half): Likewise.
32031         (__x86_64_raw_data_cache_size_half): Likewise.
32032         (__x86_64_shared_cache_size): Likewise.
32033         (__x86_64_raw_shared_cache_size): Likewise.
32034         (__x86_64_shared_cache_size_half): Likewise.
32035         (__x86_64_raw_shared_cache_size_half): Likewise.
32036         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32037         to ...
32038         (__x86_data_cache_size): This.
32039         (__x86_64_raw_data_cache_size): Renamed to ...
32040         (__x86_raw_data_cache_size): This.
32041         (__x86_64_data_cache_size_half): Renamed to ...
32042         (__x86_data_cache_size_half): This.
32043         (__x86_64_raw_data_cache_size_half): Renamed to ...
32044         (__x86_raw_data_cache_size_half): This.
32045         (__x86_64_shared_cache_size): Renamed to ...
32046         (__x86_shared_cache_size): This.
32047         (__x86_64_raw_shared_cache_size): Renamed to ...
32048         (__x86_raw_shared_cache_size): This.
32049         (__x86_64_shared_cache_size_half): Renamed to ...
32050         (__x86_shared_cache_size_half): This.
32051         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32052         (__x86_raw_shared_cache_size_half): This.
32053         * sysdeps/x86_64/memcpy.S: Updated.
32054         * sysdeps/x86_64/memset.S: Likewise.
32055         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32056         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32057         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32058
32059 2013-01-04  David S. Miller  <davem@davemloft.net>
32060
32061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32062
32063 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32064
32065         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32066         1 to avoid redefinition warning.
32067         (__USE_GNU): Don't define.
32068         (init_signaling_nan): Protoize.
32069
32070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32071
32072 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32073
32074         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32076         (__cpymn): Likewise.
32077         (norm): Remove commented code.
32078         (denorm): Likewise.
32079         (__mp_dbl): Likewise.
32080         (__inv): Likewise.
32081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32082         (__cpymn): Likewise.
32083         (norm): Remove commented code.
32084         (denorm): Likewise.
32085         (__mp_dbl): Likewise.
32086         (__inv): Likewise.
32087
32088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32089         mp_no value for 1.0 and 2.0.
32090         (norm): Use RADIXI instead of radixi.d.
32091         (denorm): Likewise.
32092         (__mul): Use 0.0 instead of zero.d.
32093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32094         mp_no value for 1.0 and 2.0.
32095         (norm): Use RADIXI instead of radixi.d.
32096         (denorm): Likewise.
32097         (__mul): Use 0.0 instead of zero.d.
32098
32099 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32100
32101         [BZ #14994]
32102         * math/s_casinh.c (__casinh): Reduce finite argument to first
32103         quadrant then set signs of results at the end.
32104         * math/s_casinhf.c (__casinhf): Likewise.
32105         * math/s_casinhl.c (__casinhl): Likewise.
32106         * math/libm-test.inc (casin_test): Add more tests.
32107         (casinh_test): Likewise.
32108         * sysdeps/i386/fpu/libm-test-ulps: Update.
32109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32110
32111 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32112
32113         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32114
32115         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32116
32117         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32118         declarations.
32119         (denorm): Likewise.
32120         (__mp_dbl): Likewise.
32121         (__inv): Likewise.
32122
32123         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32124         and adjust the header comment.
32125
32126         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32127         variable name from declaration.
32128
32129 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32130
32131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32132         Initialize COMMON_CPUID_INDEX_7 element.
32133         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32134         (CPUID_RTM): Likewise.
32135         (HAS_RTM): Likewise.
32136         (COMMON_CPUID_INDEX_7): New enum.
32137
32138 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32139
32140         [BZ #14981]
32141         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32142         size is zero, record memory as freed.
32143
32144 2013-01-03  Andreas Jaeger  <aj@suse.de>
32145
32146         * po/ia.po: Add new Interlingua translation.
32147
32148 2012-01-03  Allan McRae  <allan@archlinux.org>
32149
32150         * locale/programs/localedef.c: Fix description of '--posix' flag.
32151
32152 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32153
32154         * NEWS: Update dates in second copyright notice.
32155         * README: Update copyright dates in example.
32156         * manual/libc.texinfo: Update copyright dates.
32157         * scripts/test-installation.pl: Update copyright date in --version
32158         output.
32159
32160         * hurd/ctty-input.c: Fix copyright notice formatting.
32161         * hurd/ctty-output.c: Likewise.
32162         * hurd/dtable.c: Likewise.
32163         * hurd/hurd-raise.c: Likewise.
32164         * hurd/hurdprio.c: Likewise.
32165         * hurd/msgportdemux.c: Likewise.
32166         * misc/sys/file.h: Likewise.
32167         * misc/sys/ioctl.h: Likewise.
32168         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32169         * sysdeps/mach/hurd/chdir.c: Likewise.
32170         * sysdeps/mach/hurd/fchdir.c: Likewise.
32171         * sysdeps/mach/hurd/rename.c: Likewise.
32172         * sysdeps/mach/hurd/rmdir.c: Likewise.
32173         * sysdeps/mach/hurd/seekdir.c: Likewise.
32174         * sysdeps/mach/hurd/setsid.c: Likewise.
32175         * sysdeps/posix/wait3.c: Likewise.
32176
32177         * All files with FSF copyright notices: Update copyright dates
32178         using scripts/update-copyrights.
32179         * intl/plural.c: Regenerated.
32180         * locale/programs/charmap-kw.h: Likewise.
32181         * locale/programs/locfile-kw.h: Likewise.
32182
32183 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32184
32185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32186         four values.
32187
32188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32189         calculation loop and add branch prediction.
32190
32191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32192         check access beyond bounds of m1np.
32193
32194         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32195         MPTWO.
32196         (__inv): Remove local variable MPTWO to use the global
32197         constant.
32198         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32199         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32200         variable MPTWO.
32201         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32202         MP3HALFS static const.
32203
32204 2013-01-01  David S. Miller  <davem@davemloft.net>
32205
32206         * po/ca.po: Update from translation team.
32207
32208 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32209
32210         * scripts/update-copyrights: New file.
32211         * Makeconfig: Reformat copyright notice.
32212         * ctype/ctype.h: Likewise.
32213         * debug/swprintf_chk.c: Likewise.
32214         * elf/dl-cache.c: Likewise.
32215         * elf/dl-debug.c: Likewise.
32216         * elf/dl-object.c: Likewise.
32217         * grp/initgroups.c: Likewise.
32218         * hurd/Makefile: Likewise.
32219         * hurd/hurd/signal.h: Likewise.
32220         * hurd/hurdfault.c: Likewise.
32221         * hurd/hurdioctl.c: Likewise.
32222         * hurd/hurdlookup.c: Likewise.
32223         * hurd/intr-msg.c: Likewise.
32224         * iconv/gconv_open.c: Likewise.
32225         * libio/swprintf.c: Likewise.
32226         * locale/lc-ctype.c: Likewise.
32227         * locale/nl_langinfo.c: Likewise.
32228         * mach/Machrules: Likewise.
32229         * mach/Makefile: Likewise.
32230         * malloc/obstack.h: Likewise.
32231         * manual/Makefile: Likewise.
32232         * manual/tsort.awk: Likewise.
32233         * misc/bits/stab.def: Likewise.
32234         * nis/nis_print_group_entry.c: Likewise.
32235         * nis/nis_table.c: Likewise.
32236         * nis/nss_compat/compat-pwd.c: Likewise.
32237         * nis/nss_compat/compat-spwd.c: Likewise.
32238         * po/Makefile: Likewise.
32239         * posix/fnmatch.c: Likewise.
32240         * posix/regex.h: Likewise.
32241         * resolv/Makefile: Likewise.
32242         * resolv/nss_dns/dns-network.c: Likewise.
32243         * resolv/res_hconf.c: Likewise.
32244         * scripts/gen-sorted.awk: Likewise.
32245         * soft-fp/soft-fp.h: Likewise.
32246         * stdio-common/printf.h: Likewise.
32247         * stdlib/monetary.h: Likewise.
32248         * stdlib/random.c: Likewise.
32249         * stdlib/random_r.c: Likewise.
32250         * sysdeps/generic/Makefile: Likewise.
32251         * sysdeps/gnu/Makefile: Likewise.
32252         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32253         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32254         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32255         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32256         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32262         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32263         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32264         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32265         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32266         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32267         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32268         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32270         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32271         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32275         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32276         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32278         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32279         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32280         * sysdeps/mach/hurd/errnos.awk: Likewise.
32281         * sysdeps/mach/hurd/fork.c: Likewise.
32282         * sysdeps/mach/hurd/getcwd.c: Likewise.
32283         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32284         * sysdeps/mach/hurd/mmap.c: Likewise.
32285         * sysdeps/mach/hurd/utimes.c: Likewise.
32286         * sysdeps/mach/hurd/xmknod.c: Likewise.
32287         * sysdeps/posix/profil.c: Likewise.
32288         * sysdeps/posix/readdir_r.c: Likewise.
32289         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32290         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32291         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32292         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32294         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32295         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32296         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32298         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32299         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32300         * sysdeps/pthread/lio_listio.c: Likewise.
32301         * sysdeps/sparc/dl-procinfo.h: Likewise.
32302         * sysdeps/unix/i386/sysdep.S: Likewise.
32303         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32304         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32305         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32306         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32308         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32309         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32310         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32311         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32312         * sysdeps/wordsize-32/divdi3.c: Likewise.
32313         * time/sys/time.h: Likewise.
32314         * wcsmbs/Makefile: Likewise.
32315
32316 2013-01-01  David S. Miller  <davem@davemloft.net>
32317
32318         * po/fr.po: Update from translation team.
32319
32320         * catgets/gencat.c: Update copyright year.
32321         * csu/version.c: Likewise.
32322         * debug/catchsegv.sh: Likewise.
32323         * debug/pcprofiledump.c: Likewise.
32324         * debug/xtrace.sh: Likewise.
32325         * elf/ldconfig.c: Likewise.
32326         * elf/ldd.bash.in: Likewise.
32327         * elf/pldd.c: Likewise.
32328         * elf/sotruss.ksh: Likewise.
32329         * elf/sprof.c: Likewise.
32330         * iconv/iconv_prog.c: Likewise.
32331         * iconv/iconvconfig.c: Likewise.
32332         * locale/programs/locale.c: Likewise.
32333         * locale/programs/localedef.c: Likewise.
32334         * login/programs/pt_chown.c: Likewise.
32335         * malloc/memusage.sh: Likewise.
32336         * malloc/memusagestat.c: Likewise.
32337         * malloc/mtrace.pl: Likewise.
32338         * nscd/nscd.c: Likewise.
32339         * nss/getent.c: Likewise.
32340         * nss/makedb.c: Likewise.
32341         * posix/getconf.c: Likewise.
32342
32343 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32344
32345         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32346         numbers.
32347
32348 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32349
32350         * math/bits/mathcalls.h (modf): Use __nonnull.
32351
32352 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32353
32354         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32355         (split): Use macro CN instead of the bare value.
32356         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32357         could be used.
32358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32359         instead of the bare value.
32360         (power1): Likewise.
32361
32362 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32363
32364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32365         __ATAN_TWOM.
32366         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32367
32368         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32369         their values.
32370         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32371         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32372         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32373         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32374
32375 2012-12-28  Andreas Jaeger  <aj@suse.de>
32376
32377         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32378         values are from Linux 3.7.
32379
32380         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32381         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32382
32383 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32384
32385         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32386         TRUE case.
32387
32388         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32389         (norm): Likewise.
32390         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32391         variables with preprocessor constants.
32392         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32393         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32395
32396 2012-12-27  Bruno Haible  <bruno@clisp.org>
32397
32398         [BZ #14317]
32399         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32400         only if needed.
32401
32402 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32403
32404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32405         and use variable directly.
32406         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32407
32408         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32409         MPONE.
32410         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32411         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32412         variable MPONE.
32413         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32415         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32416         include directive.  Remove local variable MPONE.
32417         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32418         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32420
32421 2012-12-25  David S. Miller  <davem@davemloft.net>
32422
32423         * version.h (RELEASE): Set to "development".
32424         (VERSION): Set to "2.17.90".
32425         * NEWS: Add 2.18 section.
32426
32427 2012-12-21  David S. Miller  <davem@davemloft.net>
32428
32429         * po/hr.po: Update from translation team.
32430
32431 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32432
32433         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32434
32435 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32436
32437         * NEWS:  Mention new memcpy for MIPS.
32438
32439 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32440
32441         * manual/contrib.texi (Contributors): Spelling correction.
32442
32443 2012-12-15  David S. Miller  <davem@davemloft.net>
32444
32445         * po/ru.po: Update from translation team.
32446
32447 2012-12-13  David S. Miller  <davem@davemloft.net>
32448
32449         * NEWS: Mention IFUNC testsuite enhancements.
32450
32451         * po/pl.po: Update from translation team.
32452         * po/bg.po: Likewise.
32453
32454         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32455         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32456
32457 2012-12-11  David S. Miller  <davem@davemloft.net>
32458
32459         * po/sv.po: Update from translation team.
32460
32461         * po/vi.po: Update from translation team.
32462
32463         * po/cs.po: Update from translation team.
32464
32465         * po/de.po: Update from translation team.
32466         * po/eo.po: Likewise.
32467         * po/nl.po: Likewise.
32468
32469 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32470
32471         [BZ #14246]
32472         * manual/argp.texi (Argp Helper Functions): Move node to follow
32473         Argp Parsing State.
32474
32475         [BZ #14872]
32476         * manual/conf.texi (Limits on File System Capacity): Mention if
32477         terminating null is included in the max size.
32478
32479 2012-12-10  Andreas Jaeger  <aj@suse.de>
32480
32481         * po/cs.po: Update from translation team.
32482
32483 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32484
32485         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32486         void pointer and cast to uintptr_t.
32487         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32488         path.
32489         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32490         * sysdeps/s390/s390-64/memset.S: Likewise.
32491
32492 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32493
32494         [BZ #14833]
32495         * menual/message.texi (Message Translation): Fix typos.
32496         (Helper programs for gettext): Likewise.
32497
32498 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32499
32500         [BZ #14898]
32501         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32502         Change to -1.
32503
32504 2012-12-07  David S. Miller  <davem@davemloft.net>
32505
32506         * po/libc.pot: Update.
32507
32508 2012-12-07  Richard Henderson  <rth@redhat.com>
32509
32510         [BZ #10114]
32511         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32512         normal/normal case to before the switch.
32513         (_FP_DIV): Likewise.
32514
32515 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32516             Mike Frysinger  <vapier@gentoo.org>
32517
32518         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32519         check for __NR_fadvise64_64.
32520
32521 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32522
32523         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32524         0, not just to plain "0" as a statement.
32525         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32526         with cw.
32527
32528 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32529
32530         * NEWS: Use sourceware.org in Bugzilla URL.
32531
32532 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32533
32534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32535         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32536
32537         * stdio-common/tst-put-error.c (do_test): Add newline to the
32538         padded test to ensure flush.
32539
32540 2012-12-05  Jeff Law  <law@redhat.com>
32541
32542         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32543
32544 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32545
32546         * README: Don't refer to ports add-on as distributed separately.
32547         Mention AArch64 in list of systems supported in the ports add-on.
32548
32549         * LICENSES: Add more non-FSF copyright and license notices.
32550
32551         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32552         ((unused)).
32553
32554         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32555
32556         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32557         10000 as width of padded output.
32558
32559 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32560
32561         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32562
32563         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32564         variable LX with __attribute__ ((unused)).
32565         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32566         Likewise.
32567         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32570         with __attribute__ ((unused)).
32571
32572 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32573
32574         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32575
32576 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32577
32578         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32579         (CFLAGS-nldbl-acos.c): New variable.
32580         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32581         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32582         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32583         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32584         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32585         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32586         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32587         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32588         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32589         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32590         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32591         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32592         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32593         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32594         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32595         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32596         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32597         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32598         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32599         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32600         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32601         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32602         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32603         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32604         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32605         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32606         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32607         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32608         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32609         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32610         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32611         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32612         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32613         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32614         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32615         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32616         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32617         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32618         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32619         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32620         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32621         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32622         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32623         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32624         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32625         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32626         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32627         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32628         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32629         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32630         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32631         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32632         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32633         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32634         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32635         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32636         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32637         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32638         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32639         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32640         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32641         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32642         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32643         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32644         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32645         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32646         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32647         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32648         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32649         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32650         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32651         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32652         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32653         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32654         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32655         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32656         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32657         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32658         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32659         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32660         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32661         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32662         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32663         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32664         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32665         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32666         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32667         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32668         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32669         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32670         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32671         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32672         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32673         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32674         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32675         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32676         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32677
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32679         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32680
32681         [BZ #14914]
32682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32683         whole low double instead of just low 47 bits when splitting values
32684         into two parts.
32685
32686 2012-12-03  Allan McRae  <allan@archlinux.org>
32687
32688         * manual/stdio.texi (Predefined Printf Handlers): Remove
32689         @hsep and @vsep usage.
32690
32691 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32692
32693         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32694         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32695
32696 2012-12-03  Jeff Law  <law@redhat.com>
32697
32698         * time/sys/time.h (settimeofday): Do not mark TV argument
32699         as __nonnull.
32700
32701 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32702
32703         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32704         when currently writing and seek to current position when not.
32705         * libio/Makefile (tests): Remove bug-fclose1.
32706         * libio/bug-fclose1.c: Delete.
32707
32708 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32709
32710         * manual/arith.texi (feenableexcept): Fix typo.
32711         (fedisableexcept): Likewise.
32712
32713 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32714
32715         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32716         second, differently-typed declaration, rather than a cast.
32717
32718 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32719
32720         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32721         * include/rpc/svc.h: ... here.
32722
32723 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32724
32725         [BZ #13013]
32726         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32727         depending n and resplen2 to catch cases where answer
32728         equals answerp2.
32729
32730 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32731
32732         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32733         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32734
32735 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32736
32737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32738
32739 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32740
32741         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32742
32743 2012-11-28  Jeff Law  <law@redhat.com>
32744
32745         [BZ #13761]
32746         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32747         dataset_temporary.  Track alloca usage into alloca_used.
32748         If dataset is large allocate and release it via malloc/free.
32749
32750 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32751
32752         [BZ #14197]
32753         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32754
32755 2012-11-28  David S. Miller  <davem@davemloft.net>
32756
32757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32758
32759 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32760
32761         [BZ #14803]
32762         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32763         of pi/2 rounded to nearest to 64 bits.
32764         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32765         nearest to 64 bits.
32766         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32767         bits.
32768
32769 2012-11-28  Jeff Law <law@redhat.com>
32770             Martin Osvald <mosvald@redhat.com>
32771
32772         [BZ #14889]
32773         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32774         * sunrpc/svc.c: Include time.h.
32775         (__svc_accept_failed): New function.
32776         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32777         any reason other than EINTR, call __svc_accept_failed.
32778         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32779         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32780
32781 2012-11-28  Andreas Schwab  <schwab@suse.de>
32782
32783         * scripts/abilist.awk: Also handle indirect functions in .opd
32784         section.
32785
32786 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32787
32788         [BZ #13881]
32789         * sysdeps/x86/fpu/powl_helper.c: New file.
32790         * sysdeps/x86/fpu/Makefile: Likewise.
32791         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32792         (p3): New object.
32793         (__ieee754_powl): Use __powl_helper for finite arguments except
32794         integer exponents below 8.
32795         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32796         (p3): New object.
32797         (__ieee754_powl): Use __powl_helper for finite arguments except
32798         integer exponents below 8.
32799         * math/libm-test.inc (pow_test): Add more tests and enable some
32800         previously disabled tests.
32801         * sysdeps/i386/fpu/libm-test-ulps: Update.
32802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803
32804 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32805             Carlos O'Donell  <carlos_odonell@mentor.com>
32806
32807         * nss/makedb.c (is_prime): Assert that input is odd and greater
32808         than 4.  Note that fact in a comment too.
32809         (next_prime): Add 4 to input.
32810
32811 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32812
32813         [BZ #11741]
32814         * libio/Makefile (tests): Add test case tst-fwrite-error.
32815         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32816         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32817         * libio/tst-fwrite-error.c: New test case.
32818
32819 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32820
32821         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32822         before casting to void *.
32823         * include/libc-internal.h (__pointer_type): New macro.
32824         (__integer_if_pointer_type_sub): Likewise.
32825         (__integer_if_pointer_type): Likewise.
32826         (cast_to_integer): Likewise.
32827         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32828         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32829         before casting to atomic64_t.
32830         (atomic_exchange_acq): Likewise.
32831         (__arch_exchange_and_add_body): Likewise.
32832         (__arch_add_body): Likewise.
32833         (atomic_add_negative): Likewise.
32834         (atomic_add_zero): Likewise.
32835
32836 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32837
32838         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32839         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32840         (add_fdes): Likewise.
32841         (linear_search_fdes): Likewise.
32842         (binary_search_unencoded_fdes): Likewise.
32843
32844 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32845
32846         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32847
32848 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32849
32850         * configure.in: Autodetect C++ header directories.
32851         * configure: Regenerated.
32852
32853 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32854
32855         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32856
32857 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32858
32859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32860
32861 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32862
32863         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32864         LDBL_MANT_DIG == 106]: Disable some tests.
32865         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32866         Likewise.
32867         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32868         Likewise.
32869
32870         [BZ #14871]
32871         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32872         input for small inputs.  Return +/- pi/2 for large inputs.
32873         * math/libm-test.inc (atan_test): Add more tests.
32874
32875         * sysdeps/generic/unwind-dw2-fde-glibc.c
32876         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32877         __attribute__ ((unused)).
32878
32879         [BZ #14645]
32880         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32881         x * y if x and y are nonzero and z is zero.
32882
32883         [BZ #14811]
32884         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32885         nonzero exponents with absolute value below 0x1p-117 to +/-
32886         0x1p-117.
32887
32888         [BZ #14869]
32889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32890         up arguments below 2**-450, not just those below 2**-500.
32891         * math/libm-test.inc (hypot_test): Add another test.
32892
32893         [BZ #14868]
32894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32895         Return a+b for ratio over 2**120, not 2**60.
32896         * math/libm-test.inc (hypot_test): Add another test.
32897
32898         * math/libm-test.inc (clog_test): Use
32899         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32900         (clog10_test): Likewise.
32901
32902         [BZ #6778]
32903         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32904
32905 2012-11-22  Andreas Schwab  <schwab@suse.de>
32906
32907         * sysdeps/i386/fpu/libm-test-ulps: Update.
32908
32909 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32910
32911         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32912         printf output with newline.
32913
32914 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32915
32916         [BZ #14865]
32917         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32918         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32919         -z nodlopen, -z initfirst and -z execstack support.
32920         * configure: Regenerated.
32921
32922         * elf/elf.h (DF_1_NODIRECT): New macro.
32923         (DF_1_IGNMULDEF): Likewise.
32924         (DF_1_NOKSYMS): Likewise.
32925         (DF_1_NOHDR): Likewise.
32926         (DF_1_EDITED): Likewise.
32927         (DF_1_NORELOC): Likewise.
32928         (DF_1_SYMINTPOSE): Likewise.
32929         (DF_1_GLOBAUDIT): Likewise.
32930         (DF_1_SINGLETON): Likewise.
32931         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32932         DT_1_SUPPORTED_MASK bits.
32933         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32934
32935 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32936
32937         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32938
32939 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32940
32941         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32942         macro.
32943
32944         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32945         (sendmmsg): Move declarations...
32946         * socket/sys/socket.h: ... here.
32947         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32948         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32949         include it from...
32950         * socket/recvmmsg.c: ... this new file.
32951         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32952         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32953         definition of __sendmmsg hidden.
32954         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32955         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32956         Move ENOSYS stub into and include it from...
32957         * socket/sendmmsg.c: ... this new file.
32958         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32959         (sysdep_routines): Move recvmmsg and sendmmsg...
32960         * socket/Makefile (routines): ... here.
32961         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32962         (GLIBC_PRIVATE): Add __sendmmsg.
32963         * include/sys/socket.h (__sendmmsg): Add declarations.
32964         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32965         sendmmsg.
32966
32967 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32968
32969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32970         variable I1 with __attribute__ ((unused)).
32971         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32972
32973 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32974
32975         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32976         DUMMY variables with __attribute__ ((unused)).
32977
32978         * bits/byteswap.h: Include <bits/types.h>.
32979         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32980
32981 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32982
32983         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32984         string_t.  Do not manually set errno.
32985         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32986         length with __strnlen.  Make sure to both set errno and return it on
32987         failure.
32988
32989 2012-11-19  David S. Miller  <davem@davemloft.net>
32990
32991         With help from Joseph Myers.
32992         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32993         very large arguments properly.
32994         * math/libm-test.inc (atan_test): New tests.
32995         (atan2_test): New tests.
32996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32998
32999 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33000
33001         [BZ #14856]
33002         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33003         Define to 3.
33004
33005         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33006         [POSIX] (EADDRNOTAVAIL): Likewise.
33007         [POSIX] (EAFNOSUPPORT): Likewise.
33008         [POSIX] (EALREADY): Likewise.
33009         [POSIX] (ECONNABORTED): Likewise.
33010         [POSIX] (ECONNREFUSED): Likewise.
33011         [POSIX] (ECONNRESET): Likewise.
33012         [POSIX] (EDESTADDRREQ): Likewise.
33013         [POSIX] (EDQUOT): Likewise.
33014         [POSIX] (EHOSTUNREACH): Likewise.
33015         [POSIX] (EIDRM): Likewise.
33016         [POSIX] (EISCONN): Likewise.
33017         [POSIX] (ELOOP): Likewise.
33018         [POSIX] (EMULTIHOP): Likewise.
33019         [POSIX] (ENETDOWN): Likewise.
33020         [POSIX] (ENETUNREACH): Likewise.
33021         [POSIX] (ENOBUFS): Likewise.
33022         [POSIX] (ENODATA): Likewise.
33023         [POSIX] (ENOLINK): Likewise.
33024         [POSIX] (ENOMSG): Likewise.
33025         [POSIX] (ENOPROTOOPT): Likewise.
33026         [POSIX] (ENOSR): Likewise.
33027         [POSIX] (ENOSTR): Likewise.
33028         [POSIX] (ENOTCONN): Likewise.
33029         [POSIX] (ENOTSOCK): Likewise.
33030         [POSIX] (EOPNOTSUPP): Likewise.
33031         [POSIX] (EOVERFLOW): Likewise.
33032         [POSIX] (EPROTO): Likewise.
33033         [POSIX] (EPROTONOSUPPORT): Likewise.
33034         [POSIX] (EPROTOTYPE): Likewise.
33035         [POSIX] (ESTALE): Likewise.
33036         [POSIX] (ETIME): Likewise.
33037         [POSIX] (ETXTBSY): Likewise.
33038         [POSIX] (EWOULDBLOCK): Likewise.
33039         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33040         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33041         [POSIX] (SEEK_CUR): Likewise.
33042         [POSIX] (SEEK_END): Likewise.
33043         [POSIX || UNIX98] (mode_t): Do not require.
33044         [POSIX] (off_t): Likewise.
33045         [POSIX] (pid_t): Likewise.
33046         [POSIX] (sys/stat.h): Do not allow header.
33047         [POSIX] (unistd.h): Likewise.
33048         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33049         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33050         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33051         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33052         require.
33053         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33054         sigevent): Specify elements.
33055         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33056         entry.
33057         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33058         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33059
33060         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33061         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33062         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33063         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33064         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33065         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33066         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33067         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33068         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33069         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33070         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33071         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33072         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33073         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33074         Likewise.
33075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33076         Likewise.
33077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33078         Likewise.
33079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33080         Likewise.
33081         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33083         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33084         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33085         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33086         Specify lower bound on value.
33087         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33088         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33089         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33090         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33091         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33092         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33093         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33094         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33095         value.
33096         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33097         as optional.
33098         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33099         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33100         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33101         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33102         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33103         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33104         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33105         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33106         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33107         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33108         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33109         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33110         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33111         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33112         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33113         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33114         entry.
33115         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33116         optional.
33117         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33118         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33119         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33120         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33121         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33122         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33123         Likewise.
33124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33125         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33126         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33127         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33128         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33129         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33131         as optional.
33132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33135         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33136         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33137         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33138         specify as optional.
33139         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33140         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33141         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33142         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33143         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33144         [XPG3] (NL_LANGMAX): Likewise.
33145         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33146         [POSIX || XPG3] (NL_NMAX): Likewise.
33147         [POSIX || XPG3] (NL_SETMAX): Likewise.
33148         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33149         [XPG3] (NZERO): Likewise.
33150         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33151         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33152         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33153         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33154         (REG_ERANGE): Expect.
33155         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33156         optional-constant.
33157         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33158         Use (void) in prototype.
33159         [POSIX] (*_t): Allow.
33160         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33161         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33162         (WRDE_BADVAL): Expect.
33163
33164         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33165         expect.
33166         [XPG3 || XPG4] (O_RSYNC): Likewise.
33167         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33168         Likewise.
33169         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33170         [XPG3 || XPG4] (sigqueue): Likewise.
33171         [XPG3 || XPG4] (sigtimedwait): Likewise.
33172         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33173         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33174         [XPG3 || XPG4] (vsnprintf): Likewise.
33175         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33176         Likewise.
33177         [XPG3 || XPG4] (blksize_t): Likewise.
33178         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33179         Likewise.
33180         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33181         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33182         [XPG3 || XPG4] (struct itimerspec): Likewise.
33183         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33184         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33185         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33186         [XPG3 || XPG4] (clockid_t): Likewise.
33187         [XPG3 || XPG4] (timer_t): Likewise.
33188         [XPG3 || XPG4] (clock_getres): Likewise.
33189         [XPG3 || XPG4] (clock_gettime): Likewise.
33190         [XPG3 || XPG4] (clock_settime): Likewise.
33191         [XPG3 || XPG4] (nanosleep): Likewise.
33192         [XPG3 || XPG4] (timer_create): Likewise.
33193         [XPG3 || XPG4] (timer_delete): Likewise.
33194         [XPG3 || XPG4] (timer_gettime): Likewise.
33195         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33196         [XPG3 || XPG4] (timer_settime): Likewise.
33197         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33198         [XPG3 || XPG4] (getlogin_r): Likewise.
33199         [XPG3 || XPG4] (pread): Likewise.
33200         [XPG3 || XPG4] (pthread_atfork): Likewise.
33201         [XPG3 || XPG4] (pwrite): Likewise.
33202
33203         [BZ #14835]
33204         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33205         <bits/siginfo.h>.
33206
33207 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33208
33209         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33210         finalizing MALLSTREAM.
33211
33212         * sysdeps/mach/hurd/syncfs.c: New file.
33213
33214 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33215
33216         [BZ #14719]
33217         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33218         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33219         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33220         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33221         (_nss_dns_gethostbyname4_r): Likewise.
33222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33223         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33224
33225 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33226
33227         [BZ #13763]
33228         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33229
33230 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33231
33232         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33233         * elf/cache.c (print_entry): Print ",AArch64" for
33234         FLAG_AARCH64_LIB64
33235
33236         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33237         * elf/cache.c (print_entry): Print ",hard-float" for
33238         FLAG_ARM_LIBHF.
33239
33240 2012-11-18  David S. Miller  <davem@davemloft.net>
33241
33242         With help from Joseph Myers.
33243         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33244         cutoff to 2**-13.
33245         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33246         cutoff to 2**-25.
33247         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33248         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33249         small.
33250         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33251         * math/libm-test.inc (y0_test): New tests.
33252         (y1_test): New tests.
33253         * sysdeps/i386/fpu/libm-test-ulps: Update.
33254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33256
33257 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33258
33259         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33260         64-bit targets.
33261         * configure: Regenerated.
33262
33263 2012-11-17  David S. Miller  <davem@davemloft.net>
33264
33265         [BZ #14811]
33266         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33267         nonzero exponents with absolute value below 0x1p-128 to +/-
33268         0x1p-128.
33269
33270 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33271
33272         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33273
33274         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33275
33276         * posix/getconf-speclist.c: New file.
33277         * posix/posix-envs.def: Likewise.
33278         * posix/confstr.c (START_ENV_GROUP): New macro.
33279         (END_ENV_GROUP): Likewise.
33280         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33281         (KNOWN_PRESENT_ENV_STRING): Likewise.
33282         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33283         (UNKNOWN_ENVIRONMENT): Likewise.
33284         (confstr): Include posix-envs.def instead of handling
33285         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33286         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33287         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33288         (END_ENV_GROUP): Likewise.
33289         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33290         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33291         (UNKNOWN_ENVIRONMENT): Likewise.
33292         (__sysconf): Include posix-envs.def instead of handling associated
33293         cases directly here.
33294         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33295         preprocessing getconf-speclist.c rather than running getconf or
33296         generating empty file.
33297
33298 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33299
33300         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33301
33302 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33303
33304         [BZ #14672]
33305         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33306
33307 2012-11-16  David S. Miller  <davem@davemloft.net>
33308
33309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33310         smaller than LDBL_EPSILON/2.0L, just return xm1.
33311
33312 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         * elf/tst-array1.c (init): Set constructor priority to 1000.
33315         (fini): Set destructor priority to 1000.
33316         * elf/tst-array2dep.c: Likewise.
33317
33318 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33319
33320         [BZ #11741]
33321         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33322         (_IO_new_file_xsputn): Also return EOF if none of the input
33323         data was written when overflow failed.
33324         * libio/iopadn.c (_IO_padn): Likewise.
33325         * libio/iowpadn.c (_IO_wpadn): Likewise.
33326         * stdio-common/tst-put-error.c: Add copyright notice.
33327         (do_test): Add case for printing padded string.
33328         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33329         _IO_padn returned error.
33330         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33331         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33332         return EOF.
33333
33334 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33335
33336         * libio/libioP.h: Add comment note that the references to C++
33337         bits are now obsolete.
33338
33339 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33340
33341         * math/libm-test.inc (check_complex): Use asprintf.
33342
33343 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33344
33345         * debug/pcprofiledump.c (print_version): Update copyright year.
33346         * malloc/memusagestat.c (print_version): Likewise.
33347
33348 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33349
33350         [BZ #14831]
33351         * elf/Makefile (tests): Add tst-audit8.
33352         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33353         ($(objpfx)tst-audit8.out): New target.
33354         (tst-audit8-ENV): New variable.
33355         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33356         audit if l_reloc_result is NULL.
33357         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33358         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33359         * elf/tst-audit8.c: New file.
33360
33361 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33362
33363         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33364         * misc/Makefile (CFLAGS-select.c): Define.
33365         * posix/Makefile (CFLAGS-pause.c): Define.
33366
33367 2012-11-13  David S. Miller  <davem@davemloft.net>
33368
33369         * crypt/Makefile: Move test targets after toplevel Rules
33370         inclusion.  Grab any necessary sysdep routines when linking.
33371         * crypt/md5.c (md5_process_block): Remove define, we will always
33372         name it __md5_process_block.
33373         (md5_finish_ctx): Update md5_process_block call.
33374         (md5_stream): Likewise.
33375         (md5_process_bytes): Likewise.
33376         (md5_process_block): Rename to __md5_process_block and move to ...
33377         * crypt/md5-block.c: ... here.
33378         * crypt/sha256.c (sha256_process_block): Move to ...
33379         * crypt/sha256-block.c: ... here.
33380         * crypt/sha512.c (sha512_process_block): Move to ...
33381         * crypt/sha512-block.c: ... here.
33382         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33383         path.
33384         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33385         * sysdeps/sparc/sparc64/multiarch/Makefile
33386         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33387         crypt subdir.
33388         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33389         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33390         multiarch changes.
33391         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33392         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33393         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33394         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33395         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33396         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33397         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33398         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33399         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33400         file.
33401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33403         file.
33404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33405
33406 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33407
33408         * timezone/tzselect.ksh: Update from tzcode git revision
33409         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33410         * timezone/zdump.c: Likewise.
33411         * timezone/zic.c: Likewise.
33412         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33413         in TZVERSION setting, not $(PKGVERSION).
33414         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33415         REPORT_BUGS_TO settings.
33416
33417         [BZ #14838]
33418         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33419         macro.
33420
33421 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33422
33423         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33424         detection to immediately after _FP_ROUND().
33425         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33426         bits are 0.
33427
33428 2012-11-11  David S. Miller  <davem@davemloft.net>
33429
33430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33431         inttypes.h
33432         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33433         __close rather than their public counterparts.
33434
33435 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33436
33437         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33438         file.
33439         [UNIX98] (sem_timedwait): Do not expect.
33440         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33441         [XPG4 || UNIX98] (sockatmark): Do not expect.
33442         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33443         (clock_getcpuclockid): Do not expect.
33444         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33445         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33446         Do not expect.
33447         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33448         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33449         [UNIX98] (vwscanf): Likewise.
33450         [UNIX98] (vswscanf): Likewise.
33451
33452 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33453
33454         * timezone/version.h: Remove file.
33455         * timezone/README: Do not refer to version.h.
33456         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33457         $(objpfx)version.h.
33458         ($(objpfx)zdump.o): Likewise.
33459         ($(objpfx)version.h): New target.
33460
33461         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33462         2012i.
33463         * timezone/README: Don't mention modification to tzselect.ksh.
33464         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33465         work on unmodified tzselect.ksh.  Substitute version numbers in
33466         tzselect.ksh.
33467
33468         * Makefile (format-me): Remove.
33469         (INSTALL): Adjust indentation.  Use commands directly instead of
33470         using $(format-me).
33471
33472         * aclocal.m4 (ACX_PKGVERSION): New macro.
33473         (ACX_BUGURL): Likewise.
33474         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33475         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33476         (REPORT_BUGS_TO): Likewise.
33477         * configure: Regenerated.
33478         * config.h.in (PKGVERSION): New macro.
33479         (REPORT_BUGS_TO): Likewise.
33480         * config.make.in (PKGVERSION): New variable.
33481         (PKGVERSION_TEXI): Likewise.
33482         (REPORT_BUGS_TO): Likewise.
33483         (REPORT_BUGS_TEXI): Likewise.
33484         * Makefile (format-me): Use -I$(common-objpfx)manual.
33485         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33486         ($(common-objpfx)manual/%): New target.
33487         (manual/%): Remove target.
33488         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33489         (print_version): Use PKGVERSION.
33490         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33491         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33492         and REPORT_BUGS_TO.
33493         ($(objpfx)xtrace): Likewise.
33494         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33495         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33496         (print_version): Use PKGVERSION.
33497         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33498         (do_version): Use PKGVERSION.
33499         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33500         REPORT_BUGS_TO.
33501         (common-ldd-rewrite): Likewise.
33502         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33503         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33504         (print_version): Use PKGVERSION.
33505         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33506         * elf/pldd.c (argp_program_bug_address): Remove variable.
33507         (more_help): New function.
33508         (argp): Use more_help.
33509         (print_version): Use PKGVERSION.
33510         * elf/sln.c (main): Use PKGVERSION.
33511         (usage): Use REPORT_BUGS_TO.
33512         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33513         (top level): Use PKGVERSION.
33514         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33515         (print_version): Use PKGVERSION.
33516         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33517         (print_version): Use PKGVERSION.
33518         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33519         (print_version): Use PKGVERSION.
33520         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33521         (print_version): Use PKGVERSION.
33522         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33523         (print_version): Use PKGVERSION.
33524         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33525         (print_version): Use PKGVERSION.
33526         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33527         and BUGURL.
33528         ($(objpfx)memusage): Likewise.
33529         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33530         (do_version): Use PKGVERSION.
33531         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33532         (print_version): Use PKGVERSION.
33533         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33534         ($PKGVERSION): New variable.
33535         ($REPORT_BUGS_TO): Likewise.
33536         (usage): Use $REPORT_BUGS_TO.
33537         (top level): Use $PKGVERSION.
33538         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33539         ($(objpfx)pkgvers.texi): New rule.
33540         ($(objpfx)stamp-pkgvers): Likewise.
33541         * manual/install.texi: Include pkgvers.texi.
33542         (--with-pkgversion): Document new configure option.
33543         (--with-bugurl): Likewise.
33544         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33545         than necessarily for this particular distribution.  Use
33546         REPORT_BUGS_TO for where to report bugs.
33547         * INSTALL: Regenerated.
33548         * manual/libc.texinfo: Include pkgvers.texi.
33549         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33550         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33551         (print_version): Use PKGVERSION.
33552         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33553         (print_version): Use PKGVERSION.
33554         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33555         (print_version): Use PKGVERSION.
33556         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33557         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33558         macro.
33559         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33560         (print_version): Use PKGVERSION.
33561         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33562         (print_version): Use PKGVERSION.
33563         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33564         and PKGVERSION.
33565
33566         * timezone/checktab.awk: Update from tzcode 2012i.
33567         * timezone/ialloc.c: Likewise.
33568         * timezone/private.h: Likewise.
33569         * timezone/scheck.c: Likewise.
33570         * timezone/tzfile.h: Likewise.
33571         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33572         (TZVERSION): Hardcode tzcode version number.
33573         * timezone/zdump.c: Update from tzcode 2012i.
33574         * timezone/zic.c: Likewise.
33575         * timezone/version.h: New file.
33576         * timezone/README: Describe version.h.  Update upstream location.
33577
33578         [BZ #14824]
33579         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33580         (mktemp): Enable declaration.
33581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33585         Likewise.
33586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33587         Likewise.
33588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33589         Likewise.
33590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33591         Likewise.
33592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33593         Likewise.
33594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33595         Likewise.
33596
33597         [BZ #14821]
33598         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33599         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33600         for copies of such integer values.
33601         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33602         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33603
33604 2012-11-09  Andreas Jaeger  <aj@suse.de>
33605
33606         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33607         definitions and declarations that are provided by
33608         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33609
33610 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33611
33612         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33613         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33614         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33615         definition.
33616
33617 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33618
33619         * elf/elf.h: Update comment before AArch64 relocations.
33620
33621 2012-11-07  David S. Miller  <davem@davemloft.net>
33622
33623         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33624         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33625         (__start_context): Declare.
33626         (__makecontext_ret): Delete.
33627         (__makecontext): Hook up __start_context instead of
33628         __makecontext_ret.
33629         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33630         (sysdep_routines): Add __start_context when in stdlib.
33631
33632 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33633
33634         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33635         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33636         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33637         hardcoded "nm".
33638         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33639         (READELF): New variable.  Use it instead of hardcoded "readelf".
33640
33641 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33642
33643         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33644         * sysdeps/x86/Makefile: Here.
33645         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33646         * sysdeps/x86/tst-xmmymm.sh: This.
33647
33648 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33649
33650         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33651         expectations.
33652         [UNIX98] (pthread_barrier_t): Do not expect.
33653         [UNIX98] (pthread_barrierattr_t): Likewise.
33654         [UNIX98] (pthread_spinlock_t): Likewise.
33655         [UNIX98] (pthread_barrier_destroy): Likewise.
33656         [UNIX98] (pthread_barrier_init): Likewise.
33657         [UNIX98] (pthread_barrier_wait): Likewise.
33658         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33659         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33660         [UNIX98] (pthread_barrierattr_init): Likewise.
33661         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33662         [UNIX98] (pthread_getcpuclockid): Likewise.
33663         [UNIX98] (pthread_mutex_timedlock): Likewise.
33664         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33665         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33666         [UNIX98] (pthread_sigmask): Likewise.
33667         [UNIX98] (pthread_spin_destroy): Likewise.
33668         [UNIX98] (pthread_spin_init): Likewise.
33669         [UNIX98] (pthread_spin_lock): Likewise.
33670         [UNIX98] (pthread_spin_trylock): Likewise.
33671         [UNIX98] (pthread_spin_unlock): Likewise.
33672         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33673         Do not expect.
33674         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33675         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33676         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33677         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33678         [XPG3 || XPG4] (pthread_key_t): Likewise.
33679         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33680         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33681         [XPG3 || XPG4] (pthread_once_t): Likewise.
33682         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33683         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33684         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33685         [XPG3 || XPG4] (pthread_t): Likewise.
33686
33687         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33688         not expect.
33689         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33690
33691         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33692         Change function return type to int.
33693
33694         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33695         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33696         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33697         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33698         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33699         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33700         [!POSIX] (posix_madvise): Likewise.
33701         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33702         && !UNIX98].
33703         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33704         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33705         (mode_t): Likewise.
33706         (posix_mem_offset): Likewise.
33707         (posix_typed_mem_get_info): Likewise.
33708         (posix_typed_mem_open): Likewise.
33709
33710         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33711         Change condition to [XOPEN2K8].
33712
33713         * conform/conformtest.pl: Preprocess allow-header data with -x c
33714         instead of from stdin.
33715         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33716         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33717         [C99-based standards] (cerfc): Likewise.
33718         [C99-based standards] (cexp2): Likewise.
33719         [C99-based standards] (cexpm1): Likewise.
33720         [C99-based standards] (clog10): Likewise.
33721         [C99-based standards] (clog1p): Likewise.
33722         [C99-based standards] (clog2): Likewise.
33723         [C99-based standards] (clgamma): Likewise.
33724         [C99-based standards] (ctgamma): Likewise.
33725         [C99-based standards] (cerff): Likewise.
33726         [C99-based standards] (cerfcf): Likewise.
33727         [C99-based standards] (cexp2f): Likewise.
33728         [C99-based standards] (cexpm1f): Likewise.
33729         [C99-based standards] (clog10f): Likewise.
33730         [C99-based standards] (clog1pf): Likewise.
33731         [C99-based standards] (clog2f): Likewise.
33732         [C99-based standards] (clgammaf): Likewise.
33733         [C99-based standards] (ctgammaf): Likewise.
33734         [C99-based standards] (cerfl): Likewise.
33735         [C99-based standards] (cerfcl): Likewise.
33736         [C99-based standards] (cexp2l): Likewise.
33737         [C99-based standards] (cexpm1l): Likewise.
33738         [C99-based standards] (clog10l): Likewise.
33739         [C99-based standards] (clog1pl): Likewise.
33740         [C99-based standards] (clog2l): Likewise.
33741         [C99-based standards] (clgammal): Likewise.
33742         [C99-based standards] (ctgammal): Likewise.
33743         * conform/data/inttypes.h-data [C99-based standards]: Include
33744         stdint.h-data.  Remove all expectations for stdint.h contents.
33745         [C99-based standards] (PRI*): Do not allow.
33746         [C99-based standards] (SCN*): Likewise.
33747         [C99-based standards] (*_t): Likewise.
33748         [C99-based-standards] (PRId8): Expect macro.
33749         [C99-based-standards] (PRIi8): Likewise.
33750         [C99-based-standards] (PRIo8): Likewise.
33751         [C99-based-standards] (PRIu8): Likewise.
33752         [C99-based-standards] (PRIx8): Likewise.
33753         [C99-based-standards] (PRIX8): Likewise.
33754         [C99-based-standards] (SCNd8): Likewise.
33755         [C99-based-standards] (SCNi8): Likewise.
33756         [C99-based-standards] (SCNo8): Likewise.
33757         [C99-based-standards] (SCNu8): Likewise.
33758         [C99-based-standards] (SCNx8): Likewise.
33759         [C99-based-standards] (PRIdLEAST8): Likewise.
33760         [C99-based-standards] (PRIiLEAST8): Likewise.
33761         [C99-based-standards] (PRIoLEAST8): Likewise.
33762         [C99-based-standards] (PRIuLEAST8): Likewise.
33763         [C99-based-standards] (PRIxLEAST8): Likewise.
33764         [C99-based-standards] (PRIXLEAST8): Likewise.
33765         [C99-based-standards] (SCNdLEAST8): Likewise.
33766         [C99-based-standards] (SCNiLEAST8): Likewise.
33767         [C99-based-standards] (SCNoLEAST8): Likewise.
33768         [C99-based-standards] (SCNuLEAST8): Likewise.
33769         [C99-based-standards] (SCNxLEAST8): Likewise.
33770         [C99-based-standards] (PRIdFAST8): Likewise.
33771         [C99-based-standards] (PRIiFAST8): Likewise.
33772         [C99-based-standards] (PRIoFAST8): Likewise.
33773         [C99-based-standards] (PRIuFAST8): Likewise.
33774         [C99-based-standards] (PRIxFAST8): Likewise.
33775         [C99-based-standards] (PRIXFAST8): Likewise.
33776         [C99-based-standards] (SCNdFAST8): Likewise.
33777         [C99-based-standards] (SCNiFAST8): Likewise.
33778         [C99-based-standards] (SCNoFAST8): Likewise.
33779         [C99-based-standards] (SCNuFAST8): Likewise.
33780         [C99-based-standards] (SCNxFAST8): Likewise.
33781         [C99-based-standards] (PRId16): Likewise.
33782         [C99-based-standards] (PRIi16): Likewise.
33783         [C99-based-standards] (PRIo16): Likewise.
33784         [C99-based-standards] (PRIu16): Likewise.
33785         [C99-based-standards] (PRIx16): Likewise.
33786         [C99-based-standards] (PRIX16): Likewise.
33787         [C99-based-standards] (SCNd16): Likewise.
33788         [C99-based-standards] (SCNi16): Likewise.
33789         [C99-based-standards] (SCNo16): Likewise.
33790         [C99-based-standards] (SCNu16): Likewise.
33791         [C99-based-standards] (SCNx16): Likewise.
33792         [C99-based-standards] (PRIdLEAST16): Likewise.
33793         [C99-based-standards] (PRIiLEAST16): Likewise.
33794         [C99-based-standards] (PRIoLEAST16): Likewise.
33795         [C99-based-standards] (PRIuLEAST16): Likewise.
33796         [C99-based-standards] (PRIxLEAST16): Likewise.
33797         [C99-based-standards] (PRIXLEAST16): Likewise.
33798         [C99-based-standards] (SCNdLEAST16): Likewise.
33799         [C99-based-standards] (SCNiLEAST16): Likewise.
33800         [C99-based-standards] (SCNoLEAST16): Likewise.
33801         [C99-based-standards] (SCNuLEAST16): Likewise.
33802         [C99-based-standards] (SCNxLEAST16): Likewise.
33803         [C99-based-standards] (PRIdFAST16): Likewise.
33804         [C99-based-standards] (PRIiFAST16): Likewise.
33805         [C99-based-standards] (PRIoFAST16): Likewise.
33806         [C99-based-standards] (PRIuFAST16): Likewise.
33807         [C99-based-standards] (PRIxFAST16): Likewise.
33808         [C99-based-standards] (PRIXFAST16): Likewise.
33809         [C99-based-standards] (SCNdFAST16): Likewise.
33810         [C99-based-standards] (SCNiFAST16): Likewise.
33811         [C99-based-standards] (SCNoFAST16): Likewise.
33812         [C99-based-standards] (SCNuFAST16): Likewise.
33813         [C99-based-standards] (SCNxFAST16): Likewise.
33814         [C99-based-standards] (PRId32): Likewise.
33815         [C99-based-standards] (PRIi32): Likewise.
33816         [C99-based-standards] (PRIo32): Likewise.
33817         [C99-based-standards] (PRIu32): Likewise.
33818         [C99-based-standards] (PRIx32): Likewise.
33819         [C99-based-standards] (PRIX32): Likewise.
33820         [C99-based-standards] (SCNd32): Likewise.
33821         [C99-based-standards] (SCNi32): Likewise.
33822         [C99-based-standards] (SCNo32): Likewise.
33823         [C99-based-standards] (SCNu32): Likewise.
33824         [C99-based-standards] (SCNx32): Likewise.
33825         [C99-based-standards] (PRIdLEAST32): Likewise.
33826         [C99-based-standards] (PRIiLEAST32): Likewise.
33827         [C99-based-standards] (PRIoLEAST32): Likewise.
33828         [C99-based-standards] (PRIuLEAST32): Likewise.
33829         [C99-based-standards] (PRIxLEAST32): Likewise.
33830         [C99-based-standards] (PRIXLEAST32): Likewise.
33831         [C99-based-standards] (SCNdLEAST32): Likewise.
33832         [C99-based-standards] (SCNiLEAST32): Likewise.
33833         [C99-based-standards] (SCNoLEAST32): Likewise.
33834         [C99-based-standards] (SCNuLEAST32): Likewise.
33835         [C99-based-standards] (SCNxLEAST32): Likewise.
33836         [C99-based-standards] (PRIdFAST32): Likewise.
33837         [C99-based-standards] (PRIiFAST32): Likewise.
33838         [C99-based-standards] (PRIoFAST32): Likewise.
33839         [C99-based-standards] (PRIuFAST32): Likewise.
33840         [C99-based-standards] (PRIxFAST32): Likewise.
33841         [C99-based-standards] (PRIXFAST32): Likewise.
33842         [C99-based-standards] (SCNdFAST32): Likewise.
33843         [C99-based-standards] (SCNiFAST32): Likewise.
33844         [C99-based-standards] (SCNoFAST32): Likewise.
33845         [C99-based-standards] (SCNuFAST32): Likewise.
33846         [C99-based-standards] (SCNxFAST32): Likewise.
33847         [C99-based-standards] (PRId64): Likewise.
33848         [C99-based-standards] (PRIi64): Likewise.
33849         [C99-based-standards] (PRIo64): Likewise.
33850         [C99-based-standards] (PRIu64): Likewise.
33851         [C99-based-standards] (PRIx64): Likewise.
33852         [C99-based-standards] (PRIX64): Likewise.
33853         [C99-based-standards] (SCNd64): Likewise.
33854         [C99-based-standards] (SCNi64): Likewise.
33855         [C99-based-standards] (SCNo64): Likewise.
33856         [C99-based-standards] (SCNu64): Likewise.
33857         [C99-based-standards] (SCNx64): Likewise.
33858         [C99-based-standards] (PRIdLEAST64): Likewise.
33859         [C99-based-standards] (PRIiLEAST64): Likewise.
33860         [C99-based-standards] (PRIoLEAST64): Likewise.
33861         [C99-based-standards] (PRIuLEAST64): Likewise.
33862         [C99-based-standards] (PRIxLEAST64): Likewise.
33863         [C99-based-standards] (PRIXLEAST64): Likewise.
33864         [C99-based-standards] (SCNdLEAST64): Likewise.
33865         [C99-based-standards] (SCNiLEAST64): Likewise.
33866         [C99-based-standards] (SCNoLEAST64): Likewise.
33867         [C99-based-standards] (SCNuLEAST64): Likewise.
33868         [C99-based-standards] (SCNxLEAST64): Likewise.
33869         [C99-based-standards] (PRIdFAST64): Likewise.
33870         [C99-based-standards] (PRIiFAST64): Likewise.
33871         [C99-based-standards] (PRIoFAST64): Likewise.
33872         [C99-based-standards] (PRIuFAST64): Likewise.
33873         [C99-based-standards] (PRIxFAST64): Likewise.
33874         [C99-based-standards] (PRIXFAST64): Likewise.
33875         [C99-based-standards] (SCNdFAST64): Likewise.
33876         [C99-based-standards] (SCNiFAST64): Likewise.
33877         [C99-based-standards] (SCNoFAST64): Likewise.
33878         [C99-based-standards] (SCNuFAST64): Likewise.
33879         [C99-based-standards] (SCNxFAST64): Likewise.
33880         [C99-based-standards] (PRIdMAX): Likewise.
33881         [C99-based-standards] (PRIiMAX): Likewise.
33882         [C99-based-standards] (PRIoMAX): Likewise.
33883         [C99-based-standards] (PRIuMAX): Likewise.
33884         [C99-based-standards] (PRIxMAX): Likewise.
33885         [C99-based-standards] (PRIXMAX): Likewise.
33886         [C99-based-standards] (SCNdMAX): Likewise.
33887         [C99-based-standards] (SCNiMAX): Likewise.
33888         [C99-based-standards] (SCNoMAX): Likewise.
33889         [C99-based-standards] (SCNuMAX): Likewise.
33890         [C99-based-standards] (SCNxMAX): Likewise.
33891         [C99-based-standards] (PRIdPTR): Likewise.
33892         [C99-based-standards] (PRIiPTR): Likewise.
33893         [C99-based-standards] (PRIoPTR): Likewise.
33894         [C99-based-standards] (PRIuPTR): Likewise.
33895         [C99-based-standards] (PRIxPTR): Likewise.
33896         [C99-based-standards] (PRIXPTR): Likewise.
33897         [C99-based-standards] (SCNdPTR): Likewise.
33898         [C99-based-standards] (SCNiPTR): Likewise.
33899         [C99-based-standards] (SCNoPTR): Likewise.
33900         [C99-based-standards] (SCNuPTR): Likewise.
33901         [C99-based-standards] (SCNxPTR): Likewise.
33902         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33903         allow.
33904         * conform/data/stdint.h-data: Update comments to clarify
33905         requirements.
33906         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33907         type.
33908         [C99-based standards] (INT8_MAX): Likewise.
33909         [C99-based standards] (INT16_MIN): Likewise.
33910         [C99-based standards] (INT16_MAX): Likewise.
33911         [C99-based standards] (INT32_MIN): Likewise.
33912         [C99-based standards] (INT32_MAX): Likewise.
33913         [C99-based standards] (INT64_MIN): Likewise.
33914         [C99-based standards] (INT64_MAX): Likewise.
33915         [C99-based standards] (UINT8_MAX): Likewise.
33916         [C99-based standards] (UINT16_MAX): Likewise.
33917         [C99-based standards] (UINT32_MAX): Likewise.
33918         [C99-based standards] (UINT64_MAX): Likewise.
33919         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33920         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33921         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33922         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33923         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33924         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33925         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33926         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33927         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33928         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33929         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33930         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33931         [C99-based standards] (INT_FAST8_MIN): Likewise.
33932         [C99-based standards] (INT_FAST8_MAX): Likewise.
33933         [C99-based standards] (INT_FAST16_MIN): Likewise.
33934         [C99-based standards] (INT_FAST16_MAX): Likewise.
33935         [C99-based standards] (INT_FAST32_MIN): Likewise.
33936         [C99-based standards] (INT_FAST32_MAX): Likewise.
33937         [C99-based standards] (INT_FAST64_MIN): Likewise.
33938         [C99-based standards] (INT_FAST64_MAX): Likewise.
33939         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33940         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33941         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33942         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33943         [C99-based standards] (INTPTR_MIN): Likewise.
33944         [C99-based standards] (INTPTR_MAX): Likewise.
33945         [C99-based standards] (UINTPTR_MAX): Likewise.
33946         [C99-based standards] (INTMAX_MIN): Likewise.
33947         [C99-based standards] (INTMAX_MAX): Likewise.
33948         [C99-based standards] (UINTMAX_MAX): Likewise.
33949         [C99-based standards] (PTRDIFF_MIN): Likewise.
33950         [C99-based standards] (PTRDIFF_MAX): Likewise.
33951         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33952         [C99-based standards] (SIZE_MAX): Likewise.
33953         [C99-based standards] (WCHAR_MAX): Likewise.
33954         [C99-based standards] (WINT_MAX): Likewise.
33955         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33956         constraint on value.
33957         [C99-based standards] (WCHAR_MIN): Likewise.
33958         [C99-based standards] (WINT_MIN): Likewise.
33959         [C99-based standards] (*_t): Allow.
33960         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33961         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33962         Include math.h-data and complex.h-data.  Remove all expectations
33963         of math.h and complex.h contents.
33964         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33965         at end of line.
33966         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33967         (struct tm): Expect tag.
33968         [C99-based-standards] (wcstof): Expect function.
33969         [C99-based-standards] (wcstold): Likewise.
33970         [C99-based-standards] (wcstoll): Likewise.
33971         [C99-based-standards] (wcstoull): Likewise.
33972         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33973         macro-int-constant.  Specify type.
33974         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33975         constraint on value.
33976         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33977         Specify type.
33978         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33979         Specify value.
33980         [ISO C standards]: Do not allow headers.
33981         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33982         wcs[abcdefghijklmnopqrstuvwxyz]*.
33983         [ISO C standards] (*_t): Do not allow.
33984         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33985         Expect function.
33986         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33987         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33988         Specify type.
33989         [ISO C standards]: Do not allow headers.
33990         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33991         is[abcdefghijklmnopqrstuvwxyz]*.
33992         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33993         to[abcdefghijklmnopqrstuvwxyz]*.
33994         [ISO C standards] (*_t): Do not allow.
33995         * conform/data/stdalign.h-data: New file.
33996         * conform/data/stdbool.h-data: Likewise.
33997         * conform/data/stdnoreturn.h-data: Likewise.
33998
33999 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34000
34001         [BZ #14815]
34002         * manual/filesys.texi (Directory Entries): Typo fix.
34003         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34004
34005 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34006
34007         * elf/elf.h (EM_AARCH64): New macro.
34008         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34009         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34010         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34011         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34012         (R_AARCH64_TLSDESC): Likewise.
34013         (NT_ARM_TLS): Likewise.
34014         (NT_ARM_HW_BREAK): Likewise.
34015         (NT_ARM_HW_WATCH): Likewise.
34016
34017 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34018
34019         [BZ #14811]
34020         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34021         (__ieee754_powl): Saturate nonzero exponents with absolute value
34022         below 0x1p-79 to +/- 0x1p-79.
34023         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34024         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34025         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34026         nonzero exponents with absolute value below 0x1p-32 to +/-
34027         0x1p-32.
34028         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34029         (__ieee754_powl): Saturate nonzero exponents with absolute value
34030         below 0x1p-79 to +/- 0x1p-79.
34031         * math/libm-test.inc (pow_test): Add more tests.
34032
34033 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34034
34035         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34036         _dl_s390_cap_flags with kernel. Increase string length.
34037         (_dl_s390_platforms): Add z196 and zEC12.
34038
34039 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34040
34041         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34042         Change XOPEN21K to XOPEN2K.
34043
34044 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34045
34046         * string/memmove.c: Use memcpy when possible.
34047
34048 2012-11-06  Andreas Jaeger  <aj@suse.de>
34049
34050         * po/eo.po: Update from translation team.
34051
34052 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34053
34054         [BZ #14793]
34055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34056         exponent and small x and y exponents, scale x or y up.  Increase
34057         by 2 the exponent used in scaling up.
34058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34060         * math/libm-test.inc (fma_test): Add more tests.
34061         (fma_test_towardzero): Likewise.
34062         (fma_test_downward): Likewise.
34063         (fma_test_upward): Likewise.
34064
34065 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34066
34067         [BZ #14805]
34068         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34069         fenv_t *.
34070
34071         [BZ #14801]
34072         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34073         namespace for names of struct fields.
34074         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34075         fenv_t fields.
34076         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34077         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34078
34079 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34080
34081         [BZ #3665]
34082         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34083
34084 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34085
34086         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34087         PTR_DEMANGLE.
34088
34089         [BZ #5246]
34090         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34091         PTR_DEMANGLE.
34092
34093 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34094
34095         [BZ #14797]
34096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34097         definitely overflow as x * y not x * y + z.
34098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34099         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34100         * math/libm-test.inc (fma_test): Add more tests.
34101         (fma_test_towardzero): Likewise.
34102         (fma_test_downward): Likewise.
34103         (fma_test_upward): Likewise.
34104
34105 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34106
34107         [BZ #157]
34108
34109         * include/stub-tag.h: Remove file.
34110         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34111         '#include' of it.
34112         * manual/maint.texi (Porting): Don't reference it.
34113         * Makerules ($(objpfx)stubs): Likewise.
34114         * dirent/closedir.c: Don't include <stub-tag.h>.
34115         * dirent/dirfd.c: Likewise.
34116         * dirent/fdopendir.c: Likewise.
34117         * dirent/getdents.c: Likewise.
34118         * dirent/getdents64.c: Likewise.
34119         * dirent/opendir.c: Likewise.
34120         * dirent/readdir.c: Likewise.
34121         * dirent/readdir64.c: Likewise.
34122         * dirent/readdir64_r.c: Likewise.
34123         * dirent/readdir_r.c: Likewise.
34124         * dirent/rewinddir.c: Likewise.
34125         * dirent/seekdir.c: Likewise.
34126         * dirent/telldir.c: Likewise.
34127         * gmon/profil.c: Likewise.
34128         * grp/setgroups.c: Likewise.
34129         * inet/if_index.c: Likewise.
34130         * io/access.c: Likewise.
34131         * io/chdir.c: Likewise.
34132         * io/chmod.c: Likewise.
34133         * io/chown.c: Likewise.
34134         * io/close.c: Likewise.
34135         * io/dup.c: Likewise.
34136         * io/dup2.c: Likewise.
34137         * io/dup3.c: Likewise.
34138         * io/euidaccess.c: Likewise.
34139         * io/faccessat.c: Likewise.
34140         * io/fchdir.c: Likewise.
34141         * io/fchmod.c: Likewise.
34142         * io/fchmodat.c: Likewise.
34143         * io/fchown.c: Likewise.
34144         * io/fchownat.c: Likewise.
34145         * io/fcntl.c: Likewise.
34146         * io/flock.c: Likewise.
34147         * io/fstatfs.c: Likewise.
34148         * io/fstatfs64.c: Likewise.
34149         * io/fstatvfs.c: Likewise.
34150         * io/fstatvfs64.c: Likewise.
34151         * io/futimens.c: Likewise.
34152         * io/fxstat.c: Likewise.
34153         * io/fxstat64.c: Likewise.
34154         * io/fxstatat.c: Likewise.
34155         * io/fxstatat64.c: Likewise.
34156         * io/getcwd.c: Likewise.
34157         * io/isatty.c: Likewise.
34158         * io/lchmod.c: Likewise.
34159         * io/lchown.c: Likewise.
34160         * io/link.c: Likewise.
34161         * io/linkat.c: Likewise.
34162         * io/lseek.c: Likewise.
34163         * io/lseek64.c: Likewise.
34164         * io/lxstat64.c: Likewise.
34165         * io/mkdir.c: Likewise.
34166         * io/mkdirat.c: Likewise.
34167         * io/mkfifo.c: Likewise.
34168         * io/mkfifoat.c: Likewise.
34169         * io/open.c: Likewise.
34170         * io/open64.c: Likewise.
34171         * io/openat.c: Likewise.
34172         * io/openat64.c: Likewise.
34173         * io/pipe.c: Likewise.
34174         * io/pipe2.c: Likewise.
34175         * io/poll.c: Likewise.
34176         * io/posix_fadvise.c: Likewise.
34177         * io/posix_fadvise64.c: Likewise.
34178         * io/posix_fallocate.c: Likewise.
34179         * io/posix_fallocate64.c: Likewise.
34180         * io/read.c: Likewise.
34181         * io/readlink.c: Likewise.
34182         * io/readlinkat.c: Likewise.
34183         * io/rmdir.c: Likewise.
34184         * io/sendfile.c: Likewise.
34185         * io/sendfile64.c: Likewise.
34186         * io/statfs.c: Likewise.
34187         * io/statfs64.c: Likewise.
34188         * io/statvfs.c: Likewise.
34189         * io/statvfs64.c: Likewise.
34190         * io/symlink.c: Likewise.
34191         * io/symlinkat.c: Likewise.
34192         * io/ttyname.c: Likewise.
34193         * io/ttyname_r.c: Likewise.
34194         * io/umask.c: Likewise.
34195         * io/unlink.c: Likewise.
34196         * io/unlinkat.c: Likewise.
34197         * io/utime.c: Likewise.
34198         * io/utimensat.c: Likewise.
34199         * io/write.c: Likewise.
34200         * io/xmknod.c: Likewise.
34201         * io/xmknodat.c: Likewise.
34202         * io/xstat.c: Likewise.
34203         * io/xstat64.c: Likewise.
34204         * login/getpt.c: Likewise.
34205         * login/grantpt.c: Likewise.
34206         * login/unlockpt.c: Likewise.
34207         * math/e_acoshl.c: Likewise.
34208         * math/e_acosl.c: Likewise.
34209         * math/e_asinl.c: Likewise.
34210         * math/e_atan2l.c: Likewise.
34211         * math/e_atanhl.c: Likewise.
34212         * math/e_coshl.c: Likewise.
34213         * math/e_expl.c: Likewise.
34214         * math/e_fmodl.c: Likewise.
34215         * math/e_gammal_r.c: Likewise.
34216         * math/e_hypotl.c: Likewise.
34217         * math/e_j0l.c: Likewise.
34218         * math/e_j1l.c: Likewise.
34219         * math/e_jnl.c: Likewise.
34220         * math/e_lgammal_r.c: Likewise.
34221         * math/e_log10l.c: Likewise.
34222         * math/e_log2l.c: Likewise.
34223         * math/e_logl.c: Likewise.
34224         * math/e_powl.c: Likewise.
34225         * math/e_rem_pio2l.c: Likewise.
34226         * math/e_sinhl.c: Likewise.
34227         * math/e_sqrtl.c: Likewise.
34228         * math/fclrexcpt.c: Likewise.
34229         * math/fedisblxcpt.c: Likewise.
34230         * math/feenablxcpt.c: Likewise.
34231         * math/fegetenv.c: Likewise.
34232         * math/fegetexcept.c: Likewise.
34233         * math/fegetround.c: Likewise.
34234         * math/feholdexcpt.c: Likewise.
34235         * math/fesetenv.c: Likewise.
34236         * math/fesetround.c: Likewise.
34237         * math/feupdateenv.c: Likewise.
34238         * math/fgetexcptflg.c: Likewise.
34239         * math/fraiseexcpt.c: Likewise.
34240         * math/fsetexcptflg.c: Likewise.
34241         * math/ftestexcept.c: Likewise.
34242         * math/k_cosl.c: Likewise.
34243         * math/k_rem_pio2l.c: Likewise.
34244         * math/k_sinl.c: Likewise.
34245         * math/k_tanl.c: Likewise.
34246         * math/s_asinhl.c: Likewise.
34247         * math/s_atanl.c: Likewise.
34248         * math/s_cbrtl.c: Likewise.
34249         * math/s_erfl.c: Likewise.
34250         * math/s_expm1l.c: Likewise.
34251         * math/s_log1pl.c: Likewise.
34252         * math/s_tanhl.c: Likewise.
34253         * misc/acct.c: Likewise.
34254         * misc/brk.c: Likewise.
34255         * misc/chflags.c: Likewise.
34256         * misc/chroot.c: Likewise.
34257         * misc/fchflags.c: Likewise.
34258         * misc/fgetxattr.c: Likewise.
34259         * misc/flistxattr.c: Likewise.
34260         * misc/fremovexattr.c: Likewise.
34261         * misc/fsetxattr.c: Likewise.
34262         * misc/fsync.c: Likewise.
34263         * misc/ftruncate.c: Likewise.
34264         * misc/futimes.c: Likewise.
34265         * misc/futimesat.c: Likewise.
34266         * misc/getdomain.c: Likewise.
34267         * misc/getdtsz.c: Likewise.
34268         * misc/gethostid.c: Likewise.
34269         * misc/gethostname.c: Likewise.
34270         * misc/getloadavg.c: Likewise.
34271         * misc/getpagesize.c: Likewise.
34272         * misc/getsysstats.c: Likewise.
34273         * misc/getxattr.c: Likewise.
34274         * misc/gtty.c: Likewise.
34275         * misc/ioctl.c: Likewise.
34276         * misc/lgetxattr.c: Likewise.
34277         * misc/listxattr.c: Likewise.
34278         * misc/llistxattr.c: Likewise.
34279         * misc/lremovexattr.c: Likewise.
34280         * misc/lsetxattr.c: Likewise.
34281         * misc/lutimes.c: Likewise.
34282         * misc/madvise.c: Likewise.
34283         * misc/mincore.c: Likewise.
34284         * misc/mlock.c: Likewise.
34285         * misc/mlockall.c: Likewise.
34286         * misc/mmap.c: Likewise.
34287         * misc/mprotect.c: Likewise.
34288         * misc/msync.c: Likewise.
34289         * misc/munlock.c: Likewise.
34290         * misc/munlockall.c: Likewise.
34291         * misc/munmap.c: Likewise.
34292         * misc/preadv.c: Likewise.
34293         * misc/preadv64.c: Likewise.
34294         * misc/ptrace.c: Likewise.
34295         * misc/pwritev.c: Likewise.
34296         * misc/pwritev64.c: Likewise.
34297         * misc/readv.c: Likewise.
34298         * misc/reboot.c: Likewise.
34299         * misc/remap_file_pages.c: Likewise.
34300         * misc/removexattr.c: Likewise.
34301         * misc/revoke.c: Likewise.
34302         * misc/select.c: Likewise.
34303         * misc/setdomain.c: Likewise.
34304         * misc/setegid.c: Likewise.
34305         * misc/seteuid.c: Likewise.
34306         * misc/sethostid.c: Likewise.
34307         * misc/sethostname.c: Likewise.
34308         * misc/setregid.c: Likewise.
34309         * misc/setreuid.c: Likewise.
34310         * misc/setxattr.c: Likewise.
34311         * misc/sstk.c: Likewise.
34312         * misc/stty.c: Likewise.
34313         * misc/swapoff.c: Likewise.
34314         * misc/swapon.c: Likewise.
34315         * misc/sync.c: Likewise.
34316         * misc/syncfs.c: Likewise.
34317         * misc/syscall.c: Likewise.
34318         * misc/truncate.c: Likewise.
34319         * misc/ualarm.c: Likewise.
34320         * misc/usleep.c: Likewise.
34321         * misc/ustat.c: Likewise.
34322         * misc/utimes.c: Likewise.
34323         * misc/vhangup.c: Likewise.
34324         * misc/writev.c: Likewise.
34325         * posix/_exit.c: Likewise.
34326         * posix/alarm.c: Likewise.
34327         * posix/execve.c: Likewise.
34328         * posix/fexecve.c: Likewise.
34329         * posix/fork.c: Likewise.
34330         * posix/fpathconf.c: Likewise.
34331         * posix/getaddrinfo.c: Likewise.
34332         * posix/getegid.c: Likewise.
34333         * posix/geteuid.c: Likewise.
34334         * posix/getgid.c: Likewise.
34335         * posix/getgroups.c: Likewise.
34336         * posix/getlogin.c: Likewise.
34337         * posix/getlogin_r.c: Likewise.
34338         * posix/getpgid.c: Likewise.
34339         * posix/getpid.c: Likewise.
34340         * posix/getppid.c: Likewise.
34341         * posix/getresgid.c: Likewise.
34342         * posix/getresuid.c: Likewise.
34343         * posix/getsid.c: Likewise.
34344         * posix/getuid.c: Likewise.
34345         * posix/glob64.c: Likewise.
34346         * posix/nanosleep.c: Likewise.
34347         * posix/pathconf.c: Likewise.
34348         * posix/pause.c: Likewise.
34349         * posix/posix_madvise.c: Likewise.
34350         * posix/pread.c: Likewise.
34351         * posix/pread64.c: Likewise.
34352         * posix/pwrite.c: Likewise.
34353         * posix/pwrite64.c: Likewise.
34354         * posix/sched_getaffinity.c: Likewise.
34355         * posix/sched_getp.c: Likewise.
34356         * posix/sched_gets.c: Likewise.
34357         * posix/sched_primax.c: Likewise.
34358         * posix/sched_primin.c: Likewise.
34359         * posix/sched_rr_gi.c: Likewise.
34360         * posix/sched_setaffinity.c: Likewise.
34361         * posix/sched_setp.c: Likewise.
34362         * posix/sched_sets.c: Likewise.
34363         * posix/sched_yield.c: Likewise.
34364         * posix/setgid.c: Likewise.
34365         * posix/setlogin.c: Likewise.
34366         * posix/setpgid.c: Likewise.
34367         * posix/setresgid.c: Likewise.
34368         * posix/setresuid.c: Likewise.
34369         * posix/setsid.c: Likewise.
34370         * posix/setuid.c: Likewise.
34371         * posix/sleep.c: Likewise.
34372         * posix/spawni.c: Likewise.
34373         * posix/sysconf.c: Likewise.
34374         * posix/times.c: Likewise.
34375         * posix/wait.c: Likewise.
34376         * posix/wait3.c: Likewise.
34377         * posix/wait4.c: Likewise.
34378         * posix/waitpid.c: Likewise.
34379         * resolv/gai_sigqueue.c: Likewise.
34380         * resource/getpriority.c: Likewise.
34381         * resource/getrlimit.c: Likewise.
34382         * resource/getrusage.c: Likewise.
34383         * resource/nice.c: Likewise.
34384         * resource/setpriority.c: Likewise.
34385         * resource/setrlimit.c: Likewise.
34386         * resource/ulimit.c: Likewise.
34387         * rt/aio_cancel.c: Likewise.
34388         * rt/aio_fsync.c: Likewise.
34389         * rt/aio_read.c: Likewise.
34390         * rt/aio_sigqueue.c: Likewise.
34391         * rt/aio_suspend.c: Likewise.
34392         * rt/aio_write.c: Likewise.
34393         * rt/clock_getres.c: Likewise.
34394         * rt/clock_gettime.c: Likewise.
34395         * rt/clock_nanosleep.c: Likewise.
34396         * rt/clock_settime.c: Likewise.
34397         * rt/lio_listio.c: Likewise.
34398         * rt/mq_close.c: Likewise.
34399         * rt/mq_getattr.c: Likewise.
34400         * rt/mq_notify.c: Likewise.
34401         * rt/mq_open.c: Likewise.
34402         * rt/mq_receive.c: Likewise.
34403         * rt/mq_send.c: Likewise.
34404         * rt/mq_setattr.c: Likewise.
34405         * rt/mq_timedreceive.c: Likewise.
34406         * rt/mq_timedsend.c: Likewise.
34407         * rt/mq_unlink.c: Likewise.
34408         * rt/shm_open.c: Likewise.
34409         * rt/shm_unlink.c: Likewise.
34410         * rt/timer_create.c: Likewise.
34411         * rt/timer_delete.c: Likewise.
34412         * rt/timer_getoverr.c: Likewise.
34413         * rt/timer_gettime.c: Likewise.
34414         * rt/timer_settime.c: Likewise.
34415         * setjmp/__longjmp.c: Likewise.
34416         * setjmp/setjmp.c: Likewise.
34417         * signal/kill.c: Likewise.
34418         * signal/killpg.c: Likewise.
34419         * signal/raise.c: Likewise.
34420         * signal/sigaction.c: Likewise.
34421         * signal/sigaltstack.c: Likewise.
34422         * signal/sigblock.c: Likewise.
34423         * signal/sigignore.c: Likewise.
34424         * signal/sigintr.c: Likewise.
34425         * signal/signal.c: Likewise.
34426         * signal/sigpause.c: Likewise.
34427         * signal/sigpending.c: Likewise.
34428         * signal/sigqueue.c: Likewise.
34429         * signal/sigreturn.c: Likewise.
34430         * signal/sigset.c: Likewise.
34431         * signal/sigsetmask.c: Likewise.
34432         * signal/sigstack.c: Likewise.
34433         * signal/sigsuspend.c: Likewise.
34434         * signal/sigtimedwait.c: Likewise.
34435         * signal/sigvec.c: Likewise.
34436         * signal/sigwait.c: Likewise.
34437         * signal/sigwaitinfo.c: Likewise.
34438         * signal/sysv_signal.c: Likewise.
34439         * socket/accept.c: Likewise.
34440         * socket/accept4.c: Likewise.
34441         * socket/bind.c: Likewise.
34442         * socket/connect.c: Likewise.
34443         * socket/getpeername.c: Likewise.
34444         * socket/getsockname.c: Likewise.
34445         * socket/getsockopt.c: Likewise.
34446         * socket/isfdtype.c: Likewise.
34447         * socket/listen.c: Likewise.
34448         * socket/recv.c: Likewise.
34449         * socket/recvfrom.c: Likewise.
34450         * socket/recvmsg.c: Likewise.
34451         * socket/send.c: Likewise.
34452         * socket/sendmsg.c: Likewise.
34453         * socket/sendto.c: Likewise.
34454         * socket/setsockopt.c: Likewise.
34455         * socket/shutdown.c: Likewise.
34456         * socket/sockatmark.c: Likewise.
34457         * socket/socket.c: Likewise.
34458         * socket/socketpair.c: Likewise.
34459         * stdio-common/ctermid.c: Likewise.
34460         * stdio-common/cuserid.c: Likewise.
34461         * stdio-common/remove.c: Likewise.
34462         * stdio-common/rename.c: Likewise.
34463         * stdio-common/renameat.c: Likewise.
34464         * stdio-common/tempname.c: Likewise.
34465         * stdlib/getcontext.c: Likewise.
34466         * stdlib/makecontext.c: Likewise.
34467         * stdlib/setcontext.c: Likewise.
34468         * stdlib/swapcontext.c: Likewise.
34469         * stdlib/system.c: Likewise.
34470         * streams/fattach.c: Likewise.
34471         * streams/fdetach.c: Likewise.
34472         * streams/getmsg.c: Likewise.
34473         * streams/getpmsg.c: Likewise.
34474         * streams/putmsg.c: Likewise.
34475         * streams/putpmsg.c: Likewise.
34476         * sysdeps/unix/bsd/getpt.c: Likewise.
34477         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34478         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34479         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34481         Likewise.
34482         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34483         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34484         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34485         * sysvipc/msgctl.c: Likewise.
34486         * sysvipc/msgget.c: Likewise.
34487         * sysvipc/msgrcv.c: Likewise.
34488         * sysvipc/msgsnd.c: Likewise.
34489         * sysvipc/semctl.c: Likewise.
34490         * sysvipc/semget.c: Likewise.
34491         * sysvipc/semop.c: Likewise.
34492         * sysvipc/semtimedop.c: Likewise.
34493         * sysvipc/shmat.c: Likewise.
34494         * sysvipc/shmctl.c: Likewise.
34495         * sysvipc/shmdt.c: Likewise.
34496         * sysvipc/shmget.c: Likewise.
34497         * termios/tcdrain.c: Likewise.
34498         * termios/tcflow.c: Likewise.
34499         * termios/tcflush.c: Likewise.
34500         * termios/tcgetattr.c: Likewise.
34501         * termios/tcgetpgrp.c: Likewise.
34502         * termios/tcsendbrk.c: Likewise.
34503         * termios/tcsetattr.c: Likewise.
34504         * termios/tcsetpgrp.c: Likewise.
34505         * time/adjtime.c: Likewise.
34506         * time/clock.c: Likewise.
34507         * time/getitimer.c: Likewise.
34508         * time/gettimeofday.c: Likewise.
34509         * time/setitimer.c: Likewise.
34510         * time/settimeofday.c: Likewise.
34511         * time/stime.c: Likewise.
34512         * time/time.c: Likewise.
34513
34514 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34515
34516         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34517         /usr/old/bin.
34518
34519         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34520         instead of spaces.
34521         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34522
34523 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34524
34525         [BZ #14796]
34526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34527         FE_TONEAREST before applying Dekker multiplication and Knuth
34528         addition.  Clear inexact exceptions and check for exact zero
34529         results afterwards.
34530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34531         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34533         * math/libm-test.inc (fma_test): Add more tests.
34534         (fma_test_towardzero): Likewise.
34535         (fma_test_downward): Likewise.
34536         (fma_test_upward): Likewise.
34537         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34538         function.
34539         (libc_fesetround): New macro.
34540         (libc_fesetroundf): Likewise.
34541         (libc_fesetroundl): Likewise.
34542         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34543         function.
34544         (libc_fesetround_387): Likewise.
34545         (libc_fesetroundf): New macro.
34546         (libc_fesetround): Likewise.
34547         (libc_fesetroundl): Likewise.
34548         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34549         function.
34550         (libc_fesetroundf): New macro.
34551         (libc_fesetround): Likewise.
34552         (libc_fesetroundl): Likewise.
34553         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34554         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34555         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34556         libm_hidden_ver.
34557         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34558         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34559         libm_hidden_def.
34560         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34561         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34562         libm_hidden_ver.
34563         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34564         libm_hidden_def.
34565
34566         [BZ #3439]
34567         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34568         integer constant usable in #if and use that to give value to enum
34569         constant.
34570         (FE_DIVBYZERO): Likewise.
34571         (FE_UNDERFLOW): Likewise.
34572         (FE_OVERFLOW): Likewise.
34573         (FE_INVALID): Likewise.
34574         (FE_INVALID_SNAN): Likewise.
34575         (FE_INVALID_ISI): Likewise.
34576         (FE_INVALID_IDI): Likewise.
34577         (FE_INVALID_ZDZ): Likewise.
34578         (FE_INVALID_IMZ): Likewise.
34579         (FE_INVALID_COMPARE): Likewise.
34580         (FE_INVALID_SOFTWARE): Likewise.
34581         (FE_INVALID_SQRT): Likewise.
34582         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34583         (FE_TONEAREST): Likewise.
34584         (FE_TOWARDZERO): Likewise.
34585         (FE_UPWARD): Likewise.
34586         (FE_DOWNWARD): Likewise.
34587         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34588         (FE_DIVBYZERO): Likewise.
34589         (FE_OVERFLOW): Likewise.
34590         (FE_UNDERFLOW): Likewise.
34591         (FE_INEXACT): Likewise.
34592         (FE_TONEAREST): Likewise.
34593         (FE_DOWNWARD): Likewise.
34594         (FE_UPWARD): Likewise.
34595         (FE_TOWARDZERO): Likewise.
34596         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34597         (FE_UNDERFLOW): Likewise.
34598         (FE_OVERFLOW): Likewise.
34599         (FE_DIVBYZERO): Likewise.
34600         (FE_INVALID): Likewise.
34601         (FE_TONEAREST): Likewise.
34602         (FE_TOWARDZERO): Likewise.
34603         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34604         (FE_OVERFLOW): Likewise.
34605         (FE_UNDERFLOW): Likewise.
34606         (FE_DIVBYZERO): Likewise.
34607         (FE_INEXACT): Likewise.
34608         (FE_TONEAREST): Likewise.
34609         (FE_TOWARDZERO): Likewise.
34610         (FE_UPWARD): Likewise.
34611         (FE_DOWNWARD): Likewise.
34612         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34613         (FE_DIVBYZERO): Likewise.
34614         (FE_OVERFLOW): Likewise.
34615         (FE_UNDERFLOW): Likewise.
34616         (FE_INEXACT): Likewise.
34617         (FE_TONEAREST): Likewise.
34618         (FE_DOWNWARD): Likewise.
34619         (FE_UPWARD): Likewise.
34620         (FE_TOWARDZERO): Likewise.
34621
34622 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34623
34624         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34625
34626 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34627
34628         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34629         commands.  Quote $PWD.
34630         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34631         -x" by "export".
34632         (remove_newlines): Remove.
34633
34634 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34635
34636         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34637         * stdlib/stdlib.h (atof): Moved to ...
34638         * include/bits/stdlib-float.h: Here.  New file.
34639         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34640         * stdlib/bits/stdlib-float.h: New file.
34641         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34642         -mno-sse -mno-mmx.
34643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34644         <xmmintrin.h>.
34645
34646 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34647
34648         * conform/conformtest.pl (@headers): Add fenv.h.
34649         * conform/data/fenv.h-data: New file.
34650         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34651         include of <math/fenv.h>.
34652
34653         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34654         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34655         && !UNIX98].  Enables tests for XOPEN2K8.
34656         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34657         POSIX2008]: Likewise.
34658
34659         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34660         (struct rusage): Do not expect type or its members.
34661
34662         [BZ #3439]
34663         * math/math.h (FP_NAN): Define macro to integer constant usable in
34664         #if and use that to give value to enum constant.
34665         (FP_INFINITE): Likewise.
34666         (FP_ZERO): Likewise.
34667         (FP_SUBNORMAL): Likewise.
34668         (FP_NORMAL): Likewise.
34669
34670 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34671
34672         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34673         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34674         arguments.
34675
34676 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34677
34678         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34679         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34680         autoconf-time if not.
34681         * configure.in: Remove AC_PREREQ.
34682
34683 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34684
34685         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34686         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34687         of the internal implementation.
34688
34689 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34690
34691         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34692         except include of <misc/sys/syslog.h>.
34693
34694 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34695
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34697         function returns with a NULL context exit with zero.
34698
34699 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34700
34701         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34702
34703 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34704
34705         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34706         (run_program_cmd): This.
34707         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34708         (tst_langinfo): New variable.  Use it.
34709
34710 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34711
34712         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34713         floating point opcodes.
34714
34715 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34716
34717         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34718         variable.
34719
34720         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34721
34722         * sysdeps/mach/hurd/powerpc: Remove directory.
34723         * sysdeps/mach/powerpc: Likewise.
34724
34725 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34726
34727         * scripts/check-local-headers.sh: Ignore c++ headers.
34728
34729 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34730
34731         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34732         __libc_cleanup_region_start argument.
34733
34734 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34735
34736         [BZ #14784]
34737         [BZ #14785]
34738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34739         x * y using scaling, not as x * y + z.
34740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34742         * math/libm-test.inc (fma_test): Add more tests.
34743         (fma_test_towardzero): Likewise.
34744         (fma_test_downward): Likewise.
34745         (fma_test_upward): Likewise.
34746
34747 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34748
34749         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34750
34751 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34752
34753         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34754         New variable.
34755
34756 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34757
34758         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34759
34760 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34761
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34763         Fix sort order.
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34765         Likewise.
34766
34767 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34768
34769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34770         Fix the order of the list for glibc 2.17.
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34772         Likewise.
34773
34774 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34775
34776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34777
34778 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34779
34780         [BZ #14610]
34781         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34782         for low part of x being zero before using __atanl (y).
34783         * math/libm-test.inc (atan2_test): Add another test.
34784
34785         * manual/install.texi (Configuring and compiling): Document
34786         general use of test-wrapper and test-wrapper-env.
34787         * INSTALL: Regenerated.
34788
34789         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34790         (__fma): Do not extract and scale down low bits on after-rounding
34791         systems when result rounded to normal precision would have normal
34792         exponent.
34793         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34794         (__fmal): Do not extract and scale down low bits on after-rounding
34795         systems when result rounded to normal precision would have normal
34796         exponent.
34797         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34798         (__fmal): Do not extract and scale down low bits on after-rounding
34799         systems when result rounded to normal precision would have normal
34800         exponent.
34801         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34802         macro.
34803         (fma_test): Add more tests.
34804         (fma_test_towardzero): Likewise.
34805         (fma_test_downward): Likewise.
34806         (fma_test_upward): Likewise.
34807
34808 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34809
34810         * sysdeps/i386/tininess.h: Renamed to ...
34811         * sysdeps/x86/tininess.h: This.
34812         * sysdeps/x86_64/tininess.h: Removed.
34813
34814 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34815
34816         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34817         input.  Use $(build-program-cmd).
34818         ($(objpfx)tst-array1-static.out): Likewise.
34819         ($(objpfx)tst-array2.out): Likewise.
34820         ($(objpfx)tst-array3.out): Likewise.
34821         ($(objpfx)tst-array4.out): Likewise.
34822         ($(objpfx)tst-array5.out): Likewise.
34823         ($(objpfx)tst-array5-static.out): Likewise.
34824
34825 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34826
34827         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34828         if defined.
34829
34830         * nss/nsswitch.h (nss_interface_function): Provide new
34831         macro for use with NSS functions.
34832         * grp/initgroups.c: Use new macro.
34833         * nss/getXXbyYY.c: Likewise.
34834         * nss/getXXbyYY_r.c: Likewise.
34835         * nss/getXXent.c: Likewise.
34836         * nss/getXXent_r.c: Likewise.
34837         * sysdeps/posix/getaddrinfo.c: Likewise.
34838
34839 2012-10-30  Andreas Jaeger  <aj@suse.de>
34840
34841         * po/ru.po: Update Russion translation from translation project.
34842
34843 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34844
34845         [BZ #14152]
34846         [BZ #14783]
34847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34848         result and shift together with sticky bit instead of replicating
34849         round-to-nearest rounding.
34850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34851         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34852         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34853         missing underflow exceptions.
34854         (fma_test_towardzero): Add more tests.
34855         (fma_test_downward): Likewise.
34856         (fma_test_upward): Likewise.
34857
34858         [BZ #14047]
34859         * sysdeps/generic/tininess.h: New file.
34860         * sysdeps/i386/tininess.h: Likewise.
34861         * sysdeps/sh/tininess.h: Likewise.
34862         * sysdeps/x86_64/tininess.h: Likewise.
34863         * stdlib/tst-strtod-underflow.c: Likewise.
34864         * stdlib/tst-tininess.c: Likewise.
34865         * stdlib/strtod_l.c: Include <tininess.h>.
34866         (round_and_return): Do not set errno for exact underflow cases.
34867         Force an underflow exception when setting errno for underflow.
34868         Determine underflow based on rounding to normal precision if
34869         TININESS_AFTER_ROUNDING.
34870         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34871         ERANGE for exact underflow cases.
34872         * stdlib/Makefile (tests): Add tst-tininess and
34873         tst-strtod-underflow.
34874         ($(objpfx)tst-tininess): Use $(link-libm).
34875         ($(objpfx)tst-strtod-underflow): Likewise.
34876
34877 2012-10-30  Andreas Jaeger  <aj@suse.de>
34878
34879         [BZ#14767]
34880         * elf/Makefile (tests): Remove conditional for have-initfini-array
34881         since this is now always required and the variable does not exist
34882         anymore.
34883         (tests-static): Likewise.
34884         (modules-names): Likewise.
34885
34886         * po/eo.po: Add Esperanto translation from translation project.
34887
34888         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34889         merged with constructor/destructor.
34890         (init_array): Likewise.
34891         * elf/tst-array2dep.c (fini_array): Likewise.
34892         (init_array): Likewise.
34893
34894 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34895
34896         * manual/message.texi: Delete @cartouche tags.
34897
34898 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34899
34900         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34901         EOPNOTSUPP.
34902         * sysdeps/mach/hurd/fsync.c: Likewise.
34903
34904         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34905         [_POSIX_REALTIME_SIGNALS]: Change condition to
34906         [_POSIX_REALTIME_SIGNALS > 0].
34907
34908 2012-10-27  Andreas Jaeger  <aj@suse.de>
34909
34910         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34911         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34913         [__WORDSIZE != 64]: Likewise.
34914
34915 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34916
34917         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34918         *  iconvdata/tst-tables.sh: Likewise.
34919
34920 2012-10-25  David S. Miller  <davem@davemloft.net>
34921
34922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34923         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34924         of strtoull.
34925
34926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34927         ifunc-impl-list.c
34928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34929         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34930         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34931         file.
34932
34933 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34934
34935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34936         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34937         __getdirentries.
34938
34939 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34940             Jim Blandy  <jimb@codesourcery.com>
34941
34942         * scripts/cross-test-ssh.sh: New file.
34943         * manual/install.texi (Configuring and compiling): Document use of
34944         cross-test-ssh.sh.
34945         * INSTALL: Regenerated.
34946
34947 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34948
34949         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34950         EOPNOTSUPP.
34951
34952 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34953
34954         * Makeconfig (run-program-prefix): Fix comment.
34955
34956 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34957             Jim Blandy  <jimb@codesourcery.com>
34958
34959         * Makeconfig (test-wrapper): New variable,
34960         (test-wrapper-env): Likewise.
34961         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34962         (run-built-tests): Define to yes.
34963         (run-program-prefix): Use $(test-wrapper).
34964         (built-program-cmd): Likewise.
34965         * Rules (make-test-out): Use $(test-wrapper-env) and
34966         $(host-built-program-cmd).
34967         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34968         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34969         tst-pathopt.sh.
34970         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34971         $(test-wrapper-env) to tst-rtld-load-self.sh.
34972         ($(objpfx)order2.out): Use $(test-wrapper).
34973         ($(objpfx)tst-initorder.out): Likewise.
34974         ($(objpfx)tst-initorder2.out): Likewise.
34975         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34976         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34977         (test_wrapper_env): New variable.  Use it to run ld.so.
34978         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34979         Use it to run ld.so.
34980         (test_wrapper_env): Likewise.
34981         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34982         $(test-wrapper) to run-iconv-test.sh.
34983         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34984         (ICONV): Use $test_wrapper.
34985         * posix/Makefile ($(objpfx)globtest.out): Pass
34986         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34987         globtest.sh, not $(run-program-prefix).
34988         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34989         (test_wrapper): Likewise.
34990         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34991         set together with run_via_rtld_prefix.
34992         (run_program_prefix): Define in terms of test_wrapper and
34993         run_via_rtld_prefix.
34994
34995 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34996
34997         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34998         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34999         Targets removed.
35000
35001         [BZ #14743]
35002         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35003         Declare __clock_getres, __clock_gettime, __clock_settime,
35004         __clock_nanosleep, and __clock_getcpuclockid.
35005         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35006         Remove librt_hidden_def (clock_gettime).
35007         * sysdeps/unix/clock_gettime.c: Likewise.
35008         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35009         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35010         * rt/clock_getres.c: Define __clock_getres as an alias.
35011         * sysdeps/posix/clock_getres.c: Likewise.
35012         * rt/clock_settime.c: Define __clock_settime as an alias.
35013         * sysdeps/unix/clock_settime.c: Likewise.
35014         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35015         * sysdeps/unix/clock_nanosleep.c: Likewise.
35016         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35017         * rt/clock-compat.c: New file.
35018         * rt/Makefile (librt-routines): Add clock-compat and move
35019         $(clock-routines) to ...
35020         (routines): ... here, new variable.
35021         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35022         Don't add get_clockfreq here.
35023         * rt/Versions (libc: GLIBC_2.17): New version set.
35024         Add clock_* symbols here.
35025         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35027         (GLIBC_2.17): Add clock_* symbols.
35028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35032         Likewise.
35033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35034         Likewise.
35035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35039         * NEWS: Mention the move.
35040
35041         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35042         Use __open, __read, __close rather than their public counterparts.
35043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35044         (__get_clockfreq_via_cpuinfo): Likewise.
35045         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35046         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35047
35048         * config.h.in (HAVE_IFUNC): New #undef.
35049         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35050         was successful.
35051         * configure: Regenerated.
35052
35053 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35054
35055         * configure.in: Move READELF check to start of file.
35056         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35057         libc_cv_asm_gnu_indirect_function in the process.
35058         * configure: Regenerated.
35059
35060 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35061
35062         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35063         send the output to /dev/null.
35064         (libc_cv_cc_with_libunwind): Likewise.
35065         (libc_cv_as_noexecstack): Likewise.
35066         * configure: Regenerate.
35067
35068 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35069
35070         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35071
35072         * posix/globtest.sh (TMPDIR): Do not set.
35073         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35074         (testout): Likewise.
35075
35076 2012-10-24  Andreas Jaeger  <aj@suse.de>
35077
35078         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35079         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35080         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35081         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35082         posix_fadvise64, posix_fallocate64.
35083
35084         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35085         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35086         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35087         Likewise.
35088         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35089         Likewise.
35090         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35091
35092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35093         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35094         <bits/fcntl-linux.h>.
35095         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35096
35097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35098         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35099         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35100         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35101         [__WORDSIZE != 64]: Likewise.
35102
35103 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35104
35105         * Makeconfig (run-built-tests): New variable.
35106         * Rules [$(cross-compiling) = yes]: Change condition to
35107         [$(run-built-tests) = no].
35108         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35109         to [$(run-built-tests) = yes].
35110         * elf/Makefile [$(cross-compiling) = no]: Likewise
35111         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35112         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35113         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35114         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35115         * io/Makefile [$(cross-compiling) = no]: Likewise.
35116         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35117         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35118         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35119         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35120         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35121         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35122         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35123         * string/Makefile [$(cross-compiling) = no]: Likewise.
35124
35125         * posix/Makefile ($(objpfx)globtest.out): Pass
35126         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35127         $(rtld-installed-name).
35128         * posix/globtest.sh (elf_objpfx): Remove variable.
35129         (rtld_installed_name): Likewise.
35130         (library_path): Likewise.
35131         (run_program_prefix): New variable.  Use for running globtest
35132         binary.
35133
35134 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35135             Joseph Myers  <joseph@codesourcery.com>
35136
35137         * Makeconfig (host-built-program-cmd): New variable.
35138         * elf/Makefile (tst-stackguard1-ARGS): Use
35139         $(host-built-program-cmd).
35140         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35141         (tst-spawn-ARGS): Likewise.
35142         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35143
35144 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35145             Jim Blandy  <jimb@codesourcery.com>
35146
35147         * Makeconfig (run-via-rtld-prefix): New variable.
35148         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35149         (built-program-cmd): Likewise.
35150
35151 2012-10-22  Andreas Jaeger  <aj@suse.de>
35152
35153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35154         __O_RSYNC if it exists, otherwise to O_SYNC.
35155
35156 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35157             Joseph Myers  <joseph@codesourcery.com>
35158
35159         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35160         /dev/null.
35161         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35162         from /dev/null
35163         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35164         /dev/null.
35165
35166 2012-10-22  Andreas Jaeger  <aj@suse.de>
35167
35168         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35169         Define always.
35170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35171
35172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35173         bits/fcntl-linux.h.
35174
35175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35176         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35177
35178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35179         to __O_LARGEFILE.
35180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35181         to __O_LARGEFILE.
35182
35183 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35184             Joseph Myers  <joseph@codesourcery.com>
35185
35186         * config.make.in (NM): New variable.
35187
35188 2012-10-21  Andreas Jaeger  <aj@suse.de>
35189
35190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35191         definitions and declarations that are provided by
35192         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35193
35194 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35195
35196         [BZ #14683]
35197         * elf/Makefile (tests-static): Add tst-leaks1-static.
35198         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35199         ($(objpfx)tst-leaks1-static): New rule.
35200         ($(objpfx)tst-leaks1-static-mem): Likewise.
35201         (tst-leaks1-static-ENV): New macro.
35202         * elf/dl-open.c (dl_open_worker): Check the main application
35203         only if SHARED is defined.
35204         * elf/tst-leaks1-static.c: New file.
35205
35206 2012-10-20  Andreas Jaeger  <aj@suse.de>
35207
35208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35209         generic values for Linux.
35210         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35211         and declarations that are provided by <bits/fcntl-linux.h> and
35212         include <bits/fcntl-linux.h>.
35213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35215
35216 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35217
35218         * io/fcntl.h: Move include of <bits/types.h> to the top and
35219         include it unconditionally.
35220
35221 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35222
35223         * wcsmbs/Makefile (tests-ifunc): New variable.
35224         (tests): Add $(tests-ifunc).
35225         * wcsmbs/test-wcschr-ifunc.c: New file.
35226         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35227         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35228         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35229         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35230         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35231
35232         * string/Makefile (tests-ifunc): New variable.
35233         (tests): Add $(tests-ifunc).
35234         * string/test-memccpy.c (TEST_NAME): New macro.
35235         * string/test-memchr.c (TEST_NAME): Likewise.
35236         * string/test-memcmp.c (TEST_NAME): Likewise.
35237         * string/test-memcpy.c (TEST_NAME): Likewise.
35238         * string/test-memmem.c (TEST_NAME): Likewise.
35239         * string/test-memmove.c (TEST_NAME): Likewise.
35240         * string/test-memset.c (TEST_NAME): Likewise.
35241         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35242         * string/test-stpcpy.c (TEST_NAME): Likewise.
35243         * string/test-stpncpy.c (TEST_NAME): Likewise.
35244         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35245         * string/test-strcasestr.c (TEST_NAME): Likewise.
35246         * string/test-strcat.c (TEST_NAME): Likewise.
35247         * string/test-strchr.c (TEST_NAME): Likewise.
35248         * string/test-strcmp.c(TEST_NAME): Likewise.
35249         * string/test-strcpy.c (TEST_NAME): Likewise.
35250         * string/test-strcspn.c (TEST_NAME): Likewise.
35251         * string/test-strlen.c (TEST_NAME): Likewise.
35252         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35253         * string/test-strncmp.c (TEST_NAME): Likewise.
35254         * string/test-strncpy.c (TEST_NAME): Likewise.
35255         * string/test-strnlen.c (TEST_NAME): Likewise.
35256         * string/test-strpbrk.c (TEST_NAME): Likewise.
35257         * string/test-strrchr.c (TEST_NAME): Likewise.
35258         * string/test-strspn.c (TEST_NAME): Likewise.
35259         * string/test-strstr.c (TEST_NAME): Likewise.
35260         * string/test-bcopy-ifunc.c: New file.
35261         * string/test-bzero-ifunc.c: Likewise.
35262         * string/test-memccpy-ifunc.c: Likewise.
35263         * string/test-memchr-ifunc.c: Likewise.
35264         * string/test-memcmp-ifunc.c: Likewise.
35265         * string/test-memcpy-ifunc.c: Likewise.
35266         * string/test-memmem-ifunc.c: Likewise.
35267         * string/test-memmove-ifunc.c: Likewise.
35268         * string/test-mempcpy-ifunc.c: Likewise.
35269         * string/test-memset-ifunc.c: Likewise.
35270         * string/test-rawmemchr-ifunc.c: Likewise.
35271         * string/test-stpcpy-ifunc.c: Likewise.
35272         * string/test-stpncpy-ifunc.c: Likewise.
35273         * string/test-strcasecmp-ifunc.c: Likewise.
35274         * string/test-strcasestr-ifunc.c: Likewise.
35275         * string/test-strcat-ifunc.c: Likewise.
35276         * string/test-strchr-ifunc.c: Likewise.
35277         * string/test-strchrnul-ifunc.c: Likewise.
35278         * string/test-strcmp-ifunc.c: Likewise.
35279         * string/test-strcpy-ifunc.c: Likewise.
35280         * string/test-strcspn-ifunc.c: Likewise.
35281         * string/test-strlen-ifunc.c: Likewise.
35282         * string/test-strncasecmp-ifunc.c: Likewise.
35283         * string/test-strncat-ifunc.c: Likewise.
35284         * string/test-strncmp-ifunc.c: Likewise.
35285         * string/test-strncpy-ifunc.c: Likewise.
35286         * string/test-strnlen-ifunc.c: Likewise.
35287         * string/test-strpbrk-ifunc.c: Likewise.
35288         * string/test-strrchr-ifunc.c: Likewise.
35289         * string/test-strspn-ifunc.c: Likewise.
35290         * string/test-strstr-ifunc.c: Likewise.
35291
35292         * debug/Makefile (tests-ifunc): New variable.
35293         (tests): Add $(tests-ifunc).
35294         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35295         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35296         * debug/test-stpcpy_chk-ifunc.c: New file.
35297         * debug/test-strcpy_chk-ifunc.c: Likewise.
35298
35299 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35300
35301         [BZ #13601]
35302         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35303         header is not read in.
35304
35305 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35306
35307         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35308         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35309         directly.  Pass built executable to script as
35310         $(built-program-cmd).
35311         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35312         $testprogram without using LD_LIBRARY_PATH and $ldso.
35313
35314         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35315         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35316         $(rtld-installed-name).
35317         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35318         (rtld_installed_name): Likewise.
35319         (library_path): Likewise.
35320         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35321         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35322         $(run-program-prefix) to tst-tables.sh.
35323         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35324         it to run tst-table-from and tst-table-to.
35325         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35326         Pass it to tst-table.sh.
35327         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35328         $(run-program-prefix) to tst-gettext.sh.
35329         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35330         tst-translit.sh.
35331         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35332         tst-gettext2.sh.
35333         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35334         to run tst-gettext.
35335         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35336         to run tst-gettext2.
35337         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35338         to run tst-translit.
35339         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35340         $(run-program-prefix) to tst-mtrace.sh.
35341         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35342         to run tst-mtrace.
35343         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35344         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35345         $(rtld-installed-name).
35346         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35347         (rtld_installed_name): Likewise.
35348         (run_program_prefix): New variable.  Use it to run wordexp-test.
35349
35350         * Makeconfig (ARCH): Remove all definitions.
35351         (machine): Likewise.
35352         [ARCH]: Remove conditional code.
35353         [!objdir]: Give error.
35354         [!objdir] (objpfx): Remove.
35355         [!objdir] (common-objpfx): Likewise.
35356         [!objdir] (common-objdir): Likewise.
35357         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35358         AC_CONFIG_FILES call.
35359         * configure: Regenerated.
35360
35361         [BZ #13888]
35362         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35363         or TMPDIR.
35364         (testout): Likewise.
35365
35366         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35367         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35368         $(rtld-installed-name).
35369         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35370         (rtld_installed_name): Likwise.
35371         (runit): Remove function.
35372         (run_getconf): New variable,  Use it for running getconf binary.
35373
35374 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35375
35376         [BZ #14716]
35377         * string/test-memmem.c (check_result): New function.
35378         (do_one_test): Use it.
35379         (check1): New function.
35380         (test_main): Use it.
35381
35382 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35383
35384         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35385
35386 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35387
35388         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35389         (_G_LSEEK64): Likewise.
35390         (_G_MMAP64): Likewise.
35391         (_G_FSTAT64): Likewise.
35392         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35393         (_G_LSEEK64): Likewise.
35394         (_G_MMAP64): Likewise.
35395         (_G_FSTAT64): Likewise.
35396         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35397         unconditional.  Call __mmap64 directly.
35398         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35399         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35400         __lseek64 directly.
35401         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35402         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35403         __mmap64 directly.
35404         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35405         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35406         __lseek64 directly.
35407         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35408         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35409         __lseek64 directly.
35410         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35411         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35412         __lseek64 directly.
35413         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35414         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35415         __fxstat64 directly.
35416         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35417         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35418         unconditional.
35419         (freopen64) [!_G_OPEN64]: Remove conditional code.
35420         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35421         unconditional.
35422         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35423         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35424         unconditional.
35425         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35426         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35427         unconditional.
35428         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35429         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35430         unconditional.
35431         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35432         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35433         unconditional.
35434         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35435         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35436         unconditional.
35437         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35438         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35439         unconditional.
35440         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35441
35442 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35443
35444         [BZ #12140]
35445         * manual/memory.texi (Malloc Tunable Parameters): Add note
35446         about free list pointers overwriting some perturb bytes.
35447         Wording suggested by Roland McGrath.
35448
35449 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35450
35451         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35452         (lgamma_test): Likewise.
35453         (tgamma_test): Likewise.
35454
35455 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35456
35457         [BZ #14700]
35458         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35459         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35460
35461 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35462
35463         * NEWS: Mention BZ #14716.
35464         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35465         when removing AVAILABLE1_USES_J macro.
35466
35467 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35468
35469         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35470         (__bswap_64): __uint64_t for unsigned 64-bit int.
35471
35472 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35473
35474         * include/string.h (memmem): Declare libc hidden alias.
35475         * string/memmem.c (memmem): Define libc hidden alias.
35476         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35477         __read, __close instead of open, read, close.
35478
35479 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35480
35481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35482         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35483         global and hidden.
35484         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35485         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35486         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35487         Likewise.
35488         (__rawmemchr_sse2): Likewise.
35489         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35490         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35491         (__strchr_sse2): Likewise.
35492         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35493         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35494         (__strcasecmp_sse2): Likewise.
35495         (__strncasecmp_sse2): Likewise.
35496         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35497         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35498         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35499         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35500         (__strrchr_sse2): Likewise.
35501         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35502         ifunc-impl-list.c.
35503         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35504         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35505         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35507         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35508         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35509         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35510         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35511         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35512         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35513         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35514         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35515         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35516         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35517         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35518         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35519         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35520         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35521         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35522         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35523         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35524         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35525         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35526         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35527         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35529         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35530         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35531         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35532         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35533
35534         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35535         global and hidden.
35536         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35537         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35538         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35539         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35540         Likewise.
35541         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35542         Likewise.
35543         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35544         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35545         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35546         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35547         ifunc-impl-list.c.
35548         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35549         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35550         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35551         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35552         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35553         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35554         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35555         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35557         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35558         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35559         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35560         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35561         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35562         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35563         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35564         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35565         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35566         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35567         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35568         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35569         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35570         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35571         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35572         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35573         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35574         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35575         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35579         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35580         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35581         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35588         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35589
35590         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35591         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35592         * include/ifunc-impl-list.h: New file.
35593         * misc/ifunc-impl-list.c: Likewise.
35594         * misc/Makefile (routines): Add ifunc-impl-list.
35595         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35596         * string/test-string.h: Include <ifunc-impl-list.h>.
35597         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35598         TEST_NAME]: New variables.
35599         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35600         are defined.
35601         (test_init): Call __libc_ifunc_impl_list to initialize
35602         func_list if TEST_IFUNC and TEST_NAME are defined.
35603
35604         * string/Makefile (strop-tests): Add bcopy and bzero.
35605         * string/test-bcopy.c: New file.
35606         * string/test-bzero.c: Likewise.
35607         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35608         defined.
35609         * string/test-memset.c: Support bzero test if TEST_BZERO is
35610         defined.
35611         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35612         __libc_memmove.
35613         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35614         __libc_memset.
35615         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35616         of memset.
35617
35618 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35619
35620         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35621         * configure: Regenerated.
35622
35623         * Makeconfig (+link-static-before-libc): Don't include
35624         $(link-static-libc).
35625
35626         * libio/libio.h (_IO_pos_t): Remove.
35627
35628 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35629
35630         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35631         McGrath.
35632
35633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35634
35635         * crypt/crypt-entry.c: Include fips-private.h.
35636         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35637         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35638         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35639         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35640
35641 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35642
35643         * crypt/crypt-private.h: Include stdbool.h.
35644         (_ufc_setup_salt_r): Return bool.
35645         * crypt/crypt-entry.c: Include errno.h.
35646         (__crypt_r): Return NULL with EINVAL for bad salt.
35647         * crypt/crypt_util.c (bad_for_salt): New.
35648         (_ufc_setup_salt_r): Check that salt is long enough and within
35649         the specified alphabet.
35650         * crypt/badsalttest.c: New file.
35651         * crypt/Makefile (tests): Add it.
35652         ($(objpfx)badsalttest): New.
35653
35654 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35655
35656         * NEWS: Add entry for BZ #14602.
35657
35658 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35659
35660         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35661         type-generic.
35662         * math/libm-test.inc: Update comment listing what functions and
35663         macros are tested.
35664         (isgreater_test): New function.
35665         (isgreaterequal_test): Likewise.
35666         (isless_test): Likewise.
35667         (islessequal_test): Likewise.
35668         (islessgreater_test): Likewise.
35669         (isunordered_test): Likewise.
35670         (main): Call the new functions.
35671
35672 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35673
35674         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35675         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35676         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35677         * sysdeps/i386/configure: Regenerated.
35678         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35679         * sysdeps/mach/configure: Regenerated.
35680         * sysdeps/mach/hurd/configure: Regenerated.
35681         * sysdeps/powerpc/configure: Regenerated.
35682         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35683         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35684         * sysdeps/s390/s390-32/configure: Regenerated.
35685         * sysdeps/s390/s390-64/configure: Regenerated.
35686         * sysdeps/sh/configure: Regenerated.
35687         * sysdeps/sparc/configure: Regenerated.
35688         * sysdeps/unix/sysv/linux/configure: Regenerated.
35689         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35690         * sysdeps/x86_64/configure: Regenerated.
35691
35692         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35693         defined.  Don't check if MAP is NULL.
35694
35695 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35696
35697         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35698         (_G_stat64): Likewise.
35699         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35700         (_G_stat64): Likewise.
35701         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35702         instead of struct _G_stat64.
35703         * libio/fileops.c (mmap_remap_check): Likewise.
35704         (decide_maybe_mmap): Likewise.
35705         (_IO_new_file_seekoff): Likewise.
35706         (_IO_file_stat): Likewise.
35707         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35708         _G_off64_t.
35709         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35710         instead of struct _G_stat64.
35711         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35712
35713 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35714
35715         [BZ #14602]
35716         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35717         Replace with ...
35718         (CHECK_EOL): New macro.
35719         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35720         CHECK_EOL.
35721         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35722         Replace with CHECK_EOL.
35723         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35724         Replace with CHECK_EOL.
35725
35726 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35727
35728         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35729         type-generic.
35730         * math/libm-test.inc: Update comment listing what functions and
35731         macros are tested.
35732         (finite_test): New function.
35733         (isinf_test): Likewise.
35734         (isnan_test): Likewise.
35735         (fpclassify_test): Test subnormal input.
35736         (isfinite_test): Likewise.
35737         (isnormal_test): Likewise.
35738         (main): Call the new functions.
35739
35740 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35741
35742         [BZ #14660]
35743         * Makerules (%.dynsym): Force C locale when running
35744         $(OBJDUMP) --dynamic-syms.
35745
35746 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35747
35748         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35749         <stdint.h>.
35750
35751 2012-10-06  David S. Miller  <davem@davemloft.net>
35752
35753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35754         upper 32-bits of the length value in %o2 since we use branch-on-register
35755         tests which consider the entire 64-bit register.
35756
35757 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35758
35759         * string/test-strstr.c (check2): Add a test for page boundary.
35760
35761 2012-10-05  David S. Miller  <davem@davemloft.net>
35762
35763         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35764         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35765         file.
35766         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35767         sysdep_routines.
35768         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35769         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35770         and bzero when HWCAP_SPARC_CRYPTO is present.
35771
35772 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35773
35774         [BZ #14602]
35775         * string/test-strstr.c (check2): New function.
35776         (test_main): Call check2.
35777
35778         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35779         and bug-strchr1.
35780         * string/bug-strcasestr1.c (do_test): Moved to ...
35781         * string/test-strcasestr.c (check1): Here.  New function.
35782         (do_one_test): Break out result checking code into ...
35783         (check_result): This.  New function.
35784         (do_one_test): Call check_result.
35785         (test_main): Call check1.
35786         * string/bug-strchr1.c (do_test): Moved to ...
35787         * string/test-strchr.c (check1): Here.  New function.
35788         (do_one_test): Break out result checking code into ...
35789         (check_result): This.  New function.
35790         (do_one_test): Call check_result.
35791         (test_main): Call check1.
35792         * string/bug-strstr1.c (main): Moved to ...
35793         * string/test-strstr.c (check1): Here.  New function.
35794         (do_one_test): Break out result checking code into ...
35795         (check_result): This.  New function.
35796         (do_one_test): Call check_result.
35797         (test_main): Call check1.
35798         * string/bug-strcasestr1.c: Removed.
35799         * string/bug-strchr1.c: Likewise.
35800         * string/bug-strstr1.c: Likewise.
35801
35802         * elf/Makefile (dl-routines): Add hwcaps.
35803         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35804         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35805         (_dl_important_hwcaps): Moved to ...
35806         * elf/dl-hwcaps.c: Here.  New file.
35807         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35808
35809         [BZ #14557]
35810         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35811         if IS_IN_rtld isn't defined.
35812
35813         * elf/dl-support.c (_dl_sysinfo_map): New.
35814         Include "get-dynamic-info.h" and "setup-vdso.h".
35815         (_dl_non_dynamic_init): Call setup_vdso.
35816         * elf/dynamic-link.h: Don't include <assert.h>.
35817         (elf_get_dynamic_info): Moved to ...
35818         * elf/get-dynamic-info.h: Here.  New file.
35819         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35820         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35821         * elf/setup-vdso.h: Here.  New file.
35822         * elf/rtld.c: Include "setup-vdso.h".
35823         (dl_main): Call setup_vdso.
35824
35825 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35826
35827         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35828         creal in comment listing functions tested.  List finite, isinf,
35829         isnan, isless, islessequal, isgreater, isgreaterequal,
35830         islessgreater, isunordered, lgamma_r and pow10 as functions and
35831         macros not tested.  Mention which functions not tested are aliases
35832         for other functions.  Fix typo.  Note that signs of NaNs are not
35833         tested.
35834
35835         * scripts/config.guess: Update from config.git.
35836         * scripts/config.sub: Likewise.
35837
35838 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35839
35840         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35841         * misc/madvise.c (madvise): Renamed to __madvise.
35842         Make madvise a weak alias.
35843         * include/sys/mman.h: Declare __madvise.
35844         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35845         * sysdeps/unix/syscalls.list
35846         (madvise): Make __madvise the strong name, and madvise a weak alias.
35847         * sysdeps/unix/sysv/linux/syscalls.list
35848         (madvise, mmap): Remove redundant entries.
35849         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35850         * malloc/malloc.c (mtrim): Likewise.
35851         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35852
35853 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35854
35855         * sysdeps/mach/hurd/dl-cache.c: File removed.
35856         * config.h.in (USE_LDCONFIG): New #undef.
35857         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35858         * configure: Regenerated.
35859         * elf/Makefile (dl-routines): Add dl-cache only under
35860         [$(use-ldconfig) = yes].
35861         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35862         cache on [USE_LDCONFIG].
35863         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35864         [USE_LDCONFIG].
35865         * elf/rtld.c (dl_main): Likewise.
35866
35867 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35868
35869         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35870         _SC_LEVEL4_CACHE_LINESIZE.
35871
35872 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35873
35874         * sysdeps/unix/bsd/confstr.h: File removed.
35875
35876 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35877
35878         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35879         sys/sdt-config.h.
35880
35881 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35882
35883         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35884         Make 'mapoff' field ElfW(Off) rather than off_t.
35885
35886 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35887
35888         * nscd/Makefile: Remove nscd-cflags and all its users.
35889         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35890         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35891
35892         [BZ #10631]
35893         * malloc.c (malloc_printerr): Clarify error message.
35894
35895 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35896
35897         [BZ #14648]
35898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35899         Set bit_FMA_Usable if FMA is supported.
35900         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35901         macro.
35902         (bit_FMA4_Usable): Updated.
35903         (index_FMA_Usable): New macro.
35904         (CPUID_FMA): Likewise
35905         (HAS_FMA): Defined with bit_FMA_Usable.
35906
35907 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35908
35909         * bits/types.h (__swblk_t): Type removed.
35910         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35911         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35912         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35913         (__SWBLK_T_TYPE): Likewise.
35914         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35915         (__SWBLK_T_TYPE): Likewise.
35916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35917         (__SWBLK_T_TYPE): Likewise.
35918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35919         (__SWBLK_T_TYPE): Likewise.
35920
35921 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35922             Honza Horak <hhorak@redhat.com>
35923
35924         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35925         (xdr_mapname): Use YPMAXMAP as maxsize.
35926         (xdr_peername): Use YPMAXPEER as maxsize.
35927         (xdr_keydat): Use YPAXRECORD as maxsize.
35928         (xdr_valdat): Use YPMAXRECORD as maxsize.
35929
35930 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35931
35932         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35933
35934         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35935         * csu/init-first.c: ... here.
35936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35937         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35938         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35939         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35940         * sysdeps/i386/init-first.c: File removed.
35941         * sysdeps/sh/init-first.c: File removed.
35942
35943 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35944
35945         [BZ #14645]
35946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35947         if x * y might underflow to zero and z is zero.
35948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35950         * math/libm-test.inc (min_subnorm_value): New variable.
35951         (fma_test): Add more tests.
35952         (fma_test_towardzero): Likewise.
35953         (fma_test_downward): Likewise
35954         (fma_test_upward): Likewise.
35955         (initialize): Set min_subnorm_value.
35956
35957 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35958
35959         [BZ #14638]
35960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35961         0 + 0.
35962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35963         mode for addition resulting in exact zero.
35964         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35966         exact 0 + 0.
35967         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35969         * math/libm-test.inc (fma_test): Add more tests.
35970         (fma_test_towardzero): New function.
35971         (fma_test_downward): Likewise.
35972         (fma_test_upward): Likewise.
35973         (main): Call the new functions.
35974
35975 2012-09-28  David S. Miller  <davem@davemloft.net>
35976
35977         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35978
35979 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35980
35981         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35982         instead of SIGALRM.
35983
35984         * sysdeps/gnu/_G_config.h: Moved to ...
35985         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35986         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35987         * sysdeps/generic/_G_config.h: ... here.
35988
35989         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35990
35991         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35992
35993         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35994         Conditionalize target on [libnss_test1.so-version].
35995
35996         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35997
35998         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35999         (elfobjdir): Move out of conditionals.
36000
36001         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36002         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36003         (__nss_lookup_function): Conditionalize label remove_from_tree on
36004         [!DO_STATIC_NSS || SHARED], matching its only use.
36005
36006 2012-09-28  David S. Miller  <davem@davemloft.net>
36007
36008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36009         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36010         file.
36011         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36012         sysdep_routines.
36013         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36015         when HWCAP_SPARC_CRYPTO is present.
36016
36017 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36018
36019         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36020
36021 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36022
36023         [BZ #6530]
36024         * stdio-common/vfprintf.c (process_string_arg): Revert
36025         2000-07-22 change.
36026
36027 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36028
36029         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36030         for testcase.
36031         * stdio-common/tst-sprintf.c: Include <locale.h>
36032         (main): Test sprintf's handling of incomplete multibyte
36033         characters.
36034
36035 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36036
36037         * elf/dl-runtime.c (VERSYMIDX): Removed.
36038         * elf/dl-version.c (VERSYMIDX): Likewise.
36039         * elf/do-rel.h (VERSYMIDX): Likewise.
36040         (VALIDX): Likewise.
36041         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36042         * elf/rtld.c (VALIDX): Likewise.
36043         (ADDRIDX): Likewise.
36044         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36045         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36046         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36047         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36048         (VALIDX): Likewise.
36049         (ADDRIDX): Likewise.
36050
36051 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36052
36053         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36054
36055 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36056
36057         [BZ #11438]
36058         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36059         to global scope.
36060         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36061         addresses are in the same scope as 192.0.2/24.
36062         * posix/gai.conf: Document new scope table defaults.
36063
36064 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065
36066         [BZ #5298]
36067         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36068         for ftell.  Compute offsets from write pointers instead.
36069         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36070
36071 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36072
36073         [BZ #14543]
36074         * libio/Makefile (tests): New test case tst-fseek.
36075         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36076         combination works in wide mode.
36077         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36078         state when the external buffer state changes.
36079
36080 2012-09-27  David S. Miller  <davem@davemloft.net>
36081
36082         [BZ #14376]
36083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36084         pass reloc->r_addend in as the 'high' argument to
36085         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36086
36087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36088
36089 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36090
36091         * rt/tst-aio2.c: Include <pthread.h>.
36092         * rt/tst-aio3.c: Likewise.
36093
36094 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36095
36096         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36097
36098 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36099
36100         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36101         contents on [SHARED].
36102
36103 2012-09-26  Marek Polacek  <polacek@redhat.com>
36104
36105         [BZ #14530]
36106         [BZ #13741]
36107         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36108         for C++ and GCC <4.3 as well as for non GCC compilers.
36109
36110 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36111
36112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36113
36114 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36115
36116         * Makefile.in (all, install): Declare with .PHONY.
36117         Reported by Michael Hope <michael.hope@linaro.org>.
36118
36119 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36120
36121         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36122         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36123         system header.
36124         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36125         Likewise.
36126         (sydep_routines): Add the new and the internal functions.
36127         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36128         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36130         (GLIBC_2.17): Add the new function.
36131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36132         (GLIBC_2.17): Likewise.
36133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36134         (GLIBC_2.17): Likewise.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36136         (GLIBC_2.17): Likewise.
36137         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36138
36139 2012-09-25  Alan Modra  <amodra@gmail.com>
36140
36141         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36142         Add release barrier before setting once_control to say
36143         initialisation is done.  Add hints on lwarx.  Use macro in
36144         place of isync.
36145         (clear_once_control): Add release barrier.
36146
36147 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36148
36149         [BZ #13629]
36150         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36151         specially.
36152         * math/s_clog10.c (__clog10): Likewise.
36153         * math/s_clog10f.c (__clog10f): Likewise.
36154         * math/s_clog10l.c (__clog10l): Likewise.
36155         * math/s_clogf.c (__clogf): Likewise.
36156         * math/s_clogl.c (__clogl): Likewise.
36157         * math/Makefile (libm-calls): Add x2y2m1.
36158         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36159         (__x2y2m1): Likewise.
36160         (__x2y2m1l): Likewise.
36161         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36162         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36163         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36164         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36165         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36166         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36167         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36168         * sysdeps/i386/fpu/libm-test-ulps: Update.
36169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36170
36171         [BZ #14621]
36172         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36173         int as type of variable DEPTH.
36174         (glob): Use size_t instead of int as type of variables NEWCOUNT
36175         and OLD_PATHC.
36176
36177 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36178
36179         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36180         Add s_sincosf-sse2.
36181         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36182         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36183         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36184         macros for using routine as __sincosf_ia32.
36185         Use macro for function declaration and weak_alias.
36186         * sysdeps/i386/fpu/libm-test-ulps: Update.
36187
36188         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36190
36191         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36192         subnormal argument.
36193         * math/s_cexpf.c (__cexpf): Likewise.
36194         * math/s_csinf.c (__csinf): Likewise.
36195         * math/s_csinhf.c (__csinhf): Likewise.
36196         * math/s_ctanf.c (__ctanf): Likewise.
36197         * math/s_ctanhf.c (__ctanhf): Likewise.
36198         * math/s_ccosh.c (__ccoshf): Likewise.
36199         * math/s_cexp.c (__cexpl): Likewise.
36200         * math/s_csin.c (__csin): Likewise.
36201         * math/s_csinh.c (__csinh): Likewise.
36202         * math/s_ctan.c (__ctan): Likewise.
36203         * math/s_ctanh.c (ctanh): Likewise.
36204         * math/s_ccoshl.c (__ccoshl): Likewise.
36205         * math/s_cexpl.c (__cexpl): Likewise.
36206         * math/s_csinl.c (__csinl): Likewise.
36207         * math/s_csinhl.c (__csinhl): Likewise.
36208         * math/s_ctanl.c (__ctanl): Likewise.
36209         * math/s_ctanhl.c (__ctanhl): Likewise.
36210
36211 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36212
36213         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36214         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36215         (_IO_off_t): Define to __off_t, not _G_off_t.
36216         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36217         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36218         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36219         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36220         type of __dummy and __dummy2 fields.
36221         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36222         (_G_ssize_t): Likewise.
36223         (_G_off_t): Likewise.
36224         (_G_pid_t): Likewise.
36225         (_G_uid_t): Likewise.
36226         (_G_wchar_t): Likewise.
36227         (_G_wint_t): Likewise.
36228         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36229         (_G_ssize_t): Likewise.
36230         (_G_off_t): Likewise.
36231         (_G_pid_t): Likewise.
36232         (_G_uid_t): Likewise.
36233         (_G_wchar_t): Likewise.
36234         (_G_wint_t): Likewise.
36235         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36236         (_G_ssize_t): Likewise.
36237         (_G_off_t): Likewise.
36238         (_G_pid_t): Likewise.
36239         (_G_uid_t): Likewise.
36240         (_G_wchar_t): Likewise.
36241         (_G_wint_t): Likewise.
36242
36243 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36244
36245         * malloc/arena.c: Include malloc-sysdep.h.
36246         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36247         is sufficient to shrink the heap or an unmap is needed.
36248         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36249         new function check_may_shrink_heap.
36250         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36251         new function check_may_shrink_heap.
36252
36253 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36254
36255         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36256         comments.
36257
36258 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36259
36260         * catgets/test-gencat.sh: Add "set -e".
36261         * elf/tst-pathopt.sh: Likewise.
36262         * grp/tst_fgetgrent.sh: Likewise.
36263         * iconvdata/run-iconv-test.sh: Likewise.
36264         * intl/tst-gettext.sh: Likewise.
36265         * intl/tst-gettext2.sh: Likewise.
36266         * intl/tst-gettext4.sh: Likewise.
36267         * intl/tst-gettext6.sh: Likewise.
36268         * intl/tst-translit.sh: Likewise.
36269         * io/ftwtest-sh: Likewise.
36270         * libio/test-freopen.sh: Likewise.
36271         * malloc/tst-mtrace.sh: Likewise.
36272         * posix/globtest.sh: Likewise.
36273         * posix/tst-getconf.sh: Likewise.
36274         * posix/wordexp-tst.sh: Likewise.
36275         * stdio-common/tst-printf.sh: Likewise.
36276         * stdio-common/tst-unbputc.sh: Likewise.
36277         * stdlib/tst-fmtmsg.sh: Likewise.
36278         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36279         * catgets/Makefile: Do not specify -e option when running
36280         testsuite shell scripts.
36281         * elf/Makefile: Likewise.
36282         * grp/Makefile: Likewise.
36283         * iconvdata/Makefile: Likewise.
36284         * intl/Makefile: Likewise.
36285         * io/Makefile: Likewise.
36286         * libio/Makefile: Likewise.
36287         * malloc/Makefile: Likewise.
36288         * posix/Makefile: Likewise.
36289         * stdio-common/Makefile: Likewise.
36290         * stdlib/Makefile: Likewise.
36291         * sysdeps/x86_64/Makefile: Likewise.
36292
36293         * io/ftwtest-sh: Add copyright header.
36294         * posix/globtest.sh: Likewise.
36295         * posix/tst-getconf.sh: Likewise.
36296         * posix/wordexp-tst.sh: Likewise.
36297         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36298
36299 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36300
36301         [BZ #13679]
36302         * Makeconfig (+link): Defined as $(+link-static) if
36303         $(build-shared) isn't yes.
36304         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36305         isn't yes.
36306         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36307
36308         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36309
36310         [BZ #14562]
36311         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36312         new chunk size with MALLOC_ALIGN_MASK.
36313
36314 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36315
36316         [BZ #5044]
36317         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36318         <rounding-mode.h>.
36319         (__printf_fphex): Determine rounding using get_rounding_mode and
36320         round_away.
36321         * stdio-common/tst-printf-round.c (struct hex_test): New
36322         structure.
36323         (hex_tests): New variable.
36324         (test_hex_in_one_mode): New function.
36325         (do_test): Also run tests for hex float output.
36326
36327 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36328
36329         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36330         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36331         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36332         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36333         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36334         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36335         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36336         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36337
36338 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36339
36340         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36341         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36342         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36343         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36344
36345 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36346
36347         [BZ #14579]
36348         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36349         mode only.
36350         * elf/tst-rtld-load-self.sh: New test.
36351         * elf/Makefile: Run it.
36352
36353 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36354
36355         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36356         (tst-writev-ENV): Remove.
36357         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36358
36359 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36360
36361         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36362
36363 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36364
36365         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36366         unconditional.
36367         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36368         Likewise.
36369         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36370         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36372         Likewise.
36373
36374 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         [BZ #14587]
36377         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36378         * config.make.in (have-cpp-asm-debuginfo): Removed.
36379         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36380         * configure: Regenerated.
36381
36382 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36383
36384         [BZ #5044]
36385         * stdio-common/printf_fp.c: Include <stdbool.h> and
36386         <rounding-mode.h>.
36387         (___printf_fp): Determine rounding using get_rounding_mode and
36388         round_away.
36389         * stdio-common/tst-printf-round.c: New file.
36390         * stdio-common/Makefile (tests): Add tst-printf-round.
36391         (link-libm): New variable.
36392         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36393
36394 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36395
36396         [BZ #14576]
36397         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36398         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36399         Likewise.
36400         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36401         Likewise.
36402
36403 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36404
36405         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36406         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36407         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36408         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36409
36410 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36411
36412         [BZ #14518]
36413         * include/rounding-mode.h: New file.
36414         * sysdeps/generic/get-rounding-mode.h: Likewise.
36415         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36416         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36417         (MAX_VALUE): New macro.
36418         (MIN_VALUE): Likewise.
36419         (overflow_value): New function.
36420         (underflow_value): Likewise.
36421         (round_and_return): Use overflow_value and underflow_value to
36422         determine return values in overflow and underflow cases.  Use
36423         round_away to determine rounding depending on rounding mode.
36424         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36425         determine return values in overflow and underflow cases.
36426         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36427         (struct test_results): New structure.
36428         (struct test): Use struct test_results to store expected results
36429         for all rounding modes.
36430         (TEST): Include expected results for all rounding modes.
36431         (test_in_one_mode): New function.
36432         (do_test): Use test_in_one_mode to compute and check results.
36433         Check results for all rounding modes.
36434         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36435         $(link-libm).
36436
36437 2012-12-09  Allan McRae  <allan@archlinux.org>
36438
36439         * sysdeps/i386/fpu/libm-test-ulps: Update
36440
36441 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36442
36443         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36444         (_G_int32_t): Likewise.
36445         (_G_uint16_t): Likewise.
36446         (_G_uint32_t): Likewise.
36447         (_G_HAVE_BOOL): Likewise.
36448         (_G_HAVE_ATEXIT): Likewise.
36449         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36450         (_G_HAVE_IO_FILE_OPEN): Likewise.
36451         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36452         (_G_int32_t): Likewise.
36453         (_G_uint16_t): Likewise.
36454         (_G_uint32_t): Likewise.
36455         (_G_HAVE_BOOL): Likewise.
36456         (_G_HAVE_ATEXIT): Likewise.
36457         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36458         (_G_HAVE_IO_FILE_OPEN): Likewise.
36459         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36460         (_G_int32_t): Likewise.
36461         (_G_uint16_t): Likewise.
36462         (_G_uint32_t): Likewise.
36463         (_G_HAVE_BOOL): Likewise.
36464         (_G_HAVE_ATEXIT): Likewise.
36465         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36466         (_G_HAVE_IO_FILE_OPEN): Likewise.
36467
36468 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36469
36470         * csu/libc-tls.c: Update copyright years.
36471
36472 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36473
36474         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36475         [!_G_USING_THUNKS]: Remove conditional code.
36476         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36477         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36478
36479         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36480         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36481         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36482         (_G_VTABLE_LABEL_PREFIX): Likewise.
36483         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36484         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36485         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36486         (_G_VTABLE_LABEL_PREFIX): Likewise.
36487         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36488         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36489         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36490         (_G_VTABLE_LABEL_PREFIX): Likewise.
36491         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36492
36493 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36494
36495         * libio/Makefile: Include ../Makeconfig before tests.
36496         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36497         only if $(build-shared) is yes.
36498
36499         * iconv/gconv_db.c: Update copyright years.
36500
36501 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36502
36503         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36504         unwind info if defined PIC. Fix special cases description.
36505         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36506
36507         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36508         DP_HI_MASK entry.
36509         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36510
36511 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36512
36513         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36514
36515         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36516         is NULL.
36517
36518         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36519         (LDLIBS-tst-chk4): This.
36520         (LDFLAGS-tst-chk5): Renamed to ...
36521         (LDLIBS-tst-chk5): This.
36522         (LDFLAGS-tst-chk6): Renamed to ...
36523         (LDLIBS-tst-chk6): This.
36524         (LDFLAGS-tst-lfschk4): Renamed to ...
36525         (LDLIBS-tst-lfschk4): This.
36526         (LDFLAGS-tst-lfschk5): Renamed to ...
36527         (LDLIBS-tst-lfschk5): This.
36528         (LDFLAGS-tst-lfschk6): Renamed to ...
36529         (LDLIBS-tst-lfschk6): This.
36530
36531         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36532         on $(common-objpfx)soversions.mk.
36533
36534 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36535
36536         [BZ #10014]
36537         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36538         example host name.
36539
36540 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36541
36542         * malloc/arena.c (arena_get_retry): New function that gets
36543         another arena for the caller to try its request on.
36544         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36545         current arena cannot fulfill the request.
36546         (__libc_memalign): Likewise.
36547         (__libc_memalign): Likewise.
36548         (__libc_pvalloc): Likewise.
36549         (__libc_calloc): Likewise.
36550
36551 2012-09-05  John Tobey  <john.tobey@gmail.com>
36552
36553         [BZ #13542]
36554         * manual/arith.texi (Operations on Complex): Fix description
36555         of carg branch cut.
36556
36557 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36558
36559         [BZ #10014]
36560         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36561         host name.
36562
36563         [BZ #10038]
36564         * manual/memory.texi (Memory): Make order of menu items match
36565         order of sections.
36566
36567 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36568
36569         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36570         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36571         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36572
36573 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36574
36575         * csu/libc-tls.c (static_dtv): Renamed to ...
36576         (_dl_static_dtv): This.  Make it global.
36577         (_dl_initial_dtv): Removed.
36578         (__libc_setup_tls): Updated.
36579         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36580         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36581         DL_INITIAL_DTV.
36582
36583 2012-09-06  Petr Machata  <pmachata@redhat.com>
36584
36585         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36586         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36587         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36588         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36589
36590 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36591
36592         [BZ #14545]
36593         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36594         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36595         freeing dtv[-1].
36596
36597 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36598
36599         [BZ #14544]
36600         * Makeconfig (link-static-before-libc): Replace $(+prector)
36601         with $(+prectorT).
36602         (link-static-after-libc): Replace $(+postctor) with
36603         $(+postctorT).
36604         (link-bounded): Replace $(+prector)/$(+postctor) with
36605         $(+prectorT)/$(+postctorT).
36606         (+prectorT): New macro.
36607         (+postctorT): Likewise.
36608
36609 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36610
36611         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36612         (round_str): Handle values above the maximum for IBM long double
36613         as inexact.
36614         * stdlib/tst-strtod-round.c (tests): Regenerated.
36615
36616 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36617
36618         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36619         assembler flag.
36620         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36621         zarch_nohighgprs around the zarch optimized routines.
36622         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36623         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36624         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36625         for zarch.
36626
36627 2012-09-05  David S. Miller  <davem@davemloft.net>
36628
36629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36630
36631         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36632         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36633         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36634         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36635         entries.
36636
36637 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36638
36639         * malloc/arena.c: Fold copyright years.
36640         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36641
36642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36643
36644         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36645
36646 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36647
36648         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36649
36650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36651
36652         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36653         change internal state upon failure.
36654
36655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36656
36657         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36658         * malloc/memusage.c (mmap): Likewise.
36659         (mmap64, mremap): Likewise.  Adjust name in comment.
36660
36661 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36662
36663         * libio/fileops.c: Fix typos in comments.
36664         * libio/oldfileops.c: Likewise.
36665         * libio/wfileops.c: Likewise.
36666
36667 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36668
36669         [BZ #1349]
36670         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36671         (tst-malloc-usable-ENV): Set environment for test case.
36672         * malloc/hooks.c (malloc_check_get_size): New function to get
36673         requested size.
36674         * malloc/malloc.c (musable): Use malloc_check_get_size.
36675         * malloc/tst-malloc-usable.c: New test case.
36676
36677 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36678
36679         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36680
36681 2012-09-05  Allan McRae  <allan@archlinux.org>
36682
36683         [BZ #13966]
36684         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36685         determine header location.
36686         * configure: Regenerated.
36687
36688 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36689
36690         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36691         float format.
36692         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36693         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36694         format.
36695         (test): Regenerate.
36696
36697 2012-09-04  David S. Miller  <davem@davemloft.net>
36698
36699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36701         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36702
36703 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36704
36705         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36706         failures.
36707
36708         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36709
36710 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36711
36712         [BZ #9914]
36713         * libio/iogetdelim.c: Include <limits.h>.
36714         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36715         + len + 1 would overflow.
36716
36717 2012-09-03  Andreas Jaeger  <aj@suse.de>
36718
36719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36720         * sysdeps/i386/fpu/libm-test-ulps: Update.
36721
36722 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36723
36724         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36725         Add s_sinf-sse2, s_conf-sse2.
36726
36727         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36728         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36729         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36730         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36731
36732         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36733         for using routine as __sinf_ia32.
36734         Use macro for function declaration and weak_alias.
36735         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36736         for using routine as __cosf_ia32.
36737         Use macro for function declaration and weak_alias.
36738
36739         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36740         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36741
36742         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36743         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36745
36746         * math/libm-test.inc (cos_test): Add more test cases.
36747         (sin_test): Likewise.
36748         (sincos_test): Likewise.
36749
36750 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36751
36752         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36753         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36754         hidden.
36755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36756
36757 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36758
36759         [BZ #14538]
36760         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36761         first element of the GOT.
36762         (elf_machine_load_address): Return the difference between
36763         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36764
36765 2012-09-01  Allan McRae  <allan@archlinux.org>
36766
36767         [BZ #13412]
36768         * configure.in (AWK): Require gawk version 3.0 or later.
36769         * configure: Regenerated.
36770
36771 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36772
36773         * sysdeps/unix/sysv/linux/kernel-features.h
36774         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36776         [__NR_clock_getres]: Make code unconditional.
36777         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36778         (clock_getcpuclockid): Remove code left unreachable by removal of
36779         conditionals.
36780         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36781         code unconditional.
36782         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36783         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36784         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36785         Make code unconditional.
36786         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36787         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36788         * sysdeps/unix/sysv/linux/clock_settime.c
36789         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36790         conditional code.
36791         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36793
36794 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36795
36796         [BZ #14476]
36797         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36798         scripts/test-installation.pl.
36799
36800         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36801         and $ld_so_version if it is set.
36802
36803 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36804
36805         [BZ #14516]
36806         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36807         failure if reading from procfs failed.
36808         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36809
36810 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36811
36812         * sysdeps/unix/sysv/linux/kernel-features.h
36813         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36814         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36815         Remove conditional code.
36816         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36817         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36818         Remove conditional code.
36819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36820         * sysdeps/unix/sysv/linux/i386/fxstat.c
36821         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36822         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36823         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36824         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36825         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36826         * sysdeps/unix/sysv/linux/i386/lxstat.c
36827         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36828         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36829         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36830         Remove conditional code.
36831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36832         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36833         Remove conditional code.
36834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36835         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36836         <kernel-features.h>.
36837         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36838         Remove.
36839         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36840         Remove conditional code.
36841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36842         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36843         Remove conditional.
36844
36845 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36846
36847         [BZ #5400]
36848         * NEWS: Add fixed bug number.
36849
36850 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36851
36852         [BZ #14519]
36853         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36854         underflowing exponent in case of negative sign.
36855         * stdlib/tst-strtod-round-data: Add more tests.
36856         * stdlib/tst-strtod-round.c (tests): Regenerated.
36857
36858         [BZ #3479]
36859         * stdlib/strtod_l.c (NDIG): Remove.
36860         (HEXNDIG): Likewise.
36861         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36862         smallest representable value.
36863         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36864         lie within an exact representation of 1/2 ulp of the result.
36865         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36866         unconditionally.
36867         (TENS_P9_IDX): Define unconditionally.
36868         (TENS_P9_SIZE): Likewise.
36869         (TENS_P10_IDX): Likewise.
36870         (TENS_P10_SIZE): Likewise.
36871         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36872         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36873         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36874         entries for 10^2^13 and 10^2^14.
36875         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36876         (TENS_P13_IDX): Define.
36877         (TENS_P13_SIZE): Likewise.
36878         (TENS_P14_IDX): Likewise.
36879         (TENS_P14_SIZE): Likewise.
36880         (_fpioconst_pow10): Change array size to
36881         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36882         unconditional.
36883         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36884         1024]: Add entries for 10^2^13 and 10^2^14.
36885         [LAST_POW10 > _LAST_POW10]: Remove #error.
36886         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36887         (_fpioconst_pow10): Change array size to
36888         FPIOCONST_POW10_ARRAY_SIZE.
36889         * stdlib/gen-fpioconst.c: New file.
36890         * stdlib/gen-tst-strtod-round.c: Likewise.
36891         * stdlib/tst-strtod-round-data: Likewise.
36892         * stdlib/tst-strtod-round.c: Likewise.
36893         * stdlib/Makefile (tests): Add tst-strtod-round.
36894
36895         [BZ #14459]
36896         * stdlib/strtod_l.c: Include <stdint.h>.
36897         (NDEBUG): Do not define.
36898         (round_and_return): Change EXPONENT parameter to type intmax_t.
36899         Rearrange calculations to avoid internal overflow possibilities.
36900         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36901         Rearrange calculations to avoid internal overflow possibilities.
36902         Assert that number fits inside MPNSIZE limbs.
36903         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36904         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36905         calculations and add assertions to avoid internal overflow
36906         possibilities.  Add casts to avoid signed/unsigned operations.
36907         * stdlib/tst-strtod-overflow.c: New file.
36908         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36909
36910 2012-08-25  Marek Polacek  <polacek@redhat.com>
36911
36912         * time/time.h: Fix some typos in comments.
36913
36914 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36915
36916         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36917         * posix/tst-rfc3484-2.c: Likewise.
36918         * posix/tst-rfc3484-3.c: Likewise.
36919
36920 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36921
36922         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36923         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36924
36925 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36926
36927         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36928         #include of fxstatat64.c.
36929
36930 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36931
36932         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36933         * shadow/getspent_r.c: Likewise.
36934         * shadow/getspnam.c: Likewise.
36935         * shadow/getspnam_r.c: Likewise.
36936         * gshadow/getsgent.c: Likewise.
36937         * gshadow/getsgent_r.c: Likewise.
36938         * gshadow/getsgnam.c: Likewise.
36939         * gshadow/getsgnam_r.c: Likewise.
36940         * inet/getnetbyad.c: Likewise.
36941         * inet/getnetbyad_r.c: Likewise.
36942         * inet/getnetbynm.c: Likewise.
36943         * inet/getnetbynm_r.c: Likewise.
36944         * inet/getnetent.c: Likewise.
36945         * inet/getnetent_r.c: Likewise.
36946         * inet/getproto.c: Likewise.
36947         * inet/getproto_r.c: Likewise.
36948         * inet/getprtent.c: Likewise.
36949         * inet/getprtent_r.c: Likewise.
36950         * inet/getprtname.c: Likewise.
36951         * inet/getprtname_r.c: Likewise.
36952         * inet/getrpcbyname.c: Likewise.
36953         * inet/getrpcbyname_r.c: Likewise.
36954         * inet/getrpcbynumber.c: Likewise.
36955         * inet/getrpcbynumber_r.c: Likewise.
36956         * inet/getrpcent.c: Likewise.
36957         * inet/getrpcent_r.c: Likewise.
36958         * inet/getaliasent.c: Likewise.
36959         * inet/getaliasent_r.c: Likewise.
36960         * inet/getaliasname.c: Likewise.
36961         * inet/getaliasname_r.c: Likewise.
36962         * nscd/getgrgid_r.c: Likewise.
36963         * nscd/getgrnam_r.c: Likewise.
36964         * nscd/gethstbyad_r.c: Likewise.
36965         * nscd/gethstbynm3_r.c: Likewise.
36966         * nscd/getpwnam_r.c: Likewise.
36967         * nscd/getpwuid_r.c: Likewise.
36968         * nscd/getsrvbynm_r.c: Likewise.
36969         * nscd/getsrvbypt_r.c: Likewise.
36970         * nscd/gai.c: Likewise.
36971
36972         * configure.in (build_nscd): New substituted variable, set
36973         by --disable-build-nscd and defaults to $use_nscd.
36974         * configure: Regenerated.
36975         * config.make.in (build-nscd): New substituted variable.
36976         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36977         Change conditional to require [$(build-nscd) = yes] as well.
36978         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36979
36980         [BZ# 13696]
36981         * configure.in (use_nscd): New substituted variable, set by
36982         --disable-nscd.  If enabled, define USE_NSCD.
36983         * configure: Regenerated.
36984         * config.h.in: Add USE_NSCD.
36985         * config.make.in (use-nscd): New substituted variable.
36986         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36987         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36988         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36989         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36990         (CFLAGS-getgrnam_r.c): Likewise.
36991         (CFLAGS-initgroups.c): Likewise.
36992         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36993         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36994         Variables removed.
36995         * inet/getnetgrent_r.c
36996         (nscd_setnetgrent): New function, broken out of ...
36997         (setnetgrent): ... here.  Call it.
36998         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36999         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37000         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37001         * nscd/Makefile (routines, aux): Move definitions after include of
37002         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37003         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37004         Conditionalize on [USE_NSCD].
37005         (is_nscd, nscd_init_cb): Likewise.
37006         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37007         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37008         * nss/nss_db/db-init.c: Likewise.
37009         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37010         [USE_NSCD].
37011         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37012         (make_request): Use it.
37013         (cache_valid_p): New function.
37014         (__check_pf): Use it.
37015         * NEWS: Add item for --disable-nscd.
37016
37017 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37018
37019         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37020         to support sed >= 4.2.1-20-ga9bf076.
37021         * configure: Regenerated.
37022
37023 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37024
37025         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37026         Conditionalize whole body on [IREL].
37027
37028 2012-08-22  Jeff Law <law@redhat.com>
37029
37030         [BZ #14505]
37031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37032         if the family is PF_UNSPEC.
37033
37034 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37035
37036         * Makerules (lib-version): Rename from V.
37037         (install-lib-nosubdir): Change V to lib-version.
37038
37039 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37040
37041         [BZ #14252]
37042         * powerpc32/power6/wcschr.c: New file.
37043         * powerpc32/power6/wcscpy.c: New file.
37044         * powerpc32/power6/wcsrchr.c: New file.
37045         * powerpc64/power6/wcschr.c: New file.
37046         * powerpc64/power6/wcscpy.c: New file.
37047         * powerpc64/power6/wcsrchr.c: New file.
37048
37049 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37050
37051         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37052         (two_way_short_needle): Use it.
37053         * string/strstr.c (AVAILABLE1_USES_J): Define.
37054         * string/strcasestr.c: Likewise.
37055
37056         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37057         array references.
37058         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37059
37060         [BZ #11607]
37061         * NEWS: Add an entry.
37062         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37063         define their defaults.
37064         (two_way_short_needle): Detect end-of-string on-the-fly.
37065         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37066         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37067         * string/bug-strcasestr1.c: New test.
37068         * string/Makefile: Run it.
37069
37070 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37071
37072         [BZ #11607]
37073         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37074         the first character.
37075
37076 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37077
37078         * csu/elf-init.c (__libc_csu_irel): Function removed.
37079         * csu/libc-start.c (apply_irel): New function.
37080         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37081
37082 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37083
37084         * sysdeps/unix/sysv/linux/kernel-features.h
37085         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37086         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37087         <kernel-features.h>.
37088         [__NR_fadvise64_64]: Make code unconditional.
37089         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37090         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37091         !__NR_fadvise64_64)]: Likewise.
37092         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37093         !__NR_fadvise64_64))]: Likewise.
37094         [__NR_fadvise64]: Make code unconditional.
37095         [!__NR_fadvise64]: Remove conditional code.
37096         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37097         <kernel-features.h>.
37098         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37099         unconditional.
37100         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37101         conditional code.
37102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37103         not include <kernel-features.h>.
37104         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37105         unconditional.
37106         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37107         conditional code.
37108         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37109         include <kernel-features.h>.
37110         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37111         unconditional.
37112         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37113         conditional code.
37114
37115 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37116
37117         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37118         slight instruction rearrangements per scrollpipe analysis.
37119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37120
37121 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37122
37123         * manual/syslog.texi (syslog; vsyslog, closelog):
37124         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37125         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37126
37127         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37128         DSOCAPS to match condition on defining it.
37129
37130 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37131
37132         * sysdeps/unix/sysv/linux/kernel-features.h
37133         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37135         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37136         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37138         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37139         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37141         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37142         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37143
37144         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37145         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37146
37147         * sysdeps/unix/sysv/linux/kernel-features.h
37148         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37149         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37150         unconditional.
37151         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37152         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37153         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37154         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37155         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37156         Make code unconditional.
37157         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37158         (__mmap64) [!__NR_mmap2]: Likewise.
37159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37160         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37161         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37162         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37163         [__NR_mmap2]: Make code unconditional.
37164         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37165         (__mmap64) [!__NR_mmap2]: Likewise.
37166
37167 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37168
37169         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37170
37171 2012-08-18  Andreas Jaeger  <aj@suse.de>
37172
37173         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37174
37175 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37176
37177         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37178         * include/unistd.h (__have_sock_cloexec): Likewise.
37179         (__have_pipe2): Likewise.
37180         (__have_dup3): Likewise.
37181
37182 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37183
37184         [BZ #9685]
37185         * include/unistd.h (__have_pipe2): Change define into an extern int.
37186         (__have_dup3): Likewise.
37187         * socket/have_sock_cloexec.c: Include fcntl.h.
37188         (__have_pipe2): New variable.
37189         (__have_dup3): Likewise.
37190
37191 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37192
37193         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37194
37195 2012-08-17  Marek Polacek  <polacek@redhat.com>
37196
37197         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37198         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37199
37200 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37201
37202         * configure.in: Add AC_SUBST for sysheaders.
37203         * configure: Regenerated.
37204         * config.make.in (sysheaders): New substituted variable.
37205
37206         * sysdeps/unix/mkfifo.c: Moved ...
37207         * sysdeps/posix/mkfifo.c: ... here.
37208         * sysdeps/unix/mkfifoat.c: Moved ...
37209         * sysdeps/posix/mkfifoat.c: ... here.
37210
37211         * sysdeps/unix/utime.c: Moved ...
37212         * sysdeps/posix/utime.c: ... here.
37213
37214         * sysdeps/unix/time.c: Moved ...
37215         * sysdeps/posix/time.c: ... here.
37216         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37217         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37218
37219         * sysdeps/unix/nice.c: Moved ...
37220         * sysdeps/posix/nice.c: ... here.
37221
37222         * sysdeps/unix/alarm.c: Moved ...
37223         * sysdeps/posix/alarm.c: ... here.
37224
37225         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37226
37227 2012-08-17  Jeff Law <law@redhat.com>
37228
37229         * intl/Makefile (codeset_mo): New variable.
37230         ($(codeset_mo)): New target.
37231         (tst-codeset.out): Depend on that.  Remove explicit rule.
37232         (tst-gettext3.out, tst-gettext5.out): Likewise.
37233         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37234         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37235         * intl/tst-codeset.sh: Remove.
37236         * intl/tst-gettext3.sh: Likewise.
37237         * intl/tst-gettext5.sh: Likewise.
37238
37239 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37240
37241         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37242         * sysdeps/unix/syscalls.list: ... here.
37243
37244         * sysdeps/posix/getaddrinfo.c
37245         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37246         (gaiconf_init, gaiconf_reload): Use them.
37247         [!_STATBUF_ST_NSEC]
37248         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37249         Define using time_t rather than struct timespec.
37250
37251         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37252         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37253         Macros removed.
37254         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37255         [!NO_THREADS].
37256         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37257         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37258         Likewise.
37259
37260         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37261         __libc_cleanup_push argument.
37262
37263         * bits/param.h: New file.
37264         * misc/sys/param.h: New file.
37265         * include/sys/param.h: New file.
37266         * misc/Makefile (headers): Add bits/param.h.
37267         * sysdeps/generic/sys/param.h: File removed.
37268         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37269         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37270         * sysdeps/mach/hurd/bits/param.h: New file.
37271         * sysdeps/mach/hurd/sys/param.h: File removed.
37272
37273         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37274         last change.
37275
37276         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37277         [_IO_MTSAFE_IO].
37278         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37279         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37280         New macros.
37281
37282         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37283         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37284         rather than -D_IO_MTSAFE_IO conditionally.
37285         * stdio-common/Makefile (CPPFLAGS): Likewise.
37286         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37287         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37288         Use $(libio-mtsafe).
37289         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37290         of -D_IO_MTSAFE_IO.
37291         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37292         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37293         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37294         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37295         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37296         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37297         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37298         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37299         (CFLAGS-fread_u_chk.c): Likewise.
37300         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37301         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37302         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37303         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37304         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37305         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37306         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37307         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37308         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37309
37310         * libio/Makefile: Test [$(libc-reentrant) = yes]
37311         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37312
37313         * Makeconfig
37314         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37315         * sysdeps/pthread/configure: File removed.
37316         * sysdeps/pthread/Makeconfig: New file.
37317         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37318         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37319
37320 2012-08-16  Gary Benson  <gbenson@redhat.com>
37321
37322         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37323         unmapping the first object in a namespace.
37324
37325 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37326
37327         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37328         (__internal_setnetgrent): ... this.  Add internal_function to
37329         definition.  Add libc_hidden_def.
37330         (setnetgrent): Update caller.
37331         (internal_endnetgrent): Renamed to ...
37332         (__internal_endnetgrent): ... this.  Add internal_function to
37333         definition.  Add libc_hidden_def.
37334         (endnetgrent): Update caller.
37335         (internal_getnetgrent_r): Renamed to ...
37336         (__internal_getnetgrent_r): ... this.  Add internal_function to
37337         definition.  Add libc_hidden_def.
37338         (__getnetgrent_r): Update caller.
37339         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37340
37341 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37342
37343         * stdlib/longlong.h: Update from GCC.
37344
37345 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37346
37347         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37348         on _QL, which is set by umul_ppmm but never used.
37349         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37350         variables, which are set by GMP macros but never used.
37351         * stdio-common/_itowa.c (_itowa): Likewise.
37352         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37353         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37354
37355 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37356
37357         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37358         struct La_sh_regs is not constant.
37359         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37360         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37361         and struct La_sparc64_regs are not constant.
37362
37363 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37364
37365         * sysdeps/unix/sysv/linux/kernel-features.h
37366         (__ASSUME_POSIX_TIMERS): Remove.
37367         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37368         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37369         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37370         Make code unconditional.
37371         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37372         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37373         Make code unconditional.
37374         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37375         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37376         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37377         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37378         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37379         Make code unconditional.
37380         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37381         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37382         (__libc_missing_posix_timers): Remove.
37383
37384 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37385
37386         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37387         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37388
37389         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37390
37391         * elf/dl-sym.c: Include <stdlib.h>.
37392
37393         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37394         constants, which avoids warnings in 32-bit builds.
37395
37396         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37397         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37398
37399         * misc/lseek.c: File moved to ...
37400         * io/lseek.c: ... here.
37401
37402         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37403
37404         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37405         shifting LEN more than 31 bits at once.
37406
37407 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37408
37409         [BZ #14195]
37410         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37411         segmentation fault for a case of two empty input strings.
37412         * string/test-strncasecmp.c (check1): Renamed to...
37413         (bz12205): ...this.
37414         (bz14195): Add new testcase for two empty input strings and N > 0.
37415         (test_main): Call new testcase, adapt for renamed function.
37416
37417 2012-08-15  Andreas Jaeger  <aj@suse.de>
37418
37419         [BZ #14090]
37420         * crypt/md5test2.c: New test, based on test supplied by Serge
37421         Belyshev <belyshev@depni.sinp.msu.ru>.
37422         * crypt/Makefile (xtests): Add md5test-giant..
37423         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37424
37425 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37426
37427         [BZ #14090]
37428         * crypt/md5.c (md5_process_block): Don't assume the buffer
37429         length is less than 2**32.
37430         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37431         length is less than 2**64.
37432
37433 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37434
37435         * string/str-two-way.h: Include <sys/param.h>.
37436         (MAX): Macro removed.
37437
37438         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37439         Move #define and #undef of memmove to just before and after
37440         including <string.h>.
37441
37442         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37443         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37444         and after including <string.h>.  Move declarations of
37445         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37446         to before #include "string/memmove.c".
37447
37448         * include/dirent.h: Declare __getdirentries.
37449
37450         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37451         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37452
37453 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37454
37455         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37456         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37457         * sysdeps/i386/configure: Regenerated.
37458         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37459         STABS_CURRENT_FILE, and STABS_FUN.
37460         (END): Remove call to STABS_FUN_END.
37461         (STABS_CURRENT_FILE1): Delete.
37462         (STABS_CURRENT_FILE): Likewise.
37463         (STABS_FUN): Likewise.
37464         (STABS_FUN_END): Likewise.
37465         (STABS_FUN2): Likewise.
37466         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37467         * sysdeps/x86_64/configure: Regenerated.
37468
37469 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37470
37471         * elf/dl-open.c: Include <atomic.h>.
37472         * elf/dl-lookup.c: Likewise.
37473
37474 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37475
37476         * sysdeps/unix/sysv/linux/kernel-features.h
37477         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37478         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37479         unconditionally.
37480         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37481         unconditionally.
37482         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37483         condition on __ASSUME_CLONE_THREAD_FLAGS.
37484
37485 2012-08-14  Andreas Jaeger  <aj@suse.de>
37486
37487         * sysdeps/i386/fpu/libm-test-ulps: Update.
37488
37489 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37490
37491         * include/atomic.h (atomic_exchange_and_add): Split into ...
37492         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37493         New atomic macros.
37494
37495 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37496
37497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37498
37499 2012-08-13  Jeff Law <law@redhat.com>
37500
37501         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37502         null byte in the output string.
37503
37504 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37505
37506         * sysdeps/unix/sysv/linux/kernel-features.h
37507         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37508         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37509         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37510         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37511         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37512         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37513         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37514
37515 2012-08-09  Jeff Law <law@redhat.com>
37516
37517         [BZ #13939]
37518         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37519         When avoid_arena is set, don't retry in the that arena.  Pick the
37520         next one, whatever it might be.
37521         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37522         (arena_lock): Pass in new parameter to arena_get2.
37523         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37524         arena_get2.
37525         (__libc_malloc): Unify retrying after main arena failure with
37526         __libc_memalign version.
37527         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37528
37529 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37530
37531         [BZ #14166]
37532         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37533         to __redirect_strstr.
37534         (__strstr_sse42): Use typeof __redirect_strstr.
37535         (__strstr_ia32): Likewise.
37536         (__libc_strstr): New prototype.
37537         (strstr): Renamed to ...
37538         (__libc_strstr): This.
37539         (strstr): New strong alias of __libc_strstr.
37540         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37541         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37542         __redirect_time.
37543         Include <time.h>.
37544         (__libc_time): New prototype.
37545         (time_ifunc): Replace time with __libc_time.
37546         (time): New strong alias and hidden definition of __libc_time.
37547         (__GI_time): Remove strong alias.
37548         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37549         Include <stddef.h>.
37550         (memmove): Redefined to __redirect_memmove.
37551         (__memmove_sse2): Use typeof __redirect_memmove.
37552         (__memmove_ssse3): Likewise.
37553         (__memmove_ssse3_back): Likewise.
37554         (__libc_memmove): New prototype.
37555         (memmove): Renamed to ...
37556         (__libc_memmove): This.
37557         (memmove): New strong alias of __libc_memmove.
37558
37559 2012-08-08  Mark Salter  <msalter@redhat.com>
37560
37561         * elf/elf.h
37562         (R_MN10300_TLS_GD): Define.
37563         (R_MN10300_TLS_LD): Likewise.
37564         (R_MN10300_TLS_LDO): Likewise.
37565         (R_MN10300_TLS_GOTIE): Likewise.
37566         (R_MN10300_TLS_IE): Likewise.
37567         (R_MN10300_TLS_LE): Likewise.
37568         (R_MN10300_TLS_DTPMOD): Likewise.
37569         (R_MN10300_TLS_DTPOFF): Likewise.
37570         (R_MN10300_TLS_TPOFF): Likewise.
37571         (R_MN10300_SYM_DIFF): Likewise.
37572         (R_MN10300_ALIGN): Likewise.
37573         (R_MN10300_NUM): Update.
37574
37575 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37576
37577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37578         Remove.
37579
37580 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37581
37582         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37583
37584         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37585         sysdeps/unix -> sysdeps/posix move.
37586         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37587
37588 2012-08-07      Allan McRae     <allan@archlinux.org>
37589
37590         [BZ #14303]
37591         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37592         (SUNOS_CPP): Likewise.
37593         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37594         not found.
37595         (open_input): Call CPP using execvp.
37596
37597 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37598
37599         * sysdeps/unix/sysv/linux/kernel-features.h
37600         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37601         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37602         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37603         (__ASSUME_WAITID_SYSCALL): Likewise.
37604         * sysdeps/unix/sysv/linux/dl-execstack.c
37605         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37606         code unconditional.
37607         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37608         conditional code.
37609         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37610         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37611         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37612         code.
37613         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37614         unconditional.
37615         [__ASSUME_WAITID_SYSCALL]: Likewise.
37616         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37617
37618 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37619
37620         * sysdeps/unix/closedir.c: Renamed to ...
37621         * sysdeps/posix/closedir.c: ... here.
37622         * sysdeps/unix/dirfd.c: Renamed to ...
37623         * sysdeps/posix/dirfd.c: ... here.
37624         * sysdeps/unix/dirstream.h: Renamed to ...
37625         * sysdeps/posix/dirstream.h: ... here.
37626         * sysdeps/unix/fdopendir.c: Renamed to ...
37627         * sysdeps/posix/fdopendir.c: ... here.
37628         * sysdeps/unix/opendir.c: Renamed to ...
37629         * sysdeps/posix/opendir.c: ... here.
37630         * sysdeps/unix/readdir.c: Renamed to ...
37631         * sysdeps/posix/readdir.c: ... here.
37632         * sysdeps/unix/readdir_r.c: Renamed to ...
37633         * sysdeps/posix/readdir_r.c: ... here.
37634         * sysdeps/unix/rewinddir.c: Renamed to ...
37635         * sysdeps/posix/rewinddir.c: ... here.
37636         * sysdeps/unix/seekdir.c: Renamed to ...
37637         * sysdeps/posix/seekdir.c: ... here.
37638         * sysdeps/unix/telldir.c: Renamed to ...
37639         * sysdeps/posix/telldir.c: ... here.
37640         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37641         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37642         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37643         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37644
37645         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37646         * bits/fcntl.h: ... here.
37647
37648         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37649         not 0.
37650         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37651         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37652         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37653         (struct flock): Move l_start, l_len to the beginning.
37654         Use __pid_t for l_pid.
37655         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37656         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37657         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37658         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37659         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37660         [__USE_LARGEFILE64] (struct flock64): New type.
37661         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37662
37663         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37664         * bits/dirent.h: ... here.
37665
37666         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37667         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37668
37669 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37670
37671         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37672         Change from 2.6.0 to 2.6.16.
37673         * sysdeps/unix/sysv/linux/configure: Regenerated.
37674         * sysdeps/unix/sysv/linux/kernel-features.h
37675         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37676         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37677         version.
37678         (__ASSUME_UTIMES): Likewise.
37679         (__ASSUME_CLONE_STOPPED): Remove.
37680         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37681         architectures, not kernel version.
37682         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37683         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37684         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37685         (__ASSUME_WAITID_SYSCALL): Likewise.
37686         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37687         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37688         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37689         refer to older versions.
37690
37691 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37692
37693         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37694         Define alphasort64 as an alias.
37695         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37696         Define versionsort64 as an alias.
37697         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37698         Define scandir64 as an alias.
37699         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37700         Define scandirat64 as an alias.
37701         * dirent/alphasort64.c (alphasort64):
37702         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37703         * dirent/versionsort64.c: Likewise.
37704         * dirent/scandir64.c: Likewise.
37705         * dirent/scandirat64.c: Likewise.
37706         * sysdeps/wordsize-64/alphasort.c: File removed.
37707         * sysdeps/wordsize-64/alphasort64.c: File removed.
37708         * sysdeps/wordsize-64/scandir.c: File removed.
37709         * sysdeps/wordsize-64/scandir64.c: File removed.
37710         * sysdeps/wordsize-64/scandirat.c: File removed.
37711         * sysdeps/wordsize-64/scandirat64.c: File removed.
37712         * sysdeps/wordsize-64/versionsort.c: File removed.
37713         * sysdeps/wordsize-64/versionsort64.c: File removed.
37714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37715         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37717         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37719         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37720         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37721         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37722
37723         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37725         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37727         [defined __arch64__ || defined __sparcv9]
37728         (__INO_T_MATCHES_INO64_T): New macro.
37729         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37730         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37731         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37732         * sysdeps/unix/sysv/linux/bits/dirent.h
37733         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37734         (_DIRENT_MATCHES_DIRENT64): New macro.
37735
37736         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37737         Define lockf64 as an alias.
37738         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37739         Define fseeko64 as an alias.
37740         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37741         Define ftello64 as an alias.
37742         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37743         Define _IO_fgetpos64 and fgetpos64 as aliases.
37744         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37745         Define _IO_fsetpos64 and fsetpos64 as aliases.
37746         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37747         Conditionalize body on this.
37748         * libio/fseeko64.c: Likewise.
37749         * libio/ftello64.c: Likewise.
37750         * libio/iofgetpos64.c: Likewise.
37751         * libio/iofsetpos64.c: Likewise.
37752         * sysdeps/wordsize-64/lockf.c: File removed.
37753         * sysdeps/wordsize-64/lockf64.c: File removed.
37754         * sysdeps/wordsize-64/fseeko.c: File removed.
37755         * sysdeps/wordsize-64/fseeko64.c: File removed.
37756         * sysdeps/wordsize-64/ftello.c: File removed.
37757         * sysdeps/wordsize-64/ftello64.c: File removed.
37758         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37759         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37760         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37761         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37762         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37763         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37764         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37765         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37766         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37767         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37769         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37771         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37772
37773         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37775         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37777         [defined __arch64__ || defined __sparcv9]
37778         (__OFF_T_MATCHES_OFF64_T): New macro.
37779         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37780         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37782         (__OFF_T_MATCHES_OFF64_T): New macro.
37783
37784 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37785
37786         * stdlib/secure-getenv.c (__secure_getenv): Replace
37787         GLIBC_2_16 with GLIBC_2_17.
37788
37789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37790
37791         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37792         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37793
37794 2012-08-03  David S. Miller  <davem@davemloft.net>
37795
37796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37797
37798 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37799
37800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37801         Remove.
37802         (__ASSUME_CORRECT_SI_PID): Likewise.
37803         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37804         (__ASSUME_TMPFS_NAME): Likewise.
37805         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37806         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37807         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37808         (HAVE_AUX_SECURE): Make definition unconditional.
37809         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37810         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37811
37812 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37813
37814         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37815         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37816         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37817         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37818         __eloop_threshold instead of SYMLOOP_MAX.
37819
37820         * sysdeps/generic/eloop-threshold.h: New file.
37821         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37822         of MAXSYMLINKS.
37823         * elf/chroot_canon.c (chroot_canon): Likewise.
37824
37825 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37826
37827         [BZ #13717]
37828         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37829         Change to 2.6.0 everywhere.
37830         * sysdeps/unix/sysv/linux/configure: Regenerated.
37831         * sysdeps/unix/sysv/linux/kernel-features.h
37832         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37833         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37834         kernel versions.
37835         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37836         (__ASSUME_FUTEX_REQUEUE): Remove.
37837         (__ASSUME_STATFS64): Define unconditionally.
37838         (__ASSUME_AT_SECURE): Likewise.
37839         (__ASSUME_CORRECT_SI_PID): Likewise.
37840         (__ASSUME_TGKILL): Define without depending on kernel version for
37841         i386.
37842         (__ASSUME_UTIMES): Likewise.
37843         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37844         kernel version.
37845         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37846         (__ASSUME_TMPFS_NAME): Likewise.
37847         * README: Update reference to Linux kernel versions.
37848
37849 2012-08-02  Marek Polacek  <polacek@redhat.com>
37850
37851         [BZ# 14150]
37852         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37853         libc_cv_asm_type_prefix with %.
37854         * configure: Regenerated.
37855         * include/libc-symbols.h: Remove comment about
37856         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37857         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37858         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37859         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37860         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37861         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37862         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37863         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37864         * elf/tst-unique2mod1.c: Likewise.
37865         * elf/tst-unique1mod2.c: Likewise.
37866         * elf/tst-unique1mod1.c: Likewise.
37867         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37868         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37869         Replace ASM_TYPE_DIRECTIVE with .type.
37870         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37871         * sysdeps/i386/sysdep.h: Likewise.
37872         * sysdeps/x86_64/sysdep.h: Likewise.
37873         * sysdeps/sh/sysdep.h: Likewise.
37874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37875         Do not define ASM_TYPE_DIRECTIVE.
37876         * sysdeps/powerpc/sysdep.h: Likewise.
37877         * sysdeps/powerpc/powerpc32/sysdep.h:
37878         Replace ASM_TYPE_DIRECTIVE with .type.
37879         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37880         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37881         * sysdeps/i386/fpu/e_powf.S: Likewise.
37882         * sysdeps/i386/fpu/e_expl.S: Likewise.
37883         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37884         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37885         * sysdeps/i386/fpu/e_pow.S: Likewise.
37886         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37887         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37888         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37889         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37890         * sysdeps/i386/fpu/e_log2.S: Likewise.
37891         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37892         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37893         * sysdeps/i386/fpu/e_powl.S: Likewise.
37894         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37895         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37896         * sysdeps/i386/fpu/e_logl.S: Likewise.
37897         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37898         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37899         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37900         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37901         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37902         * sysdeps/i386/fpu/e_log.S: Likewise.
37903         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37904         * sysdeps/i386/fpu/e_logf.S: Likewise.
37905         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37906         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37907         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37908         * sysdeps/i386/fpu/e_log10.S: Likewise.
37909         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37910         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37911         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37912         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37913         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37914         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37915         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37916         * sysdeps/i386/i686/strtok.S: Likewise.
37917         * sysdeps/i386/i386-mcount.S: Likewise.
37918         * sysdeps/i386/strtok.S: Likewise.
37919         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37920         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37921         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37922         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37923         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37924         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37925         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37926         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37927         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37928         * sysdeps/x86_64/_mcount.S: Likewise.
37929         * sysdeps/x86_64/strtok.S: Likewise.
37930         * sysdeps/sh/_mcount.S: Likewise.
37931
37932 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37933
37934         * libio/iofopen.c: Include <fcntl.h>.
37935         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37936         (_IO_fopen64, fopen64): Define as aliases.
37937         * libio/iofopen64.c: Include <fcntl.h>.
37938         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37939         Conditionalize body on this.
37940         * sysdeps/wordsize-64/iofopen.c: File removed.
37941         * sysdeps/wordsize-64/iofopen64.c: File removed.
37942
37943 2012-08-01  Marek Polacek  <polacek@redhat.com>
37944
37945         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37946         Use dlfcn directly instead of a variable.
37947         (binfmt-subdir): Do not define.
37948         (dlfcn): Likewise.
37949
37950 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37951
37952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37953         Remove all definitions.
37954         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37955         <kernel-features.h>.
37956         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37957         (miss_F_GETOWN_EX): Remove all definitions.
37958         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37959         macro definition.
37960         [!__ASSUME_FCNTL64]: Remove conditional code.
37961         [__ASSUME_FCNTL64]: Make code unconditional.
37962         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37963         <kernel-features.h>.
37964         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37965         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37966         (lockf64) [__NR_fcntl64]: Make code unconditional.
37967         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37968
37969         * sysdeps/unix/sysv/linux/kernel-features.h
37970         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37971         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37972         Make code unconditional.
37973         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37974         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37976         [__NR_vfork]: Make code unconditional.
37977         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37978         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37980         [__NR_vfork]: Make code unconditional.
37981         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37982         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37983
37984 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37985
37986         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37987         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37988
37989         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37990         Define mkstemp64 as an alias.
37991         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37992         Define mkstemps64 as an alias.
37993         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37994         Define mkostemp64 as an alias.
37995         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37996         Define mkostemps64 as an alias.
37997         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37998         Conditionalize body on this.
37999         * misc/mkostemp64.c: Likewise.
38000         * misc/mkostemps64.c: Likewise.
38001         * misc/mkstemps64.c: Likewise.
38002         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38003         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38004         * sysdeps/wordsize-64/mkostemp.c: File removed.
38005         * sysdeps/wordsize-64/mkstemp.c: File removed.
38006         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38007         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38008         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38009         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38010
38011         [BZ #14138]
38012         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38013         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38014         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38015         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38016
38017         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38018         compat_symbol macros from <shlib-compat.h> rather than the underlying
38019         default_symbol_version and symbol_version macros, so that DEFAULT
38020         lines in shlib-versions are respected.
38021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38022
38023 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38024
38025         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38026         Declare with warn_unused_result.
38027         (setgid, setregid, setegid, setresgid): Likewise.
38028         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38029         Likewise.
38030         * WUR-REPORT: Remove set*id functions.
38031
38032 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38033
38034         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38035
38036 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38037
38038         [BZ #10191]
38039         * include/sys/socket.h (__libc_accept, __libc_accept4):
38040         Add attribute_hidden.
38041         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38042
38043         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38044         use of PTR_MANGLE.
38045         * inet/getnetgrent_r.c (setup): Likewise.
38046
38047         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38048
38049 2012-07-31  David S. Miller  <davem@davemloft.net>
38050
38051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38052
38053 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38054
38055         [BZ #13629]
38056         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38057         value between 1.0 and 2.0 and smaller part has absolute value less
38058         than 1.0.
38059         * math/s_clog10.c (__clog10): Likewise.
38060         * math/s_clog10f.c (__clog10f): Likewise.
38061         * math/s_clog10l.c (__clog10l): Likewise.
38062         * math/s_clogf.c (__clogf): Likewise.
38063         * math/s_clogl.c (__clogl): Likewise.
38064         * math/libm-test.inc (clog_test): Add more tests.
38065         (clog10_test): Likewise.
38066         * sysdeps/i386/fpu/libm-test-ulps: Update.
38067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38068
38069 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38070
38071         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38072         Exit with zero in case no suitable GID is found, and write a
38073         message to standard error.
38074
38075 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38076
38077         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38078         rather than to 1.
38079         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38080         (MAXPATHLEN): Removed.
38081         (NOGROUP, NODEV): New macros.
38082         (setbit, clrbit, isset, isclr): New macros.
38083         (howmany, roundup, powerof2): New macros.
38084         (DEV_BSIZE): New macro.
38085
38086         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38087         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38088
38089         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38090         definition on [!__NO_LONG_DOUBLE_MATH].
38091
38092         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38093         PTR_MANGLE and PTR_DEMANGLE.
38094
38095         * socket/accept4.c (accept4): Rename to __libc_accept4.
38096         Define accept4 as a weak alias.
38097
38098         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38099         on [_DIRENT_HAVE_D_TYPE].
38100         * io/ftw.c (ftw_dir): Likewise.
38101
38102         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38103
38104         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38105
38106         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38107         Use the BSD numbers rather than the arbitrary ones we had.
38108         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38109         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38110         (SIGXCPU, SIGXFSZ): New macros.
38111         (_NSIG): Now 32.
38112
38113         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38114         initializer on [_LIBC_REENTRANT].
38115
38116         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38117         definitions inside [_POSIX_MAPPED_FILES].
38118
38119         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38120
38121         * dirent/opendir.c: Include <fcntl.h>.
38122
38123         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38124         (__libc_getspecific): Likewise.
38125         (__libc_key_create): Likewise.
38126
38127         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38128         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38129         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38130         (tmpfile64): Define as alias.
38131         * sysdeps/wordsize-64/tmpfile.c: File removed.
38132         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38133         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38134         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38135
38136         * stdio-common/vfscanf.c: Include <stdbool.h>.
38137         * nss/makedb.c: Likewise.
38138         * stdio-common/_i18n_number.h: Likewise.
38139         * argp/argp-help.c: Likewise.
38140         * posix/wordexp.c: Likewise.
38141         * sysdeps/posix/spawni.c: Likewise.
38142         * nss/nss_files/files-initgroups.c: Likewise.
38143         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38144         * nss/nss_files/files-initgroups.c: Likewise.
38145         * nss/nss_db/db-netgrp.c: Likewise.
38146         * nss/nss_db/db-initgroups.c: Likewise.
38147         * io/fchmodat.c: Include <sys/stat.h>.
38148
38149         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38150         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38151
38152         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38153         [HAVE_MMAP].
38154
38155         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38156         Add multiple inclusion protection.
38157
38158 2012-07-27  David S. Miller  <davem@davemloft.net>
38159
38160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38161
38162 2012-07-27  Gary Benson  <gbenson@redhat.com>
38163
38164         [BZ #14298]
38165         * elf/rtld.c: Include <stap-probe.h>.
38166         (dl_main): Added static probes "init_start" and "init_complete".
38167         * elf/dl-load.c: Include <stap-probe.h>.
38168         (lose): Take new parameter "nsid".
38169         Added static probe "map_failed".
38170         (_dl_map_object_from_fd): Pass namespace id to lose.
38171         Added static probe "map_start".
38172         (open_verify): Pass namespace id to lose.
38173         * elf/dl-open.c: Include <stap-probe.h>.
38174         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38175         and "reloc_complete".
38176         * elf/dl-close.c: Include <stap-probe.h>.
38177         (_dl_close_worker): Added static probes "unmap_start" and
38178         "unmap_complete".
38179         * elf/rtld-debugger-interface.txt: New file documenting the above.
38180
38181 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38182
38183         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38184         rather than a string variable.
38185         * sunrpc/rpc_main.c (h_output): Likewise.
38186         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38187
38188 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38189
38190         * inet/check_native.c: New file.
38191
38192 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38193
38194         [BZ #13629]
38195         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38196         if larger part has absolute value 1.0.
38197         * math/s_clog10.c (__clog10): Likewise.
38198         * math/s_clog10f.c (__clog10f): Likewise.
38199         * math/s_clog10l.c (__clog10l): Likewise.
38200         * math/s_clogf.c (__clogf): Likewise.
38201         * math/s_clogl.c (__clogl): Likewise.
38202         * math/libm-test.inc (clog_test): Add more tests.
38203         (clog10_test): Likewise.
38204         * sysdeps/i386/fpu/libm-test-ulps: Update.
38205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38206
38207         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38208         (pltexit): Likewise.
38209         (La_regs): Likewise.
38210         (La_retval): Likewise.
38211         (int_retval): Likewise.
38212         Update #error for removed macros to refer only to definitions in
38213         tst-audit.h.
38214         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38215         macro.
38216         (pltexit): Likewise.
38217         (La_regs): Likewise.
38218         (La_retval): Likewise.
38219         (int_retval): Likewise.
38220         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38221         macro.
38222         (pltexit): Likewise.
38223         (La_regs): Likewise.
38224         (La_retval): Likewise.
38225         (int_retval): Likewise.
38226         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38227         macro.
38228         (pltexit): Likewise.
38229         (La_regs): Likewise.
38230         (La_retval): Likewise.
38231         (int_retval): Likewise.
38232         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38233         macro.
38234         (pltexit): Likewise.
38235         (La_regs): Likewise.
38236         (La_retval): Likewise.
38237         (int_retval): Likewise.
38238         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38239         macro.
38240         (pltexit): Likewise.
38241         (La_regs): Likewise.
38242         (La_retval): Likewise.
38243         (int_retval): Likewise.
38244         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38245         macro.
38246         (pltexit): Likewise.
38247         (La_regs): Likewise.
38248         (La_retval): Likewise.
38249         (int_retval): Likewise.
38250         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38251         macro definitions in tst-audit.h.
38252         * sysdeps/i386/tst-audit.h: New file.
38253         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38254         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38255         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38256         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38257         * sysdeps/sh/tst-audit.h: Likewise.
38258         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38259         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38260         * sysdeps/x86_64/tst-audit.h: Likewise.
38261
38262 2012-07-26  Andreas Jaeger  <aj@suse.de>
38263
38264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38265         ptrace.
38266
38267         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38268         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38269         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38270         PTRACE_O_MASK.
38271         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38272         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38273         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38274
38275         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38276         value.
38277
38278         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38279         _sigsys.
38280         (si_call_addr, si_syscall, si_arch): Define new macro.
38281         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38282         _sigsys.
38283         (si_call_addr, si_syscall, si_arch): Define new marcro.
38284         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38285         _sigsys.
38286         (si_call_addr, si_syscall, si_arch): Define new macro.
38287         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38288         _sigsys.
38289         (si_call_addr, si_syscall, si_arch): Define new macro.
38290
38291 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38292
38293         [BZ #13717]
38294         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38295         Change to 2.4.21 where previously 2.4.1.
38296         * sysdeps/unix/sysv/linux/configure: Regenerated.
38297         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38298         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38299         Linux kernel version.
38300         (__ASSUME_STD_AUXV): Remove.
38301         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38302         kernel version.
38303         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38304         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38305         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38306         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38307         (__ASSUME_NETLINK_SUPPORT): Likewise.
38308         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38309         (__no_netlink_support): Remove conditional definition.
38310         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38311         Remove.
38312         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38313         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38314         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38315         (if_nameindex_ioctl): Remove.
38316         (if_nameindex_netlink): Do not handle __no_netlink_support.
38317         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38318         code.
38319         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38320         Remove conditional code.
38321         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38322         code.
38323         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38324         unconditional.
38325         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38326         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38327         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38328         Remove.
38329         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38330         [!__ASSUME_STD_AUXV]: Remove conditional code.
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38332         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38333         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38335         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38336         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38337         code.
38338         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38341         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38342         conditional code.
38343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38345         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38346         code.
38347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38348         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38349         conditional code.
38350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38351         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38352         code unconditional.
38353         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38354         conditional code.
38355         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38356         unconditional.
38357         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38358         conditional code.
38359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38360         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38361         unconditional.
38362         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38363         conditional code.
38364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38365         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38366         code unconditional.
38367         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38368         conditional code.
38369         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38370         unconditional.
38371         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38372         conditional code.
38373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38374         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38375         code unconditional.
38376         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38377         conditional code.
38378         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38379         unconditional.
38380         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38381         conditional code.
38382
38383 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38384
38385         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38386         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38387         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38388         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38389         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38390         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38391         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38392         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38393         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38394         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38395         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38396         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38397         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38398         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38399         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38400         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38401         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38402         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38403         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38405         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38406         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38407         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38408
38409 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38410
38411         * Versions.def: Add GLIBC_2.17.
38412         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38413         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38414         Introduce __libc_secure_getenv.
38415         * stdlib/Versions (2.17): Add secure_getenv
38416         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38417         * stdlib/secure-getenv.c: Rename __secure_getenv to
38418         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38419         symbol __secure_getenv for GLIBC_2.0.
38420         * stdlib/tst-secure-getenv.c: New.
38421         * stdlib/Makefile (tests): Add testcase.
38422         * manual/startup.texi (Environment Access): Document
38423         secure_getenv.
38424         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38425         __libc_secure_getenv.
38426         * inet/ruserpass.c (ruserpass): Likewise.
38427         * malloc/mtrace.c (mtrace): Likewise.
38428         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38429         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38430         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38431         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38432         HAVE_SECURE_GETENV.
38433         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38434         __secure_getenv to __libc_secure_getenv.
38435         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38437         Likewise.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38439         Likewise.
38440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38442         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38447
38448 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38449
38450         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38451         (struct La_i86_retval): Likewise.
38452         (struct La_x86_64_regs): Likewise.
38453         (struct La_x86_64_retval): Likewise.
38454         (struct La_x32_regs): Likewise.
38455         (struct La_x32_retval): Likewise.
38456         (struct La_ppc32_regs): Likewise.
38457         (struct La_ppc32_retval): Likewise.
38458         (struct La_ppc64_regs): Likewise.
38459         (struct La_ppc64_retval): Likewise.
38460         (struct La_sh_regs): Likewise.
38461         (struct La_sh_retval): Likewise.
38462         (struct La_s390_32_regs): Likewise.
38463         (struct La_s390_32_retval): Likewise.
38464         (struct La_s390_64_regs): Likewise.
38465         (struct La_s390_64_retval): Likewise.
38466         (struct La_sparc32_regs): Likewise.
38467         (struct La_sparc32_retval): Likewise.
38468         (struct La_sparc64_regs): Likewise.
38469         (struct La_sparc64_retval): Likewise.
38470         (struct audit_ifaces): Remove architecture-specific pltenter and
38471         pltexit members.
38472         * sysdeps/i386/ldsodefs.h: New file.
38473         * sysdeps/powerpc/ldsodefs.h: Likewise.
38474         * sysdeps/s390/ldsodefs.h: Likewise.
38475         * sysdeps/sh/ldsodefs.h: Likewise.
38476         * sysdeps/sparc/ldsodefs.h: Likewise.
38477         * sysdeps/x86_64/ldsodefs.h: Likewise.
38478
38479 2012-07-25  Marek Polacek  <polacek@redhat.com>
38480
38481         [BZ #6808]
38482         * math/libm-test.inc (yn_test): Add another test.
38483         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38484         to ERANGE when the result is +-Inf.
38485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38486         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38487         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38488         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38489
38490 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38491
38492         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38493         equal to 0.
38494         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38495         clock_t.
38496         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38497
38498 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38499
38500         * configure.in <sysdeps resolving>: Correct printing
38501         Implies_before.
38502         * configure: Regenerate.
38503
38504 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38505
38506         * math/w_ilogb.c: Include <limits.h>.
38507         * math/w_ilogbl.c: Likewise.
38508
38509 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38510
38511         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38512         va_copy.  Document allowing for unavailable va_copy only as
38513         pre-C99 compatibility.
38514         * manual/string.texi (Copying and Concatenation): Use va_copy
38515         instead of __va_copy in concat example.
38516
38517 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38518
38519         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38520         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38521         it if not null.
38522
38523         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38524         with O_NOLINK passed to __file_name_lookup.
38525
38526         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38527         with O_NOLINK passed to __file_name_lookup.
38528
38529         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38530         negative N or less than NGIDS.
38531
38532         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38533         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38534         enough.  Use memcpy instead of strncpy.
38535
38536 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38537
38538         * elf/Makefile (check-data): Remove.
38539         (localplt.data): New vpath directive.
38540         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38541         instead of $(check-data).
38542         * scripts/data/localplt-generic.data: Move to ...
38543         * sysdeps/generic/localplt.data: ... here.
38544         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38545         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38546         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38548         ... here.
38549         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38551         ... here.
38552         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38554         ... here.
38555         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38557         ... here.
38558         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38560         ... here.
38561         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38563         ... here.
38564
38565 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38566
38567         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38568         PPC32 and PPC64 files.
38569         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38570         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38571
38572 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38573
38574         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38575         __makecontext_ret to ...
38576         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38577         ... here and call exit if uc_link is NULL.  New file.
38578         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38579         __makecontext_ret.S.
38580         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38581         __makecontext_ret to ...
38582         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38583         ... here and call exit if uc_link is NULL.  New file.
38584         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38585         __makecontext_ret.S.
38586
38587 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38588
38589         * elf/elf.h (R_390_IRELATIVE): New definition.
38590         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38591         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38592         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38594         (elf_machine_lazy_rel): Likewise.
38595         * sysdeps/s390/dl-irel.h: New file.
38596         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38597         * sysdeps/s390/s390-64/memset.S: New asm code.
38598         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38599         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38601         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38602         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38603         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38604         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38605         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38606         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38607         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38608         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38609         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38610         * sysdeps/s390/s390-32/memset.S: New asm code.
38611         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38612
38613 2012-07-17  Marek Polacek  <polacek@redhat.com>
38614
38615         [BZ #14349]
38616         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38617         * sysdeps/s390/s390-64/configure.in: Likewise.
38618         * sysdeps/sparc/configure.in: Likewise.
38619         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38620         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38621         * sysdeps/i386/configure.in: Likewise.
38622         * sysdeps/x86_64/configure.in: Likewise.
38623         * sysdeps/sh/configure.in: Likewise.
38624         * sysdeps/s390/s390-32/configure: Regenerated.
38625         * sysdeps/s390/s390-64/configure: Likewise.
38626         * sysdeps/x86_64/configure: Likewise.
38627         * sysdeps/sh/configure: Likewise.
38628         * sysdeps/powerpc/powerpc64/configure: Likewise.
38629         * sysdeps/powerpc/powerpc32/configure: Likewise.
38630         * sysdeps/sparc/configure: Likwise.
38631         * sysdeps/i386/configure: Likewise.
38632
38633         * elf/dl-open.c: Comment fixes.
38634
38635 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38636
38637         * Makefile [CXX] (check-data): Remove.
38638         [CXX] (c++-types.data): New vpath directive.
38639         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38640         vpath.  Do not allow for C++ type data being missing.
38641         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38642         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38643         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38644         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38645         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38646         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38647         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38649         ... here.
38650         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38652         ... here.
38653         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38655         ... here.
38656         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38658         ... here.
38659         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38661         ... here.
38662         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38664         ... here.
38665         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38667         ... here.
38668         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38670
38671         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38672         definitions to architecture-specific files.
38673         (TLS_IE): Likewise.
38674         (TLS_LD): Likewise.
38675         (TLS_GD): Likewise.
38676         * sysdeps/i386/tls-macros.h: New file.
38677         * sysdeps/powerpc/tls-macros.h: Likewise.
38678         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38679         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38680         * sysdeps/sh/tls-macros.h: Likewise.
38681         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38682         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38683         * sysdeps/x86_64/tls-macros.h: Likewise.
38684
38685 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38686
38687         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38688         zero value for regular exit case.
38689
38690         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38691         (__start_context): Preserve zero value for regular exit case.
38692
38693 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38694             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38695
38696         * manual/setjmp.texi (setcontext): Clarify normal process
38697         termination when uc_link is the null pointer.
38698         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38699         exit call.
38700
38701 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38702
38703         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38704         preprocessor.  Test for each exception mask separately.
38705
38706 2012-07-16  Andreas Jaeger  <aj@suse.de>
38707
38708         * po/ru.po: Update from translation team.
38709
38710 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38711
38712         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38713         equal to 0.
38714         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38715         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38716         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38717         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38719
38720 2012-07-13  Andreas Jaeger  <aj@suse.de>
38721
38722         * po/fr.po: Update from translation team.
38723
38724 2012-07-12  Marek Polacek  <polacek@redhat.com>
38725
38726         [BZ #14173]
38727         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38728         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38729         loop condition.
38730
38731 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38732
38733         [BZ #13717]
38734         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38735         Change to 2.4.1 where previously 2.4.0.
38736         * sysdeps/unix/sysv/linux/configure: Regenerated.
38737         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38738         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38739         version.
38740         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38741         (__ASSUME_AT_CLKTCK): Remove.
38742         (__ASSUME_AT_PAGESIZE): Likewise.
38743         (__ASSUME_AT_XID): Likewise.
38744         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38745         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38746         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38747         unconditionally.
38748         (HAVE_AUX_PAGESIZE): Likewise.
38749         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38750         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38751         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38752
38753 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38754
38755         [BZ #14307]
38756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38757         the temporary buffer used to invoke __gethostbyname2_r,
38758         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38759         host_data / struct gaih_addrtuple.
38760         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38761         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38762         header file nss/nsswitch.h.
38763         * nss/nsswitch.h (global scope): Add definition of implementation
38764         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38765         resolv/nss_dns/dns-host.c).
38766
38767 2012-07-11  Andreas Jaeger  <aj@suse.de>
38768
38769         * po/fr.po: Update from translation team.
38770
38771         * po/sv.po: Update from translation team
38772         * po/fr.po: Another update from translation team.
38773
38774 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38775
38776         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38777         for subnormals or multiply small sinh result by itself.
38778         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38780
38781 2012-07-11  David S. Miller  <davem@davemloft.net>
38782
38783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38784
38785 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38786
38787         [BZ #14347]
38788         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38789         (INTERNAL_MARK): Shift it here.
38790
38791 2012-07-10  Marek Polacek  <polacek@redhat.com>
38792
38793         [BZ #14151]
38794         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38795         libc_cv_asm_global_directive with .globl.
38796         * configure: Regenerated.
38797         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38798         with .globl.
38799         * sysdeps/i386/configure: Regenerated.
38800         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38801         with .globl.
38802         * sysdeps/x86_64/configure: Regenerated.
38803         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38804         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38805         * elf/tst-unique2mod2.c: Likewise.
38806         * elf/tst-unique2mod1.c: Likewise.
38807         * elf/tst-unique1mod2.c: Likewise.
38808         * elf/tst-unique1mod1.c: Likewise.
38809         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38810         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38811         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38812         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38813         * sysdeps/mach/sysdep.h: Likewise.
38814         * sysdeps/i386/sysdep.h: Likewise.
38815         * sysdeps/i386/i386-mcount.S: Likewise.
38816         * sysdeps/x86_64/_mcount.S: Likewise.
38817         * sysdeps/x86_64/sysdep.h: Likewise.
38818         * sysdeps/sh/_mcount.S: Likewise.
38819         * sysdeps/sh/sysdep.h: Likewise.
38820         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38821         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38822         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38823         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38824         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38825         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38826         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38827         * locale/localeinfo.h: Likewise.
38828         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38829         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38830
38831 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38832
38833         [BZ #14336]
38834         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38835         system".
38836         * manual/message.texi (The Uniforum approach): Likewise.
38837         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38838         (glibc iconv Implementation): Likewise.
38839
38840 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38841
38842         [BZ #14337]
38843         * math/s_clog.c (__clog): Avoid scaling a value down where that
38844         could result in underflow.
38845         * math/s_clog10.c (__clog10): Likewise.
38846         * math/s_clog10f.c (__clog10f): Likewise.
38847         * math/s_clog10l.c (__clog10l): Likewise.
38848         * math/s_clogf.c (__clogf): Likewise.
38849         * math/s_clogl.c (__clogl): Likewise.
38850         * math/libm-test.inc (clog_test): Add more tests.
38851         (clog10_test): Likewise.
38852         * sysdeps/i386/fpu/libm-test-ulps: Update.
38853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38854
38855 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38856
38857         [BZ #14283]
38858         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38859         by 7 not 8 to examine high bit of fractional part.
38860
38861         [BZ #14042]
38862         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38863         for call to __mcount_internal.
38864         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38865         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38866         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38867
38868 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38869
38870         [BZ #14154]
38871         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38872         approximation for values within 0x1p-13f of an odd multiple of
38873         pi/4.
38874         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38875         exception.  Add more tests.
38876         * sysdeps/i386/fpu/libm-test-ulps: Update.
38877
38878         [BZ #6778]
38879         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38880         inputs and return -1 for them.  Do not check for +Inf in case not
38881         reachable for +Inf.
38882         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38883         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38884         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38885         and return -1 for them.  Do not check for +Inf in case not
38886         reachable for +Inf.
38887         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38888         define.
38889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38890         and return -1 for them.  Do not check for +Inf in case not
38891         reachable for +Inf.
38892         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38893         spurious underflow.
38894         * sysdeps/i386/fpu/libm-test-ulps: Update.
38895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896
38897 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38898
38899         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38900
38901 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38902
38903         [BZ #14157]
38904         [BZ #14331]
38905         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38906         could result in spurious underflow.  Scale down values above
38907         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38908         * math/s_csqrtf.c (__csqrtf): Likewise.
38909         * math/s_csqrtl.c (__csqrtl): Likewise.
38910         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38911         spurious underflow.
38912         * sysdeps/i386/fpu/libm-test-ulps: Update.
38913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38914
38915 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38916
38917         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38918         xopen-msg.sed.
38919         * catgets/xopen-msg.awk: New file.
38920         * catgets/xopen-msg.sed: Removed.
38921
38922         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38923         po2text.sed.
38924         * intl/po2test.awk: New file.
38925         * intl/po2test.sed: Removed.
38926
38927 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38928
38929         [BZ #14328]
38930         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38931         or multiply small sinh result by itself.
38932         * math/s_ctanf.c (__ctanf): Likewise.
38933         * math/s_ctanh.c (__ctanh): Likewise.
38934         * math/s_ctanhf.c (__ctanhf): Likewise.
38935         * math/s_ctanhl.c (__ctanhl): Likewise.
38936         * math/s_ctanl.c (__ctanl): Likewise.
38937         * math/libm-test.inc (ctan_test_tonearest): New function.
38938         (ctan_test_towardzero): Likewise.
38939         (ctan_test_downward): Likewise.
38940         (ctan_test_upward): Likewise.
38941         (ctanh_test_tonearest): Likewise.
38942         (ctanh_test_towardzero): Likewise.
38943         (ctanh_test_downward): Likewise.
38944         (ctanh_test_upward): Likewise.
38945         (main): Call these new functions.
38946         * sysdeps/i386/fpu/libm-test-ulps: Update.
38947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38948
38949 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38950
38951         * .gitignore: Delete /ports entry.
38952
38953 2012-07-03  Andreas Jaeger  <aj@suse.de>
38954
38955         * po/bg.po: Update from translation team.
38956         * po/cs.po: Likewise.
38957         * po/de.po: Likewise.
38958         * po/hr.po: Likewise.
38959         * po/nl.pl: Likewise.
38960         * po/pl.po: Likewise.
38961         * po/vi.po: Likewise.
38962
38963 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38964
38965         * Makeconfig [!+link] (+link-before-libc): New variable.
38966         [!+link] (+link-after-libc): Likewise.
38967         [!+link] (+link-tests): Likewise.
38968         [!+link] (+link): Define in terms of $(+link-before-libc) and
38969         $(+link-after-libc).
38970         [!+link-static] (+link-static-before-libc): New variable.
38971         [!+link-static] (+link-static-after-libc): Likewise.
38972         [!+link-static] (+link-static-tests): Likewise.
38973         [!+link-static] (+link-static): Define in terms of
38974         $(+link-static-before-libc) and $(+link-static-after-libc).
38975         [build-shared] (link-libc-before-gnulib): New variable.
38976         [build-shared] (link-libc-tests): Likewise.
38977         [build-shared] (link-libc): Define in terms of
38978         $(link-libc-before-gnulib).
38979         [!build-shared] (link-libc-tests): New variable.
38980         (link-libc-static-tests): New variable.
38981         [!gnulib] (gnulib-arch): New variable.
38982         [!gnulib] (gnulib-tests): Likewise.
38983         [!gnulib] (static-gnulib-arch): Likewise.
38984         [!gnulib] (static-gnulib-tests): Likewise.
38985         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38986         Define with "=" instead of ":=".
38987         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38988         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38989         * Rules (binaries-all-notests): New variable.
38990         (binaries-all-tests): Likewise.
38991         (binaries-static-notests): Likewise.
38992         (binaries-static-tests): Likewise.
38993         (binaries-all): Define using $(binaries-all-notests) and
38994         $(binaries-all-tests).
38995         (binaries-static): Define using $(binaries-static-notests) and
38996         $(binaries-static-tests).
38997         (binaries-shared-tests): New variable.
38998         (binaries-shared-notests): Likewise.
38999         (binaries-shared): Remove variable.
39000         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39001         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39002         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39003         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39004         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39005         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39006         * elf/Makefile (sln-modules): New variable.
39007         (extra-objs): Add $(sln-modules:=.o).
39008         (ldconfig-modules): Add static-stubs.
39009         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39010         * elf/static-stubs.c: New file.
39011
39012         [BZ #14283]
39013         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39014         by 7 not 8 to examine high bit of fractional part.  Use volatile
39015         variables when splitting into final array of floats if
39016         __FLT_EVAL_METHOD__ != 0.
39017         * math/libm-test.inc (cos_test): Add another test.
39018         (sin_test): Likewise.
39019         * sysdeps/i386/fpu/libm-test-ulps: Update.
39020
39021         [BZ #14273]
39022         * math/libm-test.inc (cosh_test): Add more tests.
39023
39024         * version.h (RELEASE): Set to "development".
39025         (VERSION): Set to "2.16.90".
39026
39027 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39028
39029         * NEWS: Update copyright. Remove last-updated date.
39030         Mention math library bug fixes and timezone data changes.
39031         * README: Mention GNU/Hurd, x32, and HPPA support status.
39032
39033 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39034
39035         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39036
39037 2012-06-27  Andreas Jaeger  <aj@suse.de>
39038
39039         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39040
39041 2012-06-25  Andreas Jaeger  <aj@suse.de>
39042
39043         * sysdeps/s390/fpu/libm-test-ulps: Update.
39044
39045 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39046             Thomas Schwinge  <thomas@codesourcery.com>
39047
39048         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39049         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39050         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39051         fanotify_mark.
39052
39053 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39054
39055         * sysdeps/mach/start.c: Remove file.
39056         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39057         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39058         * sysdeps/sh/init-first.c: Likewise.
39059
39060         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39061         registers for frame unwinding purposes, add CFI directives.
39062         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39063         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39064         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39065         Likewise.
39066
39067         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39068         __fortify_fail returning.
39069         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39070
39071         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39072         sysdeps/sh/____longjmp_chk.S.
39073         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39074         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39075         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39076         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39077
39078         * sysdeps/sh/abort-instr.h: New file.
39079         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39080         process in case exit returns.
39081
39082         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39083         initialize the GOT register before use.
39084
39085         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39086         calculation of ARGC > 4.
39087
39088         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39089         meaningful names to some local labels.
39090
39091 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39092             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39093
39094         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39095         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39096         (__arch_compare_and_exchange_val_16_acq): Likewise.
39097         (__arch_compare_and_exchange_val_32_acq): Likewise.
39098         (atomic_exchange_and_add): Fix gUSA sequence.
39099         (atomic_add): Likewise.
39100         (atomic_add_negative): Likewise.
39101         (atomic_add_zero): Likewise.
39102         (atomic_bit_test_set): Likewise.
39103
39104 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39105
39106         [BZ #13579]
39107         * include/link.h (struct link_map): Add l_free_initfini.
39108         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39109         l_initfini.
39110         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39111         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39112         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39113         set.
39114
39115 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39116
39117         * configure.in: Use AC_LANG_SOURCE.
39118         * configure: Regenerate.
39119
39120 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39121
39122         * configure.in (libc_cv_localstatedir): New substituted variable.
39123         * configure: Regenerated.
39124         * config.make.in (localstatedir): New variable, substituted from
39125         libc_cv_localstatedir.
39126         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39127         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39128         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39129         * sysdeps/gnu/configure: Regenerated.
39130
39131 2012-06-21  Jeff Law  <law@redhat.com>
39132
39133         [BZ #14277]
39134         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39135         free.  Simplify list management for _LIBC case.
39136
39137 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39138
39139         [BZ #14273]
39140         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39141         Clear sign bit of 64-bit integer value before comparing against
39142         overflow value.
39143
39144         * sysdeps/mach/configure: Regenerated.
39145
39146 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39147
39148         [BZ #14278]
39149         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39150
39151 2012-06-21  Jeff Law  <law@redhat.com>
39152
39153         [BZ #13882]
39154         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39155         uint16_t for elements in the "seen" array to avoid char overflows.
39156         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39157         * elf/dl-open.c (dl_open_worker): Likewise.
39158
39159 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39160
39161         * scripts/list-sources.sh: Scan PORTS for translations.
39162         * po/libc.pot: Regenerated.
39163
39164 2012-06-21  Andreas Jaeger  <aj@suse.de>
39165
39166         [BZ #12194]
39167         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39168         warning.
39169         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39170         * bits/byteswap-16.h (__bswap_16): Likewise.
39171         * bits/byteswap.h (__bswap_constant_16): Likewise.
39172
39173 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39174
39175         [BZ #14117]
39176         * sysdeps/i386/fpu_control.h: Removed.
39177         * sysdeps/x86_64/fpu_control.h: Moved to ...
39178         * sysdeps/x86/fpu_control.h: Here.
39179
39180         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39181         (_FPU_SETCW): Likewise.
39182
39183 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39184
39185         [BZ #14117]
39186         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39187         * sysdeps/x86/fpu/bits/mathinline.h: This.
39188         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39189
39190         [BZ #14050]
39191         [BZ #14117]
39192         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39193         functions if __x86_64__ is defined.
39194
39195 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39196
39197         * string/endian.h: Add !__ASSEMBLER__ condition for including
39198         conversion interfaces.
39199
39200 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39201
39202         [BZ #14241]
39203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39204         of ABS(x) in calculating zero to negative powers other than odd
39205         integers.
39206         * math/libm-test.inc (pow_test): Add more tests.
39207
39208 2012-06-15  Andreas Jaeger  <aj@suse.de>
39209
39210         * manual/contrib.texi (Contributors): Update entry of Liubov
39211         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39212         Machado Filho.
39213
39214 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39215
39216         * string/string.h: Add __wur to GNU version of strerror_r.
39217
39218 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39219
39220         [BZ #14229]
39221         * string/Makefile (tests): Add tst-strtok_r.
39222         * string/tst-strtok_r.c: New file.
39223         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39224         RAX_LP/RDX_LP on SAVE_PTR.
39225
39226 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39227
39228         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39229
39230 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39231
39232         * libm_test.inc (csqrt_test): Allow more spurious underflow
39233         exceptions.
39234         (j0_test): Likewise.
39235         (j1_test): Likewise.
39236         (y0_test): Likewise.
39237         (y1_test): Likewise.
39238
39239 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39240
39241         * po/Makefile (libc.pot): Use UTF-8 charset.
39242
39243 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39244
39245         [BZ #14210]
39246         Suppress sign-conversion warning from FD_SET.
39247         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39248         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39249         not unsigned long int.
39250         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39251
39252 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39253
39254         [BZ #14050]
39255         [BZ #14117]
39256         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39257         __extern_always_inline instead of __extern_inline.
39258         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39259         (__signbit): Likewise.
39260         (__signbitl): Support C++ namespace.
39261         (lrintf): New inline function.
39262         (lrint): Likewise.
39263         (llrintf): Likewise.
39264         (llrint): Likewise.
39265         (fmaxf): Likewise.
39266         (fmax): Likewise.
39267         (fminf): Likewise.
39268         (fmin): Likewise.
39269         (rint): Likewise.
39270         (rintf): Likewise.
39271         (ceil): Likewise.
39272         (ceilf): Likewise.
39273         (floor): Likewise.
39274         (floorf): Likewise.
39275         (nearbyint): Likewise.
39276         (nearbyintf): Likewise.
39277
39278 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39279
39280         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39281         non-default versions.
39282
39283 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39284
39285         [BZ #14218]
39286         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39287
39288 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39289
39290         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39291         (FE_UPWARD, FE_DOWNWARD): Don't define.
39292         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39294
39295         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39296         reading it.
39297         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39298         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39299
39300 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39301
39302         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39304         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39305         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39306
39307 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39308
39309         [BZ #14117]
39310         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39311         * sysdeps/i386/fpu/Implies: New file.
39312         * sysdeps/x86_64/fpu/Implies: Likewise.
39313         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39314         * sysdeps/x86/fpu/bits/fenv.h: This.
39315
39316         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39317         __SSE_MATH__.
39318
39319 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39320
39321         [BZ #14134]
39322         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39323         character 0xffff that matches the last element of the
39324         conversion table.
39325
39326 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39327
39328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39329         fmodl commit.
39330
39331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39332
39333         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39334         values higher than 25.6283.
39335
39336 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39337
39338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39339         subnormal exponent extraction and add some __builtin_expect.
39340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39341         Fix for subnormal mantissa calculation.
39342
39343 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39344
39345         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39346         cpu2 is -1 and errno is not ENOSYS.
39347
39348 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39349
39350         [BZ #14117]
39351         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39352         * sysdeps/x86/bits/string.h: This.
39353         * sysdeps/x86_64/bits/string.h: Removed.
39354
39355         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39356         if not compiling for x86-64, but compiling for >= i486.
39357
39358         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39359         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39360
39361         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39362         New macro from Linux kernel 3.4.0.
39363         (FP_XSTATE_MAGIC2): Likewise.
39364         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39365         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39366         (struct _fpx_sw_bytes): New struct.
39367         (struct _xsave_hdr): Likewise.
39368         (struct _ymmh_state): Likewise.
39369         (struct _xstate): Likewise.
39370
39371         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39372         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39374         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39375         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39376         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39377
39378         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39379         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39380         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39381         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39382         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39383         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39384
39385 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39386
39387         [BZ #13743]
39388         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39389         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39390         (sysdep_headers): Include sys/platform/ppc.h.
39391         * sysdeps/powerpc/test-gettimebase.c: Test for
39392         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39393         * manual/Makefile (appendices): Include platform.texi.
39394         * manual/contrib.texi (Contributors): Update @node pointers.
39395         * manual/maint.texi (Maintenance): Likewise.
39396         (Platform): New node.
39397         * manual/platform.texi: New file.  Document the new features.
39398
39399 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39400             Jakub Jelinek  <jakub@redhat.com>
39401
39402         [BZ #14188]
39403         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39404         where __builtin_expect is unavailable.
39405
39406 2012-06-03  David S. Miller  <davem@davemloft.net>
39407
39408         * stdlib/longlong.h: Updated from GCC.
39409
39410 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39411
39412         [BZ #14042]
39413         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39414         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39415         __mcount_internal.
39416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39417         (GLIBC_2.16): Likewise.
39418
39419 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39420
39421         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39422
39423 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39424
39425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39426         (default-abi): New variable.
39427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39428         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39429         variable.
39430         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39431         Likewise.
39432         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39433         Likewise.
39434         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39435         Likewise.
39436
39437         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39438         definition.  Document in comment.
39439
39440 2012-06-01  David S. Miller  <davem@davemloft.net>
39441
39442         * stdlib/longlong.h: Updated from GCC.
39443
39444 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39445
39446         [BZ #14117]
39447         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39448         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39449         sys/debugreg.h sys/io.h here.
39450         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39451         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39452         sys/io.h.
39453         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39454         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39455         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39456         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39457         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39458         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39459
39460         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39461         Define only if __x86_64__ is defined.
39462
39463 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39464
39465         [BZ #14048]
39466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39467         Use int64_t for variable i.
39468         * math/libm-test.inc (fmod_test): Add more tests.
39469
39470         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39471         z computation is not scheduled after fetestexcept.
39472         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39473         Use math_force_eval instead of asm to ensure calculation scheduled
39474         before exception test.
39475         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39476         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39477
39478 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39479
39480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39481         computation is not scheduled after fetestexcept.
39482
39483 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39484
39485         [BZ #14117]
39486         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39487         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39488
39489 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39490
39491         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39492         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39493
39494 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39495
39496         [BZ #14117]
39497         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39498         <bits/wordsize.h>.
39499         (__WCHAR_MIN): Support __WORDSIZE == 64.
39500         (__WCHAR_MAX): Likewise.
39501
39502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39503         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39504
39505         [BZ #14183]
39506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39507         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39508
39509         [BZ #14117]
39510         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39511         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39512
39513         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39514         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39515
39516         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39517         Defined to 1 if __x86_64__ isn't defined.
39518         (_STAT_VER_LINUX_OLD): New.
39519         (st_atime): Remove duplicate.
39520         (st_mtime): Likewise.
39521         (st_ctime): Likewise.
39522
39523 2012-05-31  David S. Miller  <davem@davemloft.net>
39524
39525         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39526         entries.
39527
39528 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39529
39530         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39531         gen-libm-test.pl.
39532
39533         [BZ #14132]
39534         * elf/dl-reloc.c: Include <_itoa.h>.
39535         (_dl_reloc_bad_type): Remove use of INTUSE.
39536         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39537         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39538         * stdio-common/psiginfo.c (psiginfo): Likewise.
39539         * stdio-common/psignal.c (psignal): Likewise.
39540         * string/strsignal.c (strsignal): Likewise.
39541         * include/signal.h (_sys_siglist): Declare hidden proto.
39542         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39543         INTVARDEF with libc_hidden_data_def.
39544         * stdio-common/itoa-udigits.c: Likewise.
39545         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39546         (_itoa_lower_digits_internal): Remove declaration.
39547         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39548         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39549         (_sys_sigabbrev_internal): Remove aliases.
39550         (_sys_siglist): Define hidden alias.
39551
39552 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39553
39554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39555         bits/sysctl.h.
39556
39557 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39558
39559         [BZ #14117]
39560         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39561         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39562
39563         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39564         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39565         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39566         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39567         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39568         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39569
39570         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39571         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39572         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39573
39574         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39575         with __addr.
39576         (insw): Likewise.
39577         (insl): Likewise.
39578         (outsb): Likewise.
39579         (outsw): Likewise.
39580         (outsl): Likewise.
39581
39582         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39583         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39584         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39585
39586         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39587         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39588         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39589         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39590         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39591         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39592
39593         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39594         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39595
39596         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39597         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39598
39599         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39600         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39601         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39602
39603         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39604         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39605         to ...
39606         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39607
39608         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39609         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39610         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39611
39612         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39613         for x86-64.
39614         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39615
39616 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39617
39618         * math/math.h (M_El): Use two more decimal places.
39619         (M_LOG2El): Likewise.
39620         (M_LOG10El): Likewise.
39621         (M_LN2l): Likewise.
39622         (M_LN10l): Likewise.
39623         (M_PIl): Likewise.
39624         (M_PI_2l): Likewise.
39625         (M_PI_4l): Likewise.
39626         (M_1_PIl): Likewise.
39627         (M_2_PIl): Likewise.
39628         (M_2_SQRTPIl): Likewise.
39629         (M_SQRT2l): Likewise.
39630         (M_SQRT1_2l): Likewise.
39631
39632 2012-05-31  David S. Miller  <davem@davemloft.net>
39633
39634         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39635         values between float registers.
39636         * sysdeps/sparc/sparc64/memset.S: Likewise.
39637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39638
39639 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39640
39641         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39642         -D_FORTIFY_SOURCE=1.
39643         (CPPFLAGS-tst-longjmp_chk.c): Define.
39644         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39645         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39646         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39647         CFLAGS-tst-wchar-h.c.
39648
39649 2012-05-31  Marek Polacek  <polacek@redhat.com>
39650
39651         [BZ #14132]
39652         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39653         __endmntent_internal): Remove declaration.
39654         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39655         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39656         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39657
39658 2012-05-30  David S. Miller  <davem@davemloft.net>
39659
39660         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39661         (___Q_simulate_exceptions): Use real FP ops rather than writing
39662         into the %fsr.
39663         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39664         Likewise.
39665
39666 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39667
39668         [BZ #14117]
39669         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39670         * sysdeps/x86/bits/xtitypes.h: This.
39671
39672         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39673         * sysdeps/x86/bits/wordsize.h: This.
39674
39675         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39676         * sysdeps/x86/bits/huge_vall.h: This.
39677
39678         * sysdeps/i386/bits/select.h: Removed.
39679         * sysdeps/x86_64/bits/select.h: Renamed to ...
39680         * sysdeps/x86/bits/select.h: This.
39681
39682         * sysdeps/i386/bits/setjmp.h: Removed.
39683         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39684         * sysdeps/x86/bits/setjmp.h: This.
39685
39686         * sysdeps/i386/bits/mathdef.h: Removed.
39687         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39688         * sysdeps/x86/bits/mathdef.h: This.
39689
39690 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39691
39692         [BZ #14132]
39693         * include/sys/socket.h (__connect_internal)
39694         (__libc_sa_len_internal): Remove declaration.
39695         (__connect, __libc_sa_len): Declare hidden_proto.
39696         (SA_LEN): Remove use of INTUSE.
39697         * socket/connect.c: Add libc_hidden_def.
39698         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39699         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39700         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39701         alias.
39702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39703         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39704         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39705         of adding _internal alias.
39706
39707 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39708
39709         [BZ #14117]
39710         * sysdeps/i386/bits/link.h: Removed.
39711         * sysdeps/i386/bits/linkmap.h: Likewise.
39712         * sysdeps/x86_64/bits/link.h: Renamed to ...
39713         * sysdeps/x86/bits/link.h: This.
39714         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39715         * sysdeps/x86/bits/linkmap.h: This.
39716
39717         * sysdeps/i386/bits/endian.h: Removed.
39718         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39719         * sysdeps/x86/bits/endian.h: This.
39720
39721         * sysdeps/i386/bits/byteswap.h: Removed.
39722         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39723         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39724         * sysdeps/x86/bits/byteswap.h: This.
39725         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39726         * sysdeps/x86/bits/byteswap-16.h: This.
39727         * sysdeps/i386/Implies: Add x86.
39728         * sysdeps/x86_64/Implies: Likewise.
39729
39730 2012-05-30  David S. Miller  <davem@davemloft.net>
39731
39732         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39733         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39734         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39735         (FP_TRAPPING_EXCEPTIONS): Define.
39736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39737         (FP_TRAPPING_EXCEPTIONS): Define.
39738         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39739         subnormals only when inexact has been signalled or underflow
39740         exceptions are enabled.
39741         (_FP_PACK_CANONICAL): Likewise.
39742
39743 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39744
39745         [BZ #14183]
39746         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39747         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39748
39749 2012-05-30  Richard Henderson  <rth@twiddle.net>
39750
39751         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39752         with #ifndef NOT_IN_libc.
39753
39754         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39755         marked to avoid plt entry.
39756
39757 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39758
39759         [BZ #14112]
39760         * Makeconfig (default-abi): New macro.
39761         (abi-includes): Likewise.
39762         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39763         $(abi-$(default-abi)-lib-soname) for soname if defined.
39764         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39765         abi-variants.
39766         * Makefile (installed-stubs): Likewise.
39767         * include/stubs-biarch.h: Removed.
39768         * scripts/lib-names.awk: Only handle one library at a time.
39769         * scripts/soversions.awk: Remove WORDSIZE support.
39770         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39771         entries.
39772         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39773         Removed.
39774         (syscall-list-default-condition): Likewise.
39775         (syscall-list-default-condition): Likewise.
39776         (syscall-list-includes): Likewise.
39777         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39778         syscall-list-* with abi-*.  Handle undefined abi-variants.
39779         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39780         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39781         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39782         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39783         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39784         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39785         Removed.
39786         (syscall-list-32-options): Likewise.
39787         (syscall-list-32-condition): Likewise.
39788         (syscall-list-64-options): Likewise.
39789         (syscall-list-64-condition): Likewise.
39790         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39791         macro.
39792         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39793         Renamed to ...
39794         (abi-*): This.
39795         (abi-64-ld-soname): New macro.
39796         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39798         Renamed to ...
39799         (abi-*): This.
39800         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39801         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39802
39803 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39804
39805         * sysdeps/unix/sysv/linux/kernel-features.h
39806         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39807         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39808         include <kernel-features.h>.
39809         [!__NR_ftruncate64]: Remove conditional code.
39810         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39811         [__NR_ftruncate64]: Make code unconditional.
39812         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39813         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39814         include <kernel-features.h>.
39815         [!__NR_ftruncate64]: Remove conditional code.
39816         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39817         [__NR_ftruncate64]: Make code unconditional.
39818         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39820         include <kernel-features.h>.
39821         [!__NR_ftruncate64]: Remove conditional code.
39822         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39823         [__NR_ftruncate64]: Make code unconditional.
39824         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39826         include <kernel-features.h>.
39827         [!__NR_ftruncate64]: Remove conditional code.
39828         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39829         [__NR_ftruncate64]: Make code unconditional.
39830         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39831
39832         * configure.in (libc_cv_fpie): Weaken to a compile test using
39833         LIBC_TRY_CC_OPTION.
39834         * configure: Regenerated.
39835
39836 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39837
39838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39842         Refreshed.
39843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39849         Refreshed.
39850
39851 2012-05-27  David S. Miller  <davem@davemloft.net>
39852
39853         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39854         (___Q_zero): New.
39855         (__Q_simulate_exceptions): Return void.  Change to simulate
39856         exceptions by writing into the %fsr.
39857         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39858         (__Qp_handle_exceptions): Likewise.
39859         (numbers): Delete.
39860         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39861         __Qp_handle_exceptions.
39862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39863         __Qp_handle_exceptions.
39864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39865         as unused and give dummy FP_RND_NEAREST initializer.
39866         (FP_INHIBIT_RESULTS): Define.
39867         (___Q_simulate_exceptions): Update declaration.
39868         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39869         formatting.
39870         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39871         as unused and give dummy FP_RND_NEAREST initializer.
39872         (__Qp_handle_exceptions): Update declaration.
39873         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39874         formatting.
39875
39876 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39877
39878         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39879         the temporary FPU control word.
39880         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39881         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39882         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39883         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39884         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39885         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39886         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39887         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39888         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39889         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39890         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39891
39892 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39893
39894         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39895         fields.
39896
39897 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39898
39899         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39900         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39901         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39902         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39903         Likewise.
39904         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39905         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39906         Likewise.
39907
39908 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39909
39910         * po/h.po: Update from translation team.
39911
39912 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39913
39914         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39915
39916         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39917         handling of denormals.
39918         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39919         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39920         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39921         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39924         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39925         Likewise.
39926
39927 2012-05-26  Marek Polacek  <polacek@redhat.com>
39928
39929         [BZ #14152]
39930         * math/libm-test.inc (fma_test): Don't always expect underflow
39931         exception.
39932
39933 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39934
39935         [BZ #12416]
39936         * elf/tst-execstack.c: Include stackinfo.h.
39937         (do_test): Adjust test case to ensure that pthread_getattr_np
39938         behaviour remains the same after marking stack executable.
39939
39940 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39941
39942         * sysdeps/unix/sysv/linux/kernel-features.h
39943         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39944         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39945         kernel-features.h.
39946         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39947         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39948         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39949         kernel-features.h.
39950         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39951         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39952
39953 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39954
39955         * configure.in: Define the default includes to being none.
39956         * configure: Regenerated.
39957
39958 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39959
39960         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39961         * sysdeps/x86_64/setjmp.S: Likewise.
39962         * sysdeps/i386/bsd-setjmp.S: Likewise.
39963         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39964         * sysdeps/i386/setjmp.S: Likewise.
39965         * sysdeps/i386/__longjmp.S: Likewise.
39966         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39967         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39968
39969         * include/stap-probe.h: New file.
39970         * configure.in: Handle --enable-systemtap.
39971         * configure: Regenerated.
39972         * config.h.in (USE_STAP_PROBE): New #undef.
39973         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39974         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39975         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39976
39977 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39978
39979         [BZ #13717]
39980         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39981         to 2.4.0 where earlier.
39982         * sysdeps/unix/sysv/linux/configure: Regenerated.
39983         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39984         <kernel-features.h>.
39985         [__ASSUME_32BITUIDS]: Make code unconditional.
39986         [!__ASSUME_32BITUIDS]: Remove conditional code.
39987         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39988         <kernel-features.h>.
39989         [__ASSUME_32BITUIDS]: Make code unconditional.
39990         [!__ASSUME_32BITUIDS]: Remove conditional code.
39991         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39992         [__ASSUME_32BITUIDS]: Make code unconditional.
39993         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39994         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39995         <kernel-features.h>.
39996         [__ASSUME_32BITUIDS]: Make code unconditional.
39997         [!__ASSUME_32BITUIDS]: Remove conditional code.
39998         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39999         <kernel-features.h>.
40000         [__ASSUME_32BITUIDS]: Make code unconditional.
40001         [!__ASSUME_32BITUIDS]: Remove conditional code.
40002         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
40011         <kernel-features.h>.
40012         [__ASSUME_32BITUIDS]: Make code unconditional.
40013         [!__ASSUME_32BITUIDS]: Remove conditional code.
40014         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40015         <kernel-features.h>.
40016         [__ASSUME_32BITUIDS]: Make code unconditional.
40017         [!__ASSUME_32BITUIDS]: Remove conditional code.
40018         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40019         <kernel-features.h>.
40020         [__ASSUME_32BITUIDS]: Make code unconditional.
40021         [!__ASSUME_32BITUIDS]: Remove conditional code.
40022         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40023         <kernel-features.h>.
40024         [__ASSUME_32BITUIDS]: Make code unconditional.
40025         [!__ASSUME_32BITUIDS]: Remove conditional code.
40026         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40027         <kernel-features.h>.
40028         [__ASSUME_32BITUIDS]: Make code unconditional.
40029         [!__ASSUME_32BITUIDS]: Remove conditional code.
40030         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40031         <kernel-features.h>.
40032         [__ASSUME_32BITUIDS]: Make code unconditional.
40033         [!__ASSUME_32BITUIDS]: Remove conditional code.
40034         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40035         <kernel-features.h>.
40036         [__NR_setresgid] (__setresgid): Do not declare.
40037         [__ASSUME_32BITUIDS]: Make code unconditional.
40038         [!__ASSUME_32BITUIDS]: Remove conditional code.
40039         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40040         <kernel-features.h>.
40041         [__NR_setresuid] (__setresuid): Do not declare.
40042         [__ASSUME_32BITUIDS]: Make code unconditional.
40043         [!__ASSUME_32BITUIDS]: Remove conditional code.
40044         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40045         <kernel-features.h>.
40046         [__ASSUME_32BITUIDS]: Make code unconditional.
40047         [!__ASSUME_32BITUIDS]: Remove conditional code.
40048         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40049         <kernel-features.h>.
40050         [__ASSUME_32BITUIDS]: Make code unconditional.
40051         [!__ASSUME_32BITUIDS]: Remove conditional code.
40052         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40053         <kernel-features.h>.
40054         [__ASSUME_32BITUIDS]: Make code unconditional.
40055         [!__ASSUME_32BITUIDS]: Remove conditional code.
40056         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40057         <kernel-features.h>.
40058         [__ASSUME_32BITUIDS]: Make code unconditional.
40059         [!__ASSUME_32BITUIDS]: Remove conditional code.
40060         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40061         <kernel-features.h>.
40062         [__ASSUME_32BITUIDS]: Make code unconditional.
40063         [!__ASSUME_32BITUIDS]: Remove conditional code.
40064         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40065         <kernel-features.h>.
40066         [__ASSUME_32BITUIDS]: Make code unconditional.
40067         [!__ASSUME_32BITUIDS]: Remove conditional code.
40068         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40069         <kernel-features.h>.
40070         [__ASSUME_32BITUIDS]: Make code unconditional.
40071         [!__ASSUME_32BITUIDS]: Remove conditional code.
40072         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40073         <kernel-features.h>.
40074         [__ASSUME_32BITUIDS]: Make code unconditional.
40075         [!__ASSUME_32BITUIDS]: Remove conditional code.
40076         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40077         <kernel-features.h>.
40078         [__ASSUME_32BITUIDS]: Make code unconditional.
40079         [!__ASSUME_32BITUIDS]: Remove conditional code.
40080         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40081         <kernel-features.h>.
40082         [__ASSUME_32BITUIDS]: Make code unconditional.
40083         [!__ASSUME_32BITUIDS]: Remove conditional code.
40084         * sysdeps/unix/sysv/linux/kernel-features.h
40085         (__ASSUME_SETRESUID_SYSCALL): Remove.
40086         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40087         (__ASSUME_32BITUIDS): Likewise.
40088         (__ASSUME_LDT_WORKS): Likewise.
40089         (__ASSUME_O_DIRECTORY): Likewise.
40090         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40091         architecture but not kernel version.
40092         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40093         (__ASSUME_MMAP2_SYSCALL): Likewise.
40094         (__ASSUME_STAT64_SYSCALL): Likewise.
40095         (__ASSUME_IPC64): Likewise.
40096         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40097         <kernel-features.h>.
40098         [__ASSUME_32BITUIDS]: Make code unconditional.
40099         [!__ASSUME_32BITUIDS]: Remove conditional code.
40100         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40101         <kernel-features.h>.
40102         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40103         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40104         132096]: Remove conditional code.
40105         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40106         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40107         <kernel-features.h>.
40108         [__ASSUME_32BITUIDS]: Make code unconditional.
40109         [!__ASSUME_32BITUIDS]: Remove conditional code.
40110         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40111         <kernel-features.h>.
40112         [__ASSUME_32BITUIDS]: Make code unconditional.
40113         [!__ASSUME_32BITUIDS]: Remove conditional code.
40114         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40115         <kernel-features.h>.
40116         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40117         unconditional.
40118         (__setresgid): Do not declare.
40119         [__ASSUME_32BITUIDS]: Make code unconditional.
40120         [!__ASSUME_32BITUIDS]: Remove conditional code.
40121         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40122         <kernel-features.h>.
40123         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40124         unconditional.
40125         (__setresuid): Do not declare.
40126         [__ASSUME_32BITUIDS]: Make code unconditional.
40127         [!__ASSUME_32BITUIDS]: Remove conditional code.
40128         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40129         <kernel-features.h>.
40130         [__ASSUME_32BITUIDS]: Make code unconditional.
40131         [!__ASSUME_32BITUIDS]: Remove conditional code.
40132         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40133         <kernel-features.h>.
40134         [__ASSUME_32BITUIDS]: Make code unconditional.
40135         [!__ASSUME_32BITUIDS]: Remove conditional code.
40136
40137 2012-05-25  Richard Henderson  <rth@twiddle.net>
40138
40139         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40140         dl_hwcap to ifunc resolver.
40141         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40142         elf_ifunc_invoke.
40143         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40144         dl_hwcap to ifunc resolver.
40145         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40146
40147 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40148
40149         [BZ #14153]
40150         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40151         for |x| <= 2**-26, not 2**-57.
40152         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40153         exception.
40154
40155 2012-05-24  Jeff Law  <law@redhat.com>
40156
40157         * stdio-common/Makefile (tests): Add bug25.
40158         * stdio-common/bug25.c: New test.
40159
40160 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40161
40162         [BZ #13576]
40163         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40164         multiple of MALLOC_ALIGNMENT in size.
40165         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40166
40167 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40168
40169         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40170         Require >= 256.
40171         (FILENAME_MAX): Use macro-int-constant.
40172         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40173         (_IOFBF): Use macro-int-constant.
40174         (_IOLBF): Likewise.
40175         (_IONBF): Likewise.
40176         (SEEK_CUR): Likewise.
40177         (SEEK_END): Likewise.
40178         (SEEK_SET): Likewise.
40179         (TMP_MAX): Likewise.
40180         (EOF): Use macro-int-constant.  Require < 0.
40181         (NULL): Use macro-constant.  Require == 0.
40182         (stdin): Require type to be FILE *.
40183         (stdout): Likewise.
40184         (stderr): Likewise.
40185         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40186         macro-int-constant.
40187         (EXIT_SUCCESS): Likewise.
40188         (NULL): Use macro-constant.  Require == 0.
40189         (RAND_MAX): Use macro-int-constant.
40190         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40191         [C99-based standards] (strtof): Require function.
40192         [C99-based standards] (strtold): Likewise.
40193         [C99-based standards] (strtoll): Likewise.
40194         [C99-based standards] (strtoull): Likewise.
40195         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40196         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40197         [ISO || ISO99 || ISO11] (math.h): Likewise.
40198         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40199         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40200         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40201
40202 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40203
40204         [BZ #14132]
40205         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40206         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40207         * intl/dgettext.c (DCGETTEXT): Likewise.
40208         * intl/gettext.c (DCGETTEXT): Likewise.
40209         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40210         * posix/regex_internal.h (gettext): Likewise.
40211         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40212         Remove declaration.
40213         * include/argz.h (__argz_count_internal)
40214         (__argz_stringify_internal): Remove declaration.
40215         (__argz_count, __argz_stringify): Declare hidden proto.
40216         * intl/dcgettext.c: Remove use of INTDEF.
40217         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40218         * string/argz-stringify.c: Likewise.
40219         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40220         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40221         Declare hidden proto.
40222         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40223         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40224         Declare hidden proto.
40225         * include/stdio.h (__asprintf_internal): Don't declare.
40226         (__asprintf): Don't define as macro.  Declare hidden proto.
40227         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40228         (__fsetlocking): Declare hidden proto.
40229         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40230         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40231         hidden proto.
40232         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40233         (_IO_setlinebuf): Remove use of INTUSE.
40234         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40235         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40236         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40237         Remove declaration.
40238         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40239         (_IO_do_flush): Remove use of INTUSE.
40240         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40241         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40242         (_IO_adjust_column, _IO_least_wmarker)
40243         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40244         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40245         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40246         (_IO_default_doallocate, _IO_wdefault_doallocate)
40247         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40248         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40249         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40250         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40251         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40252         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40253         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40254         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40255         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40256         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40257         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40258         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40259         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40260         proto.
40261         (_IO_flush_all_internal, _IO_adjust_column_internal)
40262         (_IO_default_uflow_internal, _IO_default_finish_internal)
40263         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40264         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40265         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40266         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40267         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40268         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40269         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40270         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40271         (_IO_file_close_internal, _IO_file_close_it_internal)
40272         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40273         (_IO_file_init_internal, _IO_file_attach_internal)
40274         (_IO_file_fopen_internal, _IO_file_read_internal)
40275         (_IO_file_sync_internal, _IO_file_seek_internal)
40276         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40277         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40278         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40279         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40280         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40281         (_IO_list_all_internal, _IO_link_in_internal)
40282         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40283         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40284         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40285         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40286         (_IO_do_write_internal, _IO_padn_internal)
40287         (_IO_getline_info_internal, _IO_getline_internal)
40288         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40289         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40290         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40291         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40292         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40293         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40294         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40295         with libc_hidden_ver, remove use of INTUSE.
40296         * libio/genops.c: Likewise.
40297         * libio/freopen.c: Likewise.
40298         * libio/freopen64.c: Likewise.
40299         * libio/iofclose.c: Likewise.
40300         * libio/iofdopen.c: Likewise.
40301         * libio/iofflush.c: Likewise.
40302         * libio/iofflush_u.c: Likewise.
40303         * libio/iofgets.c: Likewise.
40304         * libio/iofgets_u.c: Likewise.
40305         * libio/iofopen.c: Likewise.
40306         * libio/iofopncook.c: Likewise.
40307         * libio/iofread.c: Likewise.
40308         * libio/iofread_u.c: Likewise.
40309         * libio/ioftell.c: Likewise.
40310         * libio/iofwrite.c: Likewise.
40311         * libio/iogetline.c: Likewise.
40312         * libio/iogets.c: Likewise.
40313         * libio/iogetwline.c: Likewise.
40314         * libio/iopadn.c: Likewise.
40315         * libio/iopopen.c: Likewise.
40316         * libio/ioseekoff.c: Likewise.
40317         * libio/ioseekpos.c: Likewise.
40318         * libio/iosetbuffer.c: Likewise.
40319         * libio/iosetvbuf.c: Likewise.
40320         * libio/ioungetc.c: Likewise.
40321         * libio/ioungetwc.c: Likewise.
40322         * libio/iovdprintf.c: Likewise.
40323         * libio/iovsprintf.c: Likewise.
40324         * libio/iovsscanf.c: Likewise.
40325         * libio/memstream.c: Likewise.
40326         * libio/obprintf.c: Likewise.
40327         * libio/oldfileops.c: Likewise.
40328         * libio/oldiofclose.c: Likewise.
40329         * libio/oldiofdopen.c: Likewise.
40330         * libio/oldiofopen.c: Likewise.
40331         * libio/oldiopopen.c: Likewise.
40332         * libio/oldstdfiles.c: Likewise.
40333         * libio/putc.c: Likewise.
40334         * libio/setbuf.c: Likewise.
40335         * libio/setlinebuf.c: Likewise.
40336         * libio/stdfiles.c: Likewise.
40337         * libio/strops.c: Likewise.
40338         * libio/vasprintf.c: Likewise.
40339         * libio/vscanf.c: Likewise.
40340         * libio/vsnprintf.c: Likewise.
40341         * libio/vswprintf.c: Likewise.
40342         * libio/wfiledoalloc.c: Likewise.
40343         * libio/wfileops.c: Likewise.
40344         * libio/wgenops.c: Likewise.
40345         * libio/wmemstream.c: Likewise.
40346         * libio/wstrops.c: Likewise.
40347         * libio/__fpurge.c: Likewise.
40348         * libio/__fsetlocking.c: Likewise.
40349         * assert/assert.c: Likewise.
40350         * debug/fgets_chk.c: Likewise.
40351         * debug/fgets_u_chk.c: Likewise.
40352         * debug/fread_chk.c: Likewise.
40353         * debug/fread_u_chk.c: Likewise.
40354         * debug/gets_chk.c: Likewise.
40355         * debug/obprintf_chk.c: Likewise.
40356         * debug/vasprintf_chk.c: Likewise.
40357         * debug/vdprintf_chk.c: Likewise.
40358         * debug/vsnprintf_chk.c: Likewise.
40359         * debug/vsprintf_chk.c: Likewise.
40360         * malloc/mtrace.c: Likewise.
40361         * misc/error.c: Likewise.
40362         * misc/syslog.c: Likewise.
40363         * stdio-common/asprintf.c: Likewise.
40364         * stdio-common/fxprintf.c: Likewise.
40365         * stdio-common/getw.c: Likewise.
40366         * stdio-common/isoc99_fscanf.c: Likewise.
40367         * stdio-common/isoc99_scanf.c: Likewise.
40368         * stdio-common/isoc99_vfscanf.c: Likewise.
40369         * stdio-common/isoc99_vscanf.c: Likewise.
40370         * stdio-common/isoc99_vsscanf.c: Likewise.
40371         * stdio-common/printf-prs.c: Likewise.
40372         * stdio-common/printf_fp.c: Likewise.
40373         * stdio-common/printf_fphex.c: Likewise.
40374         * stdio-common/printf_size.c: Likewise.
40375         * stdio-common/putw.c: Likewise.
40376         * stdio-common/scanf.c: Likewise.
40377         * stdio-common/sprintf.c: Likewise.
40378         * stdio-common/tmpfile.c: Likewise.
40379         * stdio-common/vfprintf.c: Likewise.
40380         * stdio-common/vfscanf.c: Likewise.
40381         * stdlib/strfmon_l.c: Likewise.
40382         * sunrpc/openchild.c: Likewise.
40383         * sunrpc/xdr_stdio.c: Likewise.
40384         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40385         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40386
40387 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40388
40389         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40390
40391         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40392         in the third column, to generate for the shared library an IFUNC
40393         that uses _dl_vdso_vsym.
40394         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40395         * Makeconfig (object-suffixes-noshared): New variable.
40396
40397         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40398         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40399         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40400         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40401
40402         [BZ #14132]
40403         * include/sys/time.h (__gettimeofday): Remove macro.
40404         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40405         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40406         Remove INTDEF.
40407         (__gettimeofday): Add libc_hidden_def.
40408         (gettimeofday): Add libc_hidden_weak.
40409         * sysdeps/mach/gettimeofday.c: Likewise.
40410         * sysdeps/posix/gettimeofday.c: Likewise.
40411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40412         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40414         (__gettimeofday_internal): Remove strong_alias.
40415         (__gettimeofday): Add libc_hidden_def.
40416         (gettimeofday): Add libc_hidden_weak.
40417         * sysdeps/unix/syscalls.list (gettimeofday):
40418         Remove __gettimeofday_internal alias.
40419
40420 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40421             H.J. Lu  <hongjiu.lu@intel.com>
40422
40423         [BZ #12495]
40424         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40425         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40426         (largebin_index_32_big): New.
40427         (largebin_index): Use it for 16-byte alignment.
40428         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40429         correction with front_misalign.
40430
40431 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40432
40433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40435         Likewise.
40436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40437         Likewise.
40438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40439         Likewise.
40440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40441         Likewise.
40442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40443         Likewise.
40444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40445         Likewise.
40446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40447         Likewise.
40448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40449         Likewise.
40450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40451         Likewise.
40452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40453         Likewise.
40454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40455         Likewise.
40456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40457         Likewise.
40458
40459         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40460         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40461
40462 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40463
40464         [BZ #10846]
40465         [BZ #14036]
40466         * math/libm-test.inc (exp_test): Add test from bug 14036.
40467         (pow_test): Add test from bug 10846.
40468
40469         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40470         and other flags.
40471         (special_function): Do not include flags in test name.
40472         (parse_args): Likewise.
40473         * sysdeps/i386/fpu/libm-test-ulps: Update.
40474         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40475         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40476         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40478
40479         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40480         exceptions.
40481         * math/libm-test.inc ("Philosophy"): Update comment about
40482         exception testing.
40483         (UNDERFLOW_EXCEPTION): New macro.
40484         (UNDERFLOW_EXCEPTION_OK): Likewise.
40485         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40486         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40487         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40488         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40489         (INVALID_EXCEPTION_OK): Update value.
40490         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40491         (OVERFLOW_EXCEPTION_OK): Likewise.
40492         (IGNORE_ZERO_INF_SIGN): Likewise.
40493         (test_exceptions): Handle underflow exceptions.
40494         (acos_test): Update for underflow exception expectations.
40495         (cexp_test): Likewise.
40496         (clog_test): Likewise.
40497         (clog10_test): Likewise.
40498         (csqrt_test): Likewise.
40499         (ctan_test): Likewise.
40500         (ctanh_test): Likewise.
40501         (exp_test): Likewise.
40502         (exp10_test): Likewise.
40503         (exp2_test): Likewise.
40504         (expm1_test): Likewise.
40505         (fma_test): Likewise.
40506         (j0_test): Likewise.
40507         (jn_test): Likewise.
40508         (nexttoward_test): Likewise.
40509         (pow_test): Likewise.
40510         (scalbn_test): Likewise.
40511         (scalbln_test): Likewise.
40512         (tan_test): Likewise.
40513         (y1_test): Likewise.
40514         * sysdeps/i386/fpu/libm-test-ulps: Update.
40515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40516
40517 2012-05-23  David S. Miller  <davem@davemloft.net>
40518
40519         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40520         (__libc_sigaction): Remove unused local variables.
40521
40522 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40523
40524         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40525
40526 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40527
40528         mktime: avoid signed integer overflow
40529         * time/mktime.c (__mktime_internal): Do not mishandle the case
40530         where diff == INT_MIN.
40531
40532         mktime: simplify computation of average
40533         * time/mktime.c (ranged_convert): Use new time_t_avg function
40534         instead of rolling our own (probably-slower) code.
40535
40536         mktime: do not assume signed right shift propagates sign bit
40537         * time/mktime.c (isdst_differ): New static function.
40538         (__mktime_internal): No need to normalize tm_isdst now.
40539         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40540         tm_isdst values.
40541
40542         mktime: merge another wrapv change from gnulib
40543         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40544         from some compilers.
40545
40546         mktime: remove incorrect attempt at unusual arithmetics
40547         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40548         The code didn't really work on such machines anyway.
40549         (TYPE_MINIMUM): Assume two's complement.
40550         (twos_complement_arithmetic): Verify that long_int and time_t
40551         are two's complement (or unsigned, in the latter case).
40552
40553         mktime: check signed shifts on long_int and time_t, too
40554         * time/mktime.c (SHR): Check that shifts work as desired
40555         on the types long_int and time_t too, as SHR is used on
40556         such types.
40557
40558         mktime: do not assume 'long' is wide enough
40559         * time/mktime.c (verify): Move decl up.
40560         (long_int): New type.
40561         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40562         to remove assumption in the code that 'long' is wide enough to
40563         store year values.  This assumption is not true on x32 and on
40564         some non-glibc platforms.
40565
40566         mktime: merge wrapv change from gnulib
40567         * time/mktime.c (WRAPV): New macro.
40568         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40569         (guess_time_tm, __mktime_internal): Do not assume that signed
40570         integer overflow wraps around; modern compilers generate code
40571         where this assumption is no longer valid.
40572
40573 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40574
40575         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40576         Replace "jmp L(pseudo_end)" with "ret".
40577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40578         Likewise.
40579
40580 2012-05-23  Andreas Jaeger  <aj@suse.de>
40581
40582         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40583         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40584
40585 2012-05-23  Andreas Jaeger  <aj@suse.de>
40586             Maximilian Attems  <max@stro.at>
40587
40588         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40589         New macros.
40590
40591 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40592
40593         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40594         code so that pseudo_end is just ret and the stack pointer is
40595         correct also for static library in error case.
40596
40597 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40598
40599         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40600         move to syscalls.list.
40601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40605
40606         * manual/install.texi (Running make install): Do not mention Linux
40607         kernel version for which pt_chown is not needed.
40608         (Linux): Do not mention problems with nscd with 2.0 kernels.
40609         * INSTALL: Regenerated.
40610
40611 2012-05-23  Andreas Jaeger  <aj@suse.de>
40612
40613         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40614         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40615         macro.
40616         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40618         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40620         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40624         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40626         * sysdeps/unix/sysv/linux/bits/in.h
40627         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40628
40629 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40630
40631         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40632         (PREPARE_VERSION): Just use assert instead, it will be elided
40633         under [NDEBUG] anyway.
40634
40635 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40636
40637         * sysdeps/unix/sysv/linux/Makefile: Include
40638         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40639         (sysdep_routines): Remove sysctl.
40640         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40641         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40642         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40643         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40644         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40645
40646 2012-05-22  Andreas Jaeger  <aj@suse.de>
40647
40648         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40649         that pseudo_end is just ret and the stack pointer is correct also
40650         for static library in error case.
40651
40652 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40653
40654         [BZ #14122]
40655         * nss/nsswitch.c (defconfig_entries): New variable.
40656         (__nss_database_lookup): Don't leak defconfig entries.
40657         (nss_parse_service_list): Don't leak on error paths.
40658         (free_database_entries): New function.
40659         (free_defconfig): New function.
40660         (free_mem): Move common code to free_database_entries.
40661
40662 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40663
40664         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40665         Add arch_prctl.
40666         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40667
40668         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40669         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40671         New macro.
40672         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40673         (INTERNAL_SYSCALL_TYPES): Likewise.
40674         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40675         (LOAD_REGS_TYPES_[1-6]): Likewise.
40676         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40677         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40678
40679 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40680
40681         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40682         copysignl for GLIBC_2_0.
40683         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40684         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40686         logbl for GLIBC_2_0.
40687         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40688         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40689
40690 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40691
40692         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40693         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40694
40695         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40696         Use "neg %eax".
40697
40698         * time/mktime.c: Update copyright years.
40699
40700 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40701
40702         mktime: merge comment-quoting-style change from gnulib
40703         * time/mktime.c: Quote 'like this' in comments.
40704         The GNU coding standards suggest that we no longer quote `like this',
40705         as "`" and "'" are typically rendered asymmetrically nowadays.
40706         The typical gnulib style is to quote 'like this' when quoting
40707         code, and "like this" when quoting English.
40708
40709         * time/mktime.c (compile-command): Add "-I.".
40710
40711         mktime: merge mktime-internal.h change from gnulib
40712         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40713
40714         mktime: merge time_r change from gnulib
40715         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40716
40717         mktime: merge DEBUG change from gnulib
40718         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40719         case system <time.h> has a #define.
40720
40721         mktime: merge <sys/types.h> change from gnulib
40722         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40723         since <time.t> is now guaranteed to define time_t.
40724
40725         mktime: merge HAVE_CONFIG_H change from gnulib
40726         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40727
40728 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40729
40730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40731         Use "neg %eax".
40732
40733         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40734         __rlim_t cast.
40735         (struct rusage): Use anonymous union to pad each field to
40736         __syscall_slong_t.
40737
40738 2012-05-21  David S. Miller  <davem@davemloft.net>
40739
40740         * Makefules (o-iterator): Remove .s cases.
40741         (compile-command.s): Delete.
40742         (COMPILE.s): Delete.
40743         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40744
40745 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40746
40747         * configure.in (libc_cv_predef_stack_protector): Only consider
40748         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40749         * configure: Regenerated.
40750
40751 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40752
40753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40754         New macro.  Use R*LP on int and pointer.
40755         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40756         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40757         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40758         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40759
40760         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40761         [__WORDSIZE_TIME64_COMPAT32] instead of
40762         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40763         (struct utmp): Likewise.
40764         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40765         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40766         Renamed to ...
40767         (__WORDSIZE_TIME64_COMPAT32): This.
40768         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40769         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40770         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40771         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40772         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40773         (__WORDSIZE_TIME64_COMPAT32): New macro.
40774
40775 2012-05-21  Andreas Jaeger  <aj@suse.de>
40776
40777         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40778         only if [SHARED]. Add prototype for __wcschr_ia32.
40779
40780 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40781
40782         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40783         of %rbp unmolested in the jmp_buf while mangling the low bits.
40784         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40785         unmolested high bits of %rbp while demangling the low bits.
40786         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40787
40788 2012-05-21  Andreas Jaeger  <aj@suse.de>
40789
40790         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40791         * sunrpc/svc_simple.c: Use it for registerrpc.
40792         * sunrpc/xcrypt.c: Use it for passwd2des.
40793
40794         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40795
40796 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40797
40798         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40799         Don't define if [__SYSCALL_WORDSIZE != 32].
40800         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40801         New macro.
40802
40803 2012-05-21  Bruno Haible  <bruno@clisp.org>
40804             Andreas Jaeger  <aj@suse.de>
40805
40806         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40807         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40808         inptr and inend for must_buffer_ch.
40809         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40810         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40811         * stdio-common/Makefile (tests): Remove bug15.
40812         (bug15-ENV): Remove macro.
40813         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40814         anymore.
40815
40816 2012-05-19  Andreas Jaeger  <aj@suse.de>
40817             Roland McGrath  <roland@hack.frob.com>
40818
40819         * manual/contrib.texi: Completely rewritten. It contains now an
40820         alphabetical list of contributors and their contributions.
40821
40822 2012-05-21  Richard Henderson  <rth@twiddle.net>
40823
40824         * misc/getauxval.c (__getauxval): Use unsigned long int.
40825         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40826         (getauxval): Use unsigned long int.
40827
40828 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40829
40830         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40831
40832 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40833
40834         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40835         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40836         __alignof__ (long double).
40837
40838 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40839
40840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40841
40842 2012-05-20  Richard Henderson  <rth@twiddle.net>
40843
40844         * misc/getauxval.c: New file.
40845         * misc/sys/auxv.h: New file.
40846         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40847         (routines): Add getauxval.
40848         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40849         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40850         * elf/dl-sysdep.c (_dl_auxv): Remove.
40851         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40852         * elf/dl-support.c (_dl_auxv): New variable.
40853         (_dl_aux_init): Initialize it.
40854         * manual/startup.texi (Auxiliary Vector): New node.
40855         * sysdeps/generic/bits/hwcap.h: New file.
40856         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40857         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40858         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40859         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40860         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40863         Update.
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40867         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40872
40873 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40874
40875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40876
40877 2012-05-19  David S. Miller  <davem@davemloft.net>
40878
40879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40880
40881 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40882
40883         [BZ #14123]
40884         * math/s_ccosh.c: Include <float.h>
40885         (__ccosh): Avoid internal overflow calculating sinh and cosh
40886         values before multiplying by sin and cos values.
40887         * math/s_ccoshf.c: Likewise.
40888         * math/s_ccoshl.c: Likewise.
40889         * math/s_csin.c: Likewise.
40890         * math/s_csinf.c: Likewise.
40891         * math/s_csinl.c: Likewise.
40892         * math/s_csinh.c: Likewise.
40893         * math/s_csinhf.c: Likewise.
40894         * math/s_csinhl.c: Likewise.
40895         * math/libm-test.inc (ccos_test): Add more tests.
40896         (ccosh_test): Likewise.
40897         (csin_test): Likewise.
40898         (csinh_test): Likewise.
40899         * sysdeps/i386/fpu/libm-test-ulps: Update.
40900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40901
40902 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40903
40904         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40905         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40906
40907         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40908
40909 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40910
40911         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40912         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40913         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40914         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40915         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40916         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40917         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40918         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40919         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40920         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40921         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40922         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40923         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40924         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40925         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40926         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40927         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40928         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40929         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40930         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40931         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40932         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40933         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40934         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40935         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40936         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40937         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40938         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40939         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40940         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40941         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40942
40943 2012-05-18  Andreas Jaeger  <aj@suse.de>
40944
40945         * csu/.gitignore: Delete.
40946
40947 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40948
40949         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40950         (timex): Use __syscall_slong_t.
40951
40952 2012-05-18  Andreas Jaeger  <aj@suse.de>
40953             Carlos O'Donell  <carlos_odonell@mentor.com>
40954
40955         * manual/install.texi (Configuring and compiling): Update
40956         description about files modified in the source directory.
40957         * INSTALL: Regenerated.
40958
40959 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40960
40961         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40962         value.  Use "or" to set return value to -1.
40963         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40964         negate return value.
40965
40966 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40967
40968         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40969         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40970         failure if the compiler has Graphite support disabled.
40971         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40972         Likewise.
40973         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40974         (CFLAGS-memmove.c): Likewise.
40975         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40976         Likewise.
40977
40978 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40979
40980         * sysdeps/x86_64/x32/_itoa.h: New file.
40981
40982         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40983         getdents system call only if kernel and user dirents have the
40984         same d_ino and d_off.
40985
40986         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40987         LLONG_MAX != LONG_MAX.
40988         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40989         (_fitoa_word): Likewise.
40990
40991         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40992         years.
40993         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40994         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40995         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40996
40997         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40998         include <bits/wordsize.h>.  Check __x86_64__ instead of
40999         __WORDSIZE.
41000         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41001         if __x86_64__ is defined.  Use anonymous union on fpstate.
41002
41003         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41004         anonymous union.
41005
41006 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41007
41008         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41009         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41010         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41011         Refer to _rtld_local_ro instead of _rtld_global_ro.
41012         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41013         Likewise.
41014         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41015         Likewise.
41016         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41017         Likewise.
41018         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41019         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41020         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41021
41022         * sysdeps/powerpc/powerpc32/dl-machine.c
41023         (__elf_machine_runtime_setup) [PROF]: Don't reference
41024         _dl_prof_resolve.
41025
41026 2012-05-18  Andreas Jaeger  <aj@suse.de>
41027
41028         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41029         function only available for GCCs before 3.4 since GCC 3.4
41030         introduced a builtin.
41031         (lrint): Likewise.
41032         (llrintf): Likewise.
41033         (llrint): Likewise.
41034         (fmaxf): Likewise.
41035         (fmax): Likewise.
41036         (fminf): Likewise.
41037         (fmin): Likewise.
41038         (rint): Likewise.
41039         (rintf): Likewise.
41040         (nearbyint): Likewise.
41041         (nearbyintf): Likewise.
41042         (ceil): Likewise.
41043         (ceilf): Likewise.
41044         (floor): Likewise.
41045         (floorf): Likewise.
41046
41047 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41048
41049         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41050         on both fields and cast pointer to __syscall_ulong_t.
41051
41052         * bits/types.h (__fsword_t): New type.
41053         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41054         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41056         (__FSWORD_T_TYPE): Likewise.
41057         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41058         (__FSWORD_T_TYPE): Likewise.
41059         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41060         (__FSWORD_T_TYPE): Likewise.
41061         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41062         (__FSWORD_T_TYPE): Likewise.
41063         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41064         __SWORD_TYPE with __fsword_t.
41065         (statfs64): Likewise.
41066
41067 2012-05-17  David S. Miller  <davem@davemloft.net>
41068
41069         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41070
41071 2012-05-17  Andreas Jaeger  <aj@suse.de>
41072
41073         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41074         warning.
41075
41076 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41077
41078         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41079
41080 2012-05-17  Andreas Jaeger  <aj@suse.de>
41081
41082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41083         when it is used.
41084
41085 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41086
41087         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41088
41089 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41090
41091         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41092         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41093
41094 2012-05-17  Andreas Jaeger  <aj@suse.de>
41095             Carlos O'Donell  <carlos_odonell@mentor.com>
41096
41097         [BZ #14059]
41098         * sysdeps/x86_64/multiarch/init-arch.h
41099         (bit_YMM_Usable): Rename to...
41100         (bit_AVX_Usable): ... this.
41101         (bit_FMA4_Usable): New macro.
41102         (bit_XMM_state): New macro.
41103         (bit_YMM_state): New macro.
41104         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41105         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41106         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41107         (CPUID_OSXSAVE): New macro.
41108         (CPUID_AVX): New macro.
41109         (CPUID_FMA4): New macro.
41110         (index_YMM_Usable): Rename to...
41111         (index_AVX_Usable): ... this.
41112         (HAS_AVX): Use HAS_ARCH_FEATURE.
41113         (HAS_FMA4): Likewise.
41114         (HAS_YMM_USABLE): Remove.
41115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41116         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41117         are present.
41118         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41119         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41120         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41121         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41122         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41123
41124 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41125
41126         * math/libm-test.c: Support platforms without multiple rounding modes.
41127         * math/bug-nextafter.c: Support platforms without FP exceptions.
41128         * math/bug-nexttoward.c: Likewise.
41129         * math/test-fenv.c: Likewise.
41130         * math/test-misc.c: Likewise.
41131         * stdlib/bug-getcontext.c: Likewise.
41132
41133 2012-05-17  Andreas Jaeger  <aj@suse.de>
41134
41135         * manual/examples/search.c (critter_cmp): Change signature to
41136         avoid warnings.
41137         * manual/string.texi (Collation Functions): Likewise.
41138
41139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41140
41141         * bits/types.h: Fold copyright years.
41142         * bits/typesizes.h: Likewise.
41143         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41144         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41147         * time/time.h: Likewise.
41148
41149 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41150
41151         [BZ #208]
41152         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41153         in instead of returning them.  Return void.
41154         (__libc_mallinfo): Accumulate over all arenas.
41155         (__malloc_stats): Adjust for change in int_mallinfo interface.
41156
41157 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41158
41159         [BZ #10375]
41160         * configure.in (NM): Add AC_CHECK_TOOL for it.
41161         (libc_extra_cflags): New substituted variable.
41162         Check for -fstack-protector being used implicitly.
41163         * configure: Regenerated.
41164         * config.make.in (config-extra-cflags): New variable,
41165         gets @libc_extra_cflags@.
41166         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41167
41168         [BZ #10375]
41169         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41170         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41171         * configure: Regenerated.
41172         * config.make.in (CPPUNDEFS): New substituted variable.
41173         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41174         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41175         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41176
41177 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41178
41179         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41180         (mq_attr): Use __syscall_slong_t.
41181
41182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41183
41184         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41185         Check __x86_64__ instead of __WORDSIZE.
41186         (_STAT_VER_LINUX): Likewise.
41187         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41188         __syscall_ulong_t and __syscall_slong_t.
41189         (stat64): Likewise.
41190
41191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41192
41193         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41194
41195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41196
41197         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41198
41199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41200
41201         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41202         __syscall_ulong_t.
41203
41204         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41205         include <bits/wordsize.h>.  Check __x86_64__ instead of
41206         __WORDSIZE.
41207         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41208         defined.
41209         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41210
41211         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41212         include <bits/wordsize.h>.  Check __x86_64__ instead of
41213         __WORDSIZE.
41214         (user_regs_struct): Use "__extension__ unsigned long long"
41215         instead of "unsigned long" if __x86_64__ is defined.
41216         (user): Likewise.  Pad after pointer field if __ILP32__ is
41217         defined.
41218
41219 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41220
41221         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41222         versions 5 to 9.
41223         * configure: Regenerated.
41224         * manual/install.texi (texinfo): Increase version requirement to
41225         4.5 or later.
41226         * INSTALL: Regenerated.
41227
41228         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41229
41230 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41231
41232         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41233
41234         * sysdeps/x86_64/x32/ffs.c: New file.
41235
41236         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41237         __syscall_ulong_t.
41238         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41239         defined.  Use __syscall_ulong_t.
41240         (shminfo): Use __syscall_ulong_t.
41241         (shm_info): Likewise.
41242
41243         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41244         __syscall_ulong_t.
41245
41246         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41247         <bits/wordsize.h>.
41248         (msgqnum_t): Use __syscall_ulong_t.
41249         (msglen_t): Likewise.
41250         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41251         __syscall_ulong_t.
41252
41253         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41254         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41255
41256         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41257
41258         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41259         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41260
41261         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41262         __syscall_slong_t.
41263
41264         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41265         include <bits/wordsize.h>.  Check __x86_64__ instead of
41266         __WORDSIZE.
41267
41268         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41269         "unsigned long long int" if __x86_64__ is defined.
41270         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41271
41272         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41273         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41274         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41275
41276         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41277         <stdint.h>.
41278         (GET_PC): Cast to uintptr_t first.
41279         (GET_FRAME): Likewise.
41280         (GET_STACK): Likewise.
41281
41282         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41283         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41285         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41287         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41288         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41289         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41290         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41292         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41294         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41297         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41298         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41302         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41304         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41306         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41307         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41308         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41311
41312 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41313
41314         * Makerules (+depfiles): Also collect depfiles from .oS in
41315         $(extra-objs).
41316         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41317         .oS, $(libnldbl-routines)).
41318
41319         * Makerules (native-compile-mkdep-flags): Define.
41320         * sunrpc/Makefile (extra-objs): Add $(addprefix
41321         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41322         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41323         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41324         calling $(make-target-directory).
41325
41326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41327
41328         * bits/types.h (__snseconds_t): Removed.
41329         * time/time.h (struct timespec): Replace __snseconds_t with
41330         __syscall_slong_t.
41331         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41332         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41333         Likewise.
41334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41335         (__SNSECONDS_T_TYPE): Likewise.
41336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41337         (__SNSECONDS_T_TYPE): Likewise.
41338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41339         (__SNSECONDS_T_TYPE): Likewise.
41340
41341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41342
41343         * sysdeps/mach/hurd/bits/typesizes.h
41344         (__SYSCALL_SLONG_TYPE): New macro.
41345         (__SYSCALL_ULONG_TYPE): Likewise.
41346
41347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41348
41349         * bits/types.h (__syscall_slong_t): New type.
41350         (__syscall_ulong_t): Likewise.
41351
41352         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41353         (__SYSCALL_ULONG_TYPE): Likewise.
41354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41355         (__SYSCALL_SLONG_TYPE): Likewise.
41356         (__SYSCALL_ULONG_TYPE): Likewise.
41357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41358         (__SYSCALL_SLONG_TYPE): Likewise.
41359         (__SYSCALL_ULONG_TYPE): Likewise.
41360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41361         (__SYSCALL_SLONG_TYPE): Likewise.
41362         (__SYSCALL_ULONG_TYPE): Likewise.
41363
41364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41365
41366         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41367         Add sigaltstack-offsets.sym.
41368         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41369         <sigaltstack-offsets.h>.
41370         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41371         longjmp_msg pointer.
41372         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41373         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41374         signal stack.
41375         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41376
41377 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41378
41379         * elf/stackguard-macros.h: Remove file.
41380         * sysdeps/generic/stackguard-macros.h: New file.
41381         * sysdeps/i386/stackguard-macros.h: Likewise.
41382         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41383         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41384         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41385         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41386         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41387         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41388         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41389         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41390         <elf/stackguard-macros.h>.
41391
41392         [BZ #14109]
41393         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41394         __aligned__ in attribute.
41395         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41396         (gregset_t): Likewise.
41397
41398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41399
41400         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41401         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41402         * sysdeps/x86_64/x32/Implies-after: New file.
41403
41404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41405
41406         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41407         and access return value for _dl_profile_fixup.  Use R10_LP to
41408         load frame size.
41409
41410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41411
41412         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41413
41414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41415
41416         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41417         * sysdeps/x86_64/x32/sysdep.h: New file.
41418
41419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41420
41421         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41422         * sysdeps/x86_64/setjmp.S: Likewise.
41423
41424 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41425
41426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41427         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41428         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41430         remove unused global constant.
41431
41432 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41433
41434         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41435         include of <not-cancel.h>.
41436
41437 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41438
41439         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41440
41441 2012-05-15  Jeff Law  <law@redhat.com>
41442             Andreas Jaeger  <aj@suse.de>
41443
41444         [BZ #13594]
41445         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41446         out from...
41447         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41448         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41449         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41450         code changing __hst_map_handle.map.
41451
41452 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41453
41454         * configure.in (sysnames): Look for Implies-before and Implies-after
41455         files.
41456         * configure: Regenerated.
41457
41458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41459
41460         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41461         8-byte data alignment with LP_SIZE alignment.
41462
41463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41464
41465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41466         into R10_LP.
41467
41468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41469
41470         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41471
41472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41473
41474         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41475         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41476         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41477         Likewise.
41478         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41479
41480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41481
41482         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41483         (stackinfo_sub_sp): Likewise.
41484
41485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41486
41487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41488         RAX_LP.
41489
41490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41491
41492         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41493         into R*_LP.
41494
41495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41496
41497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41498         sizes into R*_LP.
41499
41500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41501
41502         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41503
41504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41505
41506         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41507         into R11_LP and load __x86_64_shared_cache_size_half into
41508         R8_LP.
41509
41510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41511
41512         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41513         R8_LP.
41514
41515 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41516
41517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41518         logb for POWER7.
41519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41520         logbf for POWER7.
41521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41522         logbl for POWER7.
41523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41524         powerpc32/power7/fpu/s_logb.c via #include.
41525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41526         powerpc32/power7/fpu/s_logbf.c via #include.
41527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41528         powerpc32/power7/fpu/s_logbl.c via #include.
41529
41530 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41531
41532         * README.libm: Remove file.
41533
41534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41535
41536         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41537         count for x32.  Use R*_LP and omit operand-size suffix.
41538
41539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41540
41541         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41542         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41543         * sysdeps/x86_64/x32/shlib-versions: New file.
41544
41545 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41546
41547         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41548         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41549         Use _dl_fatal_printf instead.
41550
41551 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41552
41553         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41554         set if not set by the user.  Do not allow for being unset.
41555         * sysdeps/unix/sysv/linux/configure: Regenerated.
41556
41557 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41558
41559         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41560         the `q' suffix from lea and replace .quad with ASM_ADDR.
41561
41562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41563
41564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41565         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41566         instead of $17.
41567         (PTR_DEMANGLE): Likewise.
41568
41569 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41570
41571         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41572         (LP_OP): Likewise.
41573         (ASM_ADDR): Likewise.
41574         (RAX_LP): Likewise.
41575         (RBP_LP): Likewise.
41576         (RBX_LP): Likewise.
41577         (RCX_LP): Likewise.
41578         (RDI_LP): Likewise.
41579         (RSI_LP): Likewise.
41580         (RSP_LP): Likewise.
41581         (R8_LP): Likewise.
41582         (R9_LP): Likewise.
41583         (R10_LP): Likewise.
41584         (R10_LP): Likewise.
41585         (R11_LP): Likewise.
41586         (R12_LP): Likewise.
41587         (R13_LP): Likewise.
41588         (R14_LP): Likewise.
41589         (R15_LP): Likewise.
41590
41591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41592
41593         * sysdeps/x86_64/x32/dl-machine.h: New file.
41594
41595 2012-05-14  Andreas Jaeger  <aj@suse.de>
41596
41597         * manual/Makefile (subdir): Remove export of subdir.
41598         (all): Remove target.
41599         (.PHONY): Remove all from list.
41600         (mkinstalldirs): Remove.
41601         (.PHONY): Remove installdirs from list.
41602         ($(inst_infodir)/libc.info): Use make-target-directory.
41603         (installdirs): Remove.
41604         (subdir_%): Remove.
41605         (glibc-targets): Remove.
41606         (lib): Remove.
41607         (stubs): Remove.
41608         ($(objpfx)stubs ../po/manual.pot): Remove.
41609         ($(objpfx)stamp%): Remove.
41610         (make-target-directory): Remove.
41611         (subdir_install): Remove.
41612         (routines): Remove.
41613         (aux): Remove.
41614         (sources): Remove.
41615         (objects): Remove.
41616         (headers): Remove.
41617
41618         [BZ #13750]
41619         * manual/.gitignore: Remove, it's not needed anymore.
41620         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41621         all files in it.
41622         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41623         directory.
41624         (texis): Renamed to $(objpfx)texis.
41625         (texis-path): New, contains path to generated files.
41626         (chapters.%): Use texis-path for complete path, add extra argument
41627         libc-texinfo.sh.
41628         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41629         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41630         (summary,texi, stamp-summary): Use complete path of
41631         files. Generate files in build dir.
41632         (dir-add.texi): Build in build dir.
41633         (libm-err.texi,stamp-libm-err): Likewise.
41634         (version.texi, stamp-version): Likewise.
41635         (.%c.texi): Likewise.
41636         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41637         (mostlyclean): Remove target.
41638         (realclean): Remove target.
41639         (generated): Add new variable with contents from mostlyclean and
41640         realclean, remove entries duplicated in common-mostlyclean, add
41641         stamp-libm-err and stamp-version.
41642         (generated-dirs): Add libc directory.
41643         ($(inst_infodir)/libc.info): Install files from build dir.
41644
41645         * manual/install.texi (Configuring and compiling): Adjust since
41646         the info files are not part of the tar ball anymore.
41647
41648 2012-05-14  Andreas Jaeger  <aj@suse.de>
41649
41650         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41651         variable.
41652
41653 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41654
41655         [BZ #13717]
41656         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41657         to 2.2.0 where earlier.
41658         * sysdeps/unix/sysv/linux/configure: Regenerated.
41659         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41660         Remove conditional code.
41661         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41662         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41663         Remove conditional code.
41664         [!__NR_lchown]: Likewise.
41665         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41666         [__NR_lchown]: Likewise.
41667         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41668         comment referencing __ASSUME_LCHOWN_SYSCALL.
41669         * sysdeps/unix/sysv/linux/i386/sigaction.c
41670         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41671         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41672         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41673         Remove conditional code.
41674         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41675         (__protocol_available): Remove #if 0 code.
41676         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41677         conditional code.
41678         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41679         * sysdeps/unix/sysv/linux/kernel-features.h
41680         (__ASSUME_GETCWD_SYSCALL): Don't define.
41681         (__ASSUME_REALTIME_SIGNALS): Likewise.
41682         (__ASSUME_PREAD_SYSCALL): Likewise.
41683         (__ASSUME_PWRITE_SYSCALL): Likewise.
41684         (__ASSUME_POLL_SYSCALL): Likewise.
41685         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41686         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41687         non-SPARC.
41688         (__ASSUME_SIOCGIFNAME): Don't define.
41689         (__ASSUME_MSG_NOSIGNAL): Likewise.
41690         (__ASSUME_SENDFILE): Define unconditionally.
41691         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41692         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41693         conditional code.
41694         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41695         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41696         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41697         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41698         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41699         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41700         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41702         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41705         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41708         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41714         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41715         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41717         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41720         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41721         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41723         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41725         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41726         Remove conditional code.
41727         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41728         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41729         Remove conditional code.
41730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41731         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41732         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41733         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41734         Remove conditional code.
41735         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41736         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41737         Remove conditional code.
41738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41739         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41740         Remove conditional code.
41741         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41742         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41743         Remove conditional code.
41744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41745         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41746         Remove conditional code.
41747         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41748         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41749         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41750         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41751         * sysdeps/unix/sysv/linux/sigaction.c
41752         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41753         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41754         * sysdeps/unix/sysv/linux/sigpending.c
41755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41757         * sysdeps/unix/sysv/linux/sigprocmask.c
41758         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41759         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41760         * sysdeps/unix/sysv/linux/sigsuspend.c
41761         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41762         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41763         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41764         (__libc_missing_rt_sigs): Remove.
41765         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41766         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41767         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41768         Remove conditional code.
41769         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41770         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41771         return 1.
41772         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41773         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41774         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41775         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41776
41777 2012-05-14  Andreas Jaeger  <aj@suse.de>
41778
41779         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41780         it's not used in glibc.
41781         (__coshm1): Likewise.
41782         (__acosh1p): Likewise.
41783         (__sgn): Likewise.
41784
41785         * manual/string.texi (Copying and Concatenation): Add missing
41786         variable in concat example.
41787         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41788
41789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41790
41791         [BZ #14103]
41792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41793         __builtin_clzl with __builtin_clzll.
41794
41795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41796
41797         [BZ #14104]
41798         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41799         libc_freeres_ptr.
41800
41801 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41802
41803         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41804         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41805         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41806         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41807
41808 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41809
41810         * NEWS: Update ia64 info.
41811
41812 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41813
41814         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41815         used as bcopy.
41816
41817 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41818
41819         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41820         * sysdeps/unix/syscalls.list (dup3): Likewise.
41821         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41822         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41823
41824 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41825
41826         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41827         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41828
41829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41830
41831         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41832         thread pointer.
41833         (TLS_IE): Use mov/add instead of movq/addq to load thread
41834         pointer.
41835         (TLS_GD_PREFIX): New.
41836         (TLS_GD): Use it.
41837
41838 2012-05-11  David S. Miller  <davem@davemloft.net>
41839
41840         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41841         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41842         (_FPU_SETCW): Likewise.
41843
41844 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41845
41846         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41847         is 32-byte aligned.
41848
41849 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41850
41851         [BZ #11837]
41852         * iconvdata/gb18030.c: Update tables.
41853         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41854         characters specially.
41855         (BODY for TO_LOOP): Add encoding of missing ranges.
41856
41857 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41858
41859         [BZ #13673]
41860         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41861         * sysdeps/mach/hurd/dup3.c: Likewise.
41862         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41863         * sysdeps/powerpc/memmove.c:: Likewise.
41864
41865 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41866
41867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41868         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41869
41870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41871
41872         * elf/elf.h (R_X86_64_RELATIVE64): New.
41873         (R_X86_64_NUM): Updated.
41874         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41875         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41876         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41877         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41878         tst-quad1pie tst-quad2pie
41879         (modules-names): Add tst-quadmod1 tst-quadmod2.
41880         ($(objpfx)tst-quad1): New dependency.
41881         ($(objpfx)tst-quad2): Likewise.
41882         ($(objpfx)tst-quad1pie): Likewise.
41883         ($(objpfx)tst-quad2pie): Likewise.
41884         * sysdeps/x86_64/tst-quad1.c: New file.
41885         * sysdeps/x86_64/tst-quad1pie.c: New file.
41886         * sysdeps/x86_64/tst-quad2.c: Likewise.
41887         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41888         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41889         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41890         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41891         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41892
41893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41894
41895         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41896         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41897         * streams/stropts.h (t_scalar_t): Define type.
41898
41899         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41900         (_PATH_PRESERVE): Set to "/var/lib".
41901         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41902
41903         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41904         instead of int.
41905
41906         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41907         if __dir_mkfile succeeded.
41908
41909         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41910         checking for _hurd_dtablesize.  Unlock it right after having
41911         finished _hurd_dtable allocation.
41912
41913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41914
41915         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41916         * sysdeps/mach/hurd/configure: Regenerated.
41917         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41918         special-casing to...
41919         * sysdeps/gnu/configure.in: ... this new file.
41920         * sysdeps/unix/sysv/linux/configure: Regenerated.
41921         * sysdeps/gnu/configure: New generated file.
41922
41923         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41924         for Linux: use nsec instead of usec, as well as:
41925         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41926         members of type struct timespec.
41927         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41928         New macros.
41929         (struct stat64): Likewise.
41930         (_STATBUF_ST_NSEC): New macro.
41931         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41932
41933         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41934         __strtoul_internal rather than strtoul.
41935
41936 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41937
41938         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41939         and reject them.
41940
41941 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41942
41943         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41944         which preserves existing values.
41945         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41946
41947 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41948
41949         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41950         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41951         greater than FD_SETSIZE.
41952
41953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41954
41955         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41956         allocated, call __vm_protect to finish enabling the existing space, and
41957         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41958         allocate the remainder.
41959
41960 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41961
41962         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41963         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41964
41965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41966
41967         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41968         sysdeps/mach/hurd/readlink.c.
41969
41970         * posix/tst-sysconf.c (posix_options): Only use
41971         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41972         _POSIX_SYNCHRONIZED_IO when they are defined
41973         * sysdeps/mach/hurd/bits/posix_opt.h:
41974         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41975         (_XOPEN_REALTIME): Undefine macro.
41976         (_XOPEN_REALTIME_THREADS): Undefine macro.
41977         (_XOPEN_SHM): Undefine macro.
41978         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41979         macro to -1.
41980         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41981         macro to -1.
41982         (_POSIX_ASYNC_IO): Undefine macro.
41983         (_POSIX_PRIORITIZED_IO): Undefine macro.
41984         (_POSIX_SPIN_LOCKS): Define macro to -1.
41985
41986         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41987         SA_NODEFER, SA_RESETHAND.
41988         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41989         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41990         F_DUPFD_CLOEXEC.
41991
41992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41993
41994         * elf/Makefile (pldd-modules): Define unconditionally.
41995
41996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41997
41998         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41999
42000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42001
42002         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42003         Return ENOENT when name is empty.
42004         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42005
42006 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42007
42008         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42009
42010         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42011
42012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42013
42014         Fix mlock in all cases except non-readable pages.
42015         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42016         instead of VM_PROT_ALL as parameter to __vm_wire function.
42017
42018         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42019         (__mkdir): When path is `/', just fail with EEXIST.
42020         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42021
42022 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42023
42024         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42025         <sys/uio.h> (for writev).
42026         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42027         and <sys/param.h> (for MIN).
42028
42029 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42030
42031         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42032         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42033         if interrupted.
42034
42035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42036
42037         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42038         Depend on against $(link-rpcuserlibs).
42039
42040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42041
42042         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42043         (__libc_stack_end): Do not use attribute_relro.
42044         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42045         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42046         to libthread-provided value.
42047         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42048         attribute_relro.
42049
42050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42051
42052         [BZ #3748]
42053         * bits/libc-lock.h (__libc_once_get): New macro.
42054         * sysdeps/mach/bits/libc-lock.h: Likewise.
42055         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42057         instead of using implementation details.
42058
42059         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42060         * libio/freopen.c: Likewise.
42061         * libio/freopen64.c: Likewise.
42062         * misc/syslog.c: Likewise.
42063         * nscd/connections.c: Likewise.
42064         * nscd/netgroupcache.c: Likewise.
42065         * sysdeps/posix/getcwd.c: Likewise.
42066
42067 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42068
42069         * math/w_ilogbf.c: Add #include <limits.h>.
42070
42071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42072
42073         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42074         path instead of returning without unlocking.
42075
42076         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42077         immediate-write ioctls.
42078         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42079
42080 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42081
42082         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42083         __builtin_frame_address instead of making assumptions about the
42084         location of the return address relative to DATA.  Force early load of
42085         the return address.
42086         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42087         __builtin_frame_address.
42088
42089         dup3 for GNU Hurd.
42090         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42091         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42092         implement dup3 and do some further code clean-ups.
42093         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42094         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42095
42096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42097
42098         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42099
42100         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42101         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42102         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42103         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42104         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42105         d->port.lock.
42106
42107         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42108         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42109         when handler == SIG_ERR, not when handler != SIG_ERR.
42110
42111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42112
42113         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42114         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42115         definitions.
42116
42117         accept4 for GNU Hurd.
42118         * include/sys/socket.h (__libc_accept4): New prototype.
42119         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42120         to implement __libc_accept4.
42121         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42122         __libc_accept4.
42123         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42124
42125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42126         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42127         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42128         signal-defines.sym.
42129
42130 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42131
42132         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42133
42134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42135
42136         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42137         assertion on O_CLOEXEC flag.
42138         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42139         * hurd/intern-fd.c: Likewise.
42140         * hurd/port2fd.c: Likewise.
42141
42142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42143
42144         [BZ #3906]
42145         * bits/in.h (IPV6_PKTINFO): Define new macro.
42146         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42147
42148 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42149
42150         [BZ #13954]
42151         [BZ #13955]
42152         [BZ #13956]
42153         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42155         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42156         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42158         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42159         * math/libm-test.inc (logb_test) : Additional logb tests.
42160
42161 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42162             Andreas Jaeger  <aj@suse.de>
42163
42164         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42165         * configure: Regenerated.
42166         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42167         * config.make.in (link-obsolete-rpc): New substituted variable.
42168         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42169         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42170         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42171         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42172         so that libc.a contains the symbols.
42173         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42174         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42175         * sunrpc/auth_none.c: Likewise.
42176         * sunrpc/auth_unix.c: Likewise.
42177         * sunrpc/authdes_prot.c: Likewise.
42178         * sunrpc/authuxprot.c: Likewise.
42179         * sunrpc/clnt_gen.c: Likewise.
42180         * sunrpc/clnt_perr.c: Likewise.
42181         * sunrpc/clnt_raw.c: Likewise.
42182         * sunrpc/clnt_simp.c: Likewise.
42183         * sunrpc/clnt_tcp.c: Likewise.
42184         * sunrpc/clnt_udp.c: Likewise.
42185         * sunrpc/clnt_unix.c: Likewise.
42186         * sunrpc/des_crypt.c: Likewise.
42187         * sunrpc/des_soft.c: Likewise.
42188         * sunrpc/get_myaddr.c: Likewise.
42189         * sunrpc/key_call.c: Likewise.
42190         * sunrpc/key_prot.c: Likewise.
42191         * sunrpc/netname.c: Likewise.
42192         * sunrpc/pm_getmaps.c: Likewise.
42193         * sunrpc/pm_getport.c: Likewise.
42194         * sunrpc/pmap_clnt.c: Likewise.
42195         * sunrpc/pmap_prot.c: Likewise.
42196         * sunrpc/pmap_prot2.c: Likewise.
42197         * sunrpc/pmap_rmt.c: Likewise.
42198         * sunrpc/publickey.c: Likewise.
42199         * sunrpc/rpc_cmsg.c: Likewise.
42200         * sunrpc/rpc_common.c: Likewise.
42201         * sunrpc/rpc_dtable.c: Likewise.
42202         * sunrpc/rpc_prot.c: Likewise.
42203         * sunrpc/rpc_thread.c: Likewise.
42204         * sunrpc/rtime.c: Likewise.
42205         * sunrpc/svc.c: Likewise.
42206         * sunrpc/svc_auth.c: Likewise.
42207         * sunrpc/svc_raw.c: Likewise.
42208         * sunrpc/svc_run.c: Likewise.
42209         * sunrpc/svc_tcp.c: Likewise.
42210         * sunrpc/svc_udp.c: Likewise.
42211         * sunrpc/svc_unix.c: Likewise.
42212         * sunrpc/svcauth_des.c: Likewise.
42213         * sunrpc/xcrypt.c: Likewise.
42214         * sunrpc/xdr.c: Likewise.
42215         * sunrpc/xdr_array.c: Likewise.
42216         * sunrpc/xdr_float.c: Likewise.
42217         * sunrpc/xdr_intXX_t.c: Likewise.
42218         * sunrpc/xdr_mem.c: Likewise.
42219         * sunrpc/xdr_rec.c: Likewise.
42220         * sunrpc/xdr_ref.c: Likewise.
42221         * sunrpc/xdr_sizeof.c: Likewise.
42222         * sunrpc/xdr_stdio.c: Likewise.
42223
42224 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42225
42226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42227         change.  Update copyright years.
42228
42229 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42230
42231         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42232
42233 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42234             Joseph Myers  <joseph@codesourcery.com>
42235             Paul Pluzhnikov  <ppluzhnikov@google.com>
42236
42237         [BZ #14012]
42238         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42239         requiring rpcgen.
42240         [cross-compiling] (extra-libs): Likewise.
42241         [cross-compiling] (extra-libs-others): Likewise.
42242         [cross-compiling] (librpcsvc-routines): Likewise.
42243         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42244         [cross-compiling] (omit-deps): Likewise.
42245         (sunrpc-CPPFLAGS): New variable.
42246         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42247         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42248         (cross-rpcgen-objs): New variable.
42249         (extra-objs): Append $(cross-rpcgen-objs).
42250         ($(cross-rpcgen-objs)): New rule.
42251         ($(objpfx)cross-rpcgen): Likewise.
42252         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42253         comment.
42254         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42255         ($(objpfx)x%.stmp): Likewise.
42256         * sunrpc/proto.h [IS_IN_build] (_): Define.
42257         [IS_IN_build] (_libc_intl_domainname): Likewise.
42258
42259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42260
42261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42262         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42263         and R_X86_64_TPOFF64.
42264
42265 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42266
42267         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42268         sysdeps/unix/sysv/syscalls.list.
42269         (stime): Likewise.
42270         (utime): Likewise.
42271         * sysdeps/unix/sysv/syscalls.list: Remove file.
42272
42273 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42274
42275         [BZ #3440]
42276         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42277         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42278         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42279         (__LC_IDENTIFICATION): Make these macros useful in #if
42280         expressions, as required by C99.
42281
42282 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42283
42284         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42285         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42286         after this.
42287
42288 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42289
42290         * stdlib/longlong.h: Updated from GCC.
42291
42292 2012-05-09  Andreas Jaeger  <aj@suse.de>
42293
42294         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42295         default is first entry.
42296         (run_mode): Set type.
42297         (main): Remove informal message about syslog.
42298         (options): Fix typo.
42299
42300         [BZ #14053]
42301         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42302         to asm.
42303         (lrint): Likewise.
42304         (llrintf): Likewise.
42305         (llrint): Likewise.
42306         (rint): Likewise.
42307         (rintf): Likewise.
42308         (nearbyint): Likewise.
42309         (nearbyintf): Likewise.
42310
42311 2012-05-09  Andreas Jaeger  <aj@suse.de>
42312             Pedro Alves  <palves@redhat.com>
42313
42314         * nscd/nscd.c (run_mode): Use enum.
42315         (main): Cleanup coding style issue.
42316
42317 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42318             Andreas Jaeger  <aj@suse.de>
42319
42320         * nscd/nscd.c (go_background): Replaced with...
42321         (run_mode): ... this.
42322         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42323         (options): Add -F --foreground.
42324         (main): Implement it.
42325         (parse_opt): Parse it.
42326
42327 2012-05-09  Andreas Jaeger  <aj@suse.de>
42328
42329         [BZ #14083]
42330         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42331         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42332         -Wconversion warning.
42333         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42334         Likewise.
42335
42336 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42337
42338         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42339         == 0.
42340         (LC_ALL): Use macro-int-constant.
42341         (LC_COLLATE): Likewise.
42342         (LC_CTYPE): Likewise.
42343         (LC_MESSAGES): Likewise.
42344         (LC_MONETARY): Likewise.
42345         (LC_NUMERIC): Likewise.
42346         (LC_TIME): Likewise.
42347         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42348         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42350         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42351         Specify type.
42352         [C99-based standards] (float_t): Expect type.
42353         [C99-based standards] (double_t): Expect type.
42354         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42355         type.
42356         [C99-based standards] (HUGE_VALL): Likewise.
42357         [C99-based standards] (INFINITY): Likewise.
42358         [C99-based standards] (NAN): Likewise.
42359         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42360         [C99-based standards] (FP_NAN): Likewise.
42361         [C99-based standards] (FP_NORMAL): Likewise.
42362         [C99-based standards] (FP_SUBNORMAL): Likewise.
42363         [C99-based standards] (FP_ZERO): Likewise.
42364         [C99-based standards] (FP_FAST_FMA): Use
42365         optional-macro-int-constant.  Specify type.  Require == 1.
42366         [C99-based standards] (FP_FAST_FMAF): Likewise.
42367         [C99-based standards] (FP_FAST_FMAL): Likewise.
42368         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42369         [C99-based standards] (FP_ILOGBNAN): Likewise.
42370         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42371         Specify type.
42372         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42373         [C99-based standards] (math_errhandling): Specify type.
42374         [ISO99 || ISO11] (signgam): Do not allow.
42375         [non-C99-based standards] (copysignf): Do not allow.
42376         [non-C99-based standards] (exp2f): Likewise.
42377         [non-C99-based standards] (log2f): Likewise.
42378         [non-C99-based standards] (modff): Allow.
42379         [non-C99-based standards] (erff): Do not allow.
42380         [non-C99-based standards] (erfcf): Likewise.
42381         [non-C99-based standards] (gammaf): Likewise.
42382         [non-C99-based standards] (hypotf): Likewise.
42383         [non-C99-based standards] (j0f): Likewise.
42384         [non-C99-based standards] (j1f): Likewise.
42385         [non-C99-based standards] (jnf): Likewise.
42386         [non-C99-based standards] (lgammaf): Likewise.
42387         [non-C99-based standards] (tgammaf): Likewise.
42388         [non-C99-based standards] (y0f): Likewise.
42389         [non-C99-based standards] (y1f): Likewise.
42390         [non-C99-based standards] (ynf): Likewise.
42391         [non-C99-based standards] (isnanf): Likewise.
42392         [non-C99-based standards] (acoshf): Likewise.
42393         [non-C99-based standards] (asinhf): Likewise.
42394         [non-C99-based standards] (atanhf): Likewise.
42395         [non-C99-based standards] (cbrtf): Likewise.
42396         [non-C99-based standards] (expm1f): Likewise.
42397         [non-C99-based standards] (ilogbf): Likewise.
42398         [non-C99-based standards] (log1pf): Likewise.
42399         [non-C99-based standards] (logbf): Likewise.
42400         [non-C99-based standards] (nextafterf): Likewise.
42401         [non-C99-based standards] (remainderf): Likewise.
42402         [non-C99-based standards] (rintf): Likewise.
42403         [non-C99-based standards] (scalbf): Likewise.
42404         [non-C99-based standards] (copysignl): Likewise.
42405         [non-C99-based standards] (exp2l): Likewise.
42406         [non-C99-based standards] (log2l): Likewise.
42407         [non-C99-based standards] (modfl): Allow.
42408         [non-C99-based standards] (erfl): Do not allow.
42409         [non-C99-based standards] (erfcl): Likewise.
42410         [non-C99-based standards] (gammal): Likewise.
42411         [non-C99-based standards] (hypotl): Likewise.
42412         [non-C99-based standards] (j0l): Likewise.
42413         [non-C99-based standards] (j1l): Likewise.
42414         [non-C99-based standards] (jnl): Likewise.
42415         [non-C99-based standards] (lgammal): Likewise.
42416         [non-C99-based standards] (tgammal): Likewise.
42417         [non-C99-based standards] (y0l): Likewise.
42418         [non-C99-based standards] (y1l): Likewise.
42419         [non-C99-based standards] (ynl): Likewise.
42420         [non-C99-based standards] (isnanl): Likewise.
42421         [non-C99-based standards] (acoshl): Likewise.
42422         [non-C99-based standards] (asinhl): Likewise.
42423         [non-C99-based standards] (atanhl): Likewise.
42424         [non-C99-based standards] (cbrtl): Likewise.
42425         [non-C99-based standards] (expm1l): Likewise.
42426         [non-C99-based standards] (ilogbl): Likewise.
42427         [non-C99-based standards] (log1pl): Likewise.
42428         [non-C99-based standards] (logbl): Likewise.
42429         [non-C99-based standards] (nextafterl): Likewise.
42430         [non-C99-based standards] (remainderl): Likewise.
42431         [non-C99-based standards] (rintl): Likewise.
42432         [non-C99-based standards] (scalbl): Likewise.
42433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42434         [non-C99-based standards] (FP_*): Do not allow.
42435         [C99-based standards] (FP_*): Change to
42436         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42437         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42438         allow.
42439         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42440         (SIG_ERR): Likewise.
42441         [X/Open-based standards] (SIG_HOLD): Likewise.
42442         (SIG_IGN): Likewise.
42443         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42444         positive value.
42445         (SIGFPE): Likewise.
42446         (SIGILL): Likewise.
42447         (SIGINT): Likewise.
42448         (SIGSEGV): Likewise.
42449         (SIGTER): Likewise.
42450         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42451         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42452         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42453         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42454         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42455         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42456         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42457         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42458         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42459         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42460         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42461         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42462         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42463         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42464         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42465         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42466         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42467         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42468         [X/Open-based standards] (SIGTRAP): Likewise.
42469         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42470         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42471         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42472         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42473         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42474         allow.
42475
42476 2012-05-08  Ian Wienand  <ianw@vmware.com>
42477
42478         [BZ #14080]
42479         * time/tzset.c (__tzset_parse_tz): Update default rules for
42480         daylight time changes in the Energy Policy Act of 2005.
42481
42482 2012-05-09  Andreas Jaeger  <aj@suse.de>
42483
42484         [BZ #13983]
42485         * elf/ldconfig.c (parse_conf): Change string to make clear that
42486         ldconfig only issued a warning if ld.so.conf does not exist.
42487
42488 2012-05-08  David S. Miller  <davem@davemloft.net>
42489
42490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42491         movxtod instead of popping the value on the stack.
42492
42493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42494
42495 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42496
42497         * config.h.in: Add HAVE_ARM_PCS_VFP.
42498
42499 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42500
42501         [BZ #13979]
42502         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42503         checking but the checks are disabled for any reason.
42504
42505 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42506
42507         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42508         and ELF64_R_TYPE with ELFW(R_TYPE).
42509
42510 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42511
42512         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42513         (ulimit): Likewise.
42514
42515         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42516         (settimeofday): Likewise.
42517
42518 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42519
42520         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42521         a struct th_u2 inside the union, and move tu_block/tu_code into
42522         a new th_u3 union of tu_block/tu_code inside of that.  Move
42523         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42524         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42525         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42526         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42527         (th_stuff): Change to th_u1.tu_stuff.
42528         (th_data): Define.
42529         (th_msg): Change to th_u1.th_u2.tu_data.
42530
42531 2012-05-07  David S. Miller  <davem@davemloft.net>
42532
42533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42534
42535         [BZ #14074]
42536         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42537         (SETUP_PIC_REG): Use it.
42538         (SETUP_PIC_REG_LEAF): Use it.
42539
42540 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42541
42542         [BZ #13885]
42543         [BZ #13923]
42544         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42545         USE_AS_EXPM1L.
42546         (EXPL_FINITE): Likewise.
42547         (FLDLOG): Likewise.
42548         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42549         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42550         e_expl.S.
42551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42552         USE_AS_EXPM1L.
42553         (EXPL_FINITE): Likewise.
42554         (FLDLOG): Likewise.
42555         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42556         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42557         e_expl.S.
42558         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42559         test of -max_value argument for long double.
42560         * sysdeps/i386/fpu/libm-test-ulps: Update.
42561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42562
42563 2012-05-06  David S. Miller  <davem@davemloft.net>
42564
42565         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42566         quad soft-float symbols whose references which are compiler
42567         generated.
42568         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42569
42570 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42571
42572         [BZ #13884]
42573         [BZ #13914]
42574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42575         USE_AS_EXP10L.
42576         (EXPL_FINITE): Likewise.
42577         (FLDLOG): Likewise.
42578         (c0): Likewise.
42579         (c1): Likewise.
42580         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42581         Adjust comments for base varying.
42582         (__expl_finite): Change alias to EXPL_FINITE.
42583         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42584         e_expl.S.
42585         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42586         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42587         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42588         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42589         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42590         USE_AS_EXP10L.
42591         (EXPL_FINITE): Likewise.
42592         (FLDLOG): Likewise.
42593         (c0): Likewise.
42594         (c1): Likewise.
42595         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42596         Adjust comments for base varying.
42597         (__expl_finite): Change alias to EXPL_FINITE.
42598         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42599         tests for bugs.
42600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42601
42602         [BZ #14064]
42603         * math/libm-test.inc (check_float_internal): Correct ulp
42604         calculation for subnormal expected results.
42605
42606 2012-05-06  Andreas Jaeger  <aj@suse.de>
42607
42608         * Makeconfig (+math-flags): New, set to -frounding-math.
42609         (+cflags): Add +math-flags so that all of glibc gets compiled with
42610         it.
42611
42612         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42613
42614 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42615
42616         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42617         Disable one test.
42618
42619         [BZ #13787]
42620         [BZ #13922]
42621         [BZ #14036]
42622         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42623         (__ieee754_expl): Allow for and saturate large arguments.
42624         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42625         (u_threshold): Likewise.
42626         (__exp): Call __ieee754_exp before checking for overflow and
42627         underflow.
42628         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42629         (u_threshold): Likewise.
42630         (__expf): Call __ieee754_expf before checking for overflow and
42631         underflow.
42632         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42633         (u_threshold): Likewise.
42634         (__expl): Call __ieee754_expl before checking for overflow and
42635         underflow.
42636         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42637         (__ieee754_expl): Allow for and saturate large arguments.
42638         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42639         missing overflow exception on overflow.
42640         (expm1_test): Do not allow missing overflow exception on overflow.
42641
42642         * sysdeps/i386/fpu/e_expl.c: Move to ...
42643         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42644         rather than using inline asm.
42645         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42646         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42647         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42648
42649         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42650         (nice): Likewise.
42651         (poll): Likewise.
42652         (signal): Likewise.
42653         (time): Likewise.
42654         (times): Likewise.
42655
42656 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42657
42658         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42659         sysdeps/unix/common/syscalls.list.
42660         (fchmod): Likewise.
42661         (fchown): Likewise.
42662         (ftruncate): Likewise.
42663         (getrusage): Likewise.
42664         (gettimeofday): Likewise.
42665         (setpgid): Likewise.
42666         (setregid): Likewise.
42667         (setreuid): Likewise.
42668         (sigaction): Likewise.
42669         (truncate): Likewise.
42670         (vhangup): Likewise.
42671         * sysdeps/unix/common/syscalls.list: Remove file.
42672         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42673         * sysdeps/unix/sysv/linux/Implies: Likewise.
42674
42675 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42676
42677         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42679         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42680         Moved to ...
42681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42682         Here.
42683         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42684         to ...
42685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42686         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42687         to ...
42688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42689         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42690         to ...
42691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42692         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42693         to ...
42694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42695         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42696         to ...
42697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42698         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42699         to ...
42700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42701         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42702         to ...
42703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42704         Here.
42705         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42706         to ...
42707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42708         Here.
42709         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42710         to ...
42711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42712         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42713         Moved to ...
42714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42715         Here.
42716         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42717         to ...
42718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42719
42720 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42721
42722         * sysdeps/unix/common/bits/dirent.h: Remove file.
42723         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42724
42725         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42726         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42727         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42728         * sysdeps/unix/bsd/isatty.c: Likewise.
42729         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42730         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42731         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42732
42733 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42734
42735         [BZ #13563]
42736         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42737         long double comparison inaccuracies.
42738         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42740
42741 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42742
42743         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42745
42746 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42747
42748         [BZ #14049]
42749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42750         nonzero digits before rounding a hex value.
42751         * stdlib/tst-strtod.c (tests): Add another test.
42752
42753 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42754
42755         * sysdeps/s390/fpu/libm-test-ulps: Update.
42756
42757 2012-05-03  Andreas Jaeger  <aj@suse.de>
42758
42759         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42760         does not get optimized out.
42761         (malloc_opt_barrier): New.
42762
42763 2012-05-03  Andreas Jaeger  <aj@suse.de>
42764             Roland McGrath  <roland@hack.frob.com>
42765
42766         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42767         intermediate file deletion.
42768         (generated): Add .symlist files.
42769
42770 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42771
42772         [BZ #13775]
42773         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42774         Redirect under this condition.
42775         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42776         [__USE_GNU] (__dprintf_chk): Not under this condition.
42777         [__USE_GNU] (__vdprintf_chk): Likewise.
42778         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42779         under this condition.
42780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42781         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42782         [__USE_XOPEN2K8] (vdprintf): Likewise.
42783         [__USE_GNU] (__dprintf_chk): Not under this condition.
42784         [__USE_GNU] (__vdprintf_chk): Likewise.
42785         [__USE_GNU] (dprintf): Likewise.
42786         [__USE_GNU] (vdprintf): Likewise.
42787
42788 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42789
42790         * elf/Makefile (common-generated): Set this instead of generated for
42791         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42792         $(all-built-dso)-derived lists.
42793
42794 2012-05-03  Andreas Jaeger  <aj@suse.de>
42795
42796         * sysdeps/i386/fpu/libm-test-ulps: Update.
42797
42798         * FAQ: Removed.
42799         * FAQ.in: Likewise.
42800         * scripts/gen-FAQ.pl: Likewise.
42801         * manual/install.texi (Installation): Point to online location of
42802         FAQ.
42803         * Makefile (files-for-dist): Remove FAQ.
42804         (FAQ): Remove.
42805
42806 2012-05-02  Allan McRae  <allan@archlinux.org>
42807
42808         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42809         (LDFLAGS-reldepmod5.so): Likewise.
42810         (LDFLAGS-reldep6mod1.so): Likewise.
42811         (LDFLAGS-reldep6mod4.so): Likewise.
42812         (LDFLAGS-reldep8mod3.so): Likewise.
42813         (LDFLAGS-unload4mod1.so): Likewise.
42814         (LDFLAGS-unload4mod2.so): Likewise.
42815         (LDFLAGS-tst-initorder): Likewise.
42816         (LDFLAGS-tst-initordera2.so): Likewise.
42817         (LDFLAGS-tst-initordera3.so): Likewise.
42818         (LDFLAGS-tst-initordera4.so): Likewise.
42819         (LDFLAGS-tst-initorderb2.so): Likewise.
42820         (LDFLAGS-noload): Likewise.
42821         (LDFLAGS-next): Likewise.
42822         (LDFLAGS-order2mod1.so): Likewise.
42823         (LDFLAGS-order2mod2.so): Likewise.
42824         (LDFLAGS-tst-initorder2): Likewise.
42825         (LDFLAGS-tst-initorder2a.so): Likewise.
42826         (LDFLAGS-tst-initorder2b.so): Likewise.
42827         (LDFLAGS-tst-initorder2c.so): Likewise.
42828         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42829
42830 2012-05-02  David S. Miller  <davem@davemloft.net>
42831
42832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42833
42834 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42835
42836         [BZ #14055]
42837         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42838
42839 2012-05-02  Andreas Jaeger  <aj@suse.de>
42840
42841         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42842         since we manipulate rounding mode.
42843         (CPPFLAGS-test-idouble.c): Likewise.
42844         (CPPFLAGS-test-ifloat.c): Likewise.
42845         (CFLAGS-test-ldouble.c): Likewise.
42846         (CFLAGS-test-double.c): Likewise.
42847         (CFLAGS-test-float.c): Likewise.
42848         (CFLAGS-test-misc.c): Likewise.
42849         (CFLAGS-test-test-fenv.c): Likewise.
42850
42851 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42852
42853         [BZ #2550]
42854         [BZ #2570]
42855         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42856         comparisons to determine direction to adjust input.
42857
42858 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42859
42860         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42861         output to the target.
42862
42863         * scripts/localplt.awk: New file.
42864         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42865         (check-localplt-CFLAGS): Variable removed.
42866         ($(all-built-dso:=.jmprel)): New static pattern rule.
42867         (generated): Add those targets.
42868         (localplt-built-dso): New variable.
42869         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42870
42871         * elf/check-localplt.c: File removed.
42872
42873         * scripts/check-execstack.awk: New file.
42874         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42875         (check-execstack-CFLAGS): Variable removed.
42876         ($(objpfx)check-execstack.h): Target removed.
42877         ($(objpfx)execstack-default): New target.
42878         (generated): Add that instead of check-execstack.h.
42879         ($(all-built-dso:=.phdr)): New static pattern rule.
42880         (generated): Add those targets.
42881         * elf/check-execstack.c: File removed.
42882
42883         * scripts/check-textrel.awk: New file.
42884         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42885         (check-textrel-CFLAGS): Variable removed.
42886         (all-built-dso): Use := to define.o
42887         ($(all-built-dso:=.dyn)): New static pattern rule.
42888         (generated): Add those targets.
42889         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42890         * config.make.in (READELF): New substituted variable.
42891         * elf/check-textrel.c: File removed.
42892
42893 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42894
42895         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42896         allow.
42897         * conform/data/ctype.h-data [C99-based standards] (isblank):
42898         Expect function.
42899         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42900         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42902         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42903         Specify type.  Require positive value.
42904         (EILSEQ): Likewise.
42905         (ERANGE): Likewise.
42906         [ISO || POSIX] (EILSEQ): Do not expect.
42907         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42908         Specify type.  Require positive value.
42909         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42910         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42911         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42912         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42913         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42914         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42915         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42916         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42917         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42918         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42919         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42920         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42921         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42922         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42923         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42924         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42925         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42926         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42927         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42928         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42929         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42930         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42931         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42932         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42933         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42934         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42935         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42936         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42937         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42938         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42939         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42940         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42941         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42942         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42943         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42944         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42945         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42946         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42947         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42948         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42949         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42950         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42951         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42952         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42953         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42954         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42955         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42956         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42957         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42958         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42959         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42960         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42961         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42962         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42963         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42964         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42965         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42966         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42967         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42968         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42969         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42970         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42971         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42972         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42973         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42974         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42975         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42976         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42977         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42978         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42979         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42980         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42981         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42982         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42983         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42984         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42985         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42986         Require >= 2.
42987         (FLT_ROUNDS): Expect as macro, not constant.
42988         (FLT_MANT_DIG): Use macro-int-constant.
42989         (DBL_MANT_DIG): Likewise.
42990         (LDBL_MANT_DIG): Likewise.
42991         (FLT_DIG): Likewise.
42992         (DBL_DIG): Likewise.
42993         (LDBL_DIG): Likewise.
42994         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42995         (DBL_MIN_EXP): Likewise.
42996         (LDBL_MIN_EXP): Likewise.
42997         (FLT_MAX_EXP): Use macro-int-constant.
42998         (DBL_MAX_EXP): Likewise.
42999         (LDBL_MAX_EXP): Likewise.
43000         (FLT_MAX_10_EXP): Likewise.
43001         (DBL_MAX_10_EXP): Likewise.
43002         (LDBL_MAX_10_EXP): Likewise.
43003         (FLT_MAX): Use macro-constant.
43004         (DBL_MAX): Likewise.
43005         (LDBL_MAX): Likewise.
43006         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43007         (DBL_EPSILON): Likewise.
43008         (LDBL_EPSILON): Likewise.
43009         (FLT_MIN): Likewise.
43010         (DBL_MIN): Likewise.
43011         (LDBL_MIN): Likewise.
43012         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43013         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43014         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43015         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43016         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43017         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43018         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43019         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43020         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43021         [ISO11] (FLT_TRUE_MIN): Likewise.
43022         [ISO11] (LDBL_TRUE_MIN): Likewise.
43023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43024         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43025         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43026         (SCHAR_MAX): Likewise.
43027         (UCHAR_MAX): Likewise.
43028         (CHAR_MIN): Likewise.
43029         (CHAR_MAX): Likewise.
43030         (MB_LEN_MAX): Use macro-int-constant.
43031         (SHRT_MIN): Use macro-int-constant.  Specify type.
43032         (SHRT_MAX): Likewise.
43033         (USHRT_MAX): Likewise.
43034         (INT_MAX): Likewise.
43035         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43036         bound negative.
43037         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43038         bound with "U".
43039         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43040         bound with "L".
43041         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43042         bound negative.  Suffix upper bound with "L".
43043         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43044         bound with "UL".
43045         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43046         Specify type.
43047         [C99-based standards] (LLONG_MAX): Likewise.
43048         [C99-based standards] (ULLONG_MAX): Likewise.
43049         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43050         == 0.
43051         [ISO11] (max_align_t): Require type.
43052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43053
43054         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43055         from $CFLAGS, without defining away __attribute__ calls.
43056         (checknamespace): Use $CFLAGS_namespace.
43057
43058         * conform/conformtest.pl (@keywords): Only include C99 keywords
43059         for standards based on C99 or C11.
43060
43061         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43062         Disable tests.
43063         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43064         UNIX98]: Likewise.
43065
43066         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43067         usability of symbols in #if.
43068
43069         * conform/conformtest.pl: If macro or constant types start
43070         "promoted:", expect the symbol to be of the following type
43071         promoted by the integer promotions.
43072
43073         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43074         in one place.  Also handle "macro-constant".
43075
43076         * conform/conformtest.pl: Only accept expected macro values with
43077         "==".  Parse all "macro" lines in one place.
43078         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43079
43080         * conform/conformtest.pl: Handle braced types on "constant" lines
43081         instead of handling "typed-constant".
43082         * conform/data/signal.h-data: Use "constant" instead of
43083         "typed-constant".
43084
43085         * conform/conformtest.pl: Handle "optional-" at start of lines in
43086         one place rather than duplicating several cases.  Handle each
43087         format of "macro" line with initial "optional-".
43088
43089         * conform/conformtest.pl: Only accept expected constant or
43090         optional-constant values with "==".  Parse all "constant" lines in
43091         one place.  Parse all "optional-constant" lines in one place.
43092         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43093         * conform/data/fmtmsg.h-data: Likewise.
43094         * conform/data/netinet/in.h-data: Likewise.
43095         * conform/data/tar.h-data: Likewise.
43096         * conform/data/limits.h-data: Use "==" form on "constant" and
43097         "optional-constant" lines.
43098
43099         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43100         Use -std=c99 for XOPEN2K.
43101         (@knownproblems): Remove.
43102         (newtoken): Don't check %isknown.
43103
43104         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43105         Do not expect macro.
43106         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43107         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43108         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43109         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43110         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43111         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43112         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43113         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43114         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43115         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43116         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43117         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43118         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43119         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43120         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43121         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43122         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43123         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43124         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43125         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43126         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43129         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43130         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43131         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43132         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43133         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43134         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43135         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43136         [XPG3] (acosh): Likewise.
43137         [XPG3] (asinh): Likewise.
43138         [XPG3] (atanh): Likewise.
43139         [XPG3] (cbrt): Likewise.
43140         [XPG3] (expm1): Likewise.
43141         [XPG3] (ilogb): Likewise.
43142         [XPG3] (log1p): Likewise.
43143         [XPG3] (logb): Likewise.
43144         [XPG3] (nextafter): Likewise.
43145         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43146         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43147         [XPG3] (remainder): Likewise.
43148         [XPG3] (rint): Likewise.
43149         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43150         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43151         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43152         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43153         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43154         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43155         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43156         [UNIX98 || XOPEN2K] (scalb): Expect.
43157         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43158         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43159         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43160         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43161         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43162         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43163         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43164         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43165         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43166         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43167         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43168         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43169         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43170         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43171         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43172         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43173         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43174         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43175         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43176         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43177         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43178         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43179         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43180         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43181         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43182         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43183         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43184         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43185         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43186         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43187         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43188         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43189         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43190         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43191         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43192         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43193         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43194         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43195         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43196         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43197         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43198         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43199         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43200         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43201         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43202         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43203         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43204         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43205         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43206         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43207         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43208         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43209         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43210         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43211         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43212         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43213         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43214         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43215         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43216         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43217         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43218         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43219         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43220         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43221         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43222         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43223         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43224         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43225         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43226         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43227         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43228         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43229         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43230         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43231         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43232         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43233         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43234         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43235         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43236         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43237         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43238         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43239         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43240         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43241         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43242         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43243         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43244         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43245         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43246         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43247         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43248         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43249         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43250         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43251         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43252         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43253         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43254         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43255         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43256         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43257         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43258         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43259         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43260         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43261         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43262         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43263         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43264         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43265         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43266         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43267         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43268         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43269         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43270         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43271         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43272         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43273         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43274         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43275         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43276         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43277         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43278         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43279         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43280         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43281         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43282         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43283         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43284         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43285         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43286         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43287         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43288         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43289         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43290         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43291         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43292         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43293         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43294
43295         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43296         _XOPEN_SOURCE_EXTENDED for XPG4.
43297
43298         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43299
43300         * Makeconfig (localtime): Remove variable.
43301         (inst_localtime-file): Likewise.
43302
43303 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43304
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43306         Update.
43307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43308         Update.
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43310         Update.
43311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43312         Update.
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43314         Update.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43316         Update.
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43318         Update.
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43320         Update.
43321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43322         Update.
43323
43324 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43325
43326         [BZ #2550]
43327         [BZ #2570]
43328         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43329         comparisons to determine direction to adjust input.
43330         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43331         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43332         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43333         Likewise.
43334         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43335         Likewise.
43336         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43337         Likewise.
43338         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43339         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43340         Likewise.
43341         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43342         Likewise.
43343         * math/libm-test.inc (nexttoward_test): Add more tests.
43344
43345 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43346
43347         [BZ #14040]
43348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43349         in version GLIBC_2.1, not GLIBC_2.0.
43350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43351         Likewise.
43352
43353 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43354
43355         [BZ #13942]
43356         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43357         (1 - x) * (1 + x).
43358         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43359         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43360         * math/libm-test.inc (acos_test): Add more tests.
43361         (asin_test): Likewise.
43362         * sysdeps/i386/fpu/libm-test-ulps: Update.
43363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43364
43365         [BZ #14034]
43366         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43367         of square root.
43368         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43369         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43370         * math/libm-test.inc (acos_test_tonearest): New function.
43371         (acos_test_towardzero): Likewise.
43372         (acos_test_downward): Likewise.
43373         (acos_test_upward): Likewise.
43374         (asin_test_tonearest): Likewise.
43375         (asin_test_towardzero): Likewise.
43376         (asin_test_downward): Likewise.
43377         (asin_test_upward): Likewise.
43378         (main): Call the new functions.
43379         * sysdeps/i386/fpu/libm-test-ulps: Update.
43380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43381
43382         [BZ #13884]
43383         [BZ #13924]
43384         * math/e_exp10.c: Include <float.h>.
43385         (__ieee754_exp10): Handle underflow here rather than multiplying
43386         large negative argument by M_LN10.
43387         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43388         of __ieee754_expf.
43389         * math/e_exp10l.c: Include <float.h>.
43390         (__ieee754_exp10l): Handle underflow here rather than multiplying
43391         large negative argument by M_LN10l.
43392         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43393         spurious overflow exception on underflow.
43394
43395 2012-04-29  Marek Polacek  <polacek@redhat.com>
43396
43397         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43398         (__fortify_function): New macro.
43399         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43400         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43401         __extern_always_inline.
43402         * libio/bits/stdio2.h: Likewise.
43403         * libio/bits/stdio.h: Likewise.
43404         * string/string.h: Likewise.
43405         * string/bits/string3.h: Likewise.
43406         * include/stdio.h: Likewise.
43407         * stdlib/bits/stdlib.h: Likewise.
43408         * stdlib/stdlib.h: Likewise.
43409         * rt/bits/mqueue2.h: Likewise.
43410         * rt/mqueue.h: Likewise.
43411         * posix/bits/unistd.h: Likewise.
43412         * posix/unistd.h: Likewise.
43413         * io/bits/poll2.h: Likewise.
43414         * io/bits/fcntl2.h: Likewise.
43415         * io/fcntl.h: Likewise.
43416         * io/sys/poll.h: Likewise.
43417         * misc/bits/syslog.h: Likewise.
43418         * misc/bits/syslog-ldbl.h: Likewise.
43419         * misc/sys/syslog.h: Likewise.
43420         * socket/bits/socket2.h: Likewise.
43421         * socket/sys/socket.h: Likewise.
43422         * debug/tst-chk1.c: Likewise.
43423         * wcsmbs/bits/wchar2.h: Likewise.
43424         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43425         * wcsmbs/wchar.h: Likewise.
43426
43427 2012-04-29  Andreas Jaeger  <aj@suse.de>
43428
43429         * Makerules (tests): Remove enable-check-abi protection.
43430         (check-abi-warn): Remove.
43431         (check-abi-%): Remove check-abi-warn usage.
43432
43433         * configure.in: Remove check-abi configure option.
43434         * configure: Regenerated.
43435         * config.make.in (enable-check-abi): Remove.
43436
43437 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43438
43439         [BZ #14033]
43440         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43441         double functions to double *_finite functions.
43442
43443         [BZ #13941]
43444         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43445         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43446         LDBL_MIN_EXP.
43447         * stdio-common/Makefile (tests): Add tst-sprintf3.
43448         * stdio-common/tst-sprintf3.c: New file.
43449
43450         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43451         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43452
43453 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43454
43455         * conform/conformtest.pl: Remove duplicate typed-constant
43456         handling.
43457
43458 2012-04-28  David S. Miller  <davem@davemloft.net>
43459
43460         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43461         (check-abi-%): Remove AWK script prerequisite and explicit
43462         abilist directory.
43463         (check-abi): Rewrite to just diff the symlist with the abilist.
43464         (config-tls, config-abi-config): Delete, no longer used.
43465         (update-abi-%): Remove AWK script and explicit abilist directory.
43466         (update-abi): Rewrite to simply compare and conditionally copy the
43467         symlist and the sysdep abilist file.  Remove update-abi-config
43468         checks.
43469         * abilist/ld.abilist: Remove.
43470         * abilist/libBrokenLocale.abilist: Remove.
43471         * abilist/libanl.abilist: Remove.
43472         * abilist/libcrypt.abilist: Remove.
43473         * abilist/libdl.abilist: Remove.
43474         * abilist/librt.abilist: Remove.
43475         * abilist/libthread_db.abilist: Remove.
43476         * abilist/libutil.abilist: Remove.
43477         * scripts/extract-abilist.awk: Remove.
43478         * scripts/merge-abilist.awk: Remove.
43479         * sysdeps/generic/libcidn.abilist: New file.
43480         * sysdeps/generic/libnss_compat.abilist: New file.
43481         * sysdeps/generic/libnss_db.abilist: New file.
43482         * sysdeps/generic/libnss_dns.abilist: New file.
43483         * sysdeps/generic/libnss_files.abilist: New file.
43484         * sysdeps/generic/libnss_hesiod.abilist: New file.
43485         * sysdeps/generic/libnss_nis.abilist: New file.
43486         * sysdeps/generic/libnss_nisplus.abilist: New file.
43487         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43488         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43489         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43490         file.
43491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43492         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43493         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43494         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43495         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43496         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43497         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43498         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43499         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43500         file.
43501         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43502         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43503         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43504         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43505         file.
43506         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43507         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43508         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43509         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43510         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43511         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43512         file.
43513         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43514         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43515         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43516         file.
43517         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43519         New file.
43520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43521         New file.
43522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43523         New file.
43524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43525         New file.
43526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43527         New file.
43528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43529         New file.
43530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43531         New file.
43532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43533         New file.
43534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43535         New file.
43536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43537         New file.
43538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43539         New file.
43540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43541         New file.
43542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43543         New file.
43544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43545         file.
43546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43547         New file.
43548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43549         New file.
43550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43551         file.
43552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43553         New file.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43555         New file.
43556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43557         file.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43559         New file.
43560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43561         New file.
43562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43563         New file.
43564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43565         New file.
43566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43567         New file.
43568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43569         New file.
43570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43572         file.
43573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43574         New file.
43575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43576         file.
43577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43578         file.
43579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43580         file.
43581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43582         file.
43583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43584         file.
43585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43586         New file.
43587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43588         file.
43589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43590         file.
43591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43592         New file.
43593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43594         file.
43595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43597         file.
43598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43599         New file.
43600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43601         file.
43602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43603         file.
43604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43605         file.
43606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43607         file.
43608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43609         file.
43610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43611         New file.
43612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43613         file.
43614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43615         file.
43616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43617         New file.
43618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43619         file.
43620         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43621         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43622         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43623         file.
43624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43625         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43626         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43627         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43628         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43629         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43630         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43631         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43632         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43633         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43636         file.
43637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43638         New file.
43639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43640         file.
43641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43642         file.
43643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43644         file.
43645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43646         file.
43647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43648         file.
43649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43650         New file.
43651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43652         New file.
43653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43654         file.
43655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43656         New file.
43657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43658         file.
43659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43661         file.
43662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43663         New file.
43664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43665         file.
43666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43667         file.
43668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43669         file.
43670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43671         file.
43672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43673         file.
43674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43675         New file.
43676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43677         New file.
43678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43679         file.
43680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43681         New file.
43682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43683         file.
43684
43685 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43686
43687         * conform/conformtest.pl: Fix typo in handling typed-constant from
43688         allow-header.
43689
43690 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43691
43692         * README: Cut down references to pre-2.6 Linux kernels and
43693         Linuxthreads.  Update lists of configurations in libc and ports
43694         and sort alphabetically.  Say "or newer" with Linux kernel version
43695         requirements.
43696
43697         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43698
43699 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43700
43701         [BZ #887]
43702         * math/libm-test.inc (logb_test_downward): New test to expose
43703         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43704         rounding mode.
43705
43706 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43707
43708         [BZ #14027]
43709         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43710         to be done.
43711         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43712         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43713
43714 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43715
43716         * sysdeps/unix/i386/brk.S: Remove file.
43717         * sysdeps/unix/i386/dl-brk.S: Likewise.
43718         * sysdeps/unix/i386/pipe.S: Likewise.
43719         * sysdeps/unix/i386/sigreturn.S: Likewise.
43720         * sysdeps/unix/i386/syscall.S: Likewise.
43721         * sysdeps/unix/i386/vfork.S: Likewise.
43722         * sysdeps/unix/i386/wait.S: Likewise.
43723
43724         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43725         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43726
43727         * configure.in (arm*-none*): Do not allow without
43728         --enable-hacker-mode.
43729         (netbsd*): Remove case setting base_os.
43730         (386bsd*): Likewise.
43731         (freebsd*): Likewise.
43732         (bsdi*): Likewise.
43733         (osf*): Likewise.
43734         (sunos*): Likewise.
43735         (ultrix*): Likewise.
43736         (newsos*): Likewise.
43737         (dynix*): Likewise.
43738         (*bsd*): Likewise.
43739         (sysv*): Likewise.
43740         (isc*): Likewise.
43741         (esix*): Likewise.
43742         (sco*): Likewise.
43743         (minix*): Likewise.
43744         (irix4*): Likewise.
43745         (irix6*): Likewise.
43746         (solaris[2-9]*): Likewise.
43747         (none): Likewise.
43748         * configure: Regenerated.
43749
43750 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43751
43752         [BZ #11521]
43753         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43754         overflow or cancellation in calculating denominator.
43755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43757         down expression to avoid unexpected rounding in newer GCCs.
43758         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43759
43760 2012-04-26  David S. Miller  <davem@davemloft.net>
43761
43762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43763         long-double compat symbols.
43764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43777
43778 2012-04-25  David S. Miller  <davem@davemloft.net>
43779
43780         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43781         HWCAP_* values only after the memory barriers have been defined.
43782         (atomic_full_barrier): Define.
43783         (atomic_read_barrier): Define.
43784         (atomic_write_barrier): Define.
43785
43786 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43787
43788         * shlib-versions: Add libgcc_s version information.
43789         * sysdeps/generic/libgcc_s.h: Remove.
43790         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43791         libgcc_s.h.
43792         * sysdeps/gnu/unwind-resume.c: Likewise.
43793         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43794
43795 2012-04-25  David S. Miller  <davem@davemloft.net>
43796
43797         * sysdeps/unix/sparc/brk.S: Delete.
43798         * sysdeps/unix/sparc/dl-brk.S: Delete.
43799         * sysdeps/unix/sparc/pipe.S: Delete.
43800         * sysdeps/unix/sparc/sysdep.S: Delete.
43801         * sysdeps/unix/sparc/sysdep.h: Delete.
43802         * sysdeps/unix/sparc/vfork.S: Delete.
43803         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43804         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43805         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43806         (ret_ERRVAL, r0, r1, MOVE): Define.
43807         (JUMPTARGET): Remove.
43808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43809         sysdeps/unix/sparc/sysdep.h
43810         (ENTRY, END): Remove.
43811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43812
43813 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43814
43815         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43816         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43817         -DIS_IN_build.
43818
43819         * timezone/README: Update upstream location and email address for
43820         tzcode and tzdata.
43821         * timezone/zdump.c: Update from tzcode 2012b.
43822         * timezone/zic.c: Likewise.
43823
43824         * configure.in (libc_cv_as_needed): Remove test.
43825         * configure: Regenerated.
43826         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43827         conditional definition.
43828         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43829         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43830         * config.make.in (have-as-needed): Remove variable.
43831
43832 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43833             Paul Pluzhnikov  <ppluzhnikov@google.com>
43834
43835         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43836         strings correctly.
43837
43838 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43839
43840         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43841         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43842         * sysdeps/sh/strlen.S: Likewise.
43843
43844 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43845
43846         * sysdeps/unix/fork.S: Remove file.
43847         * sysdeps/unix/i386/fork.S: Likewise.
43848         * sysdeps/unix/sparc/fork.S: Likewise.
43849
43850         * sysdeps/unix/system.c: Remove file.
43851         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43852
43853         * sysdeps/unix/getegid.S: Remove file.
43854         * sysdeps/unix/geteuid.S: Likewise.
43855
43856 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43857
43858         * scripts/check-localplt.awk: New file.
43859         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43860         of diff.
43861         * scripts/data/localplt-generic.data: Add a comment.
43862
43863         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43864         NODE when __dir_mkfile failed.
43865         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43866         Reported by Ludovic Courtès <ludo@gnu.org>.
43867
43868 2012-04-24  Andreas Jaeger  <aj@suse.de>
43869
43870         * Makerules (common-clean): Also remove gen-as-const-headers
43871         files.
43872
43873 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43874
43875         * Makerules (native-compile): Do not change working directory for
43876         build.  Use $(OUTPUT_OPTION) in command.
43877         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43878
43879 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43880
43881         [BZ #13886]
43882         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43883         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43884         * math/libm-test.inc (floor_test): Add more tests.
43885         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43886
43887 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43888
43889         * sysdeps/unix/getdents.c: Remove file.
43890         * sysdeps/unix/sysv/getdents.c: Likewise.
43891         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43892
43893         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43894         sysdeps/unix/mman/syscalls.list.
43895         (mmap): Likewise.
43896         (mprotect): Likewise.
43897         (msync): Likewise.
43898         (munmap): Likewise.
43899         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43900         * sysdeps/unix/mman/syscalls.list: Remove.
43901         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43902
43903         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43904         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43905         * configure: Regenerated.
43906         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43907         $(libgcc_s_suffix).
43908         * config.make.in (libgcc_s_suffix): Remove variable.
43909
43910 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43911
43912         * sysdeps/unix/sysv/gethostname.c: Move to ...
43913         * sysdeps/posix/gethostname.c: ... here.
43914
43915         * sysdeps/unix/execve.S: Remove file.
43916
43917         * sysdeps/unix/_exit.S: Remove file.
43918
43919 2012-04-23  Andreas Jaeger  <aj@suse.de>
43920
43921         [BZ #13739]
43922         * manual/Makefile: Remove make dist support, there's no
43923         need for a stand-alone documentation tar ball.
43924         (TEXI2DVI): Define always, it's not in Makeconfig.
43925         (dist): Removed.
43926         (tar-it): Removed.
43927         (edition): Removed.
43928         (glibc-doc-$(edition).tar): Removed
43929         (%.Z): Removed.
43930         (%.gz): Removed.
43931         (%.uu): Removed.
43932         (ETAGS): Remove, it's in Makeconfig.
43933         (move-if-change): Remove, it's in Makeconfig.
43934
43935 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43936
43937         [BZ #13970]
43938         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43939         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43940         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43941         (strtod_l, strtof_l, strtold_l): Remove __wur.
43942         It is not necessarily an error to ignore strtol's return value.
43943         One can reliably look at the stored endptr to decide whether
43944         the number had valid syntax.
43945
43946 2012-04-21  Andreas Jaeger  <aj@suse.de>
43947
43948         [BZ #13739]
43949         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43950
43951 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43952
43953         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43954         * sysdeps/unix/sysv/Versions: Remove file.
43955
43956 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43957
43958         [BZ #13927]
43959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43960
43961 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43962
43963         [BZ #7064]
43964         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43965         version from __vm86.
43966
43967 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43968
43969         * sysdeps/unix/common/lxstat.c: Remove file.
43970         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43971
43972         * sysdeps/unix/sysv/Makefile: Remove file.
43973
43974         * sysdeps/unix/sysv/direct.h: Remove file.
43975
43976         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43977         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43978         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43979         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43980         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43981         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43982         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43983
43984         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43985
43986         * sysdeps/unix/xmknod.c: Remove file.
43987         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43988
43989         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43990
43991         * sysdeps/unix/sysv/i386/time.S: Remove file.
43992
43993         * sysdeps/unix/fxstat.c: Remove file.
43994         * sysdeps/unix/xstat.c: Likewise.
43995         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43996
43997         * sysdeps/unix/sysv/sigaction.c: Remove file.
43998
43999         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44000         (sysdep_headers): Remove variable.
44001         [termio.h not in sysdep_headers] (generated): Likewise.
44002         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44003         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44004         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44005         * sysdeps/unix/sysv/tcflow.c: Likewise.
44006         * sysdeps/unix/sysv/tcflush.c: Likewise.
44007         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44008         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44009         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44010         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44011         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44012
44013         * sysdeps/unix/siglist.c: Remove file.
44014
44015         * sysdeps/unix/getppid.S: Remove file.
44016
44017         * sysdeps/unix/mkdir.c: Remove file.
44018         * sysdeps/unix/rmdir.c: Likewise.
44019
44020 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44021
44022         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44023         ERR_MAX value.
44024         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44025         errlist-compat value.
44026
44027 2012-04-18  David S. Miller  <davem@davemloft.net>
44028
44029         * sysdeps/generic/memcopy.h (reg_char): Delete.
44030         * debug/strcat_chk.c: Use char, not reg_char.
44031         * debug/strcpy_chk.c: Likewise.
44032         * debug/strncat_chk.c: Likewise.
44033         * debug/strncpy_chk.c: Likewise.
44034         * string/memchr.c: Likewise.
44035         * string/memrchr.c: Likewise.
44036         * string/rawmemchr.c: Likewise.
44037         * string/strcat.c: Likewise.
44038         * string/strchr.c: Likewise.
44039         * string/strchrnul.c: Likewise.
44040         * string/strcmp.c: Likewise.
44041         * string/strcpy.c: Likewise.
44042         * string/strncat.c: Likewise.
44043         * string/strncmp.c: Likewise.
44044         * string/strncpy.c: Likewise.
44045
44046 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44047
44048         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44049         __builtin_memcopy is called when src and dest ranges are known to not
44050         overlap.
44051
44052 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44053
44054         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44055         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44056         fwd_align_merge macro call.
44057         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44058         bwd_align_merge macro call.
44059         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44060
44061 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44062
44063         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44064         bwd_align_merge macros.
44065         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44066         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44067         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44068
44069 2012-04-18  David S. Miller  <davem@davemloft.net>
44070
44071         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44072
44073 2012-04-18  Andreas Jaeger  <aj@suse.de>
44074
44075         [BZ# 6794]
44076         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44077         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44078         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44079
44080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44081         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44082         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44083
44084         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44085         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44086         Adjust for changed ldbl-128 files.
44087
44088         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44089         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44090         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44091
44092 2012-04-17  David S. Miller  <davem@davemloft.net>
44093
44094         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44095
44096 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44097
44098         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44099         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44100         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44101         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44102         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44103         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44104
44105 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44106
44107         [BZ #6794]
44108         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44109         * math/libm-test.inc: Add ilogb errno and exception tests.
44110         * math/w_ilogb.c: New file: ilogb wrapper.
44111         * math/w_ilogbf.c: New file: ilogbf wrapper.
44112         * math/w_ilogbl.c: New file: ilogbl wrapper.
44113         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44114         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44115         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44116         exception being thrown with 0.0 as argument.
44117         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44118         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44119         exception being thrown with 0.0 as argument.
44120         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44121         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44122         exception being thrown with 0.0 as argument.
44123         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44124         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44125         exception being thrown with 0.0 as argument.
44126         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44127         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44128         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44129         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44130         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44131         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44132         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44133         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44134         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44135
44136 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44137
44138         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44139         with altivec.
44140
44141 2012-04-16  Marek Polacek  <polacek@redhat.com>
44142
44143         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44144
44145 2012-04-16  Marek Polacek  <polacek@redhat.com>
44146
44147         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44148         operands of fdivp instruction.
44149
44150 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44151
44152         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44153         * elf/tst-auditmod3b.c: Likewise.
44154         * elf/tst-auditmod4b.c: Likewise.
44155         * elf/tst-auditmod5b.c: Likewise.
44156         * elf/tst-auditmod6b.c: Likewise.
44157         * elf/tst-auditmod6c.c: Likewise.
44158         * elf/tst-auditmod7b.c: Likewise.
44159         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44160         * sysdeps/x86_64/preconfigure.in: Likewise.
44161         * sysdeps/x86_64/preconfigure: Regenerated.
44162
44163 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44164
44165         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44166         __ILP32__.
44167
44168 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44169
44170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44171         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44172
44173 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44174
44175         [BZ #13973]
44176         * locale/iso-639.def: Fix gl language name. Spotted by
44177         Yaron Shahrabani.
44178
44179 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44180
44181         [BZ #2074]
44182         * libio/libio.h (__io_write_fn): Update comment.
44183
44184 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44185
44186         [BZ #2074]
44187         * stdio.texi (Hook Functions): The user provided writer function
44188         is not allowed to return -1.
44189
44190 2012-04-11  David S. Miller  <davem@davemloft.net>
44191
44192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44193
44194 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44195
44196         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44197         Add a leading slash to rtkaio.
44198
44199 2012-04-11  Jim Meyering  <meyering@redhat.com>
44200
44201         [BZ #11959]
44202         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44203         It is not necessarily an error to ignore fwrite's return
44204         value.  One can reliably use ferror to test for errors after
44205         the fact.
44206
44207 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44208
44209         * bits/types.h (__snseconds_t): New type.
44210         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44211
44212         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44214         (__SNSECONDS_T_TYPE): Likewise.
44215         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44216         (__SNSECONDS_T_TYPE): Likewise.
44217         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44218         (__SNSECONDS_T_TYPE): Likewise.
44219
44220 2012-04-10  Andreas Jaeger  <aj@suse.de>
44221
44222         [BZ #2636]
44223         * manual/time.texi (Processor Time): Return type of times is
44224         elapsed real time since an arbitrary point in the past.
44225         (CPU Time): Move CLK_TCK from here...
44226         (Processor Time): ...to here.  Correct description.
44227         * manual/conf.texi (Constants for Sysconf): Correct description of
44228         _SC_CLK_TCK.
44229
44230 2012-04-10  David S. Miller  <davem@davemloft.net>
44231
44232         [BZ #13967]
44233         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44234         where the is a gap between DT_REL(A) and DT_JMPREL.
44235
44236 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44237
44238         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44239         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44240         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44241
44242 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44243
44244         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44245         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44246         (dl_main): Handle --inhibit-cache.
44247         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44248         _dl_inhibit_cache.
44249         * elf/dl-load.c (_dl_map_object): Use it.
44250         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44251
44252 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44253
44254         [BZ #13872]
44255         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44256         (__ieee754_powl): Saturate large exponents rather than testing for
44257         overflow of y*log2(x).
44258         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44259         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44260         exceptions.
44261
44262         [BZ #11521]
44263         * math/s_ctan.c: Include <float.h>.
44264         (__ctan): Avoid internal overflow or cancellation in calculating
44265         denominator.
44266         * math/s_ctanf.c: Likewise.
44267         * math/s_ctanl.c: Likewise.
44268         * math/s_ctanh.c: Likewise.
44269         * math/s_ctanhf.c: Likewise.
44270         * math/s_ctanhl.c: Likewise.
44271         * math/libm-test.inc (ctan_test): Add more tests.
44272         (ctanh_test): Likewise.
44273         * sysdeps/i386/fpu/libm-test-ulps: Update.
44274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44275
44276 2012-04-09  Andreas Jaeger  <aj@suse.de>
44277
44278         [BZ #6894]
44279         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44280         is an optional BSD extension.
44281
44282         [BZ #10254]
44283         * manual/stdio.texi (Opening Streams): Document additional fopen
44284         parameters.
44285
44286 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44287
44288         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44289         %eax without telling the compiler.
44290
44291 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44292
44293         [BZ # 13963]
44294         * manual/install.texi: Use sourceware.org.
44295
44296 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44297
44298         [BZ #13873]
44299         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44300         (__ieee754_pow): Generate overflow and underflow using huge*huge
44301         and tiny*tiny rather than just returning constant infinity or zero
44302         for large exponents.
44303         * math/libm-test.inc (pow_test): Require overflow exceptions for
44304         applicable cases of large exponents.
44305
44306         [BZ #706]
44307         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44308         (__ieee754_pow): Use iterative multiplication algorithm only for
44309         integer exponents with absolute value below 1024.  Check for odd
44310         integer exponents when using algorithm for real exponents.
44311         * math/libm-test.inc (pow_test): Add more tests.
44312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44313
44314 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44315
44316         [BZ #13705]
44317         * math/libm-test.inc (exp_test): Do not allow overflow exception
44318         on underflow test.
44319
44320 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44321
44322         [BZ #13705]
44323         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44324         instead of __kernel_standard_f.
44325
44326 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44327
44328         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44329         * sysdeps/x86_64/memset_chk.S: Likewise.
44330
44331 2012-04-08  Andreas Jaeger  <aj@suse.de>
44332
44333         [BZ #10153]
44334         * manual/startup.texi (Environment Access): Describe return value
44335         for putenv and setenv.
44336
44337         [BZ #6895]
44338         * manual/filesys.texi (Directory Entries): Add description for
44339         DT_LNK.
44340
44341         [BZ #6890]
44342         * manual/filesys.texi (Directory Entries): Clarify that it's file
44343         system not operating system in the description of DT_UNKNOWN.
44344
44345         [BZ #6578]
44346         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44347
44348 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44349
44350         [BZ #6649]
44351         * manual/llio.texi (Opening and Closing Files): Add cross
44352         reference to explain mode argument.
44353
44354 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44355
44356         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44357         * sysdeps/x86_64/memset_chk.S: Likewise.
44358
44359 2012-04-07  David S. Miller  <davem@davemloft.net>
44360
44361         * elf/elf.h (R_SPARC_WDISP10): Define.
44362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44363         R_SPARC_SIZE32.
44364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44365         R_SPARC_SIZE64 and R_SPARC_H34.
44366
44367 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44368
44369         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44370         conditions and remove no longer applicable assertion.
44371
44372 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44373
44374         * bits/byteswap.h: Include <features.h>.
44375         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44376         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44377
44378 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44379
44380         * bits/byteswap.h (__bswap_16): Removed.
44381         Include <bits/byteswap-16.h> to get __bswap_16.
44382         * sysdeps/i386/bits/byteswap.h: Likewise.
44383         * sysdeps/s390/bits/byteswap.h: Likewise.
44384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44385         * bits/byteswap-16.h: New file.
44386         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44387         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44388         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44389         * string/Makefile (headers): Add bits/byteswap-16.h.
44390
44391 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44392
44393         [BZ #13895]
44394         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44395         extra indirection.
44396         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44397         * nss/tst-nss-static.c: New.
44398
44399 2012-04-06  Robert Millan  <rmh@gnu.org>
44400
44401         [BZ #6486]
44402         * manual/llio.texi (File Position Primitive): lseek
44403         refers to WHENCE when it really means OFFSET.
44404
44405 2012-04-06  Andreas Jaeger  <aj@suse.de>
44406
44407         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44408         strncmp declarations.
44409
44410         * abilist/libc.abilist: Add __poll and __ppoll.
44411
44412 2012-04-05  David S. Miller  <davem@davemloft.net>
44413
44414         * scripts/check-local-headers.sh: Accept a host triplet in the
44415         path matched by the exclude regexp.
44416
44417         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44418         definition.
44419         * sysdeps/powerpc/powerpc32/dl-machine.h
44420         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44421         * sysdeps/s390/s390-32/dl-machine.h
44422         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44423         * sysdeps/sparc/sparc32/dl-machine.h
44424         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44425         * sysdeps/sparc/sparc64/dl-machine.h
44426         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44427
44428         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44429         lazy binding.
44430         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44431         undefined symbol errors.
44432
44433         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44434         DT_NEEDED entries.
44435
44436 2012-04-05  Michael Matz  <matz@suse.de>
44437
44438         [BZ #13592]
44439         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44440
44441 2012-04-05  Andreas Jaeger  <aj@suse.de>
44442
44443         [BZ #13908]
44444         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44445         comment.
44446
44447 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44448
44449         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44450         which ROUND is no valid rounding mode.
44451
44452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44453
44454         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44455         read again.
44456         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44457
44458 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44459
44460         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44461         an exception using FPU order intentionally.
44462
44463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44464
44465         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44466         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44467         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44468         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44469
44470 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44471
44472         [BZ #12340]
44473         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44474         EINVAL when BUFLEN is too smal.
44475
44476 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44477
44478         [BZ #13553]
44479         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44480         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44481
44482 2012-04-03  Andreas Jaeger  <aj@suse.de>
44483
44484         [BZ #13938]
44485         * manual/setjmp.texi (System V contexts): Fix sentence.
44486
44487         [BZ #13926]
44488         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44489         New macro for this case.
44490         [!__GNUC__] (__bswap_64): New inline function for this case.
44491         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44492         * bits/byteswap.h: Likewise.
44493         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44494         ull, guard with __GLIBC_HAVE_LONG_LONG.
44495
44496         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44497         __GLIBC_HAVE_LONG_LONG.
44498
44499         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44500         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44501
44502 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44503
44504         [BZ #13691]
44505         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44506         inptr and inend, rather than using last_ch.
44507
44508 2012-04-02  David S. Miller  <davem@davemloft.net>
44509
44510         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44511         * stdio-common/printf-parse.h (read_int): Change return type to
44512         'int', return -1 on INT_MAX overflow.
44513         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44514         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44515         overflows INT_MAX.  Check for overflow of in-format-string precision
44516         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44517         SIZE_MAX not INT_MAX for integer overflow test.
44518         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44519         skip the construct in the format string but do not record anything.
44520         * stdio-common/bug22.c: Adjust to test both width/prevision
44521         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44522         explicitly for proper errno values.
44523
44524 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44525
44526         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44527         CHAR_MAX.
44528         * string/test-strcmp.c [! WIDE]: Likewise.
44529         * time/tst-mktime2.c: Likewise for INT_MAX.
44530         * string/test-string.h: #include <sys/param.h> for MIN.
44531
44532         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44533         * sysdeps/i386/init-first.c (init): Likewise.
44534         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44535         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44536         * sysdeps/sh/init-first.c (init): Likewise.
44537
44538 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44539
44540         * po/ru.po: Update from translation team.
44541         * po/vi.po: Likewise.
44542
44543 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44544
44545         * resolv/nss_dns/dns-host.c: Merge copyright years.
44546
44547 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44548
44549         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44550         Optimize memcpy with prefetch if
44551         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44552         src, dst pointers have unequal 16 byte alignments.
44553
44554 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44555
44556         [BZ #13928]
44557         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44558         from a CNAME entry and return the minimum ttl for the query.
44559         (gaih_getanswer_slice): Likewise.
44560
44561 2012-03-30  Jeff Law  <law@redhat.com>
44562
44563         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44564         due to long keys.
44565         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44566         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44567
44568         * resolv/nss_dns/dns-host.c: Update copyright year.
44569
44570 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44571
44572         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44573         requests to save a system call.  Fix check that all bytes are sent.
44574
44575         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44576         comments for sendmmsg.
44577
44578 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44579
44580         [BZ #13691]
44581         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44582         with only 1 character between 0x0041 and 0x01b0.
44583         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44584         * wcsmbs/tst-mbsnrtowcs.c: New file.
44585
44586 2012-03-29  David S. Miller  <davem@davemloft.net>
44587
44588         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44589         small copies by hand.
44590
44591 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44592
44593         [BZ #13761]
44594         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44595         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44596         group memberships.
44597
44598 2012-03-28  David S. Miller  <davem@davemloft.net>
44599
44600         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44601         that branches into memcpy.
44602         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44605         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44607         bits.
44608         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44609         implementation too.
44610         * sysdeps/sparc/mempcpy.S: New file.
44611
44612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44613         the IFUNC routine in the libc case.
44614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44615
44616         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44617         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44618         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44619         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44620         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44621         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44622         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44623         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44624
44625         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44626         loop to 256 bytes instead of 64 bytes and fix test signedness.
44627
44628         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44629         * sysdeps/sparc/sparc32/Makefile: rather than here...
44630         * sysdeps/sparc/sparc64/Makefile: and here.
44631
44632 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44633
44634         * malloc/mallocbug.c: Avoid warnings about unused variables.
44635
44636 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44637
44638         [BZ #13760]
44639         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44640         in the right place. Discard and retry query if response is
44641         larger than input buffer size.
44642
44643 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44644
44645         [BZ #369]
44646         [BZ #2678]
44647         [BZ #3866]
44648         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44649         x for large integer exponent.
44650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44652         sign of result as needed afterwards.
44653         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44654         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44655         result for underflowing pow the same as for overflow.
44656         (__kernel_standard_l): Handle powl overflow and underflow here
44657         rather than calling __kernel_standard.
44658         * math/libm-test.inc (pow_test): Add more tests.
44659
44660         [BZ #3868]
44661         [BZ #13879]
44662         [BZ #13910]
44663         [BZ #13911]
44664         [BZ #13912]
44665         [BZ #13913]
44666         [BZ #13915]
44667         [BZ #13916]
44668         [BZ #13917]
44669         [BZ #13918]
44670         [BZ #13919]
44671         [BZ #13920]
44672         [BZ #13921]
44673         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44674         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44675         (__kernel_standard_l): New function.
44676         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44677         __kernel_standard.
44678         * math/w_acosl.c (__acosl): Likewise.
44679         * math/w_asinl.c (__asinl): Likewise.
44680         * math/w_atan2l.c (__atan2l): Likewise.
44681         * math/w_atanhl.c (__atanhl): Likewise.
44682         * math/w_coshl.c (__coshl): Likewise.
44683         * math/w_exp10l.c (__exp10l): Likewise.
44684         * math/w_exp2l.c (__exp2l): Likewise.
44685         * math/w_fmodl.c (__fmodl): Likewise.
44686         * math/w_hypotl.c (__hypotl): Likewise.
44687         * math/w_j0l.c (__j0l, __y0l): Likewise.
44688         * math/w_j1l.c (__j1l, __y1l): Likewise.
44689         * math/w_jnl.c (__jnl, __ynl): Likewise.
44690         * math/w_lgammal.c (__lgammal): Likewise.
44691         * math/w_log10l.c (__log10l): Likewise.
44692         * math/w_log2l.c (__log2l): Likewise.
44693         * math/w_logl.c (__logl): Likewise.
44694         * math/w_powl.c (__powl): Likewise.
44695         * math/w_remainderl.c (__remainderl): Likewise.
44696         * math/w_scalbl.c (sysv_scalbl): Likewise.
44697         * math/w_sinhl.c (__sinhl): Likewise.
44698         * math/w_sqrtl.c (__sqrtl): Likewise.
44699         * math/w_tgammal.c (__tgammal): Likewise.
44700         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44701         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44702         * math/libm-test.inc (acos_test): Add more tests.
44703         (acosh_test): Likewise.
44704         (asin_test): Likewise.
44705         (atanh_test): Likewise.
44706         (exp_test): Likewise.
44707         (exp10_test): Likewise.
44708         (exp2_test): Likewise.
44709         (expm1_test): Likewise.
44710         (lgamma_test): Likewise.
44711         (log_test): Likewise.
44712         (log10_test): Likewise.
44713         (log1p_test): Likewise.
44714         (log2_test): Likewise.
44715         (pow_test): Do not allow some spurious overflow exceptions.
44716         (sqrt_test): Add more tests.
44717         (tgamma_test): Likewise.
44718         (y0_test): Likewise.
44719         (y1_test): Likewise.
44720         (yn_test): Likewise.
44721
44722 2012-03-27  Anton Blanchard  <anton@samba.org>
44723
44724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44725         MAP_HUGETLB.
44726         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44727         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44728         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44729
44730 2012-03-27  David S. Miller  <davem@davemloft.net>
44731
44732         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44733
44734         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44735         have-as-vis3 check.
44736
44737 2012-03-27  Andreas Jaeger  <aj@suse.de>
44738
44739         * sysdeps/x86_64/elf/configure.in: Moved to ...
44740         * sysdeps/x86_64/configure.in: ... here.
44741         * sysdeps/x86_64/elf/start.S: Moved to ...
44742         * sysdeps/x86_64/start.S: ... here.
44743         * sysdeps/x86_64/elf/configure: Delete.
44744
44745         * sysdeps/x86_64/configure.in: Merge contents from
44746         sysdeps/i386/configure.in (without i686 check).
44747
44748         * sysdeps/i386/elf/Versions: Merge into ...
44749         * sysdeps/i386/Versions: ... this.
44750         * sysdeps/i386/elf/Versions: Delete file.
44751         * sysdeps/i386/elf/start.S: Moved to ...
44752         * sysdeps/i386/start.S: ...here.
44753         * sysdeps/i386/elf/configure.in: Merge into...
44754         * sysdeps/i386/configure.in: ...here.
44755         * sysdeps/i386/elf/configure.in: Delete file.
44756         * sysdeps/i386/elf/configure: Delete file.
44757
44758         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44759         * debug/backtracesyms.c: ... here.
44760         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44761         * debug/backtracesymsfd.c: ... here.
44762         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44763         * sysdeps/generic/ifunc-sel.h: ... here.
44764
44765         * sysdeps/unix/i386/start.c: Delete file.
44766         * sysdeps/unix/sparc/start.c: Delete file.
44767         * sysdeps/unix/start.c: Delete file.
44768
44769         * sysdeps/sh/elf/configure.in: Moved to ...
44770         * sysdeps/sh/configure.in: ... here.
44771         * sysdeps/sh/elf/start.S: Moved to ...
44772         * sysdeps/sh/start.S: ... here.
44773         * sysdeps/sh/elf/configure: Delete file.
44774
44775         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44776         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44777         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44778         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44779         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44780         * sysdeps/powerpc/powerpc64/start.S: here.
44781         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44782         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44783         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44784         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44785         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44786
44787         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44788         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44789         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44790         * sysdeps/powerpc/powerpc32/start.S: ... here.
44791         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44792         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44793         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44794
44795         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44796         * sysdeps/powerpc/ifunc-sel.h: ... here.
44797         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44798         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44799
44800         * sysdeps/sparc/elf/configure.in: Moved to ...
44801         * sysdeps/sparc/configure.in: ... here.
44802         * sysdeps/sparc/elf/configure: Delete file.
44803         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44804         * sysdeps/sparc/sparc32/start.S: ... here.
44805         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44806         * sysdeps/sparc/sparc64/start.S: ... here.
44807         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44808         * sysdeps/sparc/sparc32/Makefile: ... this.
44809         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44810         * sysdeps/sparc/sparc64/Makefile: ... this.
44811
44812         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44813         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44814         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44815         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44816         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44817         * sysdeps/s390/s390-32/setjmp.S: ... here.
44818         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44819         * sysdeps/s390/s390-32/configure.in: ... here.
44820         * sysdeps/s390/s390-32/elf/configure: Delete file.
44821         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44822         * sysdeps/s390/s390-32/start.S: ... here.
44823
44824         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44825         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44826         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44827         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44828         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44829         * sysdeps/s390/s390-64/setjmp.S: ... here.
44830         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44831         * sysdeps/s390/s390-64/configure.in: ... here
44832         * sysdeps/s390/s390-64/elf/configure: Delete file.
44833         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44834         * sysdeps/s390/s390-64/start.S: ... here.
44835         * sysdeps/s390/s390-64/elf/configure: Delete.
44836
44837         * configure.in: Remove support for elf directories in sysdeps.
44838
44839         * configure: Regenerated.
44840         * sysdeps/i386/configure: Regenerated.
44841         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44842         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44843         * sysdeps/s390/s390-32/configure: Regenerated.
44844         * sysdeps/s390/s390-64/configure: Regenerated.
44845         * sysdeps/sh/configure: Regenerated.
44846         * sysdeps/sparc/configure: Regenerated.
44847         * sysdeps/x86_64/configure: Regenerated.
44848
44849 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44850
44851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44852
44853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44854         denormal result into account.
44855
44856 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44857
44858         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44859         Reported by Allan McRae <allan@archlinux.org>.
44860
44861 2012-03-23  Jeff Law  <law@redhat.com>
44862
44863         * nss/getnssent.c (__nss_getent): Fix typo.
44864
44865 2012-03-23  David S. Miller  <davem@davemloft.net>
44866
44867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44868
44869 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44870
44871         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44872         to pad to uint64_t for each field.
44873         (dl_tls_index): Replace unsigned long with uint64_t.
44874
44875 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44876         Paul Pluzhnikov  <ppluzhnikov@google.com>
44877
44878         [BZ #6528]
44879         * grp/Makefile (otherlibs): Don't set it.
44880         * inet/Makefile (otherlibs): Likewise.
44881         * login/Makefile (otherlibs): Likewise.
44882         * nscd/Makefile (otherlibs): Likewise.
44883         * posix/Makefile (otherlibs): Likewise.
44884         * pwd/Makefile (otherlibs): Likewise.
44885         * rt/Makefile (otherlibs): Likewise.
44886         * sunrpc/Makefile (otherlibs): Likewise.
44887         * nss/Makefile (otherlibs): Likewise.
44888         Add libnss_files to routines and static-only-routines.
44889         ($(objpfx)getent): Remove rule.
44890         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44891         static-only-routines.
44892
44893 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44894
44895         [BZ #13892]
44896         * math/s_cexp.c: Include <float.h>.
44897         (__cexp): Handle exp result overflowing not necessarily
44898         overflowing both real and imaginary parts of result.
44899         * math/s_cexpf.c: Likewise.
44900         * math/s_cexpl.c: Likewise.
44901         * math/libm-test.inc (cexp_test): Add more tests.
44902         * sysdeps/i386/fpu/libm-test-ulps: Update.
44903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44904
44905 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44906
44907         * include/link.h (ELFW): New macro.
44908         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44909         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44910
44911 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44912
44913         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44914         with uint64_t.
44915
44916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44917
44918         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44919         declaration.
44920         (struct La_x32_retval): Likewise.
44921
44922 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44923
44924         * sysdeps/x86_64/preconfigure.in: New file.
44925         * sysdeps/x86_64/preconfigure: New generated file.
44926
44927 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44928
44929         [BZ #13824]
44930         * math/e_exp2l.c: Include <float.h>.
44931         (__ieee754_exp2l): Handle overflow and underflow cases
44932         separately.  Only pass fractional part of argument to
44933         __ieee754_expl.
44934         * math/libm-test.inc (exp2_test): Add more tests.
44935
44936         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44937         negating x to take absolute value.
44938         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44939         Likewise.
44940         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44942         Likewise.
44943         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44944         computing low part if x was negated.
44945         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44946
44947 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44948
44949         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44950         la_x32_gnu_pltexit.
44951         (pltexit): Cast int_retval to ptrdiff_t.
44952         * elf/tst-auditmod3b.c: Likewise.
44953         * elf/tst-auditmod4b.c: Likewise.
44954         * elf/tst-auditmod5b.c: Likewise.
44955         * elf/tst-auditmod6b.c: Likewise.
44956         * elf/tst-auditmod6c.c: Likewise.
44957         * elf/tst-auditmod7b.c: Likewise.
44958
44959         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44960         and x32_gnu_pltexit.
44961
44962         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44963         __ELF_NATIVE_CLASS.
44964         (La_x32_regs): New macro.
44965         (La_x32_retval): Likewise.
44966         (la_x32_gnu_pltenter): New function prototype.
44967         (la_x32_gnu_pltexit): Likewise.
44968
44969 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44970
44971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44972         exponent.
44973
44974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44975
44976         * configure.in (libc_cv_cc_nofma): Check for option to disable
44977         generation of FMA instructions.
44978         * configure: Regenerate.
44979         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44980         * sysdeps/ieee754/dbl-64/Makefile: New file.
44981         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44982         Remove brandred-fma4.
44983         (CFLAGS-brandred-fma4.c): Remove.
44984         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44986         define.
44987         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44988         define.
44989
44990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44991
44992         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44993         LLONG_MAX != LONG_MAX.
44994         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44995         (_fitoa_word): Likewise.
44996         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44997         LLONG_MAX != LONG_MAX.
44998         * stdio-common/_itowa.h: Include <_itoa.h>.
44999         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45000         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45001         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45002         only if not defined.
45003         (_ITOA_WORD_TYPE): Likewise.
45004         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45005         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45006
45007 2012-03-21  David S. Miller  <davem@davemloft.net>
45008
45009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45010
45011 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45012
45013         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45014         of x86_64 when setting libc_cv_slibdir, libdir and
45015         libc_cv_localedir.
45016         * sysdeps/unix/sysv/linux/configure: Regenerated.
45017
45018 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45019
45020         * manual/lang.texi (Old Varargs): Remove section.
45021         (How Variadic): Update menu.
45022         (va_start): Do not mention varargs.h.
45023
45024 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45025             Joseph Myers  <joseph@codesourcery.com>
45026
45027         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45028         link test.
45029         * configure: Regenerated.
45030
45031 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45032
45033         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45034         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45035         conformtest.pl
45036
45037 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45038
45039         * NOTES: Remove.
45040         * Makefile (files-for-dist): Remove NOTES.
45041         (NOTES): Remove rule.
45042         * README: Don't refer to NOTES.
45043         * manual/creature.texi: Don't include macros.texi.
45044         * manual/intro.texi (creature.texi): Remove comment referring to
45045         NOTES.
45046
45047         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45048         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45049         * configure: Regenerated.
45050         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45051         LIBC_TRY_CC_OPTION.
45052         (libc_cv_as_i686): Likewise.
45053         (libc_cv_cc_avx): Likewise.
45054         (libc_cv_cc_sse2avx): Likewise.
45055         (libc_cv_cc_fma4): Likewise.
45056         (libc_cv_cc_novzeroupper): Likewise.
45057         * sysdeps/i386/configure: Regenerated.
45058
45059         [BZ #13883]
45060         * sysdeps/i386/fpu/s_cexp.S: Remove.
45061         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45062         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45063         * math/libm-test.inc (cexp_test): Add more tests.
45064         * sysdeps/i386/fpu/libm-test-ulps: Update.
45065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45066
45067 2012-03-21  Allan McRae  <allan@archlinux.org>
45068
45069         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45070
45071 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45072
45073         [BZ #13871]
45074         * math/w_exp2.c: Do not include <float.h>.
45075         (o_threshold, u_threshold): Remove.
45076         (__exp2): Calculate result before checking finiteness and calling
45077         __kernel_standard.
45078         * math/w_exp2f.c: Likewise.
45079         * math/w_exp2l.c: Likewise.
45080         * math/libm-test.inc (exp2_test): Require overflow exception for
45081         1e6 input.
45082
45083         [BZ #3866]
45084         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45085         range of signed 64-bit integers before using fistpll.  Remove
45086         checks for whether integers fit in mantissa bits.
45087         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45088         the range of signed 32-bit integers before using fistpl.  Remove
45089         checks for whether integers fit in mantissa bits.
45090         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45091         (__ieee754_powl): Test for y outside the range of signed 64-bit
45092         integers before using fistpll.  Reduce 64-bit values to 63-bit
45093         ones as needed.
45094         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45095         divide-by-zero is raised for zero to large negative powers.
45096         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45097         (__ieee754_powl): Test for y outside the range of signed 64-bit
45098         integers before using fistpll.  Reduce 64-bit values to 63-bit
45099         ones as needed.
45100         * math/libm-test.inc (pow_test): Add more tests.
45101
45102 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45103
45104         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45105         <stdio-common/_itoa.h>.
45106         * debug/segfault.c: Likewise.
45107         * elf/dl-cache.c: Likewise.
45108         * elf/dl-minimal.c: Likewise.
45109         * elf/dl-misc.c: Likewise.
45110         * elf/dl-sysdep.c: Likewise.
45111         * elf/dl-version.c: Likewise.
45112         * elf/rtld.c: Likewise.
45113         * hurd/hurdsock.c: Likewise.
45114         * hurd/lookup-retry.c: Likewise.
45115         * malloc/malloc.c: Likewise.
45116         * malloc/mtrace.c: Likewise.
45117         * nscd/nscd_getgr_r.c: Likewise.
45118         * nscd/nscd_getpw_r.c: Likewise.
45119         * nscd/nscd_getserv_r.c: Likewise.
45120         * posix/getopt_init.c: Likewise.
45121         * posix/wordexp.c: Likewise.
45122         * stdio-common/_itoa.c: Likewise.
45123         * stdio-common/printf_fphex.c: Likewise.
45124         * stdio-common/vfprintf.c: Likewise.
45125         * string/_strerror.c: Likewise.
45126         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45127         * sysdeps/i386/i686/hp-timing.h: Likewise.
45128         * sysdeps/mach/_strerror.c: Likewise.
45129         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45130         * sysdeps/mach/hurd/sethostid.c: Likewise.
45131         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45132         * sysdeps/mach/xpg-strerror.c: Likewise.
45133         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45135         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45136         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45137         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45138         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45140         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45141         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45142         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45143         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45144         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45145         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45146         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45147         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45148         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45149         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45150         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45151         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45152         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45153         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45154
45155         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45156
45157         * stdio-common/_itoa.h: Moved to ...
45158         * sysdeps/generic/_itoa.h: Here.
45159
45160         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45161
45162         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45163         instead of "_itoa.h" and "_itowa.h".
45164         * stdio-common/vfprintf.: Likewise.
45165
45166 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45167
45168         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45169         <bits/wordsize.h>.
45170         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45171         (__signbit): Likwise.
45172         (llrintf): Likwise.
45173         (llrint): Likwise.
45174
45175 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45176
45177         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45178         __WORDSIZE != 64.
45179
45180 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45181
45182         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45183         OVERFLOW_EXCEPTION_OK.
45184         * math/libm-test.inc ("Philosophy"): Update comment about
45185         exception testing.
45186         (OVERFLOW_EXCEPTION): Define.
45187         (OVERFLOW_EXCEPTION_OK): Likewise.
45188         (INVALID_EXCEPTION_OK): Renumber.
45189         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45190         (IGNORE_ZERO_INF_SIGN): Likewise.
45191         (test_exceptions): Handle FE_OVERFLOW.
45192         (exp10_test): Expect overflow exceptions.
45193         (exp2_test): Likewise.
45194         (expm1_test): Likewise.
45195         (nextafter_test): Likewise.
45196         (pow_test): Likewise.
45197         (scalbn_test): Likewise.
45198         (scalbln_test): Likewise.
45199
45200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45201
45202         * sysdeps/x86_64/bits/atomic.h
45203         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45204         64bit integer.
45205         (atomic_exchange_acq): Likewise.
45206         (__arch_exchange_and_add_body): Likewise.
45207         (__arch_add_body): Likewise.
45208         (atomic_add_negative): Likewise.
45209         (atomic_add_zero): Likewise.
45210
45211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45212
45213         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45214         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45215
45216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45217
45218         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45219         Check __x86_64__ instead of __WORDSIZE.
45220
45221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45222
45223         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45224
45225 2012-03-19  David S. Miller  <davem@davemloft.net>
45226
45227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45228
45229         * sysdeps/sparc/fpu/fenv_private.h: New file.
45230         * sysdeps/sparc/fpu/math_private.h: Use it.
45231         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45232         Remove.
45233         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45234         (libc_feholdexcept_setroundl): Remove.
45235         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45236         Remove.
45237         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45238         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45239
45240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45241
45242         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45243         int64_t instead of long int.
45244         (INSERT_WORDS64): Likwise.
45245
45246 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45247
45248         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45249         _Unwind_GetCFA return to _Unwind_Ptr first.
45250
45251 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45252
45253         [BZ #13629]
45254         * math/s_clog.c: Include <float.h>.
45255         (__clog): Scale large or subnormal inputs.
45256         * math/s_clogf.c: Likewise.
45257         * math/s_clogl.c: Likewise.
45258         * math/s_clog10.c: Include <float.h>.
45259         (M_LOG10_2): Define.
45260         (__clog10): Scale large or subnormal inputs.
45261         * math/s_clog10f.c: Likewise.
45262         * math/s_clog10l.c: Likewise.
45263         * math/libm-test.inc (clog_test): Add more tests.
45264         (clog10_test): Likewise.
45265         * sysdeps/i386/fpu/libm-test-ulps: Update.
45266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45267
45268         [BZ #11451]
45269         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45270         x and y.
45271         * math/libm-test.inc (atan2_test): Add another test.
45272
45273         * Makerules (common-objdir-compile): Remove.
45274         * sysdeps/unix/Makefile (config-generated): Do not add
45275         $(unix-generated) to variable.
45276         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45277         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45278         Remove rule.
45279         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45280         Likewise.
45281         [generic bits/local_lim.h] (before-compile): Do not append to
45282         variable.
45283         [generic bits/local_lim.h] (common-generated): Likewise.
45284         [generic sys/param.h] (before-compile): Do not append to variable.
45285         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45286         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45287         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45288         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45289         include.
45290         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45291         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45292         [generic sys/param.h] ($(addprefix
45293         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45294         [generic sys/param.h] (common-generated): Do not append to
45295         variable.
45296         [generic sys/param.h] (sysdep_headers): Likewise.
45297         [generic bits/errno.h] (before-compile): Do not append to
45298         variable.
45299         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45300         rule.
45301         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45302         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45303         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45304         [generic bits/errno.h] (common-generated): Do not append to
45305         variable.
45306         [generic bits/ioctls.h] (before-compile): Do not append to
45307         variable.
45308         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45309         rule.
45310         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45311         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45312         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45313         rule.
45314         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45315         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45316         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45317         [generic bits/ioctls.h] (common-generated): Do not append to
45318         variable.
45319         [generic sys/syscall.h] (syscall.h): Remove variable.
45320         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45321         rule.
45322         [generic sys/syscall.h] (before-compile): Do not append to
45323         variable.
45324         [generic sys/syscall.h] (common-generated): Likewise.
45325         * sysdeps/unix/errnos-tmpl.c: Remove file.
45326         * sysdeps/unix/errnos.awk: Likewise.
45327         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45328         * sysdeps/unix/ioctls.awk: Likewise.
45329         * sysdeps/unix/mk-local_lim.c: Likewise.
45330         * sysdeps/unix/snarf-ioctls: Likewise.
45331
45332 2012-03-19  Richard Henderson  <rth@twiddle.net>
45333
45334         * sysdeps/i386/fpu/fenv_private.h: New file.
45335         * sysdeps/i386/fpu/math_private.h: Use it.
45336         (math_opt_barrier, math_force_eval): Remove.
45337         (libc_feholdexcept_setround_53bit): Remove.
45338         (libc_feupdateenv_53bit): Remove.
45339         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45340         (math_opt_barrier, math_force_eval): Remove.
45341         (libc_feholdexcept): Remove.
45342         (libc_feholdexcept_setround): Remove.
45343         (libc_fetestexcept, libc_fesetenv): Remove.
45344         (libc_feupdateenv_test): Remove.
45345         (libc_feupdateenv, libc_feholdsetround): Remove.
45346         (libc_feresetround): Remove.
45347
45348         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45349         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45350
45351         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45352         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45353         (libc_feupdateenv_testl): New.
45354         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45355         (libc_feupdateenv_testf): New.
45356         (libc_feupdateenv): Use libc_feupdateenv_test.
45357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45358         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45359
45360         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45361         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45362         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45363         (libc_feresetround_noex): New.
45364         (libc_feresetround_noexf): New.
45365         (libc_feresetround_noexl): New.
45366         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45367         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45368         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45369         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45370         SET_RESTORE_ROUND.
45371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45372         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45373         (__cos): Likewise.
45374         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45375         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45376         SET_RESTORE_ROUND_NOEX.
45377         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45378         SET_RESTORE_ROUND_NOEXF.
45379         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45380         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45381         (libc_feholdsetroundf): New.
45382         (libc_feresetround, libc_feresetroundf): New.
45383
45384         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45385         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45386         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45387
45388         * sysdeps/generic/math_private.h: Include <fenv.h>.
45389         (default_libc_feholdexcept): New.
45390         (default_libc_feholdexcept_setround): New.
45391         (default_libc_fesetenv, default_libc_feupdateenv): New.
45392         (libc_feholdexcept): Only define if undefined.
45393         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45394         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45395         (libc_feholdexcept_setroundl): Likewise.
45396         (libc_feholdexcept_setround_53bit): Likewise.
45397         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45398         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45399         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45400         (libc_feupdateenv_53bit): Likewise.
45401         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45402         (libc_feholdexcept): Convert from macro to inline function.
45403         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45404         (libc_fesetenv, libc_feupdateenv): Likewise.
45405
45406         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45407         not previously defined.
45408         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45409         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45410         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45411         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45412         * sysdeps/ieee754/flt-32/math_private.h: New file.
45413         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45414         math_private.h below SET_FLOAT_WORD.
45415         (__isnan, __isinf_ns, __finite): Remove.
45416         (__isnanf, __isinf_nsf, __finitef): Remove.
45417
45418 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45419
45420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45421
45422 2012-03-17  David S. Miller  <davem@davemloft.net>
45423
45424         [BZ #6471]
45425         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45426         for 2.16.
45427
45428 2012-03-16  David S. Miller  <davem@davemloft.net>
45429
45430         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45431         warnings.
45432
45433         [BZ #6471]
45434         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45435         properly.
45436         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45437         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45438         sysdep_routines when subdir is sysvipc.
45439         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45440         __getshmlba helper.
45441
45442         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45443
45444 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45445
45446         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45447         [__LP64__].
45448
45449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45450
45451         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45452         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45453         (__lround): Renamed to ...
45454         (__llround): This.  Replace long int with long long int.
45455         Define lround functions as aliases of llround functions.
45456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45457
45458 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45459
45460         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45461         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45462         adresses to uintptr_t.  Replace "long int" and "unsigned long
45463         int" with "greg_t" on va_arg.
45464
45465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45466
45467         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45468         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45469
45470         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45471         Move e_machine check before EI_CLASS check.  Handle x32
45472         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45473         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45474         SKIP_EM_IA_64 and include
45475         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45476
45477         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45478         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45479         (add_system_dir): New macro.
45480
45481         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45482         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45483
45484 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45485
45486         [BZ #2551]
45487         [BZ #2552]
45488         [BZ #2553]
45489         [BZ #2554]
45490         [BZ #2562]
45491         [BZ #2563]
45492         [BZ #2565]
45493         [BZ #2566]
45494         [BZ #2576]
45495         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45496         (y0): Likewise.
45497         * math/w_j0f.c (j0f): Likewise.
45498         (y0f): Likewise.
45499         * math/w_j0l.c (__j0l): Likewise.
45500         (__y0l): Likewise.
45501         * math/w_j1.c (j1): Likewise.
45502         (y1): Likewise.
45503         * math/w_j1f.c (j1f): Likewise.
45504         (y1f): Likewise.
45505         * math/w_j1l.c (__j1l): Likewise.
45506         (__y1l): Likewise.
45507         * math/w_jn.c (jn): Likewise.
45508         (yn): Likewise.
45509         * math/w_jnf.c (jnf): Likewise.
45510         (ynf): Likewise.
45511         * math/w_jnl.c (__jnl): Likewise.
45512         (__ynl): Likewise.
45513         * math/libm-test.inc (j0_test): Add more tests.
45514         (j1_test): Likewise.
45515         (jn_test): Likewise.  Add trailing semicolon to existing test.
45516         (y0_test): Likewise.
45517         (y1_test): Likewise.
45518         * sysdeps/i386/fpu/libm-test-ulps: Update.
45519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45520
45521         [BZ #13851]
45522         [BZ #13854]
45523         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45524         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45525         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45526         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45527         (__tanl): Set errno for infinite argument.
45528         * sysdeps/i386/fpu/mptan.c: Remove.
45529         * sysdeps/i386/fpu/s_tan.S: Likewise.
45530         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45531         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45532         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45533         * math/libm-test.inc (tan_test): Add more tests and enable more
45534         tests for double and long double.
45535         * sysdeps/i386/fpu/libm-test-ulps: Update.
45536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45537
45538 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45539
45540         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45541         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45542
45543 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45544
45545         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45546         * configure.in: Use it for both main tree and add-ons.
45547         * configure: Regenerated.
45548
45549 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45550
45551         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45552
45553 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45554
45555         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45556         in comment.
45557
45558         [BZ #13851]
45559         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45560         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45561         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45562         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45563         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45564         infinite argument.
45565         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45567         != 0 for prec == 2.
45568         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45569         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45570         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45571         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45572         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45573         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45574         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45575         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45576         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45577         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45578         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45579         * math/libm-test.inc (cos_test): Add more tests and enable more
45580         tests for long double.
45581         (sin_test): Likewise.
45582         (sincos_test): Likewise.
45583         * sysdeps/i386/fpu/libm-test-ulps: Update.
45584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45585
45586 2012-03-16  David S. Miller  <davem@davemloft.net>
45587
45588         * sysdeps/sparc/fpu/math_private.h: New file.
45589
45590 2012-03-15  David S. Miller  <davem@davemloft.net>
45591
45592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45593         file.
45594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45596         file.
45597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45603         sysdep routines.
45604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45605
45606         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45607         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45608
45609         * sysdeps/sparc/sparc-ifunc.h: New file.
45610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45611         sparc-ifunc.h
45612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45614         Likewise.
45615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45616         Likewise.
45617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45621         Likewise.
45622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45627         Likewise.
45628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45629         Likewise.
45630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45649         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45653         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45654
45655 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45656
45657         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45658         scaling.
45659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45660
45661 2012-03-15  Andreas Jaeger  <aj@suse.de>
45662
45663         [BZ #13852]
45664         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45665         ieee754/flt-32 implementation for sin, cos and sincos.
45666         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45667         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45668         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45669         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45670         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45671         ieee754/flt-32 implementation for tan.
45672
45673         * math/libm-test.inc (cos_test): Enable some large input tests for
45674         float as well
45675         (sin_test): Likewise.
45676         (sincos_test): Likewise.
45677         (tan_test): Add tests for large input.
45678
45679         * sysdeps/i386/fpu/libm-test-ulps: Update.
45680
45681 2012-03-15  Andreas Jaeger  <aj@suse.de>
45682
45683         [BZ #13658]
45684         * math/libm-test.inc (cos_test): Add more test cases.
45685         (sin_test): Likewise.
45686         (sincos_test): Likewise.
45687
45688 2012-03-15  Andreas Jaeger  <aj@suse.de>
45689
45690         [BZ #13837]
45691         * math/libm-test.inc (cos_test): Add a test case for large input
45692         value.
45693         (sin_test): Likewise.
45694         (sincos_test): Likewise.
45695
45696 2012-03-15  Andreas Jaeger  <aj@suse.de>
45697             Joseph Myers  <joseph@codesourcery.com>
45698
45699         [BZ #13658]
45700         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45701         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45702         * sysdeps/i386/fpu/branred.c: Likewise.
45703         * sysdeps/i386/fpu/dosincos.c: Likewise.
45704         * sysdeps/i386/fpu/mpa.c: Likewise.
45705         * sysdeps/i386/fpu/s_cos.S: Likewise.
45706         * sysdeps/i386/fpu/s_sin.S: Likewise.
45707         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45708         * sysdeps/i386/fpu/sincos32.c: Likewise.
45709
45710         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45711         Define.
45712         (libc_feupdateenv_53bit): Define.
45713         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45714         Define.
45715         (libc_feupdateenv_53bit): Define.
45716
45717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45718         53 bit (without extend i386 double precision).
45719
45720         * math/libm-test.inc (sincos_test): Add tests for large input.
45721         (sin): Likewise.
45722         (cos): Likewise.
45723
45724         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45725
45726 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45727
45728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45729
45730 2012-03-15  David S. Miller  <davem@davemloft.net>
45731
45732         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45733         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45734         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45735         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45748         file.
45749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45751         file.
45752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45754         file.
45755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45757         file.
45758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45759         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45760         fmin/fmax sysdep routines.
45761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45762
45763 2012-03-14  David S. Miller  <davem@davemloft.net>
45764
45765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45794         routines.
45795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45796         file.
45797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45799         file.
45800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45802         file.
45803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45805         file.
45806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45808         file.
45809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45811         file.
45812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45813         file.
45814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45815         file.
45816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45817         file.
45818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45819         New file.
45820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45821         file.
45822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45823         file.
45824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45826         file.
45827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45829         file.
45830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45832         file.
45833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45835         VIS3 routines.
45836
45837         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45838         New file.
45839
45840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45841
45842         * sysdeps/sparc/configure.in: New file.
45843         * sysdeps/sparc/configure: Generate.
45844         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45845         * configure: Regenerate.
45846         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45847         * config.make.in (have-as-vis3): New.
45848         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45849         available use -Av9d instead of -Av9a.
45850         * sysdeps/sparc/sparc64/Makefile: Likewise.
45851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45853         New file.
45854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45855         file.
45856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45857         New file.
45858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45859         file.
45860         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45865
45866         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45867         fzeros/fnegs to load 0x80000000 into a float register instead of
45868         using the stack.
45869         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45870
45871 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45872
45873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45874         bits/syscall.h.
45875         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45876         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45877         ($(inst_includedir)/bits/syscall.h): Remove rule.
45878         ($(objpfx)bits/syscall.d): Include instead of
45879         $(objpfx)syscall-list.d.
45880         (generated): Change syscall-list.h and syscall-list.d to
45881         bits/syscall.h and bits/syscall.d.
45882
45883 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45884
45885         [BZ #13846]
45886         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45887
45888 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45889
45890         [BZ #13841]
45891         * math/s_csqrt.c: Include <float.h>.
45892         (__csqrt): Scale large or subnormal inputs.
45893         * math/s_csqrtf.c: Likewise.
45894         * math/s_csqrtl.c: Likewise.
45895         * math/libm-test.inc (csqrt_test): Add more tests.
45896         * sysdeps/i386/fpu/libm-test-ulps: Update.
45897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45898
45899         [BZ #13840]
45900         * math/libm-test.inc (hypot_test): Add more tests.
45901
45902 2012-03-13  David S. Miller  <davem@davemloft.net>
45903
45904         [BZ #13840]
45905         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45906         double-precision for the calculation instead of scaling.
45907
45908 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45909
45910         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45911         manipulate bits before adding and subtracting TWO52[sx].
45912         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45913         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45914         Likewise.
45915         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45916
45917 2012-03-13  David S. Miller  <davem@davemloft.net>
45918
45919         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45920         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45921         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45922         rtld-global-offsets.h
45923         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45924
45925         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45926         large parameters.
45927
45928         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45929
45930         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45931         'err' in the ifdef scope in which it is actually used.
45932
45933         * nss/nss_db/db-init.c: Include string.h
45934
45935 2012-03-12  David S. Miller  <davem@davemloft.net>
45936
45937         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45938         masking out of the most significant byte of random value used.
45939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45940         Fix coding style in previous change.
45941
45942         * sysdeps/unix/sysv/linux/kernel-features.h
45943         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45944         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45945         expression.
45946         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45947         later.
45948
45949 2012-03-11  David S. Miller  <davem@davemloft.net>
45950
45951         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45952         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45953         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45954         for 'resultvar' otherwise things get truncated on 64-bit.
45955
45956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45957         Fix masking out of the most significant byte of random value used.
45958
45959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45960
45961 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45962
45963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45964
45965 2012-03-09  David S. Miller  <davem@davemloft.net>
45966
45967         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45968         variables with appropriate CPP guards.
45969         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45970         from the frame pointer, not the stack pointer.  Correct layout
45971         comments.  Fix test on resulting framesize and the management of
45972         the outregs buffer for pltexit.  Preserve floating point return
45973         values across _dl_call_pltexit call.
45974         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45975         framesize and the management of the outregs buffer for pltexit.
45976         Preserve floating point return values across _dl_call_pltexit
45977         call.
45978         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45979         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45980         (la_sparc64_gnu_pltexit): New functions.
45981         (print_exit): Fix format string for return register value.
45982
45983 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45984
45985         * sunrpc/Makefile (others): Add rpcgen.
45986         ($(objpfx)rpcgen): Remove special build rule and dependency on
45987         libc.
45988         * sunrpc/rpcgen.c: New file.
45989
45990 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45991
45992         [BZ #13673]
45993         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45994         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45995         * sysdeps/i386/crti.S: Likewise.
45996         * sysdeps/i386/crtn.S: Likewise.
45997         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45998         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45999         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46000         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46001         * sysdeps/sh/crti.S: Likewise.
46002         * sysdeps/sh/crtn.S: Likewise.
46003         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46004
46005         [BZ #13673]
46006         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46007         with URL.
46008         * locale/programs/locfile-kw.gperf: Likewise.
46009         * locale/programs/charmap-kw.h: Regenerated.
46010         * locale/programs/locfile-kw.h: Likewise.
46011
46012         [BZ #13673]
46013         * intl/plural.y: Replace FSF snail mail address with URL.
46014         * intl/plural.c: Regenerated.
46015
46016 2012-03-09  Richard Henderson  <rth@twiddle.net>
46017
46018         * include/math_private.h: Remove file.
46019         * math/math_private.h: Move file ...
46020         * sysdeps/generic/math_private.h: ... here.
46021
46022         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46023         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46024         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46025
46026         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46027         and <math_private.h>.
46028         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46029         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46030         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46031         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46032         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46033         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46034         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46036         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46037         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46038         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46039         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46043         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46044         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46045         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46046         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46047         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46050         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46052         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46053         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46058         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46060         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46061         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46063         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46068         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46069         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46070         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46071         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46072         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46074         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46075         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46076         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46077         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46078         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46079         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46081         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46082         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46083         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46084         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46085         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46086         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46087         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46089         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46091         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46092         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46096         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46097         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46098         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46099         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46102         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46106         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46107         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46108         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46109         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46111         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46115         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46116         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46117         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46118         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46119         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46120         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46121         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46122         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46123         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46124         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46125         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46126         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46127         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46128         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46129         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46130         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46131         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46132         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46133         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46134         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46135         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46136         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46138         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46139         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46140         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46141         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46142         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46143         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46144         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46145         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46146         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46147         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46148         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46149         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46150         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46151         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46152         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46153         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46154         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46155         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46156         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46157         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46158         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46159         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46160         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46161         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46162         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46163         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46164         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46165         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46166         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46167         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46168         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46169         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46170         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46171         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46172         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46173         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46174         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46175         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46176         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46177         * sysdeps/ieee754/k_standard.c: Likewise.
46178         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46179         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46180         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46181         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46183         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46185         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46186         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46187         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46188         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46190         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46191         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46192         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46193         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46194         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46195         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46197         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46198         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46199         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46200         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46201         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46202         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46203         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46204         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46205         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46206         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46207         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46208         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46209         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46210         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46211         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46212         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46214         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46215         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46216         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46217         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46218         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46219         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46220         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46221         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46222         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46223         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46224         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46225         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46226         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46227         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46228         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46229         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46230         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46231         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46232         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46233         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46234         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46235         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46236         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46237         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46238         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46239         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46240         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46241         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46242         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46244         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46245         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46246         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46249         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46251         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46252         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46254         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46255         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46282         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46290         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46292         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46293         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46294         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46295         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46296         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46297         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46298         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46299         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46300         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46301         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46302         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46303         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46304         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46305         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46306         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46307         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46308         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46309         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46310         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46311         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46312         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46313         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46314         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46315         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46316         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46317         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46318         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46319         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46320         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46321         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46322         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46323         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46324         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46325         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46326         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46327         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46328         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46329         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46331         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46332         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46333         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46334         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46335         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46336         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46337         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46338         * sysdeps/ieee754/s_lib_version.c: Likewise.
46339         * sysdeps/ieee754/s_matherr.c: Likewise.
46340         * sysdeps/ieee754/s_signgam.c: Likewise.
46341         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46342         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46343         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46344         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46345         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46346         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46347         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46348         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46349         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46350         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46351         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46352         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46353         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46354         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46355         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46356         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46357         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46358         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46359         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46362
46363 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46364
46365         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46366         * sunrpc/rpc_main.c: Likewise.
46367         * sunrpc/rpc_svcout.c: Likewise.
46368
46369 2012-03-09  David S. Miller  <davem@davemloft.net>
46370
46371         * include/math_private.h: New file.
46372
46373 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46374
46375         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46376         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46377         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46378         from <bits/socket_type.h>.
46379         (enum __socket_type): Don't define here.
46380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46382         bits/socket_type.h.
46383
46384         [BZ #13566]
46385         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46386         checking __USE_GNU.
46387
46388         * Makerules ($(inst_includedir)/%.h): New rule.
46389         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46390         (install-others): Remove variable setting.
46391         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46392
46393 2012-03-08  Richard Henderson  <rth@twiddle.net>
46394
46395         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46396         from macro to inline function; merge with the
46397         !__LIBC_INTERNAL_MATH_INLINES version.
46398         (__ieee754_sqrtf): Likewise.
46399
46400         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46401         to inline function.
46402         (__rintf, __floor, __floorf): Likewise.
46403
46404         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46405         macro to inline function.
46406         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46407
46408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46409         not <math/math_private.h>.
46410
46411 2012-03-08  David S. Miller  <davem@davemloft.net>
46412
46413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46414         copyright year.
46415         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46416
46417 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46418
46419         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46420         normalization.
46421         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46422         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46423
46424 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46425
46426         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46427         be defined individually, they must be defined as a block.  Define
46428         S for printing a string instead of hidint the different by using a
46429         macro for adding the 'l'.
46430         * stdio-common/tst-fphex-wide.c: Adjust.
46431
46432 2012-03-07  Marek Polacek  <polacek@redhat.com>
46433
46434         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46435
46436 2012-03-08  Marek Polacek  <polacek@redhat.com>
46437
46438         [BZ #13806]
46439         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46440         * stdio-common/tst-fphex.c: Define a few macros to make the
46441         test reusable.  Use them.
46442         * stdio-common/tst-fphex-wide.c: New file.
46443
46444 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46445
46446         [BZ #6911]
46447         * manual/macros.texi (gnusystems): New macro.
46448         (nongnusystems): Likewise.
46449         (gnulinuxhurdsystems): Likewise.
46450         (gnuhurdsystems): Likewise..
46451         (gnulinuxsystems): Likewise.
46452         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46453         variants of the GNU system, not "GNU system".
46454         * manual/conf.texi: Likewise.
46455         * manual/errno.texi: Likewise.  Update example of errno macro
46456         expansion.
46457         * manual/filesys.texi: Likewise.
46458         (getumask): Document as specific to GNU/Hurd.
46459         * manual/install.texi: Likewise.  Reword some references to
46460         GNU/Linux.
46461         * manual/intro.texi: Likewise.
46462         * manual/io.texi: Likewise.
46463         (File Name Portability): Detail which constraints are inapplicable
46464         to all GNU systems and which are only inapplicable to GNU/Hurd.
46465         * manual/job.texi: Likewise.
46466         * manual/llio.texi: Likewise.
46467         (O_NOCTTY): Document as present on GNU/Linux.
46468         * manual/maint.texi: Likewise.
46469         * manual/memory.texi: Likewise.
46470         * manual/pattern.texi: Likewise.
46471         * manual/pipe.texi: Likewise.
46472         * manual/process.texi: Likewise.
46473         * manual/resource.texi: Likewise.
46474         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46475         child on GNU/Hurd.
46476         * manual/setjmp.texi: Likewise.
46477         * manual/signal.texi: Likewise.
46478         * manual/startup.texi: Likewise.
46479         * manual/stdio.texi: Likewise.
46480         * manual/terminal.texi: Likewise.
46481         (ONLCR): Document as POSIX.
46482         (OXTABS): Document availability on GNU/Linux as XTABS.
46483         (ONOEOT): Document availability separately from other bits.
46484         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46485         * manual/time.texi: Likewise.
46486         * manual/users.texi: Likewise.
46487         * INSTALL: Regenerated.
46488         * sysdeps/gnu/errlist.c: Regenerated.
46489
46490         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46491         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46492         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46493         puts.
46494         * configure: Regenerated.
46495
46496 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46497
46498         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46499         default includes instead of AC_HEADER_CHECK.
46500         * sysdeps/i386/configure: Regenerated.
46501
46502         [BZ #10716]
46503         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46504         * math/s_cacoshf.c (__cacoshf): Likewise.
46505         * math/s_cacoshl.c (__cacoshl): Likewise.
46506         * math/s_casinh.c (__casinh): Set signs of result from argument.
46507         * math/s_casinhf.c (__casinhf): Likewise.
46508         * math/s_casinhl.c (__casinhl): Likewise.
46509         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46510         (casinh_test): Add more tests.
46511         * sysdeps/i386/fpu/libm-test-ulps: Update.
46512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46513
46514 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46515
46516         * po/zh_TW.po: Update from translation team.
46517
46518         * login/Makefile (distribute): Remove variable.
46519         * catgets/Makefile: Likewise.
46520         * mach/Makefile: Likewise.
46521         * malloc/Makefile: Likewise.
46522         * misc/Makefile: Likewise.
46523         * iconv/Makefile: Likewise.
46524         * nscd/Makefile: Likewise.
46525         * hurd/Makefile: Likewise.
46526         * manual/Makefile: Likewise.
46527         * locale/Makefile: Likewise.
46528         * intl/Makefile: Likewise.
46529         * conform/Makefile: Likewise.
46530         * nss/Makefile: Likewise.
46531         * time/Makefile: Likewise.
46532         * soft-fp/Makefile: Likewise.
46533         * dirent/Makefile: Likewise.
46534         * gmon/Makefile: Likewise.
46535         * po/Makefile: Likewise.
46536         * rt/Makefile: Likewise.
46537         * socket/Makefile: Likewise.
46538         * math/Makefile: Likewise.
46539         * signal/Makefile: Likewise.
46540         * debug/Makefile: Likewise.
46541         * elf/Makefile: Likewise.
46542         * timezone/Makefile: Likewise.
46543         * stdlib/Makefile: Likewise.
46544         * iconvdata/Makefile: Likewise.
46545         * sunrpc/Makefile: Likewise.
46546         * io/Makefile: Likewise.
46547         * argp/Makefile: Likewise.
46548         * inet/Makefile: Likewise.
46549         * hesiod/Makefile: Likewise.
46550         * grp/Makefile: Likewise.
46551         * csu/Makefile: Likewise.
46552         * wctype/Makefile: Likewise.
46553         * crypt/Makefile: Likewise.
46554         * libio/Makefile: Likewise.
46555         * string/Makefile: Likewise.
46556         * nis/Makefile: Likewise.
46557         * resolv/Makefile: Likewise.
46558         * stdio-common/Makefile: Likewise.
46559         * wcsmbs/Makefile: Likewise.
46560         * dlfcn/Makefile: Likewise.
46561         * posix/Makefile: Likewise.
46562
46563         [BZ #6959]
46564         * timezone/Makefile: Don't install timezone files, just the programs
46565         and scripts.
46566
46567 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46568
46569         * nss/databases.def: Add missing gshadow entry.
46570
46571         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46572
46573 2012-03-06  Marek Polacek  <polacek@redhat.com>
46574
46575         [BZ #13726]
46576         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46577         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46578         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46579         * stdio-common/tst-long-dbl-fphex.c: New file.
46580
46581 2012-03-06  David S. Miller  <davem@davemloft.net>
46582
46583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46584         (set_obp_int): New function.
46585         (get_obp_int): New function.
46586         (__get_clockfreq_via_dev_openprom): Likewise.
46587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46588         Avoid unused variable warnings on 'val' and use builtin_expect.
46589         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46590         __builtin_expect.
46591         (INLINE_CLONE_SYSCALL): Likewise.
46592
46593 2012-03-05  David S. Miller  <davem@davemloft.net>
46594
46595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46596
46597 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46598
46599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46600
46601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46602         only for |x| >= 40.
46603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46604
46605 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46606
46607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46608         Replace gettimeofday with __vdso_gettimeofday.
46609
46610         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46611         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46612         __vdso_clock_gettime and __vdso_getcpu.
46613
46614         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46615         time with __vdso_time.
46616
46617 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46618
46619         * manual/lang.texi (size_t): Note types to which size_t may be
46620         equivalent with the GNU C Library, but do not describe when
46621         differences between them are significant.
46622
46623 2012-03-05  Andreas Jaeger  <aj@suse.de>
46624
46625         * sysdeps/i386/fpu/libm-test-ulps: Update.
46626
46627 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46628
46629         [BZ #3976]
46630         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46631         (__ieee754_pow): Save and restore rounding mode and use
46632         round-to-nearest for main computations.
46633         * math/libm-test.inc (pow_test_tonearest): New function.
46634         (pow_test_towardzero): Likewise.
46635         (pow_test_downward): Likewise.
46636         (pow_test_upward): Likewise.
46637         (main): Call the new functions.
46638         * sysdeps/i386/fpu/libm-test-ulps: Update.
46639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46640
46641         [BZ #3976]
46642         * math/libm-test.inc (cosh_test_tonearest): New function.
46643         (cosh_test_towardzero): Likewise.
46644         (cosh_test_downward): Likewise.
46645         (cosh_test_upward): Likewise.
46646         (sinh_test_tonearest): Likewise.
46647         (sinh_test_towardzero): Likewise.
46648         (sinh_test_downward): Likewise.
46649         (sinh_test_upward): Likewise.
46650         (main): Call the new functions.
46651         * sysdeps/i386/fpu/libm-test-ulps: Update.
46652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46653
46654 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46655
46656         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46657         default stack guard is set in last bytes.
46658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46659
46660 2012-03-05  Kees Cook  <keescook@chromium.org>
46661
46662         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46663
46664         [BZ #13656]
46665         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46666         possibly allocate from heap instead of stack.
46667         * stdio-common/bug-vfprintf-nargs.c: New file.
46668         * stdio-common/Makefile (tests): Add nargs overflow test.
46669
46670 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46671
46672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46673
46674 2012-03-03  Marek Polacek  <polacek@redhat.com>
46675
46676         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46677         * math/math_private.h: Likewise.
46678         * stdlib/tst-strtod.c: Likewise.
46679         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46680         * sysdeps/x86_64/bits/atomic.h: Likewise.
46681
46682 2012-03-02  David S. Miller  <davem@davemloft.net>
46683
46684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46688         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46689         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46690         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46691         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46692
46693 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46694
46695         [BZ #13792]
46696         * manual/examples/README: New file, says the example source files
46697         can be used under GPL>=2.
46698         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46699         line containing just "*/".
46700         * manual/examples/add.c: Add copyright header (GPL>=2).
46701         * manual/examples/argp-ex1.c: Likewise.
46702         * manual/examples/argp-ex2.c: Likewise.
46703         * manual/examples/argp-ex3.c: Likewise.
46704         * manual/examples/argp-ex4.c: Likewise.
46705         * manual/examples/atexit.c: Likewise.
46706         * manual/examples/db.c: Likewise.
46707         * manual/examples/dir.c: Likewise.
46708         * manual/examples/dir2.c: Likewise.
46709         * manual/examples/execinfo.c: Likewise.
46710         * manual/examples/filecli.c: Likewise.
46711         * manual/examples/filesrv.c: Likewise.
46712         * manual/examples/fmtmsgexpl.c: Likewise.
46713         * manual/examples/genpass.c: Likewise.
46714         * manual/examples/inetcli.c: Likewise.
46715         * manual/examples/inetsrv.c: Likewise.
46716         * manual/examples/isockad.c: Likewise.
46717         * manual/examples/longopt.c: Likewise.
46718         * manual/examples/memopen.c: Likewise.
46719         * manual/examples/memstrm.c: Likewise.
46720         * manual/examples/mkfsock.c: Likewise.
46721         * manual/examples/mkisock.c: Likewise.
46722         * manual/examples/mygetpass.c: Likewise.
46723         * manual/examples/pipe.c: Likewise.
46724         * manual/examples/popen.c: Likewise.
46725         * manual/examples/rprintf.c: Likewise.
46726         * manual/examples/search.c: Likewise.
46727         * manual/examples/select.c: Likewise.
46728         * manual/examples/setjmp.c: Likewise.
46729         * manual/examples/sigh1.c: Likewise.
46730         * manual/examples/sigusr.c: Likewise.
46731         * manual/examples/stpcpy.c: Likewise.
46732         * manual/examples/strdupa.c: Likewise.
46733         * manual/examples/strftim.c: Likewise.
46734         * manual/examples/strncat.c: Likewise.
46735         * manual/examples/subopt.c: Likewise.
46736         * manual/examples/swapcontext.c: Likewise.
46737         * manual/examples/termios.c: Likewise.
46738         * manual/examples/testopt.c: Likewise.
46739         * manual/examples/testpass.c: Likewise.
46740         * manual/examples/timeval_subtract.c: Likewise.
46741
46742         [BZ #13792]
46743         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46744         function to ...
46745         * manual/timeval_subtract.c.texi: ... here, new file.
46746
46747 2012-03-02  David S. Miller  <davem@davemloft.net>
46748
46749         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46750
46751 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46752
46753         [BZ #3976]
46754         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46755         (__sin): Save and restore rounding mode and use round-to-nearest
46756         for all computations.
46757         (__cos): Save and restore rounding mode and use round-to-nearest
46758         for all computations.
46759         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46760         <fenv.h>.
46761         (tan): Save and restore rounding mode and use round-to-nearest for
46762         all computations.
46763         * math/libm-test.inc (cos_test_tonearest): New function.
46764         (cos_test_towardzero): Likewise.
46765         (cos_test_downward): Likewise.
46766         (cos_test_upward): Likewise.
46767         (sin_test_tonearest): Likewise.
46768         (sin_test_towardzero): Likewise.
46769         (sin_test_downward): Likewise.
46770         (sin_test_upward): Likewise.
46771         (tan_test_tonearest): Likewise.
46772         (tan_test_towardzero): Likewise.
46773         (tan_test_downward): Likewise.
46774         (tan_test_upward): Likewise.
46775         (main): Call the new functions.
46776         * sysdeps/i386/fpu/libm-test-ulps: Update.
46777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778
46779         [BZ #10135]
46780         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46781         small n, then large n, before computing and testing k+n.
46782         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46784         Likewise.
46785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46786         Likewise.
46787         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46788         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46794         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46795         * math/libm-test.inc (scalbn_test): Add more tests.
46796         (scalbln_test): Likewise.
46797
46798         * manual/filesys.texi (mode_t): Describe constraints on size and
46799         signedness, not exact equivalence to a particular type.
46800         (ino_t): Likewise.
46801         (ino64_t): Likewise.
46802         (dev_t): Likewise.
46803         (nlink_t): Likewise.
46804         (blkcnt_t): Likewise.
46805         (blkcnt64_t): Likewise.
46806         * manual/llio.texi (off_t): Likewise.
46807
46808         [BZ #3976]
46809         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46810         (__ieee754_exp): Save and restore rounding mode and use
46811         round-to-nearest for all computations.
46812         * math/libm-test.inc (exp_test_tonearest): New function.
46813         (exp_test_towardzero): Likewise.
46814         (exp_test_downward): Likewise.
46815         (exp_test_upward): Likewise.
46816         (main): Call the new functions.
46817         * sysdeps/i386/fpu/libm-test-ulps: Update.
46818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46819
46820 2012-03-01  Chris Demetriou  <cgd@google.com>
46821
46822         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46823         have predictable order.
46824
46825 2012-03-01  David S. Miller  <davem@davemloft.net>
46826
46827         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46828
46829         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46830         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46831         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46832         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46833
46834         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46835         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46836         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46838         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46839         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46840         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46841         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46842         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46843
46844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46845
46846         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46847         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46848         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46849
46850         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46851         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46852         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46853         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46854         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46856         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46857         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46858         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46859         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46860         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46861         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46863         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46864         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46866         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46867         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46868         * sysdeps/sparc/elf/configure: Regenerated.
46869
46870 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46871
46872         * configure.in (AS, LD): Require binutils 2.20 or later.
46873         * configure: Regenerated.
46874         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46875         as required minimum version.
46876         * INSTALL: Regenerated.
46877
46878         [BZ #2541]
46879         [BZ #4108]
46880         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46881         before squaring exponent.
46882         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46883         bottom long double and 27 bits of top long double before squaring
46884         exponent.
46885         * math/libm-test.inc (erfc_test): Add more tests.
46886         * sysdeps/i386/fpu/libm-test-ulps: Update.
46887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46889
46890 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46891
46892         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46893         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46894         containing bit-fields.
46895         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46896         * soft-fp/single.h (_FP_UNION_S): Likewise.
46897         * soft-fp/double.h (_FP_UNION_D): Likewise.
46898
46899 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46900
46901         [BZ #13786]
46902         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46903         not include ../strcmp.S.
46904         [USE_AS_STRNCASECMP_L]: Likewise.
46905         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46906         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46907         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46908         (__strncasecmp_l_ia32): Define as alias to
46909         __strncasecmp_l_nonascii.
46910
46911         [BZ #5794]
46912         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46913         * sysdeps/i386/fpu/libm-test-ulps: Update.
46914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46915
46916         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46918
46919 2012-02-29  Jeff Law  <law@redhat.com>
46920
46921         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46922         out of bounds read.
46923
46924 2012-02-29  Marek Polacek  <polacek@redhat.com>
46925
46926         [BZ #13706]
46927         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46928         * elf/Makefile: Add rules to run tst-unused-dep.out.
46929
46930 2012-02-28  David S. Miller  <davem@davemloft.net>
46931
46932         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46933         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46935         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46936         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46937         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46938
46939 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46940
46941         * math/libm-test.inc (llround_test): Move one test from
46942         lround_test.  Use TEST_f_L in moved test.
46943         (lround_test): Move misplaced test to llround_test.  Add testcase
46944         from bug 2561.
46945
46946 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46947
46948         * sysdeps/x86_64/fpu/e_expf.S: New file.
46949         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46950
46951 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46952
46953         [BZ #13637]
46954         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46955         of remain_len that may cause incomplete multi-byte character and
46956         false match.
46957         * posix/bug-regex33.c: New file.
46958         * posix/Makefile (tests): Add bug-regex33.
46959
46960 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46961
46962         * manual/macros.texi: New file.
46963         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46964         * manual/libc.texinfo: Include macros.texi.
46965         * manual/creatute.texi: Likewise.
46966         * manual/install.texi: Likewise.
46967         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46968         @glibcadj{} in references to the GNU C Library.
46969         * manual/charset.texi: Likewise.
46970         * manual/conf.texi: Likewise.
46971         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46972         when not using those macros.
46973         * manual/creature.texi: Likewise.
46974         * manual/crypt.texi: Likewise.
46975         * manual/errno.texi: Likewise.
46976         * manual/filesys.texi: Likewise.
46977         * manual/header.texi: Likewise.
46978         * manual/install.texi: Likewise.
46979         * manual/intro.texi: Likewise.
46980         * manual/io.texi: Likewise.
46981         * manual/job.texi: Likewise.
46982         * manual/lang.texi: Likewise.
46983         * manual/libc.texiinfo: Likewise.
46984         * manual/llio.texi: Likewise.
46985         * manual/locale.texi: Likewise.
46986         * manual/maint.texi: Likewise.
46987         * manual/math.texi: Likewise.
46988         * manual/memory.texi: Likewise.
46989         * manual/message.texi: Likewise.
46990         * manual/nss.texi: Likewise.
46991         * manual/pattern.texi: Likewise.
46992         * manual/process.texi: Likewise.
46993         * manual/resource.texi: Likewise.
46994         * manual/search.texi: Likewise.
46995         * manual/setjmp.texi: Likewise.
46996         * manual/signal.texi: Likewise.
46997         * manual/socket.texi: Likewise.
46998         * manual/startup.texi: Likewise.
46999         * manual/stdio.texi: Likewise.
47000         * manual/string.texi: Likewise.
47001         * manual/sysinfo.texi: Likewise.
47002         * manual/syslog.texi: Likewise.
47003         * manual/terminal.texi: Likewise.
47004         * manual/time.texi: Likewise.
47005         * manual/users.texi: Likewise.
47006         * INSTALL: Regenerated.
47007         * NOTES: Regenerated.
47008         * sysdeps/gnu/errlist.c: Regenerated.
47009
47010 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47011
47012         * include/dirent.h: Include <dirstream.h> before
47013         <dirent/dirent.h>.
47014
47015 2012-02-28  David S. Miller  <davem@davemloft.net>
47016
47017         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47018         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47019         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47020         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47021
47022 2012-02-27  David S. Miller  <davem@davemloft.net>
47023
47024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47026         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47027         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47028
47029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47030         frame pointer instead of stack pointer relative arg slot.
47031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47032         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47033         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47034
47035 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47036
47037         [BZ #3992]
47038         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47039
47040 2012-02-27  David S. Miller  <davem@davemloft.net>
47041
47042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47046         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47047         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47048         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47049         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47050
47051 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47052
47053         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47054         later.  Allow versions 5-9.
47055         * configure: Regenerated.
47056         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47057         required minimum version and 4.6 as recommended version.  Do not
47058         mention bugs in GCC 2.7 and 2.8.
47059         * INSTALL: Regenerated.
47060
47061 2012-02-27  David S. Miller  <davem@davemloft.net>
47062
47063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47067         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47068         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47069         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47070         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47071
47072         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47073         manipulate bits before adding and subtracting TWO112[sx].
47074         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47075
47076 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47077
47078         [BZ #13775]
47079         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47080         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47081         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47082         being in POSIX, because they are in 1003.1-2008.
47083
47084         * rt/tst-aio.c: Include <fcntl.h>.
47085         * rt/tst-aio7.c: Likewise.
47086         * rt/tst-aio64.c: Likewise.
47087
47088         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47089
47090 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47091
47092         * manual/install.texi (--with-headers): Describe headers as
47093         interface headers, not private headers.
47094         (Specific advice for GNU/Linux systems): Describe use of headers
47095         from "make headers_install", not private headers from older
47096         kernels.
47097         * INSTALL: Regenerated.
47098         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47099         Change to 2.6.19.
47100         * sysdeps/unix/sysv/linux/configure: Regenerated.
47101
47102         * manual/llio.texi (fclean): Remove documentation.
47103
47104         * manual/Makefile (libc-texi-generated): New variable.  Include
47105         version.texi.
47106         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47107         $(libc-texi-generated), not duplicated list of files.
47108         (version.texi, stamp-version): New rules.
47109         (realclean): Remove $(libc-texi-generated), not individual files
47110         from that list.  Do not remove dir-add.texinfo.
47111         * manual/libc.texinfo: Comment out uses of edition numbers and
47112         references to printed manual.  Remove last-updated dates.
47113         (EDITION): Comment out.
47114         (ISBN): Likewise.
47115         (VERSION, UPDATED): Remove.
47116         (version.texi): Include.
47117
47118 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47119
47120         * sysdeps/posix/spawni.c: Include <signal.h>.
47121         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47122         * sysdeps/pthread/aio_fsync.c: Likewise.
47123
47124 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47125
47126         * conform/Makefile (tests): Run only when not cross-compiling and
47127         when fast-check is not defined.
47128
47129         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47130         * conform/data/limits.h-data: Fixes for POSIX2008.
47131         * conform/run-conformtest.sh: Run all tests.
47132         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47133         headers.
47134         * include/bits/dlfcn.h: Likewise.
47135         * include/langinfo.h: Likewise.
47136         * include/monetary.h: Likewise.
47137         * include/sys/poll.h: Likewise.
47138
47139         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47140         for __USE_GNU.
47141         * posix/spawn.h: Define __need_sigset_t.
47142         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47143         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47144         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47145         to get sigevent_t only.
47146         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47147         only for __USE_GNU.
47148         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47149         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47150         process_vm_writev only for __USE_GNU.
47151         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47152
47153         * conform/Makefile: For now ignore errors from run-conformtest.
47154         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47155         POSIX to avoid namespace pollution.  Don't prepend headers.
47156         * conform/data/aio.h-data: Fixes for POSIX testing.
47157         * conform/data/fcntl.h-data: Likewise.
47158         * conform/data/glob.h-data: Likewise.
47159         * conform/data/grp.h-data: Likewise.
47160         * conform/data/pthread.h-data: Likewise.
47161         * conform/data/pwd.h-data: Likewise.
47162         * conform/data/signal.h-data: Likewise.
47163         * conform/data/spawn.h-data: Likewise.
47164         * conform/data/stdio.h-data: Likewise.
47165         * conform/data/stdlib.h-data: Likewise.
47166         * conform/data/stropts.h-data: Likewise.
47167         * conform/data/sys/mman.h-data: Likewise.
47168         * conform/data/sys/stat.h-data: Likewise.
47169         * conform/data/sys/types.h-data: Likewise.
47170         * conform/data/sys/wait.h-data: Likewise.
47171         * conform/data/time.h-data: Likewise.
47172         * conform/data/unistd.h-data: Likewise.
47173         * conform/data/utime.h-data: Likewise.
47174
47175         * io/sys/stat.h: fchmod was always in POSIX.
47176         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47177         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47178         * rt/aio.h: Define __need_timespec before including <time.h>.
47179         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47180         struct.  Add forward declaration of pthread_attr_t and use it in
47181         sigevent.
47182         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47184         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47185         always remove CLK_TCK definition.
47186
47187 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47188
47189         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47190
47191 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47192
47193         * conform/run-conformtest.sh: New file.
47194         * conform/Makefile: Run run-conformtest for tests.
47195         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47196         support.
47197
47198         * conform/data/uchar.h-data: New file.
47199         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47200         * conform/data/arpa/inet.h-data: Likewise.
47201         * conform/data/assert.h-data: Likewise.
47202         * conform/data/complex.h-data: Likewise.
47203         * conform/data/cpio.h-data: Likewise.
47204         * conform/data/ctype.h-data: Likewise.
47205         * conform/data/dirent.h-data: Likewise.
47206         * conform/data/dlfcn.h-data: Likewise.
47207         * conform/data/errno.h-data: Likewise.
47208         * conform/data/fcntl.h-data: Likewise.
47209         * conform/data/float.h-data: Likewise.
47210         * conform/data/fmtmsg.h-data: Likewise.
47211         * conform/data/fnmatch.h-data: Likewise.
47212         * conform/data/ftw.h-data: Likewise.
47213         * conform/data/glob.h-data: Likewise.
47214         * conform/data/grp.h-data: Likewise.
47215         * conform/data/iconv.h-data: Likewise.
47216         * conform/data/inttypes.h-data: Likewise.
47217         * conform/data/langinfo.h-data: Likewise.
47218         * conform/data/libgen.h-data: Likewise.
47219         * conform/data/limits.h-data: Likewise.
47220         * conform/data/locale.h-data: Likewise.
47221         * conform/data/math.h-data: Likewise.
47222         * conform/data/monetary.h-data: Likewise.
47223         * conform/data/mqueue.h-data: Likewise.
47224         * conform/data/ndbm.h-data: Likewise.
47225         * conform/data/net/if.h-data: Likewise.
47226         * conform/data/netdb.h-data: Likewise.
47227         * conform/data/netinet/in.h-data: Likewise.
47228         * conform/data/nl_types.h-data: Likewise.
47229         * conform/data/poll.h-data: Likewise.
47230         * conform/data/pthread.h-data: Likewise.
47231         * conform/data/pwd.h-data: Likewise.
47232         * conform/data/regex.h-data: Likewise.
47233         * conform/data/sched.h-data: Likewise.
47234         * conform/data/search.h-data: Likewise.
47235         * conform/data/semaphore.h-data: Likewise.
47236         * conform/data/setjmp.h-data: Likewise.
47237         * conform/data/signal.h-data: Likewise.
47238         * conform/data/spawn.h-data: Likewise.
47239         * conform/data/stdarg.h-data: Likewise.
47240         * conform/data/stdio.h-data: Likewise.
47241         * conform/data/stdlib.h-data: Likewise.
47242         * conform/data/string.h-data: Likewise.
47243         * conform/data/strings.h-data: Likewise.
47244         * conform/data/stropts.h-data: Likewise.
47245         * conform/data/sys/ipc.h-data: Likewise.
47246         * conform/data/sys/mman.h-data: Likewise.
47247         * conform/data/sys/msg.h-data: Likewise.
47248         * conform/data/sys/resource.h-data: Likewise.
47249         * conform/data/sys/select.h-data: Likewise.
47250         * conform/data/sys/sem.h-data: Likewise.
47251         * conform/data/sys/shm.h-data: Likewise.
47252         * conform/data/sys/socket.h-data: Likewise.
47253         * conform/data/sys/stat.h-data: Likewise.
47254         * conform/data/sys/statvfs.h-data: Likewise.
47255         * conform/data/sys/time.h-data: Likewise.
47256         * conform/data/sys/timeb.h-data: Likewise.
47257         * conform/data/sys/times.h-data: Likewise.
47258         * conform/data/sys/types.h-data: Likewise.
47259         * conform/data/sys/uio.h-data: Likewise.
47260         * conform/data/sys/un.h-data: Likewise.
47261         * conform/data/sys/utsname.h-data: Likewise.
47262         * conform/data/sys/wait.h-data: Likewise.
47263         * conform/data/syslog.h-data: Likewise.
47264         * conform/data/tar.h-data: Likewise.
47265         * conform/data/termios.h-data: Likewise.
47266         * conform/data/utime.h-data: Likewise.
47267         * conform/data/utmpx.h-data: Likewise.
47268         * conform/data/varargs.h-data: Likewise.
47269         * conform/data/wchar.h-data: Likewise.
47270         * conform/data/wctype.h-data: Likewise.
47271         * conform/data/wordexp.h-data: Likewise.
47272
47273         * include/stropts.h: New file.
47274         * include/uchar.h: New file.
47275         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47276         * include/assert.h: Likewise.
47277         * include/ctype.h: Likewise.
47278         * include/dirent.h: Likewise.
47279         * include/dlfcn.h: Likewise.
47280         * include/fcntl.h: Likewise.
47281         * include/fnmatch.h: Likewise.
47282         * include/glob.h: Likewise.
47283         * include/grp.h: Likewise.
47284         * include/libio.h: Likewise.
47285         * include/locale.h: Likewise.
47286         * include/math.h: Likewise.
47287         * include/net/if.h: Likewise.
47288         * include/netdb.h: Likewise.
47289         * include/netinet/in.h: Likewise.
47290         * include/pthread.h: Likewise.
47291         * include/pwd.h: Likewise.
47292         * include/regex.h: Likewise.
47293         * include/sched.h: Likewise.
47294         * include/search.h: Likewise.
47295         * include/setjmp.h: Likewise.
47296         * include/signal.h: Likewise.
47297         * include/stdio.h: Likewise.
47298         * include/stdlib.h: Likewise.
47299         * include/string.h: Likewise.
47300         * include/sys/cdefs.h: Likewise.
47301         * include/sys/mman.h: Likewise.
47302         * include/sys/msg.h: Likewise.
47303         * include/sys/resource.h: Likewise.
47304         * include/sys/select.h: Likewise.
47305         * include/sys/socket.h: Likewise.
47306         * include/sys/stat.h: Likewise.
47307         * include/sys/statvfs.h: Likewise.
47308         * include/sys/time.h: Likewise.
47309         * include/sys/times.h: Likewise.
47310         * include/sys/uio.h: Likewise.
47311         * include/sys/utsname.h: Likewise.
47312         * include/sys/wait.h: Likewise.
47313         * include/termios.h: Likewise.
47314         * include/time.h: Likewise.
47315         * include/ulimit.h: Likewise.
47316         * include/unistd.h: Likewise.
47317         * include/utime.h: Likewise.
47318         * include/wchar.h: Likewise.
47319         * include/wctype.h: Likewise.
47320         * include/wordexp.h: Likewise.
47321
47322         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47323
47324         * time/time.h: TIME_UTC must be a macro.
47325         Make timespec_get available for ISO C11 only as well.
47326
47327 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47328
47329         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47330         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47331
47332 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47333
47334         * configure.in: Use -o not -a in test for unsupported multi-arch.
47335
47336 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47337
47338         * manual/texinfo.tex: Update to version 2012-01-19.16.
47339
47340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47341
47342         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47343
47344 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47345
47346         [BZ #13738]
47347         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47348         * manual/fdl-1.3.texi: New file.
47349         * manual/fdl-1.1.texi: File removed.
47350
47351         [BZ #13738]
47352         * manual/libc.texinfo (FDL_VERSION): New @set.
47353         Use it for mention of FDL in cover text.
47354         (Documentation License): Use it in @include file name.
47355
47356 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47357             Roland McGrath  <roland@hack.frob.com>
47358
47359         [BZ #5461]
47360         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47361         (not LONG_LONG_MAX and LONG_LONG_MIN.
47362         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47363         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47364         name.
47365         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47366
47367 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47368
47369         [BZ #2547]
47370         [BZ #11365]
47371         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47372         manipulate bits before adding and subtracting TWO23[sx].
47373         * math/libm-test.inc (nearbyint_test): Add more tests.
47374
47375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47376
47377         [BZ #2548]
47378         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47379         bits before adding and subtracting TWO23[sx].
47380         * math/libm-test.inc (rint_test): Add more tests.
47381         (rint_test_tonearest): Likewise.
47382         (rint_test_towardzero): Likewise.
47383         (rint_test_downward): Likewise.
47384         (rint_test_upward: Likewise.
47385
47386 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47387
47388         [BZ #10110]
47389         * include/stdc-predef.h: New file.  Extracted from features.h.
47390         * include/features.h: Include stdc-predef.h.
47391         * Makefile (headers): Add stdc-predef.h.
47392         * CONFORMANCE (Compiler limitations): Update.
47393
47394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47395
47396         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47397
47398 2012-02-21  David S. Miller  <davem@davemloft.net>
47399
47400         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47401         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47402
47403 2012-02-20  David S. Miller  <davem@davemloft.net>
47404
47405         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47406         using a normal save/restore sequence, rather than allocating a
47407         dummy stack frame just to store a frame pointer and restore.
47408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47409
47410 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47411
47412         * manual/install.texi: Fix stray word in line-wrapped comment.
47413
47414 2012-02-20  David S. Miller  <davem@davemloft.net>
47415
47416         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47417         both binutils and gcc support GOTDATA.
47418
47419         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47420         "rd %pc" in the PIC register setup sequences.
47421
47422         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47423         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47424         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47425         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47426         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47429         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47430         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47431         (SYSCALL_ERROR_HANDLER): Likewise.
47432         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47433         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47434         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47435         (SYSCALL_ERROR_HANDLER): Likewise.
47436
47437         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47438         (HAVE_GCC_GOTDATA): New.
47439         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47440         relocation support in both binutils and gcc.
47441         * sysdeps/sparc/elf/configure: Regenerate.
47442
47443         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47444         * sysdeps/sparc/sparc32/elf/configure: Delete.
47445         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47446         * sysdeps/sparc/sparc64/elf/configure: Delete.
47447         * sysdeps/sparc/elf/configure.in: New file.
47448         * sysdeps/sparc/elf/configure: Generate.
47449
47450         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47451         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47452         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47453         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47454         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47455
47456 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47457
47458         * manual/install.texi: Do not mention specific glibc version
47459         numbers.
47460         * manual/libc.texinfo (VERSION, UPDATED): Update.
47461         (@copying): Use @copyright{} and range of years.
47462
47463 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47464
47465         [BZ #13695]
47466         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47467         [crti.S not in sysdirs] (generated): Do not append.
47468         [crti.S not in sysdirs] (omit-deps): Likewise.
47469         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47470         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47471         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47472         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47473         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47474         Likewise.
47475         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47476         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47477         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47478         * csu/defs.awk: Remove file.
47479         * sysdeps/generic/initfini.c: Likewise.
47480         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47481         variable.
47482         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47483         Likewise.
47484
47485 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47486
47487         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47488         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47489         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47490         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47491         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47492         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47493         <bits/epoll.h>.
47494         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47495         (__EPOLL_PACKED): Define to empty if not defined by
47496         <bits/epoll.h>.
47497         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47499         bits/epoll.h.
47500
47501 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47502
47503         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47504         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47505         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47506         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47507         <bits/timerfd.h>.
47508         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47510         bits/timerfd.h.
47511
47512 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47513
47514         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47515         in C locale.
47516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47517         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47518         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47520
47521 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47522
47523         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47524         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47525
47526 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47527
47528         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47529         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47530         defined.
47531         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47532         Likewise.
47533         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47534         entry for 2.16.
47535
47536 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47537
47538         * math/w_acos.c: Use non-signaling floating-point comparisons.
47539         * math/w_acosf.c: Likewise.
47540         * math/w_acosh.c: Likewise.
47541         * math/w_acoshf.c: Likewise.
47542         * math/w_acoshl.c: Likewise.
47543         * math/w_acosl.c: Likewise.
47544         * math/w_asin.c: Likewise.
47545         * math/w_asinf.c: Likewise.
47546         * math/w_asinl.c: Likewise.
47547         * math/w_atanh.c: Likewise.
47548         * math/w_atanhf.c: Likewise.
47549         * math/w_atanhl.c: Likewise.
47550         * math/w_exp2.c: Likewise.
47551         * math/w_exp2f.c: Likewise.
47552         * math/w_exp2l.c: Likewise.
47553         * math/w_j0.c: Likewise.
47554         * math/w_j0f.c: Likewise.
47555         * math/w_j0l.c: Likewise.
47556         * math/w_j1.c: Likewise.
47557         * math/w_j1f.c: Likewise.
47558         * math/w_j1l.c: Likewise.
47559         * math/w_jn.c: Likewise.
47560         * math/w_jnf.c: Likewise.
47561         * math/w_log.c: Likewise.
47562         * math/w_log10.c: Likewise.
47563         * math/w_log10f.c: Likewise.
47564         * math/w_log10l.c: Likewise.
47565         * math/w_log2.c: Likewise.
47566         * math/w_log2f.c: Likewise.
47567         * math/w_log2l.c: Likewise.
47568         * math/w_logf.c: Likewise.
47569         * math/w_logl.c: Likewise.
47570         * math/w_sqrt.c: Likewise.
47571         * math/w_sqrtf.c: Likewise.
47572         * math/w_sqrtl.c: Likewise.
47573         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47574         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47576         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47577         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47578
47579 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47580
47581         [BZ #9739]
47582         * manual/string.texi (strnlen): Use correct parameter name in
47583         equivalent expression.
47584
47585 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47586
47587         [BZ #11174]
47588         * manual/users.texi (seteuid): Consistently use neweuid for
47589         argument name.
47590
47591 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47592
47593         [BZ #13704]
47594         * manual/nss.texi (Services in the NSS configuration): Correct
47595         list of services in example configuration file.
47596
47597 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47598
47599         [BZ #11322]
47600         * manual/arith.texi: Remove statements about negative zero
47601         behaving identically to zero.
47602
47603 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47604
47605         [BZ #5993]
47606         * manual/install.texi: Do not document upgrading from libc5.
47607
47608 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47609
47610         [BZ #4596]
47611         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47612
47613 2012-02-18  David S. Miller  <davem@davemloft.net>
47614
47615         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47616         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47617         %o7 across the call.
47618         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47619         instead.
47620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47621         SETUP_PIC_REG_LEAF.
47622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47623         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47624         * sysdeps/sparc/crtn.S: Likewise.
47625
47626 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47627
47628         * aout/Makefile: Remove.
47629
47630 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47631
47632         [BZ #13058]
47633         * manual/examples/argp-ex1.c (main): Format definition in GNU
47634         style.
47635         * manual/examples/argp-ex2.c (main): Likewise.
47636         * manual/examples/argp-ex3.c (main): Likewise.
47637         * manual/examples/argp-ex4.c (main): Likewise.
47638         * manual/examples/longopt.c (main): Use new-style prototype
47639         definition.
47640         * manual/examples/strncat.c (main): Specify return type and use
47641         (void) for arguments.
47642         * manual/examples/subopt.c (main): Use char **argv argument.
47643
47644 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47645
47646         [BZ #5077]
47647         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47648         rounding modes.
47649
47650 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47651
47652         [BZ #6907]
47653         * manual/string.texi (strchr): Change when strchrnul is
47654         recommended.
47655
47656 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47657
47658         [BZ #174]
47659         * manual/locale.texi (setlocale): Document LOCPATH.
47660
47661 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47662
47663         [BZ #10210]
47664         * manual/process.texi (execle): Move @dots{} before last argument.
47665
47666 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47667
47668         [BZ #12047]
47669         * manual/charset.texi (Generic Charset Conversion): Fix typo
47670         (LC_TYPE -> LC_CTYPE).
47671
47672 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47673
47674         [BZ #5805]
47675         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47676         (scalbnf): Likewise.
47677         (scalbnl): Likewise.
47678         (scalbln): Likewise.
47679         (scalblnf): Likewise.
47680         (scalblnl): Likewise.
47681         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47682         (vwarnx): Likewise.
47683         (verr): Likewise.
47684         (verrx): Likewise.
47685         * manual/filesys.texi (telldir): Use braces around return type.
47686         * manual/llio.texi (mmap): Add space after comma.
47687         (mmap64): Likewise.
47688         * manual/math.texi (jn): Use @var{} on parameter names.
47689         (jnf): Likewise.
47690         (jnl): Likewise.
47691         (yn): Likewise.
47692         (ynf): Likewise.
47693         (ynl): Likewise.
47694         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47695         line.
47696         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47697         "...".
47698         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47699         (sched_get_priority_max): Likewise.
47700         * manual/signal.texi (sigvec): Add space after comma.
47701         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47702         names.
47703         (if_indextoname): Likewise.
47704         (if_freenameindex): Likewise.
47705         (sendto): Use ',' instead of '.' in prototype.
47706         * manual/startup.texi (syscall): Use @dots{} instead of literal
47707         "...".
47708         * manual/stdio.texi (__fpending): Separate initial words of
47709         paragraph from @deftypefun line.
47710         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47711         "...".
47712         (vsyslog): Use @var{} on parameter names.
47713         * manual/terminal.texi (stty): Use @var{} on parameter names.
47714         * manual/users.texi (getutmp): Use @var{} on parameter names.
47715         (getutmpx): Likewise.
47716
47717 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47718
47719         [BZ #6884]
47720         * manual/stdio.texi (fopen): Fix typos in description of
47721         ",ccs=STRING".
47722
47723 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47724
47725         [BZ #4026]
47726         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47727         get clock_id definition.
47728
47729 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47730
47731         [BZ #4822]
47732         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47733         (madvise): Cast every argument to void on its own.
47734
47735 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47736
47737         [BZ #9902]
47738         * manual/startup.texi (Exit Status): Fix typo.
47739
47740 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47741
47742         [BZ #10140]
47743         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47744         * manual/examples/argp-ex2.c: Likewise.
47745         * manual/examples/argp-ex3.c: Likewise.
47746
47747 2012-02-16  Richard Henderson  <rth@redhat.com>
47748
47749         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47750         * sysdeps/s390/s390-32/initfini.c: Remove.
47751         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47752         * sysdeps/s390/s390-64/initfini.c: Remove.
47753
47754 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47755
47756         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47757         compiler output for sysdeps/generic/initfini.c.
47758         * sysdeps/sh/elf/initfini.c: Remove file.
47759
47760 2012-02-16  David S. Miller  <davem@davemloft.net>
47761
47762         [BZ #11494]
47763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47764
47765         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47766         * sysdeps/sparc/crti.S: New file.
47767         * sysdeps/sparc/crtn.S: New file.
47768         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47769         * sysdeps/sparc/sparc64/Makefile: Likewise.
47770
47771 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47772
47773         [BZ #3335]
47774         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47775
47776 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47777
47778         [BZ #4822]
47779         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47780
47781         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47782         (write, read, close): Likewise.
47783         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47784
47785 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47786
47787         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47788         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47789         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47790         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47791         <bits/signalfd.h>.
47792         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47794         bits/signalfd.h.
47795
47796 2012-02-14  Marek Polacek  <polacek@redhat.com>
47797
47798         * sysdeps/x86_64/crti.S: New file.
47799         * sysdeps/x86_64/crtn.S: New file.
47800         * sysdeps/x86_64/elf/initfini.c: Remove file.
47801
47802 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47803
47804         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47805         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47806         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47807         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47808         <bits/inotify.h>.
47809         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47811         bits/inotify.h.
47812
47813 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47814
47815         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47816         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47817         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47818         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47819         <bits/eventfd.h>.
47820         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47822         bits/eventfd.h.
47823
47824 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47825
47826         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47827         __feraiseexcept instead of feraiseexcept.
47828
47829         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47830         nanosleep invocations.
47831         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47832         strings, and add error checking for a nanosleep invocations.
47833
47834 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47835
47836         Replace FSF snail mail address with URLs, as per GNU coding standards.
47837         Most of the snail mail addresses were wrong anyway, and omitting
47838         them makes the source code easier to maintain.  Almost all of the
47839         changes are to license notices and to locale LC_IDENTIFICATION
47840         addresses, except for this one:
47841         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47842         not its snail mail address.
47843
47844 2012-02-09  Richard Henderson  <rth@twiddle.net>
47845
47846         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47847         of kernel-features.h.
47848
47849         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47850
47851 2012-02-08  Marek Polacek  <polacek@redhat.com>
47852
47853         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47854         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47855         * sysdeps/gnu/_G_config.h: Likewise.
47856         * sysdeps/generic/_G_config.h: Likewise.
47857
47858 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47859
47860         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47861         tests.
47862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47863
47864         * sysdeps/powerpc/powerpc32/crti.S: New file.
47865         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47866         * sysdeps/powerpc/powerpc64/crti.S: New file.
47867         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47868
47869         * Makeconfig (have-initfini): Don't set.
47870         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47871         * configure.in (nopic_initfini): Don't substitute.
47872         * config.h.in (HAVE_INITFINI): Don't #undef.
47873         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47874         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47875
47876 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47877
47878         Support crti.S and crtn.S provided directly by architectures.
47879         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47880         [crti.S in sysdirs] (omit-deps): Likewise.
47881         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47882         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47883         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47884         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47885         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47886         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47887         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47888         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47889         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47890         compiler output for sysdeps/generic/initfini.c.
47891         * sysdeps/i386/elf/Makefile: Remove file.
47892         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47893
47894 2012-02-07  Marek Polacek  <polacek@redhat.com>
47895
47896         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47897         * sysdeps/gnu/_G_config.h: Likewise.
47898         * sysdeps/mach/hurd/_G_config.h: Likewise.
47899
47900 2012-02-07  Marek Polacek  <polacek@redhat.com>
47901
47902         * math/Makefile (tests): Add tst-CMPLX2.
47903         * math/tst-CMPLX2.c: New file.
47904
47905 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47906
47907         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47908
47909         * math/libm-test.inc (jn_test): Add missing L suffix.
47910
47911 2012-02-06  Marek Polacek  <polacek@redhat.com>
47912
47913         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47914         * sysdeps/i386/fpu/e_powf.S: Likewise.
47915         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47916         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47917         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47918         * sysdeps/i386/fpu/e_pow.S: Likewise.
47919         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47920         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47921         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47922         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47923         * sysdeps/i386/fpu/e_log2.S: Likewise.
47924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47926         * sysdeps/i386/fpu/e_powl.S: Likewise.
47927         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47928         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47929         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47930         * sysdeps/i386/fpu/e_logl.S: Likewise.
47931         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47932         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47937         * sysdeps/i386/fpu/e_log.S: Likewise.
47938         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47940         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47941         * sysdeps/i386/fpu/e_logf.S: Likewise.
47942         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47943         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47944         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47945         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47946         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47947         * sysdeps/i386/fpu/e_log10.S: Likewise.
47948         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47949         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47950         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47951         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47952         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47953         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47954         * sysdeps/i386/asm-syntax.h: Likewise.
47955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47958         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47959         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47960         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47961         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47962         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47963         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47964         * sysdeps/powerpc/sysdep.h: Likewise.
47965         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47966         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47967
47968 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47969
47970         [BZ #411]
47971         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47972
47973 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47974
47975         * sysdeps/i386/sysdep.h: Include <features.h>.
47976         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47977         version.
47978
47979 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47980
47981         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47982         Define.
47983         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47984         LOAD_PIC_REG_STR.
47985
47986 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47987
47988         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47989         (SETUP_PIC_REG): Use GET_PC_THUNK.
47990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47991         macro.
47992
47993 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47994
47995         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47996         for non-PIC compilation.
47997         (SETUP_PIC_REG): Add .p2align directive.
47998         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47999         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48000         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48001         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48002         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48003         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48004         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48006         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48007         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48008         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48009         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48010         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48011         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48012         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48013         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48014         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48015         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48016         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48017         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48018         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48019         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48020         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48021         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48022         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48024         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48026         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48027         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48028         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48029         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48030         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48031         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48032         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48033         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48034         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48035         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48036         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48037         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48038         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48039
48040 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48041
48042         * math/tst-CMPLX.c: Include <stdio.h>.
48043
48044 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48045
48046         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48047         float.
48048         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48049         * sysdeps/sparc/bits/mathdef.h: Likewise.
48050
48051 2012-01-31  Marek Polacek  <polacek@redhat.com>
48052
48053         * libio/libio.h: Don't define _PARAMS.
48054         * locale/programs/config.h: Don't define PARAMS.
48055         * stdlib/strtol_l.c: Likewise.
48056         (__strtol_l): Remove PARAMS from the prototype.
48057
48058 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48059
48060         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48061         names.  Just use the correct names.  Remove unnecessary wrapper
48062         functions.
48063         * malloc/arena.c: Likewise.
48064         * malloc/hooks.c: Likewise.
48065
48066         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48067         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48068         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48069
48070 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48071
48072         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48073         into tail calls.
48074         (update_get_addr): New function.
48075         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48076         GET_ADDR_MODULE parameter.
48077
48078 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48079
48080         * crypt/cert.c: Remove __STDC__ conditionals.
48081         * crypt/crypt-entry.c: Likewise.
48082         * crypt/crypt_util.c: Likewise.
48083         * libio/filedoalloc.c: Likewise.
48084         * libio/fileops.c: Likewise.
48085         * libio/genops.c: Likewise.
48086         * libio/iofclose.c: Likewise.
48087         * libio/iofdopen.c: Likewise.
48088         * libio/iofopen.c: Likewise.
48089         * libio/iofopen64.c: Likewise.
48090         * libio/iogetdelim.c: Likewise.
48091         * libio/iopopen.c: Likewise.
48092         * libio/obprintf.c: Likewise.
48093         * libio/oldfileops.c: Likewise.
48094         * libio/oldiofclose.c: Likewise.
48095         * libio/oldiofdopen.c: Likewise.
48096         * libio/oldiofopen.c: Likewise.
48097         * libio/oldiopopen.c: Likewise.
48098         * libio/wfiledoalloc.c: Likewise.
48099         * libio/wgenops.c: Likewise.
48100         * locale/programs/xmalloc.c: Likewise.
48101         * misc/syslog.c: Likewise.
48102         * stdio-common/xbug.c: Likewise.
48103         * string/memchr.c: Likewise.
48104         * string/memcmp.c: Likewise.
48105         * string/memrchr.c: Likewise.
48106         * string/rawmemchr.c: Likewise.
48107         * sysdeps/posix/getcwd.c: Likewise.
48108         * time/strftime_l.c: Likewise.
48109
48110 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48111
48112         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48113         * config.make.in (config-cflags-sse2avx): Define.
48114         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48115         Fix typo.
48116
48117 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48118
48119         * scripts/config.guess: Update from upstream config git repository.
48120         * scripts/config.sub: Likewise.
48121
48122 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48123
48124         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48125         (EM_NUM): Update.
48126         (R_TILEPRO_*, R_TILEGX_*): New macros.
48127
48128         * scripts/firstversions.awk: Fix bug in version range handling.
48129
48130         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48131
48132         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48133
48134         * include/sys/epoll.h: New file.
48135         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48136         libc_hidden_def.
48137
48138 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48139
48140         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48141         Avoid unnecessary __WORDSIZE == 64 test.
48142         (fmaxf): Use VEX format if possible.
48143         (fmax): Likewise.
48144         (fminf): Likewise.
48145         (fmin): Likewise.
48146
48147         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48148         * math/math_private.h: Remove libc_fegetround* and
48149         libc_fesetround*.
48150         * sysdeps/i386/configure.in: Check for -msse2avx.
48151         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48152         also if SSE2AVX is defined.
48153         Remove libc_fegetround* and libc_fesetround*.
48154         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48155         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48157         of HAS_YMM_USABLE.
48158         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48159         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48160         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48161         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48162         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48163
48164         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48165
48166 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48167
48168         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48169         size is not set.
48170         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48171
48172 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48173
48174         [BZ #13618]
48175         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48176         relocation.
48177         * Makeconfig (libm): Define.
48178         * elf/Makefile: Add rules to build and run tst-relsort1.
48179         * elf/tst-relsort1.c: New file.
48180         * elf/tst-relsort1mod1.c: New file.
48181         * elf/tst-relsort1mod2.c: New file.
48182
48183 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48184
48185         * math/s_ldexp.c: Remove __STDC__ conditionals.
48186         * math/s_ldexpf.c: Likewise.
48187         * math/s_ldexpl.c: Likewise.
48188         * math/s_nextafter.c: Likewise.
48189         * math/s_nexttowardf.c: Likewise.
48190         * math/s_significand.c: Likewise.
48191         * math/s_significandf.c: Likewise.
48192         * math/s_significandl.c: Likewise.
48193         * math/w_jnl.c: Likewise.
48194         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48195         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48196         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48197         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48198         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48199         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48200         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48201         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48202         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48203         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48204         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48206         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48207         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48208         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48209         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48210         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48211         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48213         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48214         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48215         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48216         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48218         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48219         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48220         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48221         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48222         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48223         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48224         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48225         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48226         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48227         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48228         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48229         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48230         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48231         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48232         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48233         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48234         * sysdeps/ieee754/k_standard.c: Likewise.
48235         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48238         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48239         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48240         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48241         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48242         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48243         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48245         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48246         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48247         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48248         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48249         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48251         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48253         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48254         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48257         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48258         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48259         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48260         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48266         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48267         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48268         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48269         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48270         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48271         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48273         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48275         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48283         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48284         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48289         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48290         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48291         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48296         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48299         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48300         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48301         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48302         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48304         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48305         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48306         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48307         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48308         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48309         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48310         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48311         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48312         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48313         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48314         * sysdeps/ieee754/s_matherr.c: Likewise.
48315         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48316         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48318         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48319
48320 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48321
48322         * crypt/md5.h: Remove __STDC__ conditionals.
48323         * libio/libioP.h: Likewise.
48324         * locale/programs/config.h: Likewise.
48325         * sysdeps/generic/sysdep.h: Likewise.
48326         * sysdeps/i386/asm-syntax.h: Likewise.
48327         * sysdeps/s390/asm-syntax.h: Likewise.
48328         * sysdeps/unix/sysdep.h: Likewise.
48329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48331
48332 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48333
48334         * libio/libio.h: Remove __STDC__ conditionals.
48335         * malloc/obstack.h: Likewise.
48336         * math/complex.h: Likewise.
48337         * math/math.h: Likewise.
48338         * sysdeps/generic/_G_config.h: Likewise.
48339         * sysdeps/gnu/_G_config.h: Likewise.
48340         * sysdeps/mach/hurd/_G_config.h: Likewise.
48341         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48342         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48343         * sysdeps/sparc/bits/mathdef.h: Likewise.
48344
48345 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48346
48347         [BZ #13583]
48348         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48349         Clean up HAS_* macros.
48350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48351         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48352         possible.
48353         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48354         HAS_AVX.
48355         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48356         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48357         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48358         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48359         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48360
48361 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48362
48363         * elf/tst-unique3.cc (gets): Remove declaration.
48364         * elf/tst-unique3lib.cc (gets): Likewise.
48365         * elf/tst-unique3lib2.cc (gets): Likewise.
48366         * elf/tst-unique4.cc (gets): Likewise.
48367
48368 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48369
48370         * include/stdio.h: Add C++ protection.  Add gets declarations and
48371         definitions.
48372         * debug/tst-chk1.c: Don't declare gets here.
48373         * stdio-common/tst-gets.c: Likewise.
48374
48375 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48376
48377         * posix/glob: Remove directory.
48378
48379 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48380
48381         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48382
48383 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48384
48385         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48386         of the non-standard EPFNOSUPPORT.
48387
48388 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48389
48390         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48391         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48392         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48393
48394 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48395
48396         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48397
48398 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48399
48400         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48401         transient errors.
48402         * nscd/grpcache.c (cache_addgr): Likewise.
48403         * nscd/hstcache.c (cache_addhst): Likewise.
48404         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48405         * nscd/pwdcache.c (cache_addpw): Likewise.
48406         * nscd/servicescache.c (cache_addserv): Likewise.
48407
48408 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48409
48410         * malloc/malloc.c: Various cleanups.
48411         * malloc/hooks.c: Likewise.
48412
48413         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48414         * stdlib/bug-fmtmsg1.c: New file.
48415
48416         * stdlib/fmtmsg.c (init): Add missing unlock.
48417         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48418
48419 2012-01-12  Marek Polacek  <polacek@redhat.com>
48420
48421         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48422         and _GNU_SOURCE.
48423
48424 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48425
48426         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48427         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48428         macro to ensure uniqueness of label name.
48429         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48430         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48431
48432 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48433
48434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48435
48436         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48440
48441 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48442
48443         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48444
48445         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48446         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48447         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48448
48449         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48450
48451         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48452         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48453         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48454         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48455
48456         * math/bits/math-finite.h: Add ldexp support.
48457
48458 2012-01-10  Marek Polacek  <polacek@redhat.com>
48459
48460         * locale/programs/localedef.h (show_archive_content): Add noreturn
48461         attribute.
48462
48463 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48464
48465         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48466
48467 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48468
48469         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48470
48471         * io/Makefile (headers): Add bits/poll2.h.
48472
48473 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48474
48475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48476         typo #include statement.
48477
48478 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48479
48480         * include/sys/cdefs.h: Define __attribute_alloc_size.
48481         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48482         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48483         * elf/pldd.c: Likewise.
48484         * iconv/iconv_charmap.c: Likewise.
48485         * iconv/iconvconfig.c: Likewise.
48486         * iconv/strtab.c: Likewise.
48487         * locale/programs/locale.c: Likewise.
48488         * locale/programs/localedef.h: Likewise.
48489         * locale/programs/simple-hash.c: Likewise.
48490         * nscd/nscd.h: Likewise.
48491         * nss/makedb.c: Likewise.
48492         * sysdeps/generic/ldconfig.h: Likewise.
48493         * locale/programs/localedef.c: Remove xmalloc prototype.
48494         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48495
48496 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48497
48498         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48499         appropriate.
48500
48501 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48502
48503         * math/Makefile (tests): Add tst-CMPLX.
48504         * math/tst-CMPLX.c: New file.
48505
48506         * math/complex.h (CMPLXL): Fix typo.
48507
48508         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48509         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48510         GLIBC_2.16.
48511         * debug/tst-chk1.c: Add poll and ppoll tests.
48512         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48513         * include/sys/poll.h: Add hidden proto for ppoll.
48514         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48515         * sysdeps/mach/hurd/ppoll.c: Likewise.
48516         * io/ppoll.c: Likewise.
48517         * debug/poll_chk.c: New file.
48518         * debug/ppoll_chk.c: New file.
48519         * include/bits/poll2.h: New file.
48520         * io/bits/poll2.h: New file.
48521
48522         [BZ #1350]
48523         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48524
48525         * configure.in: static is always set to yes.  Remove.
48526         * config.make.in: Don't set build-static.
48527         * Makeconfig: Remove use of build-static.
48528         * dlfcn/Makefile: Likewise.
48529         * elf/Makefile: Likewise.
48530         * math/Makefile: Likewise.
48531         * misc/Makefile: Likewise.
48532         * nptl/Makefile: Likewise.
48533         * sysdeps/mach/hurd/Makefile: Likewise.
48534
48535         * configure.in: PWD_P is not used anymore.
48536         * config.make.in: Remove PWD_P entry.
48537
48538         * configure.in: Remove last remnants of RANLIB.
48539         No need to check for signed size_t anymore.
48540         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48541         and IA-64.
48542         Remove __builtin_expect test because we require at least gcc 3.4.
48543         * aclocal.m4: Likewise.
48544
48545         * wcsmbs/mbrtoc16.c: Implement using towc function.
48546         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48547         * wcsmbs/wcsmbsload.c: Likewise.
48548         * iconv/gconv_simple.c: Likewise.
48549         * iconv/gconv_int.h: Likewise.
48550         * iconv/gconv_builtin.h: Likewise.
48551         * iconv/iconv_prog.c: Remove CHAR16 handling.
48552
48553         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48554
48555         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48556
48557         * configure.in: Remove --with-elf and --enable-bounded options.
48558         Dont set base_machine for ia64.  More non-ELF conditions removed.
48559         Remove testing and setting of leading underscore information.
48560         * config.make.in (build-bounded): Set to no.
48561         * config.h.in: Remove NO_UNDERSCORES entry.
48562         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48563         them.
48564         * csu/start.c: Remove !NO_UNDERSCORE code.
48565         * locale/localeinfo.h: Likewise.
48566         * sysdeps/generic/machine-gmon.h: Likewise.
48567         * sysdeps/generic/sysdep.h: Likewise.
48568         * sysdeps/i386/sysdep.h: Likewise.
48569         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48570         * sysdeps/mach/sysdep.h: Likewise.
48571         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48572         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48573         * sysdeps/sh/sysdep.h: Likewise.
48574         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48575         * sysdeps/unix/i386/sysdep.S: Likewise.
48576         * sysdeps/unix/sparc/start.c: Likewise.
48577         * sysdeps/unix/sparc/sysdep.S: Likewise.
48578         * sysdeps/unix/sparc/sysdep.h: Likewise.
48579         * sysdeps/unix/start.c: Likewise.
48580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48581         * sysdeps/x86_64/sysdep.h: Likewise.
48582
48583 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48584
48585         [BZ #13553]
48586         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48587         for non-gcc.
48588         * argp/argp-fmtstream.h: Use const instead __const.
48589         * argp/argp.h: Likewise.
48590         * assert/assert.h: Likewise.
48591         * bits/fenv.h: Likewise.
48592         * bits/sched.h: Likewise.
48593         * bits/sigset.h: Likewise.
48594         * bits/sigthread.h: Likewise.
48595         * catgets/nl_types.h: Likewise.
48596         * conform/data/pthread.h-data: Likewise.
48597         * crypt/crypt-private.h: Likewise.
48598         * crypt/crypt.h: Likewise.
48599         * crypt/crypt_util.c: Likewise.
48600         * ctype/ctype.h: Likewise.
48601         * debug/execinfo.h: Likewise.
48602         * debug/mbsnrtowcs_chk.c: Likewise.
48603         * debug/mbsrtowcs_chk.c: Likewise.
48604         * debug/wcsnrtombs_chk.c: Likewise.
48605         * debug/wcsrtombs_chk.c: Likewise.
48606         * debug/wcstombs_chk.c: Likewise.
48607         * dirent/dirent.h: Likewise.
48608         * dlfcn/dlfcn.h: Likewise.
48609         * elf/neededtest4.c: Likewise.
48610         * grp/grp.h: Likewise.
48611         * gshadow/gshadow.h: Likewise.
48612         * iconv/gconv.h: Likewise.
48613         * iconv/gconv_int.h: Likewise.
48614         * iconv/gconv_simple.c: Likewise.
48615         * iconv/iconv.h: Likewise.
48616         * iconv/loop.c: Likewise.
48617         * iconv/skeleton.c: Likewise.
48618         * include/aio.h: Likewise.
48619         * include/aliases.h: Likewise.
48620         * include/argz.h: Likewise.
48621         * include/arpa/inet.h: Likewise.
48622         * include/assert.h: Likewise.
48623         * include/dirent.h: Likewise.
48624         * include/dlfcn.h: Likewise.
48625         * include/execinfo.h: Likewise.
48626         * include/fcntl.h: Likewise.
48627         * include/fenv.h: Likewise.
48628         * include/glob.h: Likewise.
48629         * include/grp.h: Likewise.
48630         * include/libintl.h: Likewise.
48631         * include/mntent.h: Likewise.
48632         * include/netdb.h: Likewise.
48633         * include/pwd.h: Likewise.
48634         * include/rpc/netdb.h: Likewise.
48635         * include/sched.h: Likewise.
48636         * include/search.h: Likewise.
48637         * include/shadow.h: Likewise.
48638         * include/signal.h: Likewise.
48639         * include/stdio.h: Likewise.
48640         * include/stdlib.h: Likewise.
48641         * include/string.h: Likewise.
48642         * include/sys/socket.h: Likewise.
48643         * include/sys/stat.h: Likewise.
48644         * include/sys/statfs.h: Likewise.
48645         * include/sys/statvfs.h: Likewise.
48646         * include/sys/syslog.h: Likewise.
48647         * include/sys/time.h: Likewise.
48648         * include/sys/uio.h: Likewise.
48649         * include/time.h: Likewise.
48650         * include/unistd.h: Likewise.
48651         * include/utmp.h: Likewise.
48652         * include/wchar.h: Likewise.
48653         * include/wctype.h: Likewise.
48654         * inet/aliases.h: Likewise.
48655         * inet/arpa/inet.h: Likewise.
48656         * inet/netinet/ether.h: Likewise.
48657         * inet/netinet/in.h: Likewise.
48658         * intl/libintl.h: Likewise.
48659         * io/bits/fcntl2.h: Likewise.
48660         * io/fcntl.h: Likewise.
48661         * io/ftw.h: Likewise.
48662         * io/sys/poll.h: Likewise.
48663         * io/sys/stat.h: Likewise.
48664         * io/sys/statfs.h: Likewise.
48665         * io/sys/statvfs.h: Likewise.
48666         * io/utime.h: Likewise.
48667         * libio/bits/stdio.h: Likewise.
48668         * libio/bits/stdio2.h: Likewise.
48669         * libio/libio.h: Likewise.
48670         * libio/libioP.h: Likewise.
48671         * libio/stdio.h: Likewise.
48672         * locale/lc-ctype.c: Likewise.
48673         * locale/locale.h: Likewise.
48674         * login/utmp.h: Likewise.
48675         * malloc/arena.c: Likewise.
48676         * malloc/malloc.c: Likewise.
48677         * malloc/malloc.h: Likewise.
48678         * malloc/mcheck.c: Likewise.
48679         * malloc/mtrace.c: Likewise.
48680         * math/bits/mathcalls.h: Likewise.
48681         * math/fenv.h: Likewise.
48682         * math/math_private.h: Likewise.
48683         * misc/bits/error.h: Likewise.
48684         * misc/bits/syslog.h: Likewise.
48685         * misc/err.h: Likewise.
48686         * misc/error.h: Likewise.
48687         * misc/fstab.h: Likewise.
48688         * misc/mntent.h: Likewise.
48689         * misc/regexp.h: Likewise.
48690         * misc/search.h: Likewise.
48691         * misc/sgtty.h: Likewise.
48692         * misc/sys/mman.h: Likewise.
48693         * misc/sys/syslog.h: Likewise.
48694         * misc/sys/uio.h: Likewise.
48695         * misc/sys/xattr.h: Likewise.
48696         * misc/ttyent.h: Likewise.
48697         * nis/rpcsvc/ypclnt.h: Likewise.
48698         * nss/nss.h: Likewise.
48699         * posix/bits/unistd.h: Likewise.
48700         * posix/fnmatch.h: Likewise.
48701         * posix/glob.h: Likewise.
48702         * posix/sched.h: Likewise.
48703         * posix/spawn.h: Likewise.
48704         * posix/sys/wait.h: Likewise.
48705         * posix/unistd.h: Likewise.
48706         * posix/wordexp.h: Likewise.
48707         * pwd/pwd.h: Likewise.
48708         * resolv/netdb.h: Likewise.
48709         * resource/sys/resource.h: Likewise.
48710         * rt/aio.h: Likewise.
48711         * rt/bits/mqueue2.h: Likewise.
48712         * rt/mqueue.h: Likewise.
48713         * shadow/shadow.h: Likewise.
48714         * signal/signal.h: Likewise.
48715         * socket/send.c: Likewise.
48716         * socket/sendto.c: Likewise.
48717         * socket/sys/socket.h: Likewise.
48718         * stdio-common/printf.h: Likewise.
48719         * stdlib/bits/stdlib.h: Likewise.
48720         * stdlib/fmtmsg.h: Likewise.
48721         * stdlib/monetary.h: Likewise.
48722         * stdlib/stdlib.h: Likewise.
48723         * stdlib/ucontext.h: Likewise.
48724         * streams/stropts.h: Likewise.
48725         * string/argz.h: Likewise.
48726         * string/bits/string2.h: Likewise.
48727         * string/string.h: Likewise.
48728         * string/strings.h: Likewise.
48729         * sunrpc/rpc/auth.h: Likewise.
48730         * sunrpc/rpc/auth_des.h: Likewise.
48731         * sunrpc/rpc/clnt.h: Likewise.
48732         * sunrpc/rpc/netdb.h: Likewise.
48733         * sunrpc/rpc/pmap_clnt.h: Likewise.
48734         * sunrpc/rpc/xdr.h: Likewise.
48735         * sysdeps/generic/inttypes.h: Likewise.
48736         * sysdeps/generic/net/if.h: Likewise.
48737         * sysdeps/generic/sys/swap.h: Likewise.
48738         * sysdeps/gnu/net/if.h: Likewise.
48739         * sysdeps/gnu/utmpx.h: Likewise.
48740         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48741         * sysdeps/i386/i486/bits/string.h: Likewise.
48742         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48743         * sysdeps/s390/bits/string.h: Likewise.
48744         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48745         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48746         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48747         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48748         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48749         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48750         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48751         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48752         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48753         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48754         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48755         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48756         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48757         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48758         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48759         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48760         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48764         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48765         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48766         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48767         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48768         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48769         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48770         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48772         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48773         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48774         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48775         * sysvipc/sys/ipc.h: Likewise.
48776         * sysvipc/sys/msg.h: Likewise.
48777         * sysvipc/sys/sem.h: Likewise.
48778         * sysvipc/sys/shm.h: Likewise.
48779         * termios/termios.h: Likewise.
48780         * time/sys/time.h: Likewise.
48781         * time/time.h: Likewise.
48782         * wcsmbs/bits/wchar2.h: Likewise.
48783         * wcsmbs/uchar.h: Likewise.
48784         * wcsmbs/wchar.h: Likewise.
48785         * wctype/wctype.h: Likewise.
48786
48787         [BZ #13551]
48788         * Makeconfig: Remove all but ELF support including AIX support.
48789         * Makerules: Likewise.
48790         * config.h.in: Likewise.
48791         * config.make.in: Likewise.
48792         * configure: Likewise.
48793         * configure.in: Likewise.
48794         * csu/Makefile: Likewise.
48795         * csu/version.c: Likewise.
48796         * debug/Makefile: Likewise.
48797         * dlfcn/Makefile: Likewise.
48798         * elf/Makefile: Likewise.
48799         * extra-lib.mk: Likewise.
48800         * iconv/Makefile: Likewise.
48801         * include/libc-symbols.h: Likewise.
48802         * include/shlib-compat.h: Likewise.
48803         * resolv/Makefile: Likewise.
48804         * resolv/res_libc.c: Likewise.
48805         * rt/Makefile: Likewise.
48806         * sysdeps/i386/asm-syntax.h: Likewise.
48807         * sysdeps/i386/sysdep.h: Likewise.
48808         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48809         * sysdeps/mach/sysdep.h: Likewise.
48810         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48811         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48812         * sysdeps/s390/asm-syntax.h: Likewise.
48813         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48815         * sysdeps/sh/sysdep.h: Likewise.
48816         * sysdeps/unix/sparc/sysdep.h: Likewise.
48817         * sysdeps/wordsize-32/divdi3.c: Likewise.
48818         * sysdeps/x86_64/sysdep.h: Likewise.
48819
48820         * argp/Versions: Remove _argp_unlock_xxx.
48821
48822         [BZ #13559]
48823         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48824         * abilist/libBrokenLocale.abilist: Likewise.
48825         * abilist/libanl.abilist: Likewise.
48826         * abilist/libc.abilist: Likewise.
48827         * abilist/libcrypt.abilist: Likewise.
48828         * abilist/libdl.abilist: Likewise.
48829         * abilist/libm.abilist: Likewise.
48830         * abilist/libnsl.abilist: Likewise.
48831         * abilist/libpthread.abilist: Likewise.
48832         * abilist/libresolv.abilist: Likewise.
48833         * abilist/librt.abilist: Likewise.
48834         * abilist/libthread_db.abilist: Likewise.
48835         * abilist/libutil.abilist: Likewise.
48836         * abilist/libnss_db.abilist: New file.
48837
48838         * scripts/abilist.awk: Add support for indirect functions.
48839
48840         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48841
48842         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48843
48844         * shlib-versions: Remove entries for ports architectures.
48845
48846         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48847         files in ports.
48848         * elf/stackguard-macros.h: Remove support for IA-64.
48849         * elf/tst-auditmod1.c: Likewise.
48850         * sysdeps/generic/ldsodefs.h: Likewise.
48851
48852         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48853         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48854         configure files.
48855
48856         [BZ #13552]
48857         * configure.in: Remove --enable-omitfp support.
48858         * FAQ.in: Adjust.
48859         * config.make.in: Likewise.
48860         * Makeconfig: Likewise.
48861         * manual/install.texi: Likewise.
48862
48863         In case anyone cares, the IA-64 architecture could move to ports.
48864         * sysdeps/ia64/*: Removed.
48865         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48866         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48867
48868         [BZ #13555]
48869         * configure.in: Remove entries for unsupported architectures.
48870
48871         [BZ #13533]
48872         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48873         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48874         routines.
48875         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48876         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48877         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48878         fall back to using wcrtomb.
48879         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48880         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48881         renaming.
48882         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48883         * wcsmbs/tst-c16c32-1.c: New file.
48884
48885         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48886         local variable.
48887
48888         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48889
48890         * elf/tst-unique3.cc: Add explicit declaration of gets.
48891         * elf/tst-unique3lib.cc: Likewise.
48892         * elf/tst-unique3lib2.cc: Likewise.
48893         * elf/tst-unique4.cc: Likewise.
48894
48895         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48896
48897 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48898
48899         [BZ #13566]
48900         * assert/assert.h (static_assert): Don't define for C++.
48901         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48902         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48903
48904 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48905
48906         * iconv/loop.c (single loop): Fix assertion in storing of
48907         remaining bytes.
48908
48909         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48910
48911 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48912
48913         * posix/getconf.c: Update copyright year.
48914         * nss/getent.c: Likewise.
48915         * nss/makedb.c: Likewise.
48916         * iconv/iconvconfig.c: Likewise.
48917         * iconv/iconv_prog.c: Likewise.
48918         * elf/ldconfig.c: Likewise.
48919         * elf/pldd.c: Likewise.
48920         * elf/sotruss.ksh: Likewise.
48921         * catgets/gencat.c: Likewise.
48922         * csu/version.c: Likewise.
48923         * elf/ldd.bash.in: Likewise.
48924         * elf/sprof.c (print_version): Likewise.
48925         * locale/programs/locale.c: Likewise.
48926         * locale/programs/localedef.c: Likewise.
48927         * login/programs/pt_chown.c: Likewise.
48928         * nscd/nscd.c (print_version): Likewise.
48929         * debug/xtrace.sh: Likewise.
48930         * malloc/memusage.sh: Likewise.
48931         * malloc/mtrace.pl: Likewise.
48932         * debug/catchsegv.sh: Likewise.
48933
48934 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48935
48936         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48937         pure attribute.
48938
48939 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48940
48941         [BZ #13533]
48942         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48943         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48944         transformations.
48945         * iconv/gconv_int.h: Likewise.
48946         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48947         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48948         from libc for GLIBC_2.16.
48949         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48950         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48951         * wcsmbs/uchar.h: Really define mbstate_t.
48952         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48953         * wcsmbs/c16rtomb.c: New file.
48954         * wcsmbs/mbrtoc16.c: New file.
48955         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48956         for C/POSIX locale.
48957         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48958         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48959
48960         * wcsmbs/wchar.h: Add missing __restrict.
48961
48962 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48963
48964         [BZ #13532]
48965         * time/Makefile (routines): Add timespec_get.
48966         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48967         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48968         timespec for ISO C11.
48969         * time/timespec_get.c: New file.
48970         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48971         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48972
48973         [BZ #13531]
48974         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48975         * stdlib/stdlib.h: Declare aligned_alloc.
48976         * Versions.def: Add GLIBC_2.16 for libc.
48977         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48978
48979         [BZ 13527]
48980         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48981         ISO C11.
48982
48983         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48984         code.
48985
48986         [BZ #13528]
48987         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48988
48989         [BZ #13529]
48990         * assert/assert.h (static_assert): Define.
48991
48992         * version.h: Update for 2.16 development version.
48993
48994         [BZ #13526]
48995         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48996         _ISOC11_SOURCE.
48997
48998         * version.h (RELEASE): Bump for 2.15 release.
48999         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49000
49001         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49002         Patch by Marek Polacek <mpolacek@redhat.com>.
49003
49004         * bits/byteswap.h: Protect long long constants with __extension__.
49005         * sysdeps/i386/bits/byteswap.h: Likewise.
49006         * sysdeps/ia64/bits/byteswap.h: Likewise.
49007         * sysdeps/s390/bits/byteswap.h: Likewise.
49008         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49009
49010 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49011
49012         [BZ #13540]
49013         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49014         destination buffer.
49015         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49016
49017 2011-12-23  Marek Polacek  <polacek@redhat.com>
49018
49019         * elf/dl-addr.c (determine_info): Add inline keyword.
49020         * elf/tst-auditmod4b.c (check_avx): Likewise.
49021         * elf/tst-auditmod6b.c (check_avx): Likewise.
49022         * elf/tst-auditmod6c.c (check_avx): Likewise.
49023         * elf/tst-auditmod7b.c (check_avx): Likewise.
49024
49025 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49026
49027         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49028         !__SSE_MATH__.
49029
49030 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49031
49032         [BZ #13540]
49033         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49034         processing for last bytes.
49035
49036 2011-08-06  Bruno Haible  <bruno@clisp.org>
49037
49038         [BZ #13061]
49039         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49040         U+0385, not to U+1FEE.
49041
49042         [BZ #13062]
49043         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49044         entry for U+00A5 U+0301.
49045
49046 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49047
49048         [BZ #13166]
49049         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49050         buffer for the output is too small.
49051
49052         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49053         optimization.
49054
49055         [BZ #13185]
49056         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49057         SSE flags if possible.
49058
49059 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49060
49061         [BZ #13540]
49062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49063         processing for last bytes.
49064
49065 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49066
49067         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49068         (syscall-list-default-options, syscall-list-default-condition)
49069         (syscall-list-includes): Define.
49070         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49071         list of ABIs and options and #if conditions for each ABI.  Do not
49072         handle common syscalls between ABIs specially.
49073         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49074         Remove.
49075         (syscall-list-variants, syscall-list-32bit-options)
49076         (syscall-list-32bit-condition, syscall-list-64bit-options)
49077         (syscall-list-64bit-condition): Define.
49078         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49079         (syscall-list-variants, syscall-list-32bit-options)
49080         (syscall-list-32bit-condition, syscall-list-64bit-options)
49081         (syscall-list-64bit-condition): Define.
49082         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49083         Remove.
49084         (syscall-list-variants, syscall-list-32bit-options)
49085         (syscall-list-32bit-condition, syscall-list-64bit-options)
49086         (syscall-list-64bit-condition): Define.
49087         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49088         Remove.
49089         (syscall-list-variants, syscall-list-32bit-options)
49090         (syscall-list-32bit-condition, syscall-list-64bit-options)
49091         (syscall-list-64bit-condition): Define.
49092
49093 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49094
49095         * locale/iso-639.def: Add brx entry.
49096
49097         [BZ #13328]
49098         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49099         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49100
49101         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49102         __feraiseexcept_renamed.
49103
49104 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49105
49106         [BZ #13538]
49107         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49108         EPOLLET with unsigned values.
49109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49110         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49111
49112         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49113         to large cancellation.
49114         * math/s_cacoshf.c: Likewise.
49115         * math/s_cacoshl.c: Likewise.
49116
49117 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49118
49119         [BZ #13305]
49120         [BZ #12786]
49121         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49122         * math/s_cacoshf.c: Likewise.
49123         * math/s_cacoshl.c: Likewise.
49124
49125 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49126
49127         [BZ #13439]
49128         * iconv/gconv.h: Define __GCONV_SWAP.
49129         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49130         * iconvdata/utf-16.c: Likewise.
49131         * iconvdata/utf-32.c: Likewise.
49132
49133 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49134
49135         [BZ #13524]
49136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49137         numerator after shifting it by one limb.
49138
49139 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49140
49141         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49142         under [__USE_EXTERN_INLINES].
49143
49144 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49145
49146         [BZ #13446]
49147         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49148
49149 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49150
49151         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49152         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49153         optimized code.
49154         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49155         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49156         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49157         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49158         for strncasecmp/strncasecmp_l compilation.
49159         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49160         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49161
49162 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49163
49164         [BZ #13484]
49165         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49166         of __asm__.
49167
49168 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49169
49170         [BZ #13506]
49171         * time/tzfile.c (__tzfile_read): Check values from file header.
49172
49173 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49174
49175         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49176         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49177         * powerpc/powerpc32/dl-start.S: Likewise.
49178         * powerpc/powerpc32/elf/start.S: Likewise.
49179         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49180         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49181         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49182         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49183         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49184         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49185         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49186         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49187         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49188         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49189         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49190         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49191         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49192         * powerpc/powerpc32/memset.S: Likewise.
49193         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49194         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49195         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49196         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49197         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49198         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49199         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49200         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49201         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49202         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49203         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49204         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49205         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49206
49207 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49208
49209         * math/libm-test.inc: Added more nearbyint tests.
49210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49211         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49213         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49214
49215 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49216
49217         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49218         FD_CLOEXEC.
49219
49220 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49221
49222         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49223         Add wcscpy-ssse3 wcscpy-c.
49224         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49225         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49226         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49227         * sysdeps/x86_64/wcschr.S: New file.
49228         * sysdeps/x86_64/wcsrchr.S: New file.
49229         * string/test-strcmp.c: Remove checking of wcscmp function for
49230         wrong alignments.
49231         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49232         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49233         wcsrchr-sse2 wcsrchr-c.
49234         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49235         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49236         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49237         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49238         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49239         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49240         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49241         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49242         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49243         * wcsmbc/wcschr.c (WCSCHR): New macro.
49244
49245 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49246
49247         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49248         * wcsmbs/test-wcsrchr.c: New file.
49249         * string/test-strrchr.c: Add wcsrchr support.
49250         (WIDE): New macro.
49251         * wcsmbs/test-wcscpy.c: New file.
49252         * string/test-strcpy.c: Add wcscpy support.
49253         (WIDE): New macro.
49254
49255 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49256
49257         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49258         the inner loop.
49259
49260 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49261
49262         [BZ #13472]
49263         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49264
49265 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49266
49267         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49268         Minor optimizations.
49269
49270         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49271         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49272         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49273
49274 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49275
49276         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49277         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49278         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49279         for gcc to avoid warnings.
49280         * inet/Makefile (tests): Add tst-checks.
49281         * inet/tst-checks.c: New file.
49282
49283         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49284         warning.
49285
49286         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49287         __wmemcmp_sse2.
49288
49289         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49290         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49291
49292         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49293
49294 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49295
49296         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49297         problem.
49298
49299         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49300
49301 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49302
49303         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49304         conditional on GCC version.
49305         (__arch_compare_and_exchange_val_8_acq)
49306         (__arch_compare_and_exchange_val_16_acq)
49307         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49308         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49309         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49310
49311 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49312
49313         * sysdeps/sh/backtrace.c: New file.
49314
49315 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49316
49317         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49318         parenthesis.
49319
49320 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49321
49322         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49323         falling back to utime.
49324
49325 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49326
49327         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49328         expectations for float.
49329
49330 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49331
49332         * locale/weight.h (findidx): Add parameter len.
49333         * locale/weightwc.h (findidx): Likewise.
49334         * posix/fnmatch_loop.c (FCT): Adjust caller.
49335         * posix/regcomp.c (build_equiv_class): Likewise.
49336         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49337         * posix/regexec.c (check_node_accept_bytes): Likewise.
49338         * string/strcoll_l.c (STRCOLL): Likewise.
49339         * string/strxfrm_l.c (STRXFRM): Likewise.
49340
49341 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49342
49343         * Makefile.in: Remove CVSOPT handling.
49344         * configure.in: Remove use of AC_REVISION.
49345         * iconvdata/Makefile (distribute): No need to filter out CVS.
49346         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49347         handling.
49348
49349 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49350
49351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49352         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49353         [USE_AS_STRNCASECMP_L]: Likewise.
49354         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49355         NO_TLS_DIRECT_SEG_REFS.
49356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49357         Fix argument offsets for non-PIC.
49358         [USE_AS_STRNCASECMP_L]: Likewise.
49359         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49360         NO_TLS_DIRECT_SEG_REFS.
49361
49362 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49363
49364         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49365         O_CLOEXEC.
49366         * locale/loadlocale.c (_nl_load_locale): Likewise.
49367
49368 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49369
49370         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49371         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49372         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49373         (SYSCALL_GETTIME): Set errno on error.
49374
49375         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49376         count references to noai6ai_cached.
49377
49378 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49379
49380         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49381
49382         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49383         FD_CLOEXEC for /proc/self/maps.
49384
49385         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49386         FD_CLOEXEC for /proc/meminfo.
49387
49388         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49389         gai.conf.
49390
49391         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49392         FD_CLOEXEC for given file.
49393
49394         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49395
49396         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49397         FD_CLOEXEC for /etc/hosts.
49398         (_gethtent): Likewise.
49399
49400         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49401
49402         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49403         cancellation and set FD_CLOEXEC for /etc/netgroup.
49404
49405         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49406         reading /etc/publickey.
49407
49408         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49409         allow cancellation when reading /etc/group.
49410
49411         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49412         cancellation.
49413         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49414
49415         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49416         when using data file.
49417
49418         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49419
49420         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49421         (write_nis_obj): Use "c" and "e" in fopen.
49422
49423         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49424
49425         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49426
49427         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49428
49429         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49430
49431         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49432         locale.alias.
49433
49434         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49435
49436         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49437
49438         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49439
49440         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49441         file parsing and set FD_CLOEXEC.
49442
49443 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49444
49445         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49446
49447 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49448
49449         * malloc/arena.c (arena_get2): Don't call reused_arena when
49450         _int_new_arena failed.
49451
49452 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49453
49454         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49455         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49456         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49457         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49458         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49460         to compile strcasecmp and strncasecmp.
49461         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49462         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49463
49464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49465
49466 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49467
49468         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49469         locale-defines.sym to gen-as-const-headers.
49470         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49471         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49473         to compile strcasecmp and strncasecmp.
49474         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49475         strcasecmp_l and strncasecmp_l.
49476         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49477         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49478         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49479         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49480         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49481         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49482         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49483         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49484         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49485         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49486         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49487
49488 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49489
49490         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49491         result of SYSDEP_GETTIME_CPU to retval.
49492         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49493         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49494
49495         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49496         variable.
49497
49498         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49499         mantissa words.
49500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49501
49502         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49503         from unused variable.
49504
49505         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49506         DWARF definitions.
49507         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49508         for assembling.
49509
49510         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49511         over namespaces.
49512
49513         * sunrpc/rpc_prot.c (rejected): Fix case value.
49514
49515         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49516         unsigned long long int to avoid warnings in shift.
49517
49518         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49519         of use of trans.
49520         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49521         variable tmp.
49522
49523         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49524         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49525         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49526
49527         * nis/nis_table.c (nis_list): Use variable of correct type for
49528         result of __follow_path call.
49529
49530 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49531
49532         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49533         of math functions ceil, trunc, floor, round, and sqrt, when
49534         avaliable on the platform.
49535         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49536         name clash.
49537         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49538         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49539         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49540
49541 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49542
49543         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49544         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49545
49546 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49547
49548         * include/unistd.h: Fix __readlink return type.
49549         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49550
49551 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49552
49553         * stdlib/ucontext.h: Undo last change for makecontext.
49554
49555 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49556
49557         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49558
49559         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49560         * setjmp/setjmp.h: Mark functions as non-leaf.
49561         * setjmp/bits/setjmp2.h: Likewise.
49562         * stdlib/ucontext.h: Likewise.
49563
49564 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49565
49566         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49567         (reused_arena): Don't check arena limit.
49568         (arena_get2): Atomically check arena limit.
49569
49570 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49571
49572         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49573         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49574
49575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49576         instructions.
49577
49578 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49579
49580         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49581         handler when locking.
49582
49583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49584         Fix size of allocated buffer.
49585
49586 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49587
49588         [BZ #10103]
49589         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49590         declarations for long double functions.
49591         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49592
49593         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49594
49595 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49596
49597         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49598         installed.
49599
49600         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49601         is disabled.
49602
49603 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49604
49605         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49606
49607 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49608
49609         * include/alloca.h (stackinfo_alloca_round): Define.
49610         (extend_alloca): Use it.
49611         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49612         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49613         here.
49614
49615         * scripts/check-local-headers.sh: Ignore libaudit.h.
49616
49617         * nscd/Makefile (extra-objs): Make recursively expanded.
49618
49619 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49620
49621         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49622         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49623
49624         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49625         * posix/tst-rfc3484-2.c: Likewise.
49626         * posix/tst-rfc3484-3.c: Likewise.
49627
49628         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49629         process_vm_writev.
49630         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49631         process_vm_writev.
49632         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49633         process_vm_writev from libc using GLIBC_2.15 version.
49634
49635         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49636
49637 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49638
49639         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49640         stack usage.
49641
49642 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49643
49644         [BZ #13367]
49645         * nss/getent.c (initgroups_keys): Show error message in case no group
49646         names are given.
49647
49648         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49649         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49650         __bump_nl_timestamp.
49651         * nscd/connections (nscd_init): When host database is served open
49652         netlink socket and request notification about configuration changes.
49653         (main_loop_poll): Track netlink file descriptor and bump timestamp
49654         in case data becomes available.
49655         (main_loop_epoll): Likewise.
49656         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49657         (database_pers_head): Add extra_data fileds.
49658         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49659         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49660         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49661         Adjust caller.
49662         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49663         in6ai data, call __free_in6ai.
49664         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49665         Add -DHAVE_NETLINK.
49666         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49667         interface information.  Reuse previous data if netlink timestamp
49668         is not changed.
49669         (__bump_nl_timestamp): New function.
49670         (__free_in6ai): New function.
49671
49672 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49673
49674         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49675         close_not_cancel_no_status here.
49676         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49677
49678 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49679
49680         [BZ #13276]
49681         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49682         return value.
49683
49684         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49685         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49686         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49687
49688 2011-07-03  Andreas Jaeger  <aj@suse.de>
49689
49690         [BZ #10709]
49691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49692         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49693         * math/libm-test.inc (sin_test): Add test case.
49694
49695 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49696
49697         [BZ #13337]
49698         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49699         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49700
49701         * elf/chroot_canon.c (chroot_canon): Cleanups.
49702
49703         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49704
49705         [BZ #13335]
49706         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49707         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49708
49709         * string/test-strchr.c: Make usable for strchrnul testing.
49710         * string/test-strchrnul.c: New file.
49711         * string/Makefile (strop-tests): Add strchrnul.
49712
49713         * po/it.po: Update from translation team.
49714         * po/es.po: Likewise.
49715
49716 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49717
49718         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49719         the three constants needed as parameters.  Drop the others.
49720         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49721         __m128i_strloadu_tolower.
49722         Create and initialize variable zero and use it in all the places
49723         where _mm_setzero_si128 was used.
49724
49725         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49726         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49727         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49728         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49729         anymore.
49730         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49731         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49732         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49733         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49734         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49735         __mpranred, __mptan.
49736         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49737         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49738         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49739         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49740         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49741         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49743         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49744         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49745
49746 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49747
49748         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49749         redefine if SHARED.
49750         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49751
49752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49753         wide char related routines to wcsmbs subdir.
49754
49755 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49756
49757         [BZ #13344]
49758         * misc/sys/cdefs.h (__THROWNL): Define.
49759         * posix/unistd.h: Use __THREADNL instead of __THREAD
49760         for memory synchronization functions.
49761
49762 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49763
49764         [BZ #13349]
49765         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49766         doesn't exist.
49767         * manual/stdio.texi (Obstack Streams): Node removed.
49768
49769 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49770
49771         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49772         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49773         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49774
49775         * math/math_private.h (math_force_eval): Allow non-addressable
49776         arguments.
49777         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49778
49779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49780
49781         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49782         file is not needed.
49783
49784         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49786         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49787         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49788         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49790         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49791         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49792         Add AVX variants.
49793         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49794         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49795         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49796         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49797         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49798         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49799         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49800         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49801         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49802         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49803         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49804         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49805         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49806         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49807         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49808         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49809         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49810         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49811         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49812
49813         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49814         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49815
49816         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49817         place.  Use VEX encoding when compiling for AVX.
49818
49819 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49820
49821         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49822         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49823
49824         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49825
49826 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49827
49828         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49829         useless if() expression.
49830         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49831         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49832         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49834         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49835         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49836         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49837         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49838         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49839         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49840         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49842         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49843         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49844         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49845         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49846         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49847         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49848         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49849
49850         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49851
49852 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49853
49854         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49855         condition.
49856         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49857
49858 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49859
49860         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49861         .text section.  Avoid duplicate constants.
49862         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49864         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49866         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49870         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49871         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49872         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49874         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49875         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49876         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49877         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49878         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49879         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49880         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49882         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49883         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49884         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49885         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49886         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49887         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49888         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49889         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49890         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49891         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49892         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49893         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49894         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49895         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49896         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49897         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49898         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49899         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49900         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49901         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49902         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49903         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49904         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49905         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49906         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49907
49908 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49909
49910         * sysdeps/x86_64/dla.h: Move to ...
49911         * sysdeps/x86_64/fpu/dla.h: ...here.
49912         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49913         situations.  Use __builtin_fma only for gcc 4.6 and up.
49914
49915         * config.make.in: Add have-mfma4 entry.
49916         * configure.in: Substitute libc_cv_cc_fma4.
49917         * math/Makefile (dbl-only-routines): Add sincostab.
49918         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49919         Use __sincostab not sincos.
49920         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49921         name is a macro.
49922         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49926         using __copysign.
49927         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49928         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49929         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49930         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49931         and __inv.
49932         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49933         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49934         __copysign.
49935         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49936         define aliases when function name is a macro.
49937         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49938         sysdeps/ieee754/dbl-64/sincos.tbl.
49939         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49940         fma4-enabled routines.
49941         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49942         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49943         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49944         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49945         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49946         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49947         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49948         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49949         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49950         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49951         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49952         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49953         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49954         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49955         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49956         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49957         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49958         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49959         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49960         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49961         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49962         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49963         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49964         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49965         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49967         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49968         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49969         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49970         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49971
49972         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49973         rename.
49974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49982
49983 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49984
49985         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49986
49987 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49988
49989         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49990
49991         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49992         prediction.
49993         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49994
49995         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49996         Remove unused variable magic_bits.
49997         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49998
49999         * string/strnlen.c: Define and use STRNLEN macro.
50000         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50001         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50002         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50003         * wcsmbs/wcslen.c: Define and use WCSLEN.
50004         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50005         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50006         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50007         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50008         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50009         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50010         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50011
50012 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50013
50014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50015         strnlen-sse2-no-bsf.
50016         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50017         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50018         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50019         Add strnlen support.
50020         (USE_AS_STRNLEN): New macro.
50021         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50022         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50023         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50024         * sysdeps/x86_64/wcslen.S: New file.
50025
50026 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50027
50028         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50029         XMM-moves are used for copying on small sizes.
50030
50031 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50032
50033         * wcsmbs/Makefile (strop-tests): Add wcschr.
50034         * wcsmbs/test-wcschr.c: New file.
50035         * string/test-strchr.c: Update.
50036         Add wcschr support.
50037         (WIDE): New macro.
50038
50039 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50040
50041         * wcsmbs/Makefile (strop-tests): Add wcslen.
50042         * wcsmbs/test-wcslen.c: New file.
50043         * string/test-strlen.c: Update.
50044         Add wcslen support.
50045         (WIDE): New macro.
50046
50047 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50048
50049         * po/it.po: Update from translation team.
50050
50051 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50052
50053         * sysdeps/x86_64/wcscmp.S: Update.
50054         Fix wrong comparison semantics.
50055         wcscmp shall use signed comparison not unsigned.
50056         Don't use substraction to avoid overflow bug.
50057         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50058         * wcsmbc/wcscmp.c: Likewise.
50059         * string/test-strcmp.c: Likewise.
50060         Add new tests to check cases with negative values.
50061
50062 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50063
50064         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50065         * sysdeps/x86_64/dla.h: ...here.  New file.
50066         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50067         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50071         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50075
50076 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50077
50078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50079         __ynl_finite aliases.
50080
50081 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50082
50083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50084
50085         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50086         define DLA_FMA.
50087         [DLA_FMA] (EMULV): Use DLA_FMA.
50088         [DLA_FMA] (MUL12): Use EMULV.
50089         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50090         that are not needed.
50091         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50097         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50098
50099 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50100
50101         * math/s_nan.c: Undef __nan.
50102         * math/s_nanf.c: Undef __nanf.
50103         * math/s_nanl.c: Undef __nanl.
50104         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50105         "math_private.h".
50106
50107 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50108
50109         * math/s_catan.c: Add branch predictions.
50110         * math/s_catanf.c: Likewise.
50111         * math/s_catanh.c: Likewise.
50112         * math/s_catanhf.c: Likewise.
50113         * math/s_catanhl.c: Likewise.
50114         * math/s_catanl.c: Likewise.
50115         * math/s_cexp.c: Likewise.
50116         * math/s_cexpf.c: Likewise.
50117         * math/s_cexpl.c: Likewise.
50118         * math/s_clog.c: Likewise.
50119         * math/s_clog10.c: Likewise.
50120         * math/s_clog10f.c: Likewise.
50121         * math/s_clog10l.c: Likewise.
50122         * math/s_clogf.c: Likewise.
50123         * math/s_clogl.c: Likewise.
50124         * math/s_csqrt.c: Likewise.
50125         * math/s_csqrtf.c: Likewise.
50126         * math/s_csqrtl.c: Likewise.
50127         * math/s_ctanf.c: Likewise.
50128         * math/s_ctanh.c: Likewise.
50129         * math/s_ctanhf.c: Likewise.
50130         * math/s_ctanhl.c: Likewise.
50131         * math/s_ctanl.c: Likewise.
50132
50133         * math/math_private.h: Define __nan, __nanf, __nanl.
50134         * math/s_cacosh.c: Include <math_private.h>.
50135         * math/s_cacoshl.c: Likewise.
50136         * math/s_casinh.c: Likewise.
50137         * math/s_casinhf.c: Likewise.
50138         * math/s_casinhl.c: Likewise.
50139         * math/s_ccos.c: Rely entire on ccosh.
50140         * math/s_ccosf.c: Rely entire on ccoshf.
50141         * math/s_ccosl.c: Rely entirely on ccoshl.
50142         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50143         Remove tests for FE_INVALID.
50144         * math/s_ccoshf.c: Likewise.
50145         * math/s_ccoshl.c: Likewise.
50146         * math/s_csin.c: Likewise.
50147         * math/s_csinf.c: Likewise.
50148         * math/s_csinh.c Likewise.
50149         * math/s_csinhf.c: Likewise.
50150         * math/s_csinhl.c: Likewise.
50151         * math/s_csinl.c: Likewise.
50152         * math/s_ctan.c: Likewise.
50153         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50154         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50155         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50156
50157 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50158
50159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50160         compilation problems.
50161
50162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50163         __builtin_expect.
50164
50165 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50166
50167         * sysdeps/i386/configure.in: Test for -mfma4 option.
50168         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50169         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50170         COMMON_CPUID_INDEX_80000001.
50171         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50172         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50173         use it if FMA3 is not supported.
50174         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50175
50176         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50177         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50178
50179 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50180
50181         [BZ #12892]
50182         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50183         it would create a cycle with a link time dependency.
50184
50185 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50186
50187         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50188         instruction.
50189         * string/Makefile (strop-tests): Add rawmemchr.
50190         * string/test-rawmemchr.c: New file.
50191
50192         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50194         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50195         when compiling str{,n}casecmp and when AVX is available.  Hook up
50196         new optimized code in initializers.
50197
50198 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50199
50200         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50201         __feraiseexcept instead of feraiseexcept.
50202
50203 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50204
50205         * math/math_private.h: Define defaults for libc_fetestexcept and
50206         libc_feupdateenv.
50207         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50208         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50209         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50210         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50211         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50212         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50213         libc_fetestexcept and libc_feupdateenv.
50214
50215         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50216         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50217         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50218         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50219         libc_feholdexcept_setround.
50220
50221         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50222         Add s_nearbyint-c and s_nearbyintf-c.
50223         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50224         nearbyintf inlines.
50225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50226         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50228         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50229
50230         * math/math_private.h: Define defaults for libc_fegetround,
50231         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50232         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50233         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50234         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50235         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50236         standard functions.
50237         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50238         Remove comments and hacks for old compiler versions.
50239         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50240         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50241         libc_feholdexceptl.
50242
50243 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50244
50245         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50246         (__feraiseexcept_renamed): Add __NTH.
50247         (feraiseexcept): Add __NTH.  Rename local variables to fix
50248         namespace violations.
50249
50250 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50251
50252         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50253
50254         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50255
50256         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50257         recently added interfaces.
50258         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50259
50260         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50261         about macro parameter expansion.
50262
50263         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50264         __NO_MATH_INLINES is defined.  Cleanups.
50265
50266         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50267         and __floorf is target has SSE4.1.
50268         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50269         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50270         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50271         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50272
50273         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50274         name.
50275         (floorf): Likewise.
50276
50277         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50278
50279 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50280
50281         * misc/sys/cdefs.h: Fix last change.
50282
50283         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50284         database lookup.
50285
50286 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50287
50288         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50289
50290         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50292         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50293         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50294         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50295         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50296         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50297         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50298         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50299         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50300         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50301         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50302         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50303         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50304         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50305         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50306         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50307         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50308         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50309         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50310         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50311         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50312
50313         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50314         ceil, ceilf, floor, floorf.
50315
50316         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50317         Perform IRELATIVE relocations last.
50318
50319         * elf/do-rel.h: Add another parameter nrelative, replacing the
50320         local variable with the same name.  Change name of the function
50321         to end in Rel or Rela (uppercase).
50322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50323         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50324         elf_dynamic_do_##reloc function.
50325
50326 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50327
50328         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50329         is sufficient, at least on modern CPUs.
50330
50331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50332
50333         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50334         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50335
50336         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50337         __expl_finite.
50338         * math/bits/math-finite.h: Add entries for exp.
50339         * math/e_expl.c: Add __*_finite alias.
50340         * sysdeps/i386/fpu/e_exp.S: Likewise.
50341         * sysdeps/i386/fpu/e_expf.S: Likewise.
50342         * sysdeps/i386/fpu/e_expl.c: Likewise.
50343         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50344         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50345         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50347         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50348         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50349         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50350
50351         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50352         is sufficient, at least on modern CPUs.
50353
50354         * ctype/ctype-info.c (__ctype_init): Define.
50355         * include/ctype.h (__ctype_init): Declare.
50356         (__ctype_b_loc): The variable is always initialized.
50357         (__ctype_toupper_loc): Likewise.
50358         (__ctype_tolower_loc): Likewise.
50359         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50360         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50361
50362 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50363
50364         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50365
50366         * configure.in: Also look in $cxxmachine/include for C++ system
50367         headers.
50368
50369 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50370
50371         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50372         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50373         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50374         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50375         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50376         (USE_AS_WMEMCMP): New macro.
50377         Fixing indents.
50378         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50379         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50380         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50381         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50383         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50384         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50385         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50386         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50387         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50388         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50389         (USE_AS_WMEMCMP): New macro.
50390         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50391         * sysdeps/string/test-memcmp.c: Update.
50392         Fix simple_wmemcmp.
50393         Add new tests.
50394         * wcsmbs/wmemcmp.c: Update.
50395         (WMEMCMP): New macro.
50396         Fix overflow bug.
50397
50398 2011-10-12  Andreas Jaeger  <aj@suse.de>
50399
50400         [BZ #13268]
50401         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50402
50403 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50404
50405         * libio/iofwide.c (do_length): Avoid warning.
50406
50407         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50408
50409 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50410
50411         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50412
50413         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50414         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50415         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50416         * sysdeps/i386/i686/fpu/e_log.S: New file.
50417         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50418         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50419
50420         * ctype/ctype.h: Add support for inlined isXXX functions when
50421         compiling C++ code.
50422
50423 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50424
50425         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50426
50427         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50428
50429 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50430
50431         [BZ #13291]
50432         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50433
50434 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50435
50436         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50437         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50438         feraiseexcept.
50439
50440         * sysdeps/x86_64/memrchr.S: Check for zero size.
50441
50442         * string/stratcliff.c: Add memrchr tests.
50443
50444 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50445
50446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50447         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50448         rawmemchr-sse2 rawmemchr-sse2-bsf.
50449         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50450         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50451         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50452         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50453         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50454         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50455         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50456         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50458         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50459         * string/memrchr.c (MEMRCHR): New macro.
50460
50461 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50462
50463         Add integration with gcc's -ffinite-math-only and optimize wrapper
50464         functions in libm.
50465         * Versions.def: Define GLIBC_2.15 version for libm.
50466         * math/Makefile (headers): Add bits/math-finite.h.
50467         * math/bits/math-finite.h: New file.
50468         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50469         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50470         * math/e_acoshl.c: Add __*_finite alias.
50471         * math/e_acosl.c: Likewise.
50472         * math/e_asinl.c: Likewise.
50473         * math/e_atan2l.c: Likewise.
50474         * math/e_atanhl.c: Likewise.
50475         * math/e_coshl.c: Likewise.
50476         * math/e_exp10.c: Likewise.
50477         * math/e_exp10f.c: Likewise.
50478         * math/e_exp10l.c: Likewise.
50479         * math/e_exp2l.c: Likewise.
50480         * math/e_fmodl.c: Likewise.
50481         * math/e_gammal_r.c: Likewise.
50482         * math/e_hypotl.c: Likewise.
50483         * math/e_j0l.c: Likewise.
50484         * math/e_j1l.c: Likewise.
50485         * math/e_jnl.c: Likewise.
50486         * math/e_lgammal_r.c: Likewise.
50487         * math/e_log10l.c: Likewise.
50488         * math/e_log2l.c: Likewise.
50489         * math/e_logl.c: Likewise.
50490         * math/e_powl.c: Likewise.
50491         * math/e_sinhl.c: Likewise.
50492         * math/e_sqrtl.c: Likewise.
50493         * math/e_scalb.c: Completely rewritten and optimized.
50494         * math/e_scalbf.c: Likewise.
50495         * math/e_scalbl.c: Likewise.
50496         * math/w_acos.c: Likewise.
50497         * math/w_acosf.c: Likewise.
50498         * math/w_acosl.c: Likewise.
50499         * math/w_acosh.c: Likewise.
50500         * math/w_acoshf.c: Likewise.
50501         * math/w_acoshl.c: Likewise.
50502         * math/w_asin.c: Likewise.
50503         * math/w_asinf.c: Likewise.
50504         * math/w_asinl.c: Likewise.
50505         * math/w_atan2.c: Likewise.
50506         * math/w_atan2f.c: Likewise.
50507         * math/w_atan2l.c: Likewise.
50508         * math/w_atanh.c: Likewise.
50509         * math/w_atanhf.c: Likewise.
50510         * math/w_atanhl.c: Likewise.
50511         * math/w_exp10.c: Likewise.
50512         * math/w_exp10f.c: Likewise.
50513         * math/w_exp10l.c: Likewise.
50514         * math/w_fmod.c: Likewise.
50515         * math/w_fmodf.c: Likewise.
50516         * math/w_fmodl.c: Likewise.
50517         * math/w_j0.c: Likewise.
50518         * math/w_j0f.c: Likewise.
50519         * math/w_j0l.c: Likewise.
50520         * math/w_j1.c: Likewise.
50521         * math/w_j1f.c: Likewise.
50522         * math/w_j1l.c: Likewise.
50523         * math/w_jn.c: Likewise.
50524         * math/w_jnf.c: Likewise.
50525         * math/w_log.c: Likewise.
50526         * math/w_logf.c: Likewise.
50527         * math/w_logl.c: Likewise.
50528         * math/w_log10.c: Likewise.
50529         * math/w_log10f.c: Likewise.
50530         * math/w_log10l.c: Likewise.
50531         * math/w_log2.c: Likewise.
50532         * math/w_log2f.c: Likewise.
50533         * math/w_log2l.c: Likewise.
50534         * math/w_pow.c: Likewise.
50535         * math/w_powf.c: Likewise.
50536         * math/w_powl.c: Likewise.
50537         * math/w_remainder.c: Likewise.
50538         * math/w_remainderf.c: Likewise.
50539         * math/w_remainderl.c: Likewise.
50540         * math/w_scalb.c: Likewise.
50541         * math/w_scalbf.c: Likewise.
50542         * math/w_scalbl.c: Likewise.
50543         * math/w_sqrt.c: Likewise.
50544         * math/w_sqrtf.c: Likewise.
50545         * math/w_sqrtl.c: Likewise.
50546         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50547         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50548         used.
50549         * math/math_private.h: Declare __kernel_standard_f.
50550         * math/w_cosh.c: Remove cruft and optimize a bit.
50551         * math/w_coshf.c: Likewise.
50552         * math/w_coshl.c: Likewise.
50553         * math/w_exp2.c: Likewise.
50554         * math/w_exp2f.c: Likewise.
50555         * math/w_exp2l.c: Likewise.
50556         * math/w_hypot.c: Likewise.
50557         * math/w_hypotf.c: Likewise.
50558         * math/w_hypotl.c: Likewise.
50559         * math/w_lgamma.c: Likewise.
50560         * math/w_lgamma_r.c: Likewise.
50561         * math/w_lgammaf.c: Likewise.
50562         * math/w_lgammaf_r.c: Likewise.
50563         * math/w_lgammal.c: Likewise.
50564         * math/w_lgammal_r.c: Likewise.
50565         * math/w_sinh.c: Likewise.
50566         * math/w_sinhf.c: Likewise.
50567         * math/w_sinhl.c: Likewise.
50568         * math/w_tgamma.c: Likewise.
50569         * math/w_tgammaf.c: Likewise.
50570         * math/w_tgammal.c: Likewise.
50571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50572         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50573         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50574         Minor optimizations.  Pretty printing.  Remove cruft.
50575         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50576         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50578         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50579         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50580         * sysdeps/i386/fpu/e_asin.S: Likewise.
50581         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50582         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50583         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50584         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50585         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50586         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50587         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50588         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50589         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50590         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50591         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50592         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50593         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50594         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50595         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50596         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50597         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50598         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50599         * sysdeps/i386/fpu/e_log.S: Likewise.
50600         * sysdeps/i386/fpu/e_log10.S: Likewise.
50601         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50602         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50603         * sysdeps/i386/fpu/e_log2.S: Likewise.
50604         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50605         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50606         * sysdeps/i386/fpu/e_logf.S: Likewise.
50607         * sysdeps/i386/fpu/e_logl.S: Likewise.
50608         * sysdeps/i386/fpu/e_pow.S: Likewise.
50609         * sysdeps/i386/fpu/e_powf.S: Likewise.
50610         * sysdeps/i386/fpu/e_powl.S: Likewise.
50611         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50612         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50613         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50614         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50615         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50616         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50617         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50618         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50619         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50620         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50623         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50624         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50625         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50626         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50627         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50629         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50630         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50631         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50633         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50634         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50636         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50637         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50638         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50639         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50640         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50641         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50642         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50643         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50644         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50645         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50646         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50647         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50648         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50649         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50650         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50651         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50652         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50653         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50654         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50655         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50656         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50657         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50658         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50659         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50660         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50661         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50662         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50664         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50665         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50666         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50667         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50668         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50669         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50670         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50671         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50672         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50673         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50675         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50676         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50677         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50678         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50679         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50682         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50685         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50687         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50688         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50689         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50690         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50691         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50692         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50695         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50697         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50698         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50699         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50700         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50701         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50702         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50703         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50704         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50705         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50706         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50707         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50708         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50709         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50710         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50711         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50712         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50713         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50714         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50715         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50716         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50717         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50718         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50719         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50720         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50721         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50722         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50723         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50724         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50725         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50726         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50728         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50729         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50730         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50731         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50732         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50733         (__isnanf): Likewise.
50734         (__isinf_ns): Likewise.
50735         (__isinf_nsf): Likewise.
50736         (__finite): Likewise.
50737         (__finitef): Likewise.
50738         (__ieee754_sqrt): Define as macro.
50739         (__ieee754_sqrtf): Define as macro.
50740         (__ieee754_sqrtl): Define as macro.
50741         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50742         inlined copy.
50743         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50744         __FINITE_MATH_ONLY__ consistent.
50745         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50746
50747 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50748
50749         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50750         of rawmemchr.
50751
50752         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50753
50754 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50755
50756         * po/ja.po: Update from translation team.
50757
50758 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50759
50760         * locale/programs/locarchive.c (prepare_address_space): New function.
50761         (create_archive, enlarge_archive, open_archive): Use it.
50762
50763         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50764         inside [SHARED], where it is used.
50765
50766         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50767
50768         * nss/getent.c (netgroup_keys): Remove unused variable.
50769         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50770
50771 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50772
50773         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50774         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50776         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50777         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50778         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50779         * math/Makefile (libm-calls): Add s_isinf_ns.
50780         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50781         * math/multc3.c: Likewise.
50782         * math/s_casin.c: Likewise.
50783         * math/s_casinf.c: Likewise.
50784         * math/s_casinl.c: Likewise.
50785         * math/s_ccos.c: Likewise.
50786         * math/s_ccosf.c: Likewise.
50787         * math/s_ccosl.c: Likewise.
50788         * math/s_ctan.c: Likewise.
50789         * math/s_ctanf.c: Likewise.
50790         * math/s_ctanh.c: Likewise.
50791         * math/s_ctanhf.c: Likewise.
50792         * math/s_ctanhl.c: Likewise.
50793         * math/s_ctanl.c: Likewise.
50794         * math/w_fmod.c: Likewise.
50795         * math/w_fmodf.c: Likewise.
50796         * math/w_fmodl.c: Likewise.
50797         * math/w_remainder.c: Likewise.
50798         * math/w_remainderf.c: Likewise.
50799         * math/w_remainderl.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50801         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50804         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50805         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50806         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50807         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50808
50809         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50810         of the number.
50811         * stdio-common/printf_fphex.c: Likewise.
50812         * stdio-common/printf_size.c: Likewise.
50813
50814         * math/e_exp10.c: Include math_private.h using <...> not "...".
50815         * math/e_exp10f.c: Likewise.
50816         * math/e_exp10l.c: Likewise.
50817         * math/e_exp2l.c: Likewise.
50818         * math/e_j0l.c: Likewise.
50819         * math/e_j1l.c: Likewise.
50820         * math/e_jnl.c: Likewise.
50821         * math/e_lgammal_r.c: Likewise.
50822         * math/e_rem_pio2l.c: Likewise.
50823         * math/e_scalb.c: Likewise.
50824         * math/e_scalbf.c: Likewise.
50825         * math/e_scalbl.c: Likewise.
50826         * math/k_cosl.c: Likewise.
50827         * math/k_sinl.c: Likewise.
50828         * math/k_tanl.c: Likewise.
50829         * math/s_cacoshf.c: Likewise.
50830         * math/s_catan.c: Likewise.
50831         * math/s_catanf.c: Likewise.
50832         * math/s_catanh.c: Likewise.
50833         * math/s_catanhf.c: Likewise.
50834         * math/s_catanhl.c: Likewise.
50835         * math/s_catanl.c: Likewise.
50836         * math/s_ccosh.c: Likewise.
50837         * math/s_ccoshf.c: Likewise.
50838         * math/s_ccoshl.c: Likewise.
50839         * math/s_cexp.c: Likewise.
50840         * math/s_cexpf.c: Likewise.
50841         * math/s_cexpl.c: Likewise.
50842         * math/s_clog.c: Likewise.
50843         * math/s_clog10.c: Likewise.
50844         * math/s_clog10f.c: Likewise.
50845         * math/s_clog10l.c: Likewise.
50846         * math/s_clogf.c: Likewise.
50847         * math/s_clogl.c: Likewise.
50848         * math/s_csin.c: Likewise.
50849         * math/s_csinf.c: Likewise.
50850         * math/s_csinh.c: Likewise.
50851         * math/s_csinhf.c: Likewise.
50852         * math/s_csinhl.c: Likewise.
50853         * math/s_csinl.c: Likewise.
50854         * math/s_csqrt.c: Likewise.
50855         * math/s_csqrtf.c: Likewise.
50856         * math/s_csqrtl.c: Likewise.
50857         * math/s_ctan.c: Likewise.
50858         * math/s_ctanf.c: Likewise.
50859         * math/s_ctanh.c: Likewise.
50860         * math/s_ctanhf.c: Likewise.
50861         * math/s_ctanhl.c: Likewise.
50862         * math/s_ctanl.c: Likewise.
50863         * math/s_ldexp.c: Likewise.
50864         * math/s_ldexpf.c: Likewise.
50865         * math/s_ldexpl.c: Likewise.
50866         * math/s_significand.c: Likewise.
50867         * math/s_significandf.c: Likewise.
50868         * math/s_significandl.c: Likewise.
50869         * math/w_acos.c: Likewise.
50870         * math/w_acosf.c: Likewise.
50871         * math/w_acosh.c: Likewise.
50872         * math/w_acoshf.c: Likewise.
50873         * math/w_acoshl.c: Likewise.
50874         * math/w_acosl.c: Likewise.
50875         * math/w_asin.c: Likewise.
50876         * math/w_asinf.c: Likewise.
50877         * math/w_asinl.c: Likewise.
50878         * math/w_atan2.c: Likewise.
50879         * math/w_atan2f.c: Likewise.
50880         * math/w_atan2l.c: Likewise.
50881         * math/w_atanh.c: Likewise.
50882         * math/w_atanhf.c: Likewise.
50883         * math/w_atanhl.c: Likewise.
50884         * math/w_cosh.c: Likewise.
50885         * math/w_coshf.c: Likewise.
50886         * math/w_coshl.c: Likewise.
50887         * math/w_dremf.c: Likewise.
50888         * math/w_exp10.c: Likewise.
50889         * math/w_exp10f.c: Likewise.
50890         * math/w_exp10l.c: Likewise.
50891         * math/w_exp2.c: Likewise.
50892         * math/w_exp2f.c: Likewise.
50893         * math/w_fmod.c: Likewise.
50894         * math/w_fmodf.c: Likewise.
50895         * math/w_fmodl.c: Likewise.
50896         * math/w_hypot.c: Likewise.
50897         * math/w_hypotf.c: Likewise.
50898         * math/w_hypotl.c: Likewise.
50899         * math/w_j0.c: Likewise.
50900         * math/w_j0f.c: Likewise.
50901         * math/w_j0l.c: Likewise.
50902         * math/w_j1.c: Likewise.
50903         * math/w_j1f.c: Likewise.
50904         * math/w_j1l.c: Likewise.
50905         * math/w_jn.c: Likewise.
50906         * math/w_jnf.c: Likewise.
50907         * math/w_jnl.c: Likewise.
50908         * math/w_lgamma.c: Likewise.
50909         * math/w_lgamma_r.c: Likewise.
50910         * math/w_lgammaf.c: Likewise.
50911         * math/w_lgammaf_r.c: Likewise.
50912         * math/w_lgammal.c: Likewise.
50913         * math/w_lgammal_r.c: Likewise.
50914         * math/w_log.c: Likewise.
50915         * math/w_log10.c: Likewise.
50916         * math/w_log10f.c: Likewise.
50917         * math/w_log10l.c: Likewise.
50918         * math/w_log2.c: Likewise.
50919         * math/w_log2f.c: Likewise.
50920         * math/w_log2l.c: Likewise.
50921         * math/w_logf.c: Likewise.
50922         * math/w_logl.c: Likewise.
50923         * math/w_pow.c: Likewise.
50924         * math/w_powf.c: Likewise.
50925         * math/w_powl.c: Likewise.
50926         * math/w_remainder.c: Likewise.
50927         * math/w_remainderf.c: Likewise.
50928         * math/w_remainderl.c: Likewise.
50929         * math/w_scalb.c: Likewise.
50930         * math/w_scalbf.c: Likewise.
50931         * math/w_scalbl.c: Likewise.
50932         * math/w_sinh.c: Likewise.
50933         * math/w_sinhf.c: Likewise.
50934         * math/w_sinhl.c: Likewise.
50935         * math/w_sqrt.c: Likewise.
50936         * math/w_sqrtf.c: Likewise.
50937         * math/w_sqrtl.c: Likewise.
50938         * math/w_tgamma.c: Likewise.
50939         * math/w_tgammaf.c: Likewise.
50940         * math/w_tgammal.c: Likewise.
50941
50942         * po/ja.po: Update from translation team.
50943
50944 2011-09-29  Andreas Jaeger  <aj@suse.de>
50945
50946         [BZ #13179]
50947         * sunrpc/netname.c (netname2host): Fix logic.
50948
50949         [BZ #6779]
50950         [BZ #6783]
50951         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50952         correctly.
50953         * math/w_remainder.c (__remainder): Likewise.
50954         * math/w_remainderf.c (__remainderf): Likewise.
50955         * math/libm-test.inc (remainder_test): Add test cases.
50956
50957 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50958
50959         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50960         sdiv_qrnnd.
50961
50962 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50963
50964         * string/test-memcmp.c: Avoid unncessary #defines.
50965         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50966
50967 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50968
50969         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50970         Use new sse2 version for core i3 - i7 as it's faster
50971         than sse42 version.
50972         (bit_Prefer_PMINUB_for_stringop): New.
50973         * sysdeps/x86_64/rawmemchr.S: Update.
50974         Replace with faster SSE2 version.
50975         * sysdeps/x86_64/memrchr.S: New file.
50976         * sysdeps/x86_64/memchr.S: Update.
50977         Replace with faster SSE2 version.
50978
50979 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50980
50981         * elf/dl-load.c (lose): Add cast to avoid warning.
50982
50983 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50984
50985         * po/ca.po: Update from translation team.
50986
50987         * inet/getnetgrent_r.c: Hook up nscd.
50988         * nscd/Makefile (routines): Add nscd_netgroup.
50989         (nscd-modules): Add netgroupcache.
50990         (CFLAGS-netgroupcache.c): Define.
50991         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50992         (cache_search): Add const to second parameter.
50993         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50994         INNETGR.
50995         (dbs): Add netgrdb entry.
50996         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50997         (verify_persistent_db): Handle netgrdb.
50998         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50999         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51000         GETFDNETGR.
51001         (netgroup_response_header): Define.
51002         (innetgroup_response_header): Define.
51003         (datahead): Add netgroup_response_header and innetgroup_response_header
51004         elements.
51005         * nscd/nscd.conf: Add entries for netgroup cache.
51006         * nscd/nscd.h (dbtype): Add netgrdb.
51007         (_PATH_NSCD_NETGROUP_DB): Define.
51008         (netgroup_iov_disabled): Declare.
51009         (xmalloc, xcalloc, xrealloc): Move declarations here.
51010         (cache_search): Adjust prototype.
51011         Add netgroup-related prototypes.
51012         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51013         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51014         (__nscd_innetgr): Declare.
51015         * nscd/selinux.c (perms): Use access_vector_t as element type and
51016         add netgroup-related initializers.
51017         * nscd/netgroupcache.c: New file.
51018         * nscd/nscd_netgroup.c: New file.
51019         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51020         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51021         For four parameters use innetgr.
51022         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51023         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51024         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51025         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51026
51027         * nscd/connections.c (register_traced_file): Don't register file
51028         for disabled databases.
51029
51030 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51031
51032         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51033
51034         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51035         from tree and freeing node.
51036
51037 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51038
51039         * nss/nsswitch.c (__nss_database_lookup): Handle
51040         nss_parse_service_list out of memory case.
51041
51042 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51043
51044         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51045         out of memory case.
51046
51047 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51048
51049         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51050         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51051         pass it down.
51052         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51053         elf_machine_rela, elf_machine_lazy_rel.
51054         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51055         (ELF_DYNAMIC_DO_REL): Likewise.
51056         (ELF_DYNAMIC_DO_RELA): Likewise.
51057         (ELF_DYNAMIC_RELOCATE): Likewise.
51058         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51059         to ELF_DYNAMIC_DO_REL.
51060         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51061         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51062         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51063         elf_machine_rela.
51064         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51065         skip_ifunc, don't call ifunc function if non-zero.
51066         (elf_machine_rela): Likewise.
51067         (elf_machine_lazy_rel): Likewise.
51068         (elf_machine_lazy_rela): Likewise.
51069         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51070         (elf_machine_lazy_rel): Likewise.
51071         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51072         Likewise.
51073         (elf_machine_lazy_rel): Likewise.
51074         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51075         Likewise.
51076         (elf_machine_lazy_rel): Likewise.
51077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51078         (elf_machine_lazy_rel): Likewise.
51079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51080         (elf_machine_lazy_rel): Likewise.
51081         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51082         (elf_machine_lazy_rel): Likewise.
51083         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51084         (elf_machine_lazy_rel): Likewise.
51085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51086         (elf_machine_lazy_rel): Likewise.
51087         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51088         (elf_machine_lazy_rel): Likewise.
51089
51090 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51091
51092         * nss/nss_files/files-init.c (_nss_files_init): Use static
51093         initialization for all the *_traced_file variables.
51094
51095 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51096
51097         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51098
51099 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51100
51101         [BZ #13226]
51102         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51103
51104 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51105
51106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51107         Reread the line before reparsing it.
51108
51109 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51110
51111         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51112
51113 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51114             Maxim Kuvyrkov  <maxim@codesourcery.com>
51115             Joseph Myers  <joseph@codesourcery.com>
51116
51117         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51118         if needed for __stack_chk_guard.
51119
51120 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51121
51122         * sysdeps/posix/spawni.c (script_execute): Always define it.
51123         It will be optimized away if unused.
51124         (maybe_script_execute): New function.
51125         (__spawni): Call it.
51126
51127         * Makerules: Don't include tls.make.
51128         (config-tls): Always set to thread.
51129         * tls.make.c: File removed.
51130
51131 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51132
51133         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51134         * config.make.in (CPPFLAGS-config): New substituted variable.
51135
51136 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51137
51138         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51139
51140         [BZ #13192]
51141         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51142         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51143
51144 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51145
51146         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51147         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51148         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51149         (CALL_FAIL): Likewise.
51150         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51151         (CALL_FAIL): Macro removed.
51152         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51153
51154 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51155
51156         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51157         for __FINITE_MATH_ONLY__ == 1.
51158
51159 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51160
51161         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51162         __ieee754_sqrt instead of sqrt.
51163         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51164         __ieee754_sqrtf instead of sqrtf.
51165         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51166         __floorf instead of floorf.
51167         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51168         __floorf, __truncf instead of floorf, truncf.
51169
51170 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51171
51172         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51173
51174         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51175         __extern_always_inline.
51176         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51177         32-bit.
51178
51179 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51180
51181         * elf/rtld.c (dl_main): Also relocate in dependency order when
51182         doing symbol dependency testing.
51183
51184 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51185
51186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51187         Always define `refsym'.
51188
51189 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51190
51191         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51192         (__FD_ELT): Renamed from __FDELT.
51193         * misc/bits/select2.h (__FD_ELT): Likewise.
51194         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51195         __FD_MASK instead of __FDELT, __FDMASK.
51196         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51197         Likewise.
51198         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51199         Likewise.
51200
51201         * elf/Makefile (gen-ldd): Fix pattern.
51202
51203         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51204         (init_tls): Likewise.
51205
51206 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51207
51208         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51209
51210 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51211
51212         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51213         `struct cmsghdr *' instead of `void *'.
51214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51215         Likewise.
51216
51217 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51218
51219         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51220         if non-absolute.
51221         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51222         ldd_rewrite_script.
51223
51224 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51225
51226         * configure.in: Remove --with-tls option.
51227         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51228         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51229         out in case it is missing.
51230         * sysdeps/ia64/elf/configure.in: Likewise.
51231         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51232         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51233         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51234         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51235         * sysdeps/sh/elf/configure.in: Likewise.
51236         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51237         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51238         * sysdeps/x86_64/elf/configure.in: Likewise.
51239         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51240         * sysdeps/mach/hurd/tls.h: Likewise.
51241
51242         [BZ #13067]
51243         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51244
51245         [BZ #13090]
51246         * configure.in: Fix use of AC_INIT.
51247
51248         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51249
51250 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51251
51252         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51253         __set_errno.
51254         * malloc/hooks.c: Likewise.
51255
51256         [BZ #11929]
51257         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51258         variables statically.
51259         (narenas): Initialize.
51260         (list_lock): Initialize.
51261         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51262         initializtion of main_arena and list_lock.  Small cleanups.
51263         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51264         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51265         Add initializers to main_arena and mp_.
51266         (malloc_state): Remove pagesize member.  Change all users to use
51267         GLRO(dl_pagesize).
51268
51269         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51270         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51271         is always initialized.
51272
51273         * malloc/malloc.c: Removed unused configurations and dead code.
51274         * malloc/arena.c: Likewise.
51275         * malloc/hooks.c: Likewise.
51276         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51277
51278         * include/tls.h: Removed.  USE___THREAD must always be defined.
51279         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51280         * elf/dl-libc.c: Likewise.
51281         * elf/dl-tsd.c: Likewise.
51282         * include/errno.h: Likewise.
51283         * include/netdb.h: Likewise.
51284         * include/resolv.h: Likewise.
51285         * inet/herrno-loc.c: Likewise.
51286         * inet/herrno.c: Likewise.
51287         * malloc/arena.c: Likewise.
51288         * malloc/hooks.c: Likewise.
51289         * malloc/malloc.c: Likewise.
51290         * resolv/res-state.c: Likewise.
51291         * resolv/res_libc.c: Likewise.
51292         * sysdeps/i386/dl-machine.h: Likewise.
51293         * sysdeps/ia64/dl-machine.h: Likewise.
51294         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51295         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51296         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51297         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51298         * sysdeps/sh/dl-machine.h: Likewise.
51299         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51300         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51301         * sysdeps/unix/i386/sysdep.S: Likewise.
51302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51303         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51308         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51310         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51312         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51313         * sysdeps/x86_64/dl-machine.h: Likewise.
51314         * tls.make.c: Likewise.
51315
51316         * configure.in: Remove --with-__thread option.  Make tests for
51317         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51318         tls_model attribute fail if no support is available.  Remove
51319         USE_IN_LIBIO.
51320         * Makeconfig: Adjust for dropped configure option.  All features are
51321         now mandatory.
51322         * Makerules: Likewise.
51323         * Versions.def: Likewise.
51324         * argp/argp-fmtstream.c: Likewise.
51325         * argp/argp-fmtstream.h: Likewise.
51326         * argp/argp-help.c: Likewise.
51327         * assert/assert.c: Likewise.
51328         * config.h.in: Likewise.
51329         * config.make.in: Likewise.
51330         * configure: Likewise.
51331         * configure.in: Likewise.
51332         * csu/Versions: Likewise.
51333         * csu/init.c: Likewise.
51334         * elf/tst-audit2.c: Likewise.
51335         * elf/tst-tls10.c: Likewise.
51336         * elf/tst-tls10.h: Likewise.
51337         * elf/tst-tls11.c: Likewise.
51338         * elf/tst-tls12.c: Likewise.
51339         * elf/tst-tls14.c: Likewise.
51340         * elf/tst-tlsmod11.c: Likewise.
51341         * elf/tst-tlsmod12.c: Likewise.
51342         * elf/tst-tlsmod13.c: Likewise.
51343         * elf/tst-tlsmod13a.c: Likewise.
51344         * elf/tst-tlsmod14a.c: Likewise.
51345         * elf/tst-tlsmod15b.c: Likewise.
51346         * elf/tst-tlsmod16a.c: Likewise.
51347         * elf/tst-tlsmod16b.c: Likewise.
51348         * elf/tst-tlsmod7.c: Likewise.
51349         * elf/tst-tlsmod8.c: Likewise.
51350         * elf/tst-tlsmod9.c: Likewise.
51351         * gmon/gmon.c: Likewise.
51352         * grp/fgetgrent_r.c: Likewise.
51353         * grp/putgrent.c: Likewise.
51354         * hurd/fopenport.c: Likewise.
51355         * include/libc-symbols.h: Likewise.
51356         * include/tls.h: Likewise.
51357         * intl/gettextP.h: Likewise.
51358         * intl/loadinfo.h: Likewise.
51359         * locale/global-locale.c: Likewise.
51360         * locale/localeinfo.h: Likewise.
51361         * mach/devstream.c: Likewise.
51362         * malloc/arena.c: Likewise.
51363         * malloc/set-freeres.c: Likewise.
51364         * misc/err.c: Likewise.
51365         * misc/getttyent.c: Likewise.
51366         * misc/mntent_r.c: Likewise.
51367         * posix/getopt.c: Likewise.
51368         * posix/wordexp.c: Likewise.
51369         * pwd/fgetpwent_r.c: Likewise.
51370         * resolv/Versions: Likewise.
51371         * resolv/res_hconf.c: Likewise.
51372         * shadow/fgetspent_r.c: Likewise.
51373         * shadow/putspent.c: Likewise.
51374         * stdio-common/printf_fphex.c: Likewise.
51375         * stdio-common/tmpfile.c: Likewise.
51376         * stdlib/abort.c: Likewise.
51377         * stdlib/fmtmsg.c: Likewise.
51378         * sunrpc/auth_unix.c: Likewise.
51379         * sunrpc/clnt_perr.c: Likewise.
51380         * sunrpc/clnt_tcp.c: Likewise.
51381         * sunrpc/clnt_udp.c: Likewise.
51382         * sunrpc/clnt_unix.c: Likewise.
51383         * sunrpc/openchild.c: Likewise.
51384         * sunrpc/svc_simple.c: Likewise.
51385         * sunrpc/svc_tcp.c: Likewise.
51386         * sunrpc/svc_udp.c: Likewise.
51387         * sunrpc/svc_unix.c: Likewise.
51388         * sunrpc/xdr.c: Likewise.
51389         * sunrpc/xdr_array.c: Likewise.
51390         * sunrpc/xdr_rec.c: Likewise.
51391         * sunrpc/xdr_ref.c: Likewise.
51392         * sunrpc/xdr_stdio.c: Likewise.
51393
51394 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51395
51396         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51397
51398 2011-07-03  Andreas Jaeger  <aj@suse.de>
51399
51400         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51401         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51402         regenerate with gen-libm-tests.pl.
51403
51404 2010-05-12  Petr Baudis  <pasky@suse.cz>
51405
51406         [BZ #11589]
51407         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51408         around j0() zero points by switching to j1().
51409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51410         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51413
51414 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51415
51416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51417         instead of 0.
51418         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51419         instead of 0.
51420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51421         Patch in part by Pavel Roskin <proski@gnu.org>.
51422
51423         [BZ #13138]
51424         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51425         realloc.
51426         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51427         Free memory block if necessary.
51428
51429         [BZ #12847]
51430         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51431         be NULL.  Don't lock in this case.
51432
51433 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51434
51435         * elf/elf.h (ELFOSABI_GNU): New macro.
51436         (ELFOSABI_LINUX): Define to that.
51437
51438 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51439
51440         * string/strncat.c (strncat): Undef the symbol in case it has been
51441         defined in bits/string.h.
51442
51443 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51444
51445         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51446
51447         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51448         link map.
51449
51450 2011-08-17  Andreas Jaeger  <aj@suse.de>
51451
51452         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51453
51454 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51455             Ian Lance Taylor  <iant@google.com>
51456
51457         * math/libm-test.inc (lround_test): New testcase.
51458         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51459
51460 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51461
51462         * Makefile: Remove support for automatic cvs check-ins.
51463         * Makerules: Likewise.
51464         * config.make.in: Likewise.
51465         * configure.in: Likewise.
51466         * intl/Makefile: Likewise.
51467         * locale/Makefile: Likewise.
51468         * po/Makefile: Likewise.
51469         * posix/Makefile: Likewise.
51470         * sysdeps/gnu/Makefile: Likewise.
51471         * sysdeps/mach/hurd/Makefile: Likewise.
51472         * sysdeps/sparc/sparc32/Makefile: Likewise.
51473
51474         [BZ #13118]
51475         * posix/Makefile (bug-regex32-ENV): Define.
51476         Patch by John Stanley <jpsinthemix@verizon.net>.
51477
51478         * misc/Makefile (headers): Add bits/select2.h.
51479         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51480         * misc/bits/select2.h: New file.
51481         * include/bits/select2.h: New file.
51482         * debug/Makefile (routines): Add fdelt_chk.
51483         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51484         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51485         FD_ISSET.
51486         * debug/fdelt_chk.c: New file.
51487
51488         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51489         * wcsmbs/test-wmemcmp.c: Likewise.
51490         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51491         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51492
51493 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51494
51495         * string/Makefile (strop-tests): Add memcmp.
51496         * string/test-wmemcmp.c: New file.
51497         * string/test-memcmp.c: Add wmemcmp support.
51498
51499 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51500
51501         [BZ #13153]
51502         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51503         2011-07-19 change.
51504
51505         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51506         garbage value in a __mach_port_mod_refs call in the cases of the
51507         task-self and thread-self ports.
51508
51509 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51510
51511         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51512
51513 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51514
51515         * elf/dl-load.c (lose): Check for non-null L.
51516
51517 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51518
51519         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51520
51521         * elf/dl-libc.c (dlerror_run): Pass back error code from
51522         dl_catch_error.
51523
51524         [BZ #13123]
51525         * elf/dl-load.c (lose): Free l_origin if it is valid.
51526
51527         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51528         names.
51529         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51530         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51531         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51532         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51533         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51534         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51535
51536 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51537
51538         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51539         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51540         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51541         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51542         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51543         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51544         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51545         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51546         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51547         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51548
51549 2011-08-15  Alan Modra  <amodra@gmail.com>
51550
51551         [BZ #13092]
51552         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51553         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51554         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51555         ppc_mcount to static-only-routines.
51556         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51557         __mcount_internal.
51558         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51559         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51560
51561 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51562
51563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51564         for finite and infinity parameters.
51565
51566 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51567
51568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51569         and add nop instructions for throughput optimization.
51570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51571
51572 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51573
51574         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51575         aligned copy for power7 with vector-scalar instructions.
51576         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51577
51578 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51579
51580         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51581         AVX check.
51582
51583 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51584
51585         [BZ #13144]
51586         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51587         last change.
51588
51589 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51590
51591         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51592         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51593         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51594         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51595         clock_gettime.
51596
51597 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51598
51599         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51600         Forgot to demangle the pointer.
51601
51602         * sysdeps/i386/sysdep.h: Define atom_text_section.
51603         * sysdeps/x86_64/sysdep.h: Likewise.
51604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51605         section with atom_text_section.
51606         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51607         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51608         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51609         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51610         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51611
51612         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51613         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51614         already be defined.  Change to take two parameters and don't assign
51615         result to variable.  Adjust all users.
51616         Define INTERNAL_GETTIME if not already defined.
51617         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51618         call.
51619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51620         HAVE_CLOCK_GETTIME_VSYSCALL.
51621         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51622
51623         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51624         gettimeofday vsyscall, just use time.
51625
51626 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51627
51628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51629         <errno.h>.
51630
51631 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51632
51633         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51634         syscall on x86-64.
51635         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51636         syscall.
51637         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51639         syscall if possible.
51640
51641 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51642
51643         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51644         e_ident.  Don't pass to find_mapsXX.
51645         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51646
51647 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51648
51649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51650         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51651         * sysdeps/x86_64/multiarch/strchr.S: Update.
51652         Check bit_slow_BSF bit.
51653         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51654         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51655         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51656
51657 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51658
51659         [BZ #13134]
51660         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51661         before glibc 2.15.
51662         (tryshell): Define.
51663         (__spawni): Change last parameter to be flag.  Test
51664         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51665         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51666         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51667         * posix/spawni.c: Likewise.
51668         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51669         * posix/spawnp.c: Likewise.  Change normal version to use
51670         SPAWN_XFLAGS_USE_PATH.
51671         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51672         SPAWN_XFLAGS_TRY_SHELL.
51673
51674         [BZ #13150]
51675         * posix/glob.h: Remove gcc 1.x support.
51676
51677         [BZ #13068]
51678         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51679
51680 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51681
51682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51683         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51684         strrchr-sse2-bsf
51685         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51686         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51687         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51688         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51689         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51690         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51691
51692 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51693
51694         * sysdeps/x86_64/wcscmp.S: New file.
51695
51696         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51697         wcscmp-c wcscmp-sse2
51698         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51699         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51700         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51701         * wcsmbs/wcscmp.c: Allow renaming.
51702
51703 2011-09-05  David S. Miller  <davem@davemloft.net>
51704
51705         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51706         stack slot, rather than the struct return pointer slot.
51707         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51708         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51710         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51711
51712 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51713
51714         * po/ja.po: Update from translation team.
51715
51716         [BZ #13144]
51717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51718         kernel in 64-bit binaries.
51719
51720 2011-09-01  David S. Miller  <davem@davemloft.net>
51721
51722         * elf/elf.h (HWCAP_SPARC_*): Move to..
51723         * sysdeps/sparc/sysdep.h: this new file and add new values.
51724         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51725         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51726         _DL_HWCAP_COUNT to 24.
51727         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51728         entries.
51729         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51730         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51731         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51733         instead of magic constants.
51734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51735
51736 2011-08-31  David S. Miller  <davem@davemloft.net>
51737
51738         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51740         Reimplement to do errno handling inline.
51741         (SYSCALL_ERROR_HANDLER): New macro.
51742         (__SYSCALL_STRING): Do not do errno handling in asm.
51743         (__CLONE_SYSCALL_STRING): Delete.
51744         (__INTERNAL_SYSCALL_STRING): Delete.
51745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51746         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51747         (PSEUDO): Reimplement to do errno handling inline.
51748         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51749         (SYSCALL_ERROR_HANDLER): New macro.
51750         (__SYSCALL_STRING): Do not do errno handling in asm.
51751         (__CLONE_SYSCALL_STRING): Delete.
51752         (__INTERNAL_SYSCALL_STRING): Delete.
51753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51754         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51755         i386.
51756         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51757         (inline_syscall*): Add 'err' argument.
51758         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51759         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51760         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51761         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51762
51763         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51764         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51765
51766 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51767
51768         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51769
51770 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51771
51772         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51773         directive.
51774
51775 2011-08-24  David S. Miller  <davem@davemloft.net>
51776
51777         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51778
51779 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51780
51781         * elf/Makefile: Add rules to build and run unload8 test.
51782         * elf/unload8.c: New file.
51783         * elf/unload8mod1.c: New file.
51784         * elf/unload8mod1x.c: New file.
51785         * elf/unload8mod2.c: New file.
51786         * elf/unload8mod3.c: New file.
51787
51788         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51789         it wasn't used.
51790
51791 2011-08-23  David S. Miller  <davem@davemloft.net>
51792
51793         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51794         subtract stack bias.
51795         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51796         %sp not %fp in calculations.
51797         (_JMPBUF_UNWINDS_ADJ): Likewise.
51798
51799         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51800         (aio_suspend): Call it to force an exception region around the
51801         AIO_MISC_WAIT() invocation.
51802
51803 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51804
51805         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51806         backslash.
51807
51808 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51809
51810         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51811         protection macro.
51812         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51813         and <dl-machine.h>.
51814         (Elf64_FuncDesc): Remove.
51815
51816 2011-08-22  David S. Miller  <davem@davemloft.net>
51817
51818         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51819         sigaltstack check, add missing cfi directives.
51820         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51821         missing cfi directives, and sigaltstack handling.
51822
51823 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51824
51825         [BZ #11724]
51826         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51827         object is seen twice.
51828         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51829
51830         * elf/Makefile (distribute): Add tst-initorder2.c.
51831         (tests): Add tst-initorder2.
51832         (modules-names): Add tst-initorder2a tst-initorder2b
51833         tst-initorder2c tst-initorder2d.  Add rules to build them.
51834         ($(objpfx)tst-initorder2.out): New rule.
51835         * elf/tst-initorder2.c: New file.
51836         * elf/tst-initorder2.exp: New file.
51837
51838 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51839
51840         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51841
51842         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51843         dependencies back to end of function.
51844
51845         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51846         $(elfobjdir)/ld.so.
51847
51848 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51849
51850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51851         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51853         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51854         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51855         of __vdso_gettimeofday.
51856         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51857         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51858         attribute_hidden.
51859         (_libc_vdso_platform_setup): Remove initialization of
51860         __vdso_gettimeofday and __vdso_time.
51861
51862 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51863
51864         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51865         and fgetc_unlocked.
51866         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51867         getc_unlocked.
51868
51869         * elf/dl-open.c (add_to_global): Report additions to the global scope
51870         for LD_DEBUG=scopes.
51871         (dl_open_worker): Also print scope of newly loaded dependencies.
51872         (_dl_show_scope): Indicate if there is no scope.
51873
51874         [BZ #13114]
51875         * stdio-common/Makefile (tests): Add bug24.
51876         * stdio-common/bug24.c: New file.
51877
51878 2011-08-19  Andreas Jaeger  <aj@suse.de>
51879
51880         [BZ #13114]
51881         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51882         non-existant file when using close-on-exec mode.
51883
51884 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51885
51886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51887         the very first instruction.
51888
51889         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51890         the CFI state in the end.
51891         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51892         inclusion of dl-trampoline.h.
51893         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51894
51895 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51896
51897         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51898         expectations for long double.
51899
51900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51901         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51902
51903 2011-08-14  David S. Miller  <davem@davemloft.net>
51904
51905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51906         artificual limit depends upon the system page size.
51907
51908 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51909
51910         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51911         * resolv/Makefile: Define CFLAGS-libresolv.
51912
51913 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51914
51915         * nss/makedb.c (compute_tables): Make variables used in nested
51916         function static.
51917
51918 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51919
51920         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51921         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51922         if buffer was too small.
51923
51924         * elf/pldd.c (main): Attach to all threads in the process.
51925         Rewrite /proc handling to use *at functions.
51926
51927 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51928
51929         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51930         specifies first scope to show.
51931         (dl_open_worker): Update callers.  Move printing scope of new
51932         object to before the relocation.
51933         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51934         * sysdeps/generic/ldsodefs.h: Update declaration.
51935
51936         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51937         string for the scope number.
51938
51939 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51940
51941         * nscd/servicescache.c (cache_addserv): Make sure written is always
51942         initialized.
51943
51944 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51945
51946         * sysdeps/i386/i486/bits/atomic.h
51947         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51948         statement expression, so as to suppress "set but not used" warning.
51949         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51950
51951         * string/strncat.c (STRNCAT): Use prototype definition.
51952
51953         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51954         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51955         -Iprograms here.
51956         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51957         (localedef-modules): Add localedef.
51958         (locale-modules): Add locale.
51959
51960         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51961         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51962         to avoid a warning.
51963
51964 2011-08-14  David S. Miller  <davem@davemloft.net>
51965
51966         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51967         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51968
51969 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51970
51971         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51972         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51973         * elf/rtld.c (dl_main): Set l_name of vDSO.
51974         Call _dl_show_scope when DL_DEBUG_SCOPES.
51975         (process_dl_debug): Recognize scopes flag and also set it for all.
51976         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51977         Declare _dl_show_scope.
51978
51979         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51980         (do_dlopen): Pass caller_dlopen to dl_open.
51981         (__libc_dlopen_mode): Initialize caller_dlopen.
51982
51983         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51984         of libc.  Make tolower call locale-independent.  Optimize a bit by
51985         using isdigit instead of isalnum.
51986         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51987
51988 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51989
51990         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51991         was a dependency or dynamically loaded.
51992
51993 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51994
51995         * intl/l10nflist.c: Allow architecture-specific pop function.
51996         * sysdeps/x86_64/l10nflist.c: New file.
51997
51998         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51999         classification.
52000
52001 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52002
52003         * include/dirent.h: Add libc_hidden_proto for scandirat and
52004         scandirat64.  Don't declare __scandirat64.
52005         * dirent/scandirat.c: Add libc_hidden_def.
52006         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52007         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52008
52009 2011-08-10  David S. Miller  <davem@davemloft.net>
52010
52011         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52012         enum.
52013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52014         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52016
52017 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52018
52019         * Versions.def [libc]: Add GLIBC_2.15.
52020         * dirent/Makefile (routines): Add scandirat and scandirat64.
52021         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52022         GLIBC_2.15.
52023         * dirent/dirent.h: Declare scandirat and scandirat64.
52024         * dirent/scandirat.c: New file.
52025         * dirent/scandirat64.c: New file.
52026         * sysdeps/wordsize-64/scandirat.c: New file.
52027         * sysdeps/wordsize-64/scandirat64.c: New file.
52028         * dirent/opendir.c: Define opendirat.
52029         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52030         using scandirat.
52031         * dirent/scandir64.c: Adjust for scandir.c change.
52032         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52033         __scandirat64, and __scandir_cancel_handler.
52034         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52035         additional parameter and use openat instead of open (outside of ld.so).
52036         Add new __opendir as wrapper around __opendirat.
52037         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52038         here without requiring old scandirat implementation.
52039
52040 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52041
52042         * dirent/scandir.c (cancel_handler): Renamed to
52043         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52044         defined.  Adjust users.
52045         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52046         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52047
52048 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52049
52050         * string/test-string.h (IMPL): Use __STRING to expand name and then
52051         stringify it.
52052
52053         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52054         of cleanups.
52055
52056 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52057
52058         * string/Makefile: Update.
52059         (strop-tests): Append strncat.
52060         * string/test-wcscmp.c: New file.
52061         New comprehensive test for wcscmp.
52062         * string/test-strcmp.c: Update.
52063         (WIDE): New define.
52064
52065 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52066
52067         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52068         line.
52069
52070 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52071
52072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52073         encoding to ACE if AI_IDN.
52074
52075 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52076
52077         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52078         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52079
52080 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52081
52082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52083         Fix overflow bug in strncat.
52084         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52085
52086         * string/test-strncat.c: Update.
52087         Add new tests for checking overflow bugs.
52088
52089 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52090
52091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52092         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52093         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52094         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52095         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52096         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52097         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52098         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52099         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52100
52101         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52102         (USE_AS_STRCAT): Define.
52103         Add strcat and strncat support.
52104         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52105
52106 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52107
52108         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52109         __n bigger than INT_MAX+1.
52110         (__strncmp_g): Likewise.
52111
52112 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52113
52114         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52115         * libio/stido.h: Likewise.
52116
52117         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52118         (AF_NFC): Define.
52119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52120         (AF_NFC): Define.
52121
52122         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52124         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52125         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52126         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52127
52128         [BZ #13021]
52129         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52130         installed.
52131
52132         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52133         typo.
52134         (_dl_x86_64_save_sse): Likewise.
52135
52136 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52137
52138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52139         OSXSAVE.
52140         (_dl_x86_64_save_sse): Likewise.
52141
52142         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52143
52144         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52145
52146 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52147
52148         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52149         change.
52150         (_dl_x86_64_save_sse): Use correct AVX check.
52151
52152 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52153
52154         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52155         bug in strncpy/strncat.
52156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52157
52158 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52159
52160         * string/tester.c (test_strcat): Add tests for different alignments
52161         of source and destination.
52162         (test_strncat): Likewise.
52163
52164 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52165
52166         [BZ #12852]
52167         * posix/glob.c (glob): Check passed in values before using them in
52168         expressions to avoid some overflows.
52169         (glob_in_dir): Likewise.
52170
52171         [BZ #13007]
52172         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52173         check for AVX enablement so that we don't crash with old kernels and
52174         new hardware.
52175         * elf/tst-audit4.c: Add same checks here.
52176         * elf/tst-audit6.c: Likewise.
52177
52178         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52179
52180 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52181
52182         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52183
52184 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52185
52186         * po/cs.po: Update from translation team.
52187         * po/bg.po: Likewise.
52188
52189 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52190
52191         * misc/sys/cdefs.h: Add support for const attribute.
52192         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52193         to gnu_dev_{major,minor,makedev} functions.
52194
52195 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52196
52197         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52198
52199 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52200
52201         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52202         strlen results.
52203
52204 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52205
52206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52207         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52208         register in order to avoid conflicts with the soft frame pointer
52209         being held in r11 when necessary.
52210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52211         (INTERNAL_VSYSCALL_NCS): Likewise.
52212
52213 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52214
52215         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52216         * elf/dl-fini.c (_dl_fini): Adjust caller.
52217         * elf/dl-close.c (_dl_close_worker): Likewise.
52218         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52219
52220 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52221
52222         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52223         "aux_cache->nlibs < 0".
52224
52225         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52226         in the reload-count case.
52227
52228 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52229
52230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52231         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52232         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52233         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52234         * sysdeps/x86_64/multiarch/strcat.S: New file.
52235         * sysdeps/x86_64/multiarch/strncat.S: New file.
52236         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52237         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52238         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52239         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52240         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52241         (USE_AS_STRCAT): Define.
52242         Add strcat and strncat support.
52243         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52244         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52245         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52246         * string/strncat.c: Update.
52247         (USE_AS_STRNCAT): Define.
52248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52249         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52250         and i7.
52251         * sysdeps/x86_64/multiarch/init-arch.h
52252         (bit_Prefer_PMINUB_for_stringop): New.
52253         (index_Prefer_PMINUB_for_stringop): Likewise.
52254         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52255         bit_Prefer_PMINUB_for_stringop.
52256
52257 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52258
52259         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52260         buffer64.
52261         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52262         of casting of buffer.
52263         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52264         buffer32 and buffer64.
52265         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52266         writes instead of casting of buffer.
52267         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52268         buffer32.
52269         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52270         casting of buffer.
52271
52272 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52273
52274         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52275
52276 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52277
52278         * nscd/nscd.c (termination_handler): Don't do anything for a database
52279         if it has not yet been initialized.
52280
52281 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52282
52283         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52284
52285 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52286
52287         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52288
52289 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52290
52291         * po/nl.po: Update from translation team.
52292         * po/sv.po: Likewise.
52293
52294 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52295
52296         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52297         now disallowed by GCC.
52298
52299         * configure.in (use-default-link): Default to yes if a test -shared
52300         link meets our qualifications.
52301         * configure: Regenerated.
52302
52303         * config.make.in (output-format): New variable.
52304         * configure.in: Check for ld --print-output-format support.
52305         * configure: Regenerated.
52306         * Makerules ($(common-objpfx)format.lds)
52307         [$(output-format) != unknown]: Just use $(output-format),
52308         instead of the linker-script munging.
52309
52310 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52311
52312         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52313         of $(common-objpfx)shlib.lds.
52314         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52315
52316         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52317         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52318
52319         * configure.in (-z relro check): Adjust test code to add a large
52320         writable data section after it.
52321         * configure: Regenerated.
52322
52323 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52324
52325         * configure.in (-z relro check): Fix test code to make the variable
52326         truly const.
52327         * configure: Regenerated.
52328
52329 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52330
52331         * nscd/nscd.h (struct traced_file): Define.
52332         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52333         elements.  Add traced_files.
52334         (inotify_fd): Declare.
52335         (register_traced_file): Declare.
52336         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52337         (inotify_fd): Export.
52338         (resolv_conf_descr): Remove.
52339         (nscd_init): Move inotify descriptor creation to main.
52340         Don't register files for notification here.
52341         (register_traced_file): New function.
52342         (invalidate_cache): Don't use reset_res to determine whether to call
52343         res_init, go through the list of registered files.
52344         (main_loop_poll): The inotify descriptors are now stored in the
52345         structures for the traced files.
52346         (main_loop_epoll): Likewise
52347         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52348         to __nss_disable_nscd.
52349         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52350         for a database anymore.  Check the records for all the registered
52351         files instead.
52352         * nss/Makefile (libnss_files-routines): Add files-init.
52353         (libnss_db-routines): Add db-init.
52354         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52355         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52356         * nss/nss_db/db-init.c: New file.
52357         * nss/nss_files/files-init.c: New file.
52358         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52359         __nss_lookup_function.
52360         (__nss_lookup_function): Call nss_load_library.
52361         (nss_load_all_libraries): New function.
52362         (__nss_disable_nscd): Take parameter with callback function for files
52363         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52364         used for the cached services.
52365         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52366         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52367         options for features to all the files in nscd.
52368
52369         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52370
52371 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52372
52373         * csu/elf-init.c (__libc_csu_init): Comment typo.
52374
52375 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52376
52377         * po/pl.po: Update from translation team.
52378         * po/ja.po: Likewise.
52379         * po/ru.po: Likewise.
52380         * po/ko.po: Likewise.
52381         * po/fr.po: Likewise.
52382
52383 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52384
52385         * configure.in (.ctors/.dtors header and trailer check):
52386         Use an empirical test on a built program.
52387         * configure: Regenerated.
52388
52389         * configure.in (-z relro check): Use an empirical test on a built DSO.
52390         Detect, but do not require, on ia64.
52391         * configure: Regenerated.
52392
52393         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52394         Update tests that use readelf to use $READELF instead.
52395         * configure: Regenerated.
52396
52397 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52398
52399         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52400         if the result is not used.
52401
52402 2011-07-05  Andreas Jaeger  <aj@suse.de>
52403
52404         [BZ#9696]
52405         * stdlib/tst-strtod.c: Add testcase.
52406
52407 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52408
52409         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52410         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52411         The latter has a higher limit.  Take additional parameter to pass to
52412         the new function.
52413         (__pathconf): Pass file to __statfs_link_max.
52414         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52415         __statfs_link_max.
52416         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52417         __statfs_link_max.
52418
52419         [BZ #12868]
52420         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52421         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52422         Handle Lustre.
52423         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52424         (__statfs_filesize_max): Likewise.
52425         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52426
52427 2011-07-05  Andreas Jaeger  <aj@suse.de>
52428
52429         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52430
52431 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52432
52433         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52434         `status' variable.
52435         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52436         Likewise.
52437
52438 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52439
52440         * Makefile (strop-tests): Add strncat.
52441         * string/test-strncat.c: New file.
52442
52443 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52444
52445         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52446
52447 2011-06-21  Andreas Jaeger  <aj@suse.de>
52448
52449         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52450         Copy rule from iconvdata/Makefile.
52451
52452 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52453
52454         [BZ #12922]
52455         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52456         but no long options are defined, just return 'W'.
52457
52458 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52459
52460         [BZ #9696]
52461         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52462
52463 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52464
52465         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52466         netgroups to read.
52467         (innetgr): Likewise.
52468
52469 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52470
52471         * config.make.in (install_root): Default to $(DESTDIR).
52472
52473 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52474
52475         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52476
52477 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52478
52479         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52480
52481         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52482         containing directory rather than embedding absolute directory names.
52483
52484         * scripts/check-local-headers.sh: Rewritten using awk.
52485         Match by word, not by line.  Print error messages for matches.
52486         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52487
52488         * Makerules [shlib-lds-flags empty]:
52489         ($(common-objpfx)libc_pic.opts): New target.
52490         ($(common-objpfx)libc_pic.os.clean): New target.
52491         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52492
52493         * config.make.in (OBJCOPY): New variable.
52494         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52495         * configure: Regenerated.
52496
52497         * config.make.in (use-default-link): New variable.
52498         * configure.in (use_default_link): Grok --with-default-link to set it.
52499         * configure: Regenerated.
52500         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52501         (shlib-lds, shlib-lds-flags): Define to empty.
52502
52503         * Makerules (shlib-lds): New variable.
52504         (shlib-lds-flags): New variable.
52505         (build-shlib, build-moduile, build-module-asneeded): Use it.
52506         ($(common-objpfx)libc.so): Use $(shlib-lds).
52507         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52508         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52509
52510         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52511         DT_FLAGS/DT_FLAGS_1 with zero flags.
52512
52513         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52514         linker script munging.
52515
52516 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52517
52518         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52519         as 128-bit value.
52520         * crypt/sha512.c (sha512_process_block): Perform total addition using
52521         128-bit if possible.
52522         (__sha512_finish_ctx): Likewise.
52523         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52524         as 64-bit value.
52525         * crypt/sha256.c (SWAP64): Define.
52526         (sha256_process_block): Perform total addition using 64-bit if
52527         possible.
52528         (__sha256_finish_ctx): Likewise.
52529
52530 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52531
52532         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52533         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52534         * nscd/hstcache.c (cache_addhst): Likewise.
52535         * nscd/grpcache.c (cache_addgr): Likewise.
52536         * nscd/aicache.c (addhstaiX): Likewise
52537         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52538
52539 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52540
52541         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52543         * nscd/hstcache.c (cache_addhst): Likewise.
52544         * nscd/grpcache.c (cache_addgr): Likewise.
52545         * nscd/aicache.c (addhstaiX): Likewise
52546
52547 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52548
52549         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52550         domain only when needed.
52551
52552 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52553
52554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52555         is always restored.
52556
52557 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52558
52559         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52560         are re-adding the entry.
52561         * nscd/servicescache.c (cache_addserv): Likewise.
52562
52563 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52564
52565         * sysdeps/generic/dl-irel.h: fix protection against multiple
52566         inclusions.
52567         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52568
52569 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52570
52571         [BZ #12935]
52572         * malloc/memusage.sh: Fix quoting in message.
52573         * debug/xtrace.sh: Likewise.
52574
52575         * configure.in: Remove support for --experimental-malloc option, make
52576         it the default.
52577         * config.make.in: Likewise.
52578         * malloc/Makefile: Likewise.
52579
52580 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52581
52582         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52583         two-byte characters.
52584
52585 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52586
52587         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52588         AC_CACHE_CHECK invocation.
52589         * configure: Regenerated.
52590
52591         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52592
52593 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52594
52595         [BZ #12350]
52596         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52597         bit from old_res_options.
52598
52599         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52600
52601         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52602         value type for setfct.
52603
52604 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52605
52606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52607         __gettimeofday instead of gettimeofday.
52608
52609 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52610
52611         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52612
52613 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52614
52615         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52616
52617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52618         info.
52619
52620 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52621
52622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52623         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52624         strcpy-sse2-unaligned strncpy-sse2-unaligned
52625         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52626         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52627         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52628         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52629         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52630         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52631         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52632         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52633         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52634         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52635         (STRCPY): Support SSE2 and SSSE3 versions.
52636
52637 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52638
52639         [BZ #12874]
52640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52641         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52642         kernels which artificially limit size of requests.
52643
52644 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52645
52646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52647         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52648         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52649         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52650         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52651         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52652         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52653         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52654         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52656         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52657         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52658         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52659         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52660         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52662         Enable unaligned load optimization for Intel Core i3, i5 and i7
52663         processors.
52664         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52665         Define.
52666         (index_Fast_Unaligned_Load): Define.
52667         (HAS_FAST_UNALIGNED_LOAD): Define.
52668
52669 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52670
52671         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52672
52673 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52674
52675         [BZ #12907]
52676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52677         until it is clear that the information is realy needed.
52678         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52679
52680 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52681
52682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52683
52684 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52685
52686         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52687         /sys/devices/system/cpu/online if it is usable.
52688
52689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52690         reading the information from the /proc filesystem to once a second.
52691
52692 2011-06-21  Andreas Jaeger  <aj@suse.de>
52693
52694         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52695         NULL after inclusion of kernel headers.
52696
52697 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52698
52699         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52700         calls to internal_setent.
52701
52702         [BZ #12885]
52703         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52704         addresses using gethostbyname4_r ignore IPv4 addresses.
52705
52706         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52707         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52708
52709         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52710
52711 2011-06-20  David S. Miller  <davem@davemloft.net>
52712
52713         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52714         inclusions.
52715         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52716
52717         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52718         (elf_irel): Use it.
52719         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52720         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52721         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52722         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52723         * sysdeps/x86_64/dl-irel.h: Likewise.
52724
52725         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52726         * elf/dl-sym.c: Likewise.
52727
52728 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52729
52730         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52731         need to dereference resplen2.
52732
52733 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52734
52735         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52736
52737 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52738
52739         * Makeconfig: Define vardbdir and inst_vardbdir.
52740         * nss/Makefile: Add rules to install db-Makefile.
52741
52742         * nss/nss_db/db-XXX.c: Cleanup.
52743
52744         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52745         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52746         GLIBC_PRIVATE.
52747         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52748         * nss/makedb.c: Implement -g option to specify that value strings
52749         are generated and should not be added to table iterated over for
52750         get*ent calls.
52751         * nss/nss_db/db-initgroups.c: New file.
52752
52753         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52754         interface.
52755
52756         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52757         (internal_getgrouplist): Adjust to name change.
52758         Update use_initgroups_entry if this is not the first call.
52759         * nss/databases.def: Add initgroups entry.
52760
52761         * nss/makedb.c (compute_tables): Check result of multiple hash table
52762         sizes to minimize maximum chain length.
52763
52764 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52765
52766         * Versions.def: Add entry for libnss_db.
52767         * shlib-versions: Likewise.
52768         * nss/Makefile: Add rules to build libnss_db.
52769         * nss/Versions: Add libnss_db information.  Organize libnss_files
52770         entries better.
52771         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52772         makedb progra.  Some minor improvements to generate smaller files.
52773         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52774         here from...
52775         * nss/makedb.c: ...here.
52776         Improve database format to be smaller and require less memory at
52777         runtime.
52778         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52779         db anymore.
52780         * nss/nss_db/db-netgrp.c: Likewise.
52781         * nss/nss_db/db-open.c: Likewise.
52782         * nss/nss_files/flies-XXX.x: Adjust comments.
52783         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52784         * nss/nss_files/files-grp.c: Likewise.
52785         * nss/nss_files/files-hosts.c: Likewise.
52786         * nss/nss_files/files-network.c: Likewise.
52787         * nss/nss_files/files-proto.c: Likewise.
52788         * nss/nss_files/files-pwd.c: Likewise.
52789         * nss/nss_files/files-rpc.c: Likewise.
52790         * nss/nss_files/files-service.c: Likewise.
52791         * nss/nss_files/files-sgrp.c: Likewise.
52792         * nss/nss_files/files-spwd.c: Likewise.
52793         * nss/nss_db/db-alias.c: Removed.
52794         * nss/nss_db/dummy-db.h: Removed.
52795
52796 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52797
52798         * nss/makedb.c: Rewritten to not use database library.
52799         * nss/Makefile: Update to build new makedb program.
52800
52801 2011-06-14  Andreas Jaeger  <aj@suse.de>
52802
52803         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52804         memset declaration.
52805
52806 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52807
52808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52809         tmpbuf.
52810
52811 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52812
52813         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52814         * elf/Makefile ($(objpfx)ld.so): Likewise.
52815
52816         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52817         Don't list ld.so twice in dependencies.
52818
52819         * posix/bug-regex31.c: Include <stdlib.h>.
52820
52821         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52822
52823         * nis/nss_compat/compat-spwd.c
52824         (getspent_next_nss_netgr): Remove unused variable.
52825         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52826
52827         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52828         nonmembers" output to use the right array.
52829
52830         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52831
52832         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52833
52834         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52835         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52836         * catgets/gencat.c (read_input_file): Likewise.
52837         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52838
52839         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52840         variable definition inside #if's controlling its use.
52841
52842         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52843
52844         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52845
52846         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52847
52848         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52849         unreachable code.
52850
52851         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52852
52853         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52854         * configure: Regenerated.
52855
52856         * Makerules: Revert last change.
52857         * elf/Makefile: Likewise.
52858
52859 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52860
52861         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52862         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52863         (reloc-link): Likewise.
52864
52865 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52866
52867         * elf/Makefile: Add rules to build pldd.
52868         * elf/pldd.c: New file.
52869         * elf/pldd-xx.c: New file.
52870
52871 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52872
52873         * version.h: Update for 2.15 development version.
52874
52875 2011-06-07  David S. Miller  <davem@davemloft.net>
52876
52877         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52878         ifuncs.
52879         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52880         elf_machine_lazy_rel): Likewise.
52881         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52883         elf_machine_lazy_rel): Likewise.
52884         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52885         dl_hwcap via passed in argument.
52886         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52887         Likewise.
52888
52889 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52890
52891         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52892
52893 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52894
52895         [BZ #12849]
52896         * manual/fdl-1.1.texi: New file, verbatim from:
52897         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52898         * manual/lgpl-2.1.texi: New file, verbatim from:
52899         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52900         * manual/Makefile (licenses): New variable, list those new file names.
52901         (texis): Use it.
52902         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52903
52904         * manual/fdl.texi: File removed.
52905         * manual/lesser.texi: File removed.
52906         * manual/libc.texinfo (Copying, Documentation License):
52907         Use new @include file names, put @appendix directive before @include.
52908
52909 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52910
52911         [BZ #12841]
52912         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52913         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52914         (mq_open): Add __NTH.
52915
52916 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52917
52918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52919         Assume Intel Core i3/i5/i7 processor if AVX is available.
52920
52921 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52922
52923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52924         typo.
52925
52926 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52927
52928         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52929         memory.  Use alloca_account.  Fix memory leak when retrying.
52930
52931 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52932
52933         * version.h (RELEASE): Bump for 2.14 release.
52934         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52935
52936         * config.make.in (RANLIB): Remove entry.
52937
52938 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52939
52940         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52941         (libc.pot): Work around missing support for .ksh extension in xgettext.
52942
52943         [BZ #12684]
52944         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52945         if both request failed.
52946         (send_dg): In case of server errors clear resplen or *resplen2.
52947
52948         [BZ #12454]
52949         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52950         when there are multiple maps.
52951         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52952         (_dl_fini): Remove test here.
52953
52954         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52955
52956 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52957
52958         [BZ #12350]
52959         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52960         bit from old_res_options.
52961         (gaih_inet): Likewise.
52962
52963         [BZ #11099]
52964         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52965         as signed.
52966
52967         * resolv/res_init.c (res_setoptions): Make the code more compact.
52968
52969         [BZ #11558]
52970         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52971         set RES_USEVC.
52972
52973         [BZ #11634]
52974         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52975
52976         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52977
52978         [BZ #11781]
52979         * malloc/malloc.h: Declare malloc hook variables as volatile.
52980
52981         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52982         in last patch.
52983
52984         [BZ #11799]
52985         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52986         raise in the comment.
52987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52988         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52989         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52990
52991 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52992
52993         [BZ #12811]
52994         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52995         grow the buffers more if it already has to be sufficient.
52996         (build_wcs_upper_buffer): Likewise.
52997         * posix/regexec.c (check_matching): Likewise.
52998         (clean_state_log_if_needed): Likewise.
52999         (extend_buffers): Don't enlarge buffers beyond size of the input
53000         buffer.
53001         Patches mostly by Emil Wojak <emil@wojak.eu>.
53002         * posix/bug-regex32.c: New file.
53003         * posix/Makefile (tests): Add bug-regex32.
53004
53005         * locale/findlocale.c (_nl_find_locale): Return right away if
53006         _nl_explode_name failed.
53007         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53008
53009         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53010
53011         * debug/xtrace.sh: Unify messages.
53012         * malloc/memusage.sh: Likewise.
53013
53014         [BZ #12813]
53015         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53016         time symbol from vDSO.  Substitute with vsyscall if not available.
53017         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53018         __vdso_time.
53019
53020         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53021         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53022         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53023         Add sendmmsg and internal_sendmmsg.
53024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53025         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53026         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53027
53028         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53029         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53030         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53031
53032 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53033
53034         [BZ #12813]
53035         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53036         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53037         available.
53038         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53039         __vdso_getcpu.
53040
53041         [BZ #12814]
53042         * iconvdata/Makefile (tests): Add bug-iconv9.
53043         * iconvdata/bug-iconv9.c: New file.
53044
53045 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53046
53047         [BZ #12814]
53048         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53049
53050 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53051
53052         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53053         (struct user_regs_struct): Change intcs field back to cs.
53054
53055 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53056
53057         * po/ja.po: Update from translation team.
53058
53059 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53060
53061         [BZ #12795]
53062         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53063         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53064
53065 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53066
53067         * stdlib/longlong.h: Update from GCC.
53068
53069 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53070
53071         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53072         parameter name.
53073         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53074         Add parameter name.
53075         (__sysconf): Pass it down.
53076
53077 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53078
53079         [BZ #12671]
53080         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53081         some situations.
53082         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53083         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53084         add in in __libc_use_alloca calls.  Adjust callers.
53085         (glob): Use malloc in some situations.
53086
53087         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53088         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53089         pltexit.
53090
53091 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53092
53093         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53094         and CLOCK_BOOTTIME_ALARM.
53095
53096         [BZ #12782]
53097         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53098         is returned.
53099
53100         * string/_strerror.c (__strerror_r): Print negative errors as signed
53101         numbers.
53102
53103         [BZ #12777]
53104         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53105         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53106         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53107
53108         * configure.in: Fix typo in redirection and correct removal of test
53109         files in two cases.
53110
53111         [BZ #12788]
53112         * locale/setlocale.c (new_composite_name): Fix test to check for
53113         identical name of all categories.
53114
53115         [BZ #12792]
53116         * libio/filedoalloc.c (local_isatty): New function.
53117         (_IO_file_doallocate): Use local_isatty.
53118         * stdio-common/perror.c (perror): In case a new stream is used
53119         forward the stream error.
53120         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53121         error flag.
53122
53123 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53124
53125         [BZ #11869]
53126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53127         alloca.
53128         * include/alloca.h (extend_alloca_account): Define.
53129
53130         [BZ #11857]
53131         * posix/regex.h: Fix comments with documentation of user-accessible
53132         fields after compilation and describe correct free'ing of pattern
53133         after re_compile_pattern.
53134         Patch by Reuben Thomas <rrt@sc3d.org>.
53135
53136 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53137
53138         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53139         and -mno-altivec to prevent the compiler from using Altivec and/or
53140         VSX instructions when the corresponding registers are not available.
53141
53142 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53143
53144         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53145
53146 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53147
53148         * libio/freopen.c (freopen): Use __dup2, not dup2.
53149         * libio/freopen64.c (freopen64): Likewise.
53150
53151 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53152
53153         [BZ #12775]
53154         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53155         * math/Makefile (tests): Add test-powl.
53156         (CFLAGS-test-powl.c): Define.
53157         * math/test-powl.c: New file.
53158
53159 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53160
53161         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53162
53163 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53164
53165         [BZ #11837]
53166         * iconvdata/gb18030.c: Update to GB18020-2005.
53167
53168 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53169
53170         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53171         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53172         Patch by Aharon Robbins <arnold@skeeve.com>.
53173
53174         [BZ #11892]
53175         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53176         on the stack.
53177
53178         [BZ #11895]
53179         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53180         through underflows.
53181
53182         [BZ #12766]
53183         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53184         point to strings before performing equality test for error_one_per_line
53185         mode.
53186
53187         [BZ #11697]
53188         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53189
53190         [BZ #11820]
53191         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53192         (struct user_fpregs_struct): Avoid __uint*_t types.
53193
53194         [BZ #6420]
53195         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53196         symbol info.  Use it instead of calling _dl_addr locally.
53197         (lock_and_info): New function.
53198         (tr_freehook): Call lock_and_info and pass symbol info as additional
53199         parameter to tr_where.
53200         (tr_mallochook): Likewise.
53201         (tr_reallochook): Likewise.
53202         (tr_memalignhook): Likewise.
53203
53204         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53205         used and couldn't be at all thread-safe.
53206
53207 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53208
53209         * libio/freopen.c (freopen): Don't close old file descriptor
53210         before the new one is opened.  Instead dup the new file descriptor
53211         to the old one after the new stream is created.
53212         * libio/freopen64.c (freopen64): Likewise.
53213         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53214         * libio/fileops.c (_IO_new_file_close_it): Handle new
53215         _IO_FLAGS2_NOCLOSE flag.
53216         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53217         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53218         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53219         _IO_FLAGS2_NOCLOSE flag.
53220         * include/unistd.h: Add hidden_proto for dup3.
53221         Define __have_dup3.
53222         * io/dup3.c: Define hidden symbol.
53223         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53224
53225         [BZ #7101]
53226         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53227         when an incomplete long option is used.
53228         * posix/tst-getopt_long1.c: New file.
53229         * posix/Makefile (tests): Add tst-getopt_long1.
53230
53231         [BZ #10138]
53232         * scripts/config.guess: Update from autoconf-2.68.
53233         * scripts/config.sub: Likewise.
53234
53235         [BZ #10157]
53236         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53237         tests into ...
53238         (has_cpuclock): ...this.  New function.
53239         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53240         macro here based on has_cpuclock code.
53241
53242         [BZ #10149]
53243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53244         First byte (not low byte) is now always NUL.
53245         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53246
53247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53248         Use non-cancelable interfaces.
53249
53250         [BZ #9809]
53251         * locale/iso-639.def: Add entry for Sorani.
53252
53253         [BZ #11901]
53254         * include/stdlib.h: Move include protection to the right place.
53255         Define abort_msg_s.  Declare __abort_msg with it.
53256         * stdlib/abort.c (__abort_msg): Adjust type.
53257         * assert/assert.c (__assert_fail_base): New function.  Majority
53258         of code from __assert_fail.  Allocate memory for __abort_msg with
53259         mmap.
53260         (__assert_fail): Now call __assert_fail_base.
53261         * assert/assert-perr.c: Remove bulk of implementation.  Use
53262         __assert_fail_base.
53263         * include/assert.hL Declare __assert_fail_base.
53264         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53265         mmap.
53266         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53267
53268 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53269
53270         [BZ #11952]
53271         [BZ #12453]
53272         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53273         until all modules are registered in the DTV.
53274         * elf/Makefile: Add rules to build and run tst-tls19.
53275         * elf/tst-tls19.c: New file.
53276         * elf/tst-tls19mod1.c: New file.
53277         * elf/tst-tls19mod2.c: New file.
53278         * elf/tst-tls19mod3.c: New file.
53279         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53280
53281         [BZ #12083]
53282         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53283         correctly.
53284
53285         [BZ #12601]
53286         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53287         two-byte sequence errors.
53288         * iconvdata/Makefile (tests): Add bug-iconv8.
53289         * iconvdata/bug-iconv8.c: New file.
53290
53291         [BZ #12626]
53292         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53293         buf2 definition.
53294
53295         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53296
53297         [BZ #12432]
53298         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53299         (dummy_getcfa): New function.
53300         (init): Get _Unwind_GetCFA address, use dummy if not found.
53301         (backtrace_helper): In recursion check, also check whether CFA changes.
53302         (__backtrace): Completely initialize arg.
53303
53304         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53305         storing incomplete byte sequence in state object.  Avoid testing for
53306         guaranteed too small input if we know there is enough data available.
53307
53308 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53309
53310         * Makeconfig (+link-pie): Indent.
53311         * Rules (binaries-pie): Define if $(have-fpie) and
53312         $(build-shared).
53313         (binaries-shared): Also filter out $(binaries-pie).
53314         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53315         * nscd/Makefile (others-pie): Add nscd.
53316         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53317         ($(objpfx)nscd): Remove command override.
53318         * login/Makefile (others-pie): Add pt_chown.
53319         ($(objpfx)pt_chown): Remove command override.
53320         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53321         remove command overrides.
53322
53323 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53324
53325         * libio/tst_putwc.c: Fix error messages.
53326
53327         [BZ #12724]
53328         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53329         currently writing and seek to current position when not.
53330         * libio/Makefile (tests): Add bug-fclose1.
53331         * libio/bug-fclose1.c: New file.
53332
53333 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53334
53335         [BZ #12511]
53336         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53337         don't set DF_1_NODELETE here.
53338         (do_lookup_x): When entering new entry test for copy relocation
53339         and if necessary set DF_1_NODELETE flag.
53340         * elf/tst-unique4.cc: New file.
53341         * elf/tst-unique4.h: New file.
53342         * elf/tst-unique4lib.cc: New file.
53343         * elf/Makefile: Add rules to build and run tst-unique4.
53344         Patch by Piotr Bury <pbury@goahead.com>.
53345
53346 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53347
53348         [BZ #12052]
53349         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53350
53351         [BZ #12625]
53352         * misc/mntent_r.c (addmntent): Flush the stream after the output
53353
53354         [BZ #12393]
53355         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53356         (is_trusted_path_normalize): Skip initial colon.  Append slash
53357         to empty buffer.  Duplicate is_trusted_path code but allow
53358         constructed patch to be prefix.
53359         (is_dst): Allow $ORIGIN followed by /.
53360         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53361         Correct testing of result of is_trusted_path_normalize
53362         (decompose_rpath): Fix warning.
53363
53364 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53365
53366         [BZ #11257]
53367         * grp/initgroups.c (internal_getgrouplist): When we found the service
53368         list through the initgroups entry in nsswitch.conf do not always
53369         continue on a successful lookup.  Don't always use the
53370         __nss_group_database value if it is set.
53371         * nss/nsswitch.conf (initgroups): Change action for successful db
53372         lookup to continue for compatibility.
53373
53374 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53375
53376         [BZ #11532]
53377         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53378         and CP774 modules.
53379         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53380         and CP774 modules.
53381         * iconvdata/tst-tables.sh: Likewise.
53382         * iconvdata/cp770.c: New file.
53383         * iconvdata/cp771.c: New file.
53384         * iconvdata/cp772.c: New file.
53385         * iconvdata/cp773.c: New file.
53386         * iconvdata/cp774.c: New file.
53387         * iconvdata/testdata/CP770: New file.
53388         * iconvdata/testdata/CP770..UTF8: New file.
53389         * iconvdata/testdata/CP771: New file.
53390         * iconvdata/testdata/CP771..UTF8: New file.
53391         * iconvdata/testdata/CP772: New file.
53392         * iconvdata/testdata/CP772..UTF8: New file.
53393         * iconvdata/testdata/CP773: New file.
53394         * iconvdata/testdata/CP773..UTF8: New file.
53395         * iconvdata/testdata/CP774: New file.
53396         * iconvdata/testdata/CP774..UTF8: New file.
53397
53398         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53399         END CHARMAP line.
53400         * iconvdata/gen-8bit-gap.sh: Likewise.
53401         * iconvdata/gen-8bit.sh: Likewise.
53402
53403         * locale/iso-639.def: Add ary entry.
53404
53405         [BZ #11258]
53406         * locale/C-translit.h.in: Add U20A1 transliteration.
53407
53408         [BZ #12178]
53409         * locale/iso-639.def: Add wae entry.
53410         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53411
53412         [BZ #12545]
53413         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53414         for n.
53415
53416         [BZ #12711]
53417         * locale/C-translit.h.in: Add entry for U20B9.
53418         Patch by pravin.d.s@gmail.com.
53419
53420 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53421
53422         [BZ #12713]
53423         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53424         ENAMETOOLONG use generic getcwd.
53425         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53426         in rtld.  Use *stat64.
53427         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53428         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53429         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53430         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53431         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53432         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53433         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53434         __fstatat64 macros.
53435         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53436         * dirent/rewinddir.c: Add libc_hidden_def.
53437         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53438         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53439
53440         * include/dirent.h (__alloc_dir): Add flags parameter.
53441         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53442         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53443         __alloc_dir.
53444         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53445         from fdopendir if O_CLOEXEC is already set.
53446
53447 2011-03-15  Alan Modra  <amodra@gmail.com>
53448
53449         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53450         l_tls_firstbyte_offset non-zero.  Save padding offset in
53451         l_tls_firstbyte_offset for later use.
53452         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53453         freeing static tls block.
53454
53455 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53456
53457         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53458         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53459         being defined by the kernel headers.
53460
53461 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53462
53463         [BZ #12734]
53464         * resolv/resolv.h: Define RES_NOTLDQUERY.
53465         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53466         no-tld-query and set RES_NOTLDQUERY.
53467         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53468         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53469         modern BIND to search name as TLD unless forbidden.
53470
53471 2011-05-07  Petr Baudis  <pasky@suse.cz>
53472             Ulrich Drepper  <drepper@gmail.com>
53473
53474         [BZ #12393]
53475         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53476         (is_trusted_path): ...to here.
53477         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53478         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53479         using is_trusted_path_normalize() in setuid scripts.
53480
53481 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53482
53483         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53484         __BEGIN/__END_DECLS.
53485
53486 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53487
53488         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53489         NSS_STATUS_NOTFOUND if no record was found.
53490
53491 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53492
53493         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53494         (headers-not-in-tirpc): Remove rpc/netdb.h
53495         * resolv/netdb.h: Revert last change.
53496
53497 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53498
53499         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53500         circular dependency between libgcc.a and libc.a.
53501
53502 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53503
53504         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53505         * nis/Makefile: Don't install rpcsvc/*.
53506         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53507         instead of <rpc/types.h>.
53508         (MAXHOSTNAMELEN): Define.
53509
53510 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53511
53512         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53513
53514 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53515
53516         [BZ #12714]
53517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53518         gethostbyname4_r when IPv6 results are possible.
53519
53520 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53521
53522         [BZ #12723]
53523         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53524         _PC_PIPE_BUF handling.
53525
53526 2011-04-30  Bruno Haible  <bruno@clisp.org>
53527
53528         [BZ #12717]
53529         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53530         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53531         to 'int'.
53532         * inet/getnameinfo.c (getnameinfo): Likewise.
53533
53534 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53535
53536         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53537         to groups setting in database lookup.
53538         * nss/nsswitch.conf: Add initgroups entry.
53539
53540 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53541
53542         [BZ #12685]
53543         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53544         mode string.
53545         Patch by Eric Blake <eblake@redhat.com>.
53546
53547 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53548
53549         * sunrpc/Makefile (need-export-routines): Add svc_run.
53550         (routines): Remove svc_run.
53551         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53552         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53553         * sunrpc/svc_run.c (svc_run): Likewise.
53554         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53555
53556 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53557
53558         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53559         problem in reallocation in last patch.
53560
53561 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53562
53563         * sunrpc/Makefile: Move inclusion of Rules.
53564
53565 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53566
53567         * nss/nss_files/files-initgroups.c: New file.
53568         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53569         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53570         _nss_files_initgroups_dyn.
53571
53572 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53573
53574         * elf/elf.h (R_ARM_IRELATIVE): Define.
53575
53576 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53577
53578         * po/ru.po: Update from translation team.
53579
53580 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53581
53582         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53583         dependencies.
53584
53585 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53586
53587         [BZ #12653]
53588         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53589         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53590         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53591         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53593
53594 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53595
53596         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53597         differing bytes.
53598         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53599         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53600         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53601
53602 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53603
53604         [BZ #12420]
53605         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53606         storing it.
53607         * stdlib/bug-getcontext.c: New file.
53608         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53609
53610 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53611
53612         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53613         instructions into .machine "z9-109".
53614         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53615         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53616
53617 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53618
53619         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53620         between environment variables and auxiliary vector.
53621
53622 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53623
53624         * Makefile: Add rules to build linkobj/libc.so.
53625         * include/libc-symbols.h: Define libc_hidden_nolink.
53626         * include/rpc/auth.h: Mark functions which are to be hidden.
53627         * include/rpc/auth_des.h: Likewise.
53628         * include/rpc/auth_unix.h: Likewise.
53629         * include/rpc/clnt.h: Likewise.
53630         * include/rpc/des_crypt.h: Likewise.
53631         * include/rpc/key_prot.h: Likewise.
53632         * include/rpc/pmap_clnt.h: Likewise.
53633         * include/rpc/pmap_prot.h: Likewise.
53634         * include/rpc/pmap_rmt.h: Likewise.
53635         * include/rpc/rpc_msg.h: Likewise.
53636         * include/rpc/svc.h: Likewise.
53637         * include/rpc/svc_auth.h: Likewise.
53638         * include/rpc/xdr.h: Likewise.
53639         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53640         * nss/Makefile: Likewise.
53641         * sunrpc/Makefile: Don't install headers.  Build library with normal
53642         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53643         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53644         for the compat linking library.  Remove use of INTDEF/INTUSE.
53645         * sunrpc/auth_none.c: Likewise.
53646         * sunrpc/auth_unix.c: Likewise.
53647         * sunrpc/authdes_prot.c: Likewise.
53648         * sunrpc/authuxprot.c: Likewise.
53649         * sunrpc/clnt_gen.c: Likewise.
53650         * sunrpc/clnt_perr.c: Likewise.
53651         * sunrpc/clnt_raw.c: Likewise.
53652         * sunrpc/clnt_simp.c: Likewise.
53653         * sunrpc/clnt_tcp.c: Likewise.
53654         * sunrpc/clnt_udp.c: Likewise.
53655         * sunrpc/clnt_unix.c: Likewise.
53656         * sunrpc/des_crypt.c: Likewise.
53657         * sunrpc/des_soft.c: Likewise.
53658         * sunrpc/get_myaddr.c: Likewise.
53659         * sunrpc/key_call.c: Likewise.
53660         * sunrpc/key_prot.c: Likewise.
53661         * sunrpc/netname.c: Likewise.
53662         * sunrpc/pm_getmaps.c: Likewise.
53663         * sunrpc/pm_getport.c: Likewise.
53664         * sunrpc/pmap_clnt.c: Likewise.
53665         * sunrpc/pmap_prot.c: Likewise.
53666         * sunrpc/pmap_prot2.c: Likewise.
53667         * sunrpc/pmap_rmt.c: Likewise.
53668         * sunrpc/publickey.c: Likewise.
53669         * sunrpc/rpc_cmsg.c: Likewise.
53670         * sunrpc/rpc_common.c: Likewise.
53671         * sunrpc/rpc_dtable.c: Likewise.
53672         * sunrpc/rpc_prot.c: Likewise.
53673         * sunrpc/rpc_thread.c: Likewise.
53674         * sunrpc/rtime.c: Likewise.
53675         * sunrpc/svc.c: Likewise.
53676         * sunrpc/svc_auth.c: Likewise.
53677         * sunrpc/svc_authux.c: Likewise.
53678         * sunrpc/svc_raw.c: Likewise.
53679         * sunrpc/svc_run.c: Likewise.
53680         * sunrpc/svc_simple.c: Likewise.
53681         * sunrpc/svc_tcp.c: Likewise.
53682         * sunrpc/svc_udp.c: Likewise.
53683         * sunrpc/svc_unix.c: Likewise.
53684         * sunrpc/svcauth_des.c: Likewise.
53685         * sunrpc/xcrypt.c: Likewise.
53686         * sunrpc/xdr.c: Likewise.
53687         * sunrpc/xdr_array.c: Likewise.
53688         * sunrpc/xdr_float.c: Likewise.
53689         * sunrpc/xdr_intXX_t.c: Likewise.
53690         * sunrpc/xdr_mem.c: Likewise.
53691         * sunrpc/xdr_rec.c: Likewise.
53692         * sunrpc/xdr_ref.c: Likewise.
53693         * sunrpc/xdr_sizeof.c: Likewise.
53694         * sunrpc/xdr_stdio.c: Likewise.
53695
53696 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53697
53698         [BZ #12650]
53699         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53700         * sysdeps/ia64/dl-tls.h: Likewise.
53701         * sysdeps/powerpc/dl-tls.h: Likewise.
53702         * sysdeps/s390/dl-tls.h: Likewise.
53703         * sysdeps/sh/dl-tls.h: Likewise.
53704         * sysdeps/sparc/dl-tls.h: Likewise.
53705         * sysdeps/x86_64/dl-tls.h: Likewise.
53706         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53707
53708 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53709
53710         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53711         rpath element also skip the following colon.
53712         (expand_dynamic_string_token): Add is_path parameter and pass
53713         down to DL_DST_REQUIRED and _dl_dst_substitute.
53714         (decompose_rpath): Call expand_dynamic_string_token with
53715         non-zero is_path.  Ignore empty rpaths.
53716         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53717         with zero is_path.
53718
53719 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53720
53721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53722         Make cancelable.
53723
53724 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53725
53726         [BZ #12655]
53727         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53728         Patch by Filipe David Manana <fdmanana@apache.org>.
53729
53730 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53731
53732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53733         Maintain aligned stack.
53734         (CHECK_RSP): Remove unused macro.
53735
53736 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53737
53738         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53739         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53740
53741 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53742
53743         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53744
53745         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53746
53747 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53748
53749         [BZ #12518]
53750         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53751         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53752         * sysdeps/x86_64/memmove.c: New file.
53753         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53754         (memcpy): Renamed to ...
53755         (__new_memcpy): This.
53756         (memcpy): Provide GLIBC_2_14 memcpy.
53757         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53758         (memcpy): Provide GLIBC_2_2_5 memcpy.
53759
53760 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53761
53762         [BZ #12631]
53763         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53764
53765 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53766
53767         * misc/syncfs.c: New file.
53768         * misc/Makefile (routines): Add syncfs.
53769         * posix/unistd.h: Declare syncfs.
53770         * sysdeps/unix/syscalls.list: Add syncfs.
53771
53772 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53773
53774         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53775         open_by_handle_at.
53776         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53781         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53783
53784 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53785
53786         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53787         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53788         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53793
53794         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53795         sync_file_range.c with -fexceptions.
53796         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53797         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53798         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53799         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53800         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53801         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53803         sync_file_range as cancellation point
53804         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53805         now a wrapper around __call_sync_file_range with cancellation handling.
53806         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53807         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53808         function name to __call_sync_file_range.
53809         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53810         Add call_sync_file_range.
53811
53812 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53813
53814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53815         bits/timex.h.
53816
53817 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53818
53819         * iconv/iconv.h: Fix typo in comment.
53820         * io/fcntl.h: Likewise.
53821         * libio/stdio.h: Likewise.
53822         * posix/spawn.h: Likewise.
53823         * posix/unistd.h: Likewise.
53824         * stdlib/stdlib.h: Likewise.
53825         * time/time.h: Likewise.
53826         * wcsmbs/wchar.h: Likewise.
53827
53828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53829         open_by_handle): Add.
53830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53831         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53832         Augment a few comments.
53833         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53835         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53837         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53838         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53839         open_by_handle.
53840
53841         * io/fcntl.h (AT_EMPTY_PATH): Define.
53842
53843 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53844
53845         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53846         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53847         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53848         to...
53849         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53850         * Versions.def: Add GLIBC_2.14.
53851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53852         Export.
53853
53854 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53855
53856         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53857         round counter.
53858         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53859
53860 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53861
53862         [BZ #12597]
53863         * string/test-strncmp.c (do_page_test): New function.
53864         (check2): Likewise.
53865         (test_main): Call check2.
53866         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53867
53868 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53869
53870         [BZ #12587]
53871         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53872         Handle cache information in CPU leaf 4.
53873         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53874
53875 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53876
53877         [BZ #12583]
53878         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53879         character representation.
53880         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53881
53882 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53883
53884         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53885         END(__isnan) to END(__isnanf) to match function entry point/label
53886         EALIGN(__isnanf,...).
53887
53888 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53889
53890         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53891
53892 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53893
53894         [BZ #12510]
53895         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53896         copy from the symbol referenced in the relocation to initialize the
53897         used variable.
53898         Patch by Piotr Bury <pbury@goahead.com>.
53899         * elf/Makefile: Add rules to build and tst-unique3.
53900         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53901         * elf/tst-unique3.cc: New file.
53902         * elf/tst-unique3.h: New file.
53903         * elf/tst-unique3lib.cc: New file.
53904         * elf/tst-unique3lib2.cc: New file.
53905
53906         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53907
53908 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53909
53910         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53911         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53912         to _start.
53913
53914 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53915
53916         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53917         to-be-loaded object along a path to loader is ld.so.
53918
53919 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53920             Ulrich Drepper  <drepper@gmail.com>
53921
53922         * sysdeps/x86_64/memset.S: After aligning destination, code
53923         branches to different locations depending on the value of
53924         misalignment, when multiarch is enabled. Fix this.
53925
53926 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53927
53928         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53929         Set _x86_64_preferred_memory_instruction for AMD processsors.
53930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53931         Set bit_Prefer_SSE_for_memop for AMD processors.
53932
53933 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53934
53935         * libio/fmemopen.c (fmemopen): Optimize a bit.
53936
53937 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53938
53939         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53940
53941 2011-03-03  Roland McGrath  <roland@redhat.com>
53942
53943         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53944
53945 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53946
53947         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53948         __bzero_ultra1 instead of __memset_ultra1.
53949
53950 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53951             Ulrich Drepper  <drepper@gmail.com>
53952
53953         [BZ #12509]
53954         * include/link.h (struct link_map): Add l_orig_initfini.
53955         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53956         returning unsuccessfully.
53957         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53958         close of a file loaded at startup, restore the original l_initfini
53959         list.
53960         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53961         list, store the pointer.
53962         * elf/Makefile ($(objpfx)noload-mem): New rule.
53963         (noload-ENV): Define.
53964         (tests): Add $(objpfx)noload-mem.
53965         * elf/noload.c: Include <memcheck.h>.
53966         (main): Call mtrace.  Close all opened handles.
53967
53968 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53969
53970         [BZ #12454]
53971         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53972         dependencies are missing.
53973
53974 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53975
53976         Fix __if_freereq crash: Unlike the generic version which uses free,
53977         Hurd needs munmap.
53978         * sysdeps/mach/hurd/ifreq.h: New file.
53979
53980 2011-01-27  Petr Baudis  <pasky@suse.cz>
53981             Ulrich Drepper  <drepper@gmail.com>
53982
53983         [BZ 12445]#
53984         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53985         to extend_alloca().
53986         * stdio-common/bug23.c: New file.
53987         * stdio-common/Makefile (tests): Add bug23.
53988
53989 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53990             Ulrich Drepper  <drepper@gmail.com>
53991
53992         [BZ #12489]
53993         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53994         before performing relro protection.  At old place add assertion
53995         to make sure nothing changed.
53996
53997 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53998             Glauber de Oliveira Costa  <glommer@gmail.com>
53999
54000         * elf/elf.h: Add new ARM TLS relocs.
54001
54002 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54003
54004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54005         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54006         cast from r3.
54007         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54008         'tests' variable.
54009         * sysdeps/wordsize-64/tst-writev.c: New file.
54010
54011 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54012
54013         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54014         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54015         insns in _dl_start to prevent a TOC reference before relocs are
54016         resolved.
54017
54018 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54019
54020         [BZ #12469]
54021         * Makeconfig: Remove RANLIB definition.
54022         * Makerules: Don't use RANLIB.
54023         * aclocal.m4: Remove ranlib test.
54024         * configure.in: No need to check for ranlib.
54025         * elf/rtld-Rules: Don't use RANLIB.
54026
54027 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54028
54029         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54030         protection macro.
54031         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54032         inclusion protection macro.
54033
54034         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54035         SIGRTMIN and SIGRTMAX and print information in that case only when
54036         SIGRTMIN is defined.
54037
54038 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54039
54040         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54041         arginfo fn returning -1.
54042
54043         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54044         and thousands string is zero terminated.
54045
54046 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54047
54048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54049         sysdeps/unix/sysv/linux/bits/socket.h.
54050
54051 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54052
54053         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54054         (__CPU_COUNT): Remove old macros.
54055         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54056         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54057         (__CPU_ALLOC, __CPU_FREE): Add macros.
54058         (__sched_cpualloc, __sched_cpufree): Add declarations.
54059
54060 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54061
54062         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54063         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54064         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54065         (readdhstai): Return value of addhstaiX call.
54066         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54067         (addgrbyX): Return value returned by cache_addgr.
54068         (readdgrbyname): Return value returned by addgrbyX.
54069         (readdgrbygid): Likewise.
54070         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54071         (addpwbyX): Return value returned by cache_addpw.
54072         (readdpwbyname): Return value returned by addhstbyX.
54073         (readdpwbyuid): Likewise.
54074         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54075         (addservbyX): Return value returned by cache_addserv.
54076         (readdservbyname): Return value returned by addservbyX:
54077         (readdservbyport): Likewise.
54078         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54079         (addhstbyX): Return value returned by cache_addhst.
54080         (readdhstbyname): Return value returned by addhstbyX.
54081         (readdhstbyaddr): Likewise.
54082         (readdhstbynamev6): Likewise.
54083         (readdhstbyaddrv6): Likewise.
54084         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54085         (readdinitgroups): Return value returned by addinitgroupsX.
54086         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54087         (prune_cache): Keep track of timeout value of re-added entries.
54088         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54089         * nscd/nscd.h: Adjust prototypes of readd* functions.
54090
54091 2011-02-04  Roland McGrath  <roland@redhat.com>
54092
54093         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54094         (nis_stats): Likewise.
54095         * nis/nis_modify.c (nis_modify): Likewise.
54096         * nis/nis_remove.c (nis_remove): Likewise.
54097         * nis/nis_add.c (nis_add): Likewise.
54098
54099         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54100
54101         * posix/fnmatch_loop.c: Add some consts.
54102
54103         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54104
54105 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54106
54107         [BZ #12460]
54108         * config.make.in (config-cflags-novzeroupper): Define.
54109         * configure.in: Substitute libc_cv_cc_novzeroupper.
54110         * elf/Makefile (AVX-CFLAGS): Define.
54111         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54112         (CFLAGS-tst-auditmod4a.c): Likewise.
54113         (CFLAGS-tst-auditmod4b.c): Likewise.
54114         (CFLAGS-tst-auditmod6b.c): Likewise.
54115         (CFLAGS-tst-auditmod6c.c): Likewise.
54116         (CFLAGS-tst-auditmod7b.c): Likewise.
54117         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54118
54119 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54120
54121         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54122         function to the callback.
54123         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54124
54125 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54126
54127         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54128         of errno.
54129
54130 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54131
54132         [BZ #11724]
54133         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54134         of constructors.
54135         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54136         of destructors.
54137         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54138
54139         [BZ #11724]
54140         * elf/Makefile: Add rules to build and run new test.
54141         * elf/tst-initorder.c: New file.
54142         * elf/tst-initorder.exp: New file.
54143         * elf/tst-initordera1.c: New file.
54144         * elf/tst-initordera2.c: New file.
54145         * elf/tst-initordera3.c: New file.
54146         * elf/tst-initordera4.c: New file.
54147         * elf/tst-initorderb1.c: New file.
54148         * elf/tst-initorderb2.c: New file.
54149         * elf/tst-order-a1.c: New file.
54150         * elf/tst-order-a2.c: New file.
54151         * elf/tst-order-a3.c: New file.
54152         * elf/tst-order-a4.c: New file.
54153         * elf/tst-order-b1.c: New file.
54154         * elf/tst-order-b2.c: New file.
54155         * elf/tst-order-main.c: New file.
54156         New test case by George Gensure <werkt0@gmail.com>.
54157
54158 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54159
54160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54161         decoding ACE if AI_CANONIDN.
54162
54163 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54164
54165         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54166
54167 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54168
54169         * version.h (RELEASE): Bump for 2.13 release.
54170         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54171
54172         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54173
54174         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54175         MADV_NOHUGEPAGE.
54176         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54177         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54178         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54179         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54180         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54181         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54182
54183         * posix/getconf.c: Update copyright year.
54184         * catgets/gencat.c: Likewise.
54185         * csu/version.c: Likewise.
54186         * debug/catchsegv.sh: Likewise.
54187         * debug/xtrace.sh: Likewise.
54188         * elf/ldconfig.c: Likewise.
54189         * elf/ldd.bash.in: Likewise.
54190         * elf/sprof.c (print_version): Likewise.
54191         * iconv/iconv_prog.c: Likewise.
54192         * iconv/iconvconfig.c: Likewise.
54193         * locale/programs/locale.c: Likewise.
54194         * locale/programs/localedef.c: Likewise.
54195         * malloc/memusage.sh: Likewise.
54196         * malloc/mtrace.pl: Likewise.
54197         * nscd/nscd.c (print_version): Likewise.
54198         * nss/getent.c: Likewise.
54199
54200         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54201         PF_CAIF, and PF_ALG.
54202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54203
54204 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54205
54206         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54207         (modules-names): Use them.
54208         (ifunc-test-modules, ifunc-pie-tests): Define.
54209         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54210         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54211         (test-extras): Likewise.
54212         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54213         $(compile-command.c).
54214         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54215         (all-built-dso): Define.
54216         (check-textrel.out, check-execstack.out): Depend on it.
54217
54218         * configure.in: Don't override --enable-multi-arch.
54219
54220 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54221
54222         [BZ #6812]
54223         * nscd/hstcache.c (tryagain): Define.
54224         (cache_addhst): Return tryagain not notfound for temporary errors.
54225         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54226         failed.
54227
54228 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54229
54230         [BZ #10563]
54231         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54232         to make the syscall.
54233         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54234
54235         [BZ #12378]
54236         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54237         and fall back to matching as normal character if the string ends before
54238         the matching ']' is found.  This is what POSIX requires.
54239         * posix/testfnm.c: Adjust test result.
54240         * posix/globtest.sh: Adjust test result.  Add new test.
54241         * posix/tst-fnmatch.input: Likewise.
54242         * posix/tst-fnmatch2.c: Add new test.
54243
54244 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54245
54246         * elf/Makefile (check-execstack): Revert last change.  Depend on
54247         check-execstack.h.
54248         (check-execstack.h): New target.
54249         (generated): Add check-execstack.h.
54250         * elf/check-execstack.c: Include "check-execstack.h".
54251         (main): Revert last change.
54252         (handle_file): Return zero if GNU_STACK is absent and
54253         DEFAULT_STACK_PERMS doesn't include PF_X.
54254
54255 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54256
54257         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54258         in child fails because the descriptor is already closed.
54259         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54260         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54261         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54262
54263         [BZ #12397]
54264         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54265         syscall.
54266
54267         [BZ #10484]
54268         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54269         temporary buffer used to handle multi lookups locally.
54270         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54271
54272 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54273
54274         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54275         loader is ld.so.
54276
54277 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54278
54279         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54280         alignment for SSE2.
54281
54282 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54283
54284         [BZ #12394]
54285         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54286         characters.  When rounding increased number of integer digits recompute
54287         number of groups.
54288         * stdio-common/tst-grouping.c: New file.
54289         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54290
54291 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54292
54293         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54294         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54295
54296         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54297         void.
54298         * bits/select.h: Likewise.
54299
54300 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54301
54302         * po/ja.po: Update from translation team.
54303
54304 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54305
54306         [BZ #11155]
54307         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54308         implementation just like for lxstat, fxstatat, et al.
54309
54310 2010-12-27  Jim Meyering  <meyering@redhat.com>
54311
54312         [BZ #12348]
54313         * posix/regexec.c (build_trtable): Return failure indication upon
54314         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54315
54316 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54317
54318         [BZ #12201]
54319         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54320         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54321         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54322         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54323
54324         [BZ #12207]
54325         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54326
54327         [BZ #12204]
54328         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54329         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54330
54331 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54332
54333         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54334         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54335         script has SORT_BY_INIT_PRIORITY.
54336         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54337         NO_CTORS_DTORS_SECTIONS is defined.
54338         * elf/soinit.c: Likewise.
54339         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54340         NO_CTORS_DTORS_SECTIONS is defined.
54341         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54342         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54343         * sysdeps/sh/init-first.c: Likewise.
54344         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54345
54346 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54347
54348         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54349         always use the slow path.
54350
54351 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54352
54353         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54354         similar rule which adds the sysdep directories to the header search in
54355         order to pick up the correct platform stackinfo.h.
54356         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54357         perform test if it is, otherwise return successfully without testing.
54358         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54359         DEFAULT_STACK_PERMS define in stackinfo.h.
54360         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54361         defined in stackinfo.h.
54362         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54363         DEFAULT_STACK_PERMS defined in stackinfo.h.
54364         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54365         * sysdeps/ia64/stackinfo.h: Likewise.
54366         * sysdeps/s390/stackinfo.h: Likewise.
54367         * sysdeps/sh/stackinfo.h: Likewise.
54368         * sysdeps/sparc/stackinfo.h: Likewise.
54369         * sysdeps/x86_64/stackinfo.h: Likewise.
54370         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54371         PF_X for powerpc64.  Retain PF_X for powerpc32.
54372
54373 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54374
54375         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54376         accurately.
54377         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54378         GETDENTS_64BIT_ALIGNED.
54379
54380 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54381
54382         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54383
54384 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54385
54386         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54387         _GNU_SOURCE.
54388
54389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54390         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54391         Remove __restrict.
54392         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54393         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54394
54395 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54396
54397         [BZ #11655]
54398         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54399         are initialized.
54400
54401 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54402
54403         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54404
54405 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54406
54407         * po/it.po: Update from translation team.
54408
54409 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54410
54411         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54412         unused codes.
54413
54414 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54415
54416         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54417
54418 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54419
54420         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54421         specially.
54422         (gaih_getanswer_slice): Likewise.
54423
54424 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54425
54426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54427
54428 2010-05-31  Petr Baudis  <pasky@suse.cz>
54429
54430         [BZ #11149]
54431         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54432         silently even in the chroot mode.
54433
54434 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54435
54436         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54437         last patch a bit.  Pretty printing
54438
54439 2010-05-31  Petr Baudis <pasky@suse.cz>
54440
54441         [BZ #10085]
54442         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54443         initialization of skip_initgroups_dyn.
54444
54445 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54446
54447         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54448         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54449
54450 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54451
54452         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54453
54454 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54455
54456         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54457         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54458         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54459         ($(objpfx)tst-fnmatch-mem): New rule.
54460         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54461         * posix/tst-fnmatch.c (main): Call mtrace.
54462
54463 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54464
54465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54466         Support Intel processor model 6 and model 0x2c.
54467
54468 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54469
54470         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54471           signed comparison.
54472
54473 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54474
54475         [BZ #12205]
54476         * string/test-strncasecmp.c (check_result): New function.
54477         (do_one_test): Use it.
54478         (check1): New function.
54479         (test_main): Use it.
54480         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54481         Support strcasecmp and strncasecmp.
54482
54483 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54484
54485         [BZ #12194]
54486         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54487         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54488
54489 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54490
54491         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54492         IFUNC support.
54493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54494         memset-x86-64.
54495         * sysdeps/x86_64/multiarch/bzero.S: New file.
54496         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54497         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54498         * sysdeps/x86_64/multiarch/memset.S: New file.
54499         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54501         Set bit_Prefer_SSE_for_memop for Intel processors.
54502         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54503         Define.
54504         (index_Prefer_SSE_for_memop): Define.
54505         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54506
54507 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54508
54509         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54510         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54511
54512 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54513
54514         [BZ #12191]
54515         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54516         (__x86_64_raw_data_cache_size_half): Likewise.
54517         (__x86_64_raw_shared_cache_size): Likewise.
54518         (__x86_64_raw_shared_cache_size_half): Likewise.
54519
54520         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54521         (__x86_64_raw_data_cache_size_half): Likewise.
54522         (__x86_64_raw_shared_cache_size): Likewise.
54523         (__x86_64_raw_shared_cache_size_half): Likewise.
54524         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54525         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54526         and __x86_64_raw_shared_cache_size_half.  Round
54527         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54528         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54529         to multiple of 256 bytes.
54530
54531 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54532
54533         [BZ #12167]
54534         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54535         of inacessible symlinks.  Verify result of symlink before returning it.
54536         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54537         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54538
54539 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54540
54541         * math/math.h (isinf): Fix typo in comment.
54542
54543 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54544
54545         * po/da.po: Update from translation team.
54546
54547 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54548
54549         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54550         is added to the list.
54551
54552 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54553             Ulrich Drepper  <drepper@gmail.com>
54554
54555         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54556         the global list here.  Move code to...
54557         (_dl_add_to_namespace_list): ...here.  New function.
54558         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54559         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54560         * elf/dl-load.c (lose): Don't remove the element from the list.
54561         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54562         (_dl_map_object): Likewise.
54563
54564 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54565
54566         [BZ #12159]
54567         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54568         into all bytes of SSE register.
54569         Patch by Richard Li <richardpku@gmail.com>.
54570
54571 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54572
54573         [BZ #12140]
54574         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54575         perturbing.
54576
54577 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54578
54579         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54580         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54581         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54582         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54584         submachine.
54585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54586
54587 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54588
54589         * include/dlfcn.h (__RTLD_SECURE): Define.
54590         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54591         mode & __RTLD_SECURE instead.
54592         (open_path): Rename preloaded parameter to secure.
54593         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54594         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54595         * elf/dl-deps.c (openaux): Likewise.
54596         * elf/rtld.c (struct map_args): Remove is_preloaded.
54597         (map_doit): Don't use it.
54598         (dl_main): Likewise.
54599         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54600         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54601
54602 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54603
54604         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54605         (sysd-rules-targets): Remove duplicates.
54606         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54607         rtld-%.$o dependency.
54608
54609 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54610
54611         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54612         _dl_map_object do it.
54613
54614 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54615
54616         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54617         fast fma builtins, define the macros in the C99 standard.
54618         (FP_FAST_FMAF): Likewise.
54619         (FP_FAST_FMAL): Likewise.
54620         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54621
54622         * bits/mathdef.h: Update copyright year.
54623         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54624
54625 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54626
54627         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54628         builtins, define the macros in the C99 standard.
54629         (FP_FAST_FMAF): Likewise.
54630         (FP_FAST_FMAL): Likewise.
54631         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54632         multiply/add.
54633         (FP_FAST_FMAF): Likewise.
54634
54635 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54636
54637         [BZ #3268]
54638         * math/libm-test.inc (fma_test): Some new testcases.
54639         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54640         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54641         y and infinite z.  Do multiplication by C already in long double.
54642         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54644         y and infinite z.  Do bitwise or of inexact bit into u.d.
54645         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54646         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54647         * sysdeps/i386/fpu/s_fma.S: Removed.
54648         * sysdeps/i386/fpu/s_fmal.S: Removed.
54649
54650 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54651
54652         [BZ #3268]
54653         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54655         computation is not scheduled after fetestexcept.  Fix value
54656         of minimum denormal long double.
54657
54658 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54659
54660         [BZ #3268]
54661         * math/libm-test.inc (fma_test): Add some more tests.
54662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54663         correctly.
54664
54665 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54666
54667         * scripts/data/localplt-s390-linux-gnu.data: New file.
54668         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54669
54670 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54671
54672         [BZ #3268]
54673         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54674         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54675         instead of dbl-64.
54676         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54677         inlines.
54678         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54680         if one of x and y is very large and the other is subnormal.
54681         * sysdeps/s390/fpu/s_fmaf.c: New file.
54682         * sysdeps/s390/fpu/s_fma.c: New file.
54683         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54684         * sysdeps/powerpc/fpu/s_fma.S: New file.
54685         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54686         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54687         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54688
54689 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54690
54691         [BZ #3268]
54692         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54693         fma tests.
54694         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54695         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54696         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54697         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54698         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54699         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54700         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54701
54702 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54703
54704         [BZ #12078]
54705         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54706         * posix/bug-regex31.input: Add test case.
54707
54708 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54709
54710         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54711         * posix/bug-regex31.input: New file.
54712
54713         [BZ #12078]
54714         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54715         (parse_sub_exp): Fix last change, use postorder.
54716
54717         * posix/bug-regex31.c: New file.
54718         * posix/Makefile: Add rules to build and run bug-regex31.
54719
54720         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54721
54722         [BZ #12078]
54723         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54724
54725         [BZ #12108]
54726         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54727         to have entries in sys_siglist.
54728
54729         [BZ #12093]
54730         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54731         be NULL.
54732
54733 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54734
54735         [BZ #3268]
54736         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54737         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54738         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54739         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54740         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54741         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54742         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54743         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54744         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54745         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54746         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54747         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54748         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54749         * math/ftestexcept.c (fetestexcept): Likewise.
54750         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54751         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54752         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54753         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54754         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54755         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54756         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54757
54758 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54759
54760         [BZ #12107]
54761         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54762         newline.
54763
54764 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54765
54766         * string/bug-strstr1.c: New file.
54767         * string/Makefile: Add rules to build and run bug-strstr1.
54768
54769 2010-10-05  Eric Blake  <eblake@redhat.com>
54770
54771         [BZ #12092]
54772         * string/str-two-way.h (two_way_long_needle): Always clear memory
54773         when skipping input due to the shift table.
54774
54775 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54776
54777         [BZ #12005]
54778         * malloc/mcheck.c: Handle large requests.
54779
54780         [BZ #12077]
54781         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54782         for strncmp and strncasecmp.
54783         * string/stratcliff.c: Add tests for strcmp and strncmp.
54784         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54785
54786 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54787
54788         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54789         __set_fpscr.
54790
54791 2010-09-30  Andreas Jaeger  <aj@suse.de>
54792
54793         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54794         (CGROUP_SUPER_MAGIC): Define.
54795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54796         Handle btrfs and cgroup file systems.
54797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54798         Likewise.
54799
54800 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54801
54802         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54803         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54804
54805 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54806
54807         [BZ #12067]
54808         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54809         trying to locate the ELF header.
54810
54811 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54812
54813         [BZ #11611]
54814         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54815         Mask out sign-bit copies when constructing f_fsid.
54816
54817 2010-09-24  Petr Baudis <pasky@suse.cz>
54818
54819         * debug/stack_chk_fail_local.c: Add missing licence exception.
54820         * debug/warning-nop.c: Likewise.
54821
54822 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54823
54824         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54825         implementing getdents64 using getdents syscall, set d_type if
54826         __ASSUME_GETDENTS32_D_TYPE.
54827
54828 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54829
54830         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54831         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54832
54833 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54834
54835         [BZ #12037]
54836         * posix/unistd.h: Undo change of feature selection for ftruncate from
54837         2010-01-11.
54838
54839 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54840
54841         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54842         detection.
54843
54844 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54845
54846         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54847         fanotify_mark.
54848         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54849
54850 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54851
54852         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54853         variables after CHECK_SP call.
54854         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54855
54856 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54857             Ulrich Drepper  <drepper@redhat.com>
54858
54859         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54860         re-relocationg ld.so.
54861         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54862         _dl_init_paths call.
54863         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54864         here anymore.
54865
54866 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54867
54868         * resolv/res_init.c (__res_vinit): Count the default server we added.
54869
54870 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54871             Ulrich Drepper  <drepper@redhat.com>
54872
54873         [BZ #11968]
54874         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54875         (____longjmp_chk): Use %ebx for saving value across system call.
54876         Add unwind info.
54877
54878 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54879
54880         * manual/Makefile: Don't mix pattern rules with normal rules.
54881
54882 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54883
54884         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54885         operation.
54886         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54887         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54888         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54889         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54891         Likewise.
54892
54893 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54894
54895         [BZ #11979]
54896         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54897         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54898
54899 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54900
54901         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54902         * sysdeps/x86_64/addmul_1.S: Likewise.
54903         * sysdeps/x86_64/lshift.S: Likewise.
54904         * sysdeps/x86_64/mul_1.S: Likewise.
54905         * sysdeps/x86_64/rshift.S: Likewise.
54906         * sysdeps/x86_64/sub_n.S: Likewise.
54907         * sysdeps/x86_64/submul_1.S: Likewise.
54908
54909 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54910
54911         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54912         Define __sched_param instead of SCHED_* and sched_param when
54913         <bits/sched.h> is included with __need_schedparam defined.
54914         * bits/sched.h [__need_schedparam]
54915         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54916         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54917         (__defined_schedparam): Define to 1.
54918         (__sched_param): New structure, identical to sched_param.
54919         (__need_schedparam): Undefine.
54920
54921 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54922
54923         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54924         (epoll_create1): Declare.
54925
54926         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54927
54928 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54929
54930         [BZ #7066]
54931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54932         shifting retval into place.
54933
54934 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54935
54936         * nis/rpcsvc/nis.h: Update copyright notice.
54937         * nis/rpcsvc/nis.x: Likewise.
54938         * nis/rpcsvc/nis_callback.h: Likewise.
54939         * nis/rpcsvc/nis_callback.x: Likewise.
54940         * nis/rpcsvc/nis_object.x: Likewise.
54941         * nis/rpcsvc/nis_tags.h: Likewise.
54942         * nis/rpcsvc/yp.h: Likewise.
54943         * nis/rpcsvc/yp.x: Likewise.
54944         * nis/rpcsvc/ypupd.h: Likewise.
54945         * nis/yp_xdr.c: Likewise.
54946         * nis/ypupdate_xdr.c: Likewise.
54947
54948         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54949         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54950         (pmap_getport): Use __libc_rpc_getport.
54951         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54952         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54953         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54954
54955 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54956
54957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54958         fanotify_mark.
54959
54960 2010-08-27  Roland McGrath  <roland@redhat.com>
54961
54962         * sysdeps/i386/i686/multiarch/Makefile
54963         (CFLAGS-varshift.c): New variable.
54964
54965 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54966
54967         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54968         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54969
54970         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54971
54972         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54973
54974 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54975
54976         * sysdeps/x86_64/strlen.S: Unroll the loop.
54977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54978         strlen-sse2 strlen-sse2-bsf.
54979         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54980         __strlen_no_bsf if bit_Slow_BSF is set.
54981         (__strlen_sse42): Removed.
54982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54983         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54984
54985 2010-08-25  Roland McGrath  <roland@redhat.com>
54986
54987         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54988         * sysdeps/x86_64/multiarch/varshift.c: New file.
54989         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54990         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54991         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54992         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54993
54994 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54995
54996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54997         strlen-sse2 strlen-sse2-bsf.
54998         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54999         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55000         (__strlen_sse2): Removed.
55001         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55002         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55004         bit_Slow_BSF for Atom.
55005         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55006         (index_Slow_BSF): Define.
55007         (HAS_SLOW_BSF): Define.
55008
55009 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55010
55011         [BZ #10851]
55012         * resolv/res_init.c (__res_vinit): When no server address at all
55013         is given default to loopback.
55014
55015 2010-08-24  Roland McGrath  <roland@redhat.com>
55016
55017         * configure.in: Remove config-name.h generation.
55018         * configure: Regenerated.
55019         * config-name.in: File removed.
55020         * scripts/config-uname.sh: New file.
55021         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55022         ($(objdir)config-name.h): New target.
55023
55024         * sunrpc/rpc_parse.h: Avoid nested comment.
55025
55026 2010-08-24  Richard Henderson  <rth@redhat.com>
55027             Ulrich Drepper  <drepper@redhat.com>
55028             H.J. Lu  <hongjiu.lu@intel.com>
55029
55030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55032         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55033         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55034         _mm_alignr_epi8 with _mm_loadu_si128.
55035         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55036         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55037         (__m128i_shift_right): Removed.
55038         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55039         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55040         * sysdeps/x86_64/multiarch/varshift.h: New file.
55041         * sysdeps/x86_64/multiarch/varshift.S: New file.
55042
55043 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55044
55045         * configure.in: Move assembler checks to before sysdep dir checking.
55046
55047 2010-08-20  Petr Baudis  <pasky@suse.cz>
55048
55049         * LICENSES: Sync the sunrpc license.
55050
55051 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55052
55053         * sunrpc/auth_des.c: Update copyright notice once again.
55054         * sunrpc/auth_none.c: Likewise.
55055         * sunrpc/auth_unix.c: Likewise.
55056         * sunrpc/authdes_prot.c: Likewise.
55057         * sunrpc/authuxprot.c: Likewise.
55058         * sunrpc/bindrsvprt.c: Likewise.
55059         * sunrpc/clnt_gen.c: Likewise.
55060         * sunrpc/clnt_perr.c: Likewise.
55061         * sunrpc/clnt_raw.c: Likewise.
55062         * sunrpc/clnt_simp.c: Likewise.
55063         * sunrpc/clnt_tcp.c: Likewise.
55064         * sunrpc/clnt_udp.c: Likewise.
55065         * sunrpc/clnt_unix.c: Likewise.
55066         * sunrpc/des_crypt.c: Likewise.
55067         * sunrpc/des_soft.c: Likewise.
55068         * sunrpc/get_myaddr.c: Likewise.
55069         * sunrpc/getrpcport.c: Likewise.
55070         * sunrpc/key_call.c: Likewise.
55071         * sunrpc/key_prot.c: Likewise.
55072         * sunrpc/openchild.c: Likewise.
55073         * sunrpc/pm_getmaps.c: Likewise.
55074         * sunrpc/pm_getport.c: Likewise.
55075         * sunrpc/pmap_clnt.c: Likewise.
55076         * sunrpc/pmap_prot.c: Likewise.
55077         * sunrpc/pmap_prot2.c: Likewise.
55078         * sunrpc/pmap_rmt.c: Likewise.
55079         * sunrpc/rpc/auth.h: Likewise.
55080         * sunrpc/rpc/auth_unix.h: Likewise.
55081         * sunrpc/rpc/clnt.h: Likewise.
55082         * sunrpc/rpc/des_crypt.h: Likewise.
55083         * sunrpc/rpc/key_prot.h: Likewise.
55084         * sunrpc/rpc/netdb.h: Likewise.
55085         * sunrpc/rpc/pmap_clnt.h: Likewise.
55086         * sunrpc/rpc/pmap_prot.h: Likewise.
55087         * sunrpc/rpc/pmap_rmt.h: Likewise.
55088         * sunrpc/rpc/rpc.h: Likewise.
55089         * sunrpc/rpc/rpc_des.h: Likewise.
55090         * sunrpc/rpc/rpc_msg.h: Likewise.
55091         * sunrpc/rpc/svc.h: Likewise.
55092         * sunrpc/rpc/svc_auth.h: Likewise.
55093         * sunrpc/rpc/types.h: Likewise.
55094         * sunrpc/rpc/xdr.h: Likewise.
55095         * sunrpc/rpc_clntout.c: Likewise.
55096         * sunrpc/rpc_cmsg.c: Likewise.
55097         * sunrpc/rpc_common.c: Likewise.
55098         * sunrpc/rpc_cout.c: Likewise.
55099         * sunrpc/rpc_dtable.c: Likewise.
55100         * sunrpc/rpc_hout.c: Likewise.
55101         * sunrpc/rpc_main.c: Likewise.
55102         * sunrpc/rpc_parse.c: Likewise.
55103         * sunrpc/rpc_parse.h: Likewise.
55104         * sunrpc/rpc_prot.c: Likewise.
55105         * sunrpc/rpc_sample.c: Likewise.
55106         * sunrpc/rpc_scan.c: Likewise.
55107         * sunrpc/rpc_scan.h: Likewise.
55108         * sunrpc/rpc_svcout.c: Likewise.
55109         * sunrpc/rpc_tblout.c: Likewise.
55110         * sunrpc/rpc_util.c: Likewise.
55111         * sunrpc/rpc_util.h: Likewise.
55112         * sunrpc/rpcinfo.c: Likewise.
55113         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55114         * sunrpc/rpcsvc/key_prot.x: Likewise.
55115         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55116         * sunrpc/rpcsvc/mount.x: Likewise.
55117         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55118         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55119         * sunrpc/rpcsvc/rex.x: Likewise.
55120         * sunrpc/rpcsvc/rstat.x: Likewise.
55121         * sunrpc/rpcsvc/rusers.x: Likewise.
55122         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55123         * sunrpc/rpcsvc/spray.x: Likewise.
55124         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55125         * sunrpc/rtime.c: Likewise.
55126         * sunrpc/svc.c: Likewise.
55127         * sunrpc/svc_auth.c: Likewise.
55128         * sunrpc/svc_authux.c: Likewise.
55129         * sunrpc/svc_raw.c: Likewise.
55130         * sunrpc/svc_run.c: Likewise.
55131         * sunrpc/svc_simple.c: Likewise.
55132         * sunrpc/svc_tcp.c: Likewise.
55133         * sunrpc/svc_udp.c: Likewise.
55134         * sunrpc/svc_unix.c: Likewise.
55135         * sunrpc/svcauth_des.c: Likewise.
55136         * sunrpc/xcrypt.c: Likewise.
55137         * sunrpc/xdr.c: Likewise.
55138         * sunrpc/xdr_array.c: Likewise.
55139         * sunrpc/xdr_float.c: Likewise.
55140         * sunrpc/xdr_mem.c: Likewise.
55141         * sunrpc/xdr_rec.c: Likewise.
55142         * sunrpc/xdr_ref.c: Likewise.
55143         * sunrpc/xdr_sizeof.c: Likewise.
55144         * sunrpc/xdr_stdio.c: Likewise.
55145
55146         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55147         handling.
55148
55149 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55150
55151         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55152
55153 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55154
55155         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55156         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55157         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55158         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55159         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55160         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55161         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55162         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55163         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55164         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55165         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55166         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55167         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55168         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55169
55170 2010-07-26  Anton Blanchard  <anton@samba.org>
55171
55172         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55173         * malloc/arena.c (heap_trim): Likewise.
55174
55175 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55176
55177         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55178         here.  Not...
55179         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55180         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55181
55182 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55183
55184         * sysdeps/i386/elf/Makefile: New file.
55185
55186 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55187
55188         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55189         from fanotify_init.
55190         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55192
55193 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55194
55195         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55196         of strncasecmp_l.
55197         * sysdeps/multiarch/strcmp.S: Likewise.
55198
55199 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55200
55201         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55202         strncase_l-nonascii.
55203         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55204         Add strncase_l-ssse3.
55205         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55206         * sysdeps/x86_64/strcmp.S: Likewise.
55207         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55208         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55209         * sysdeps/x86_64/strncase.S: New file.
55210         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55211         * sysdeps/x86_64/strncase_l.S: New file.
55212         * string/Makefile (strop-tests): Add strncasecmp.
55213         * string/test-strncasecmp.c: New file.
55214
55215         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55216         warning.
55217
55218         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55219         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55220
55221 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55222
55223         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55224
55225 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55226
55227         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55228         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55229         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55230
55231 2010-05-01  Alan Modra  <amodra@gmail.com>
55232
55233         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55234         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55235         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55236         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55237         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55238         tidying.  Don't tail-call __sigjmp_save for static lib.
55239         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55240         save location.
55241         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55242         (CALL_MCOUNT): Add eh info, and nop after bl.
55243         (TAIL_CALL_SYSCALL_ERROR): New macro.
55244         (PSEUDO_RET): Use it.
55245         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55246         Correct save location of integer regs and cr.
55247         (_dl_profile_resolve): Correct cr save location.  Delete nops
55248         after bl when SHARED.  Reduce cfi size a little by better
55249         placement of cfi directives.
55250         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55251         make a stack frame.  Instead use parm save area as a temp.
55252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55253         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55255         Don't make a stack frame for parent, use parm save area.
55256         Increase child stack frame to 112 bytes.  Don't save unused reg,
55257         and adjust reg usage.  Set up cfi on error recovery and
55258         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55260         (__makecontext): Add dummy nop after jump to exit.
55261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55262         Use correct parm save area and cr save, reduce stack frame.
55263         Correct cfi for possible PSEUDO_RET frame setup.
55264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55265         Branch to local label emitted by PSEUDO_RET rather than
55266         __syscall_error.
55267
55268 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55269
55270         [BZ #11904]
55271         * locale/programs/locale.c (print_assignment): New function.
55272         (show_locale_vars): Use it.
55273
55274 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55275
55276         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55277         field.
55278         (struct statfs64): Likewise.
55279         (_STATFS_F_FLAGS): Define.
55280         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55281         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55282         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55283         (ST_VALID): Define locally.
55284         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55285         __statvfs_getflags, use the provided value.
55286         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55287         __ASSUME_STATFS_F_FLAGS.
55288
55289         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55290
55291         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55292         Add sys/fanotify.h.
55293         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55294         fanotify_mask for GLIBC_2.13.
55295         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55296         fanotify_init and fanotify_mark.
55297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55298         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55299
55300         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55301         Add prlimit.
55302         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55303         prlimit64 for GLIBC_2.13.
55304         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55305         prlimit64.
55306         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55307         syscall.
55308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55310         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55311         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55313         add prlimit alias.
55314         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55315
55316         [BZ #11903]
55317         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55318         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55319
55320         * nss/Makefile: Add rules to build and run tst-nss-test1.
55321         * shlib-versions: Add entry for libnss_test1.
55322         * nss/nss_test1.c: New file.
55323         * nss/tst-nss-test1.c: New file.
55324
55325         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55326         (__nss_configure_lookup): Set appropriate entry in
55327         __nss_configure_lookup to true.
55328         * nss/nsswitch.h: Define enum with indeces of databases in
55329         databases and __nss_database_custom arrays.  Declare
55330         __nss_database_custom.
55331         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55332         to avoid using nscd when custom rules are installed.
55333         * nss/getXXbyYY_r.c: Likewise.
55334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55335
55336         * nss/nss_files/files-parse.c: Whitespace fixes.
55337
55338 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55339
55340         [BZ #11883]
55341         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55342         * posix/fnmatch_loop.c: Likewise.
55343
55344 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55345
55346         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55347         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55348         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55349         * Versions.def [GLIBC_2.13]: Add.
55350
55351 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55352
55353         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55354         Also fail if tpwd after pwuid call is NULL.
55355
55356 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55357
55358         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55359         when converting to ms.
55360
55361 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55362
55363         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55364         EOPNOTSUPP errors with ENOTTY.
55365         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55366         EOPNOTSUPP errors with ENOTTY.
55367
55368 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55369
55370         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55371         Add strcasecmp_l-ssse3.
55372         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55373         strcasecmp.
55374         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55375         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55376         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55377
55378 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55379
55380         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55381
55382         * string/Makefile (strop-tests): Add strcasecmp.
55383         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55384         strcasecmp_l-nonascii.
55385         (gen-as-const-headers): Add locale-defines.sym.
55386         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55387         * sysdeps/x86_64/strcasecmp.S: New file.
55388         * sysdeps/x86_64/strcasecmp_l.S: New file.
55389         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55390         * sysdeps/x86_64/locale-defines.sym: New file.
55391         * string/test-strcasecmp.c: New file.
55392
55393         * string/test-strcasestr.c: Test both ends of the range of characters.
55394         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55395
55396 2010-07-29  Roland McGrath  <roland@redhat.com>
55397
55398         [BZ #11856]
55399         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55400
55401 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55402
55403         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55404         for ld.so.
55405
55406 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55407
55408         * manual/memory.texi (Malloc Tunable Parameters): Document
55409         M_PERTURB.
55410
55411 2010-07-26  Roland McGrath  <roland@redhat.com>
55412
55413         [BZ #11840]
55414         * configure.in (-fgnu89-inline check): Set and substitute
55415         gnu89_inline, not libc_cv_gnu89_inline.
55416         * configure: Regenerated.
55417         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55418
55419 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55420
55421         * string/test-strnlen.c: New file.
55422         * string/Makefile (strop-tests): Add strnlen.
55423         * string/tester.c (test_strnlen): Add a few more test cases.
55424         * string/tst-strlen.c: Better error reporting.
55425
55426         * sysdeps/x86_64/strnlen.S: New file.
55427
55428 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55429
55430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55431         lower-latency instructions.
55432
55433 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55434
55435         * string/test-strcasestr.c: New file.
55436         * string/test-strstr.c: New file.
55437         * string/Makefile (strop-tests): Add strstr and strcasestr.
55438         * string/str-two-way.h: Don't undefine MAX.
55439         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55440
55441 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55442
55443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55444         strcasestr-nonascii.
55445         (CFLAGS-strcasestr-nonascii.c): Define.
55446         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55448         Remove unused attribute.
55449
55450 2010-07-20  Roland McGrath  <roland@redhat.com>
55451
55452         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55453         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55454         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55455         like LD_HWCAP_MASK can disable hwcaps.
55456
55457 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55458
55459         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55460
55461 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55462
55463         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55464         call in strcasestr.
55465         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55466         __strcasestr_sse42_nonascii.
55467         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55468         strcasestr-nonascii.c.
55469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55470
55471 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55472
55473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55474         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55476         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55477
55478 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55479
55480         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55481         fcntl.
55482
55483 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55484
55485         [BZ #11577]
55486         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55487         dl_signal_cerror.
55488
55489 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55490
55491         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55492         _PC_PIPE_BUF using F_GETPIPE_SZ.
55493
55494 2010-07-05  Roland McGrath  <roland@redhat.com>
55495
55496         * manual/arith.texi (Rounding Functions): Fix rint description
55497         implicit in round description.
55498
55499 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55500
55501         * elf/Makefile: Fix linking for a few tests to make recent linker
55502         happy.
55503
55504 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55505
55506         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55507         $(common-objpfx)libc_nonshared.a.
55508
55509 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55510
55511         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55512         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55513         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55514         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55515         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55516         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55517         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55518         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55533         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55534         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55535         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55536         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55537         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55538         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55539         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55540         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55541         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55542         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55543         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55544         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55559
55560 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55561
55562         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55563         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55564         * string/memmove.c (memmove): Renamed to ...
55565         (MEMMOVE): ...this.  Default to memmove.
55566         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55567         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55568         (END_CHK): Define.
55569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55570         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55571         mempcpy-ssse3-back memmove-ssse3-back.
55572         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55573         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55574         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55575         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55576         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55577         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55578         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55579         * sysdeps/x86_64/multiarch/memmove.c: New file.
55580         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55581         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55582         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55583         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55584         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55585         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55586         Define.
55587         (index_Fast_Copy_Backward): Define.
55588         (HAS_ARCH_FEATURE): Define.
55589         (HAS_FAST_REP_STRING): Define.
55590         (HAS_FAST_COPY_BACKWARD): Define.
55591
55592 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55593
55594         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55595         Restore proper fallback handling.
55596
55597 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55598
55599         [BZ #11701]
55600         * posix/group_member.c (__group_member): Correct checking loop.
55601
55602         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55603         OOM in getpwuid_r correctly.  Return error number when the caller
55604         should return, otherwise -1.
55605         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55606         call returning > 0 value.
55607         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55608
55609 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55610
55611         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55612         libc_nonshared.a from targets in modules-names.
55613
55614 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55615
55616         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55617         requires it.
55618
55619 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55620
55621         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55622         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55625
55626 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55627
55628         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55629
55630 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55631
55632         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55633         and F_GETPIPE_SZ.
55634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55637         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55638         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55639         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55640
55641 2010-06-14  Roland McGrath  <roland@redhat.com>
55642
55643         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55644
55645 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55646
55647         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55648         __REDIRECT followed by __THROW.
55649         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55650         * posix/getopt.h (getopt): Likewise.
55651
55652 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55653
55654         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55655         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55656         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55657         in AT_FLAGS.
55658         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55659         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55660
55661 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55662
55663         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55664
55665 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55666
55667         [BZ #11640]
55668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55669         Properly check family and model.
55670
55671 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55672
55673         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55674
55675 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55676
55677         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55678
55679 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55680
55681         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55682         symbol reference.
55683
55684 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55685
55686         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55687         symbol reference.
55688
55689 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55690
55691         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55692         and internal_recvmmsg.
55693         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55694         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55695         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55696         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55697
55698         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55699         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55700         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55701
55702 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55703
55704         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55705
55706 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55707
55708         POWER7 optimizations.
55709         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55710         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55711
55712 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55713
55714         * version.h: Update for 2.13 development version.
55715
55716 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55717
55718         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55719         exceptions.  Return 0.
55720
55721 2010-05-07  Roland McGrath  <roland@redhat.com>
55722
55723         * elf/ldconfig.c (main): Add a const.
55724
55725 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55726
55727         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55728         (args_options): Add no-idn option.
55729         (ahosts_keys_int): Add idn_flags to ai_flags.
55730         (parse_option): Handle 'i' option to clear idn_flags.
55731
55732         * malloc/malloc.c (_int_free): Possible race in the most recently
55733         added check.  Only act on the data if no current modification
55734         happened.
55735
55736 See ChangeLog.17 for earlier changes.